Searched defs:MBB (Results 26 - 50 of 191) sorted by relevance

12345678

/external/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp39 bool expandMBB(MachineBasicBlock &MBB);
40 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI);
41 bool expandMOVImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
88 MachineBasicBlock &MBB,
98 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::ORRXri))
108 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::MOVKXi))
139 MachineBasicBlock &MBB,
165 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::ORRXri))
185 BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::MOVKXi))
210 BuildMI(MBB, MBB
87 tryOrrMovk(uint64_t UImm, uint64_t OrrImm, MachineInstr &MI, MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const AArch64InstrInfo *TII, unsigned ChunkIdx) argument
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonExpandPredSpillCode.cpp80 MachineBasicBlock* MBB = MBBb; local
82 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end();
98 BuildMI(*MBB, MII, MI->getDebugLoc(),
101 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_rr),
104 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd),
106 BuildMI(*MBB, MII, MI->getDebugLoc(),
111 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_ri),
113 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd),
115 BuildMI(*MBB, MI
[all...]
H A DHexagonFixupHwLoops.cpp111 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
112 MBB != MBBe; ++MBB) {
113 BlockToInstOffset[MBB] = InstOffset;
114 InstOffset += (MBB->size() * 4);
124 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
125 MBB != MBBe; ++MBB) {
126 InstOffset = BlockToInstOffset[MBB];
127 RS.enterBasicBlock(MBB);
164 MachineBasicBlock *MBB = MII->getParent(); local
[all...]
H A DHexagonSplitConst32AndConst64.cpp81 MachineBasicBlock* MBB = MBBb; local
83 MachineBasicBlock::iterator MII = MBB->begin();
84 MachineBasicBlock::iterator MIE = MBB->end ();
92 BuildMI (*MBB, MII, MI->getDebugLoc(),
94 BuildMI (*MBB, MII, MI->getDebugLoc(),
96 // MBB->erase returns the iterator to the next instruction, which is the
98 MII = MBB->erase (MI);
105 BuildMI (*MBB, MII, MI->getDebugLoc(),
107 BuildMI (*MBB, MII, MI->getDebugLoc(),
109 // MBB
[all...]
H A DHexagonSplitTFRCondSets.cpp88 MachineBasicBlock* MBB = MBBb; local
90 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end();
115 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Opc1),
119 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Opc2),
122 MII = MBB->erase(MI);
134 BuildMI(*MBB, MII, MI->getDebugLoc(),
139 BuildMI(*MBB, MII, MI->getDebugLoc(),
144 BuildMI(*MBB, MII, MI->getDebugLoc(),
150 MII = MBB
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp62 // Measure each MBB and compute a size for the entire function.
66 MachineBasicBlock *MBB = MFI; local
69 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
73 BlockSizes[MBB->getNumber()] = BlockSize;
89 // bCC MBB
92 // b MBB
102 MachineBasicBlock &MBB = *MFI; local
104 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB
[all...]
H A DMSP430RegisterInfo.cpp110 MachineBasicBlock &MBB = *MI.getParent(); local
111 MachineFunction &MF = *MBB.getParent();
145 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::SUB16ri), DstReg)
148 BuildMI(MBB, std::next(II), dl, TII.get(MSP430::ADD16ri), DstReg)
/external/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp72 // Measure each MBB and compute a size for the entire function.
76 MachineBasicBlock *MBB = MFI; local
79 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
83 BlockSizes[MBB->getNumber()] = BlockSize;
99 // bCC MBB
102 // b MBB
112 MachineBasicBlock &MBB = *MFI; local
114 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB
[all...]
/external/llvm/lib/Target/R600/
H A DAMDGPUMCInstLower.cpp97 const MachineBasicBlock *MBB = MI->getParent(); local
100 while (I != MBB->end() && I->isInsideBundle()) {
/external/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp62 MachineBasicBlock &MBB = *MI->getParent(); local
63 MachineFunction &MF = *MBB.getParent();
108 TII->loadImmediate(MBB, MI, ScratchReg, HighOffset);
116 BuildMI(MBB, MI, DL, TII->get(LAOpcode),ScratchReg)
121 TII->loadImmediate(MBB, MI, ScratchReg, HighOffset);
122 BuildMI(MBB, MI, DL, TII->get(SystemZ::AGR),ScratchReg)
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp115 static unsigned calcLiveInMask(MachineBasicBlock *MBB) { argument
117 for (MachineBasicBlock::livein_iterator I = MBB->livein_begin(),
118 E = MBB->livein_end(); I != E; ++I) {
130 MachineBasicBlock *MBB; // Current basic block member in struct:__anon26189::FPS
170 // Set up our stack model to match the incoming registers to MBB.
239 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
254 BuildMI(*MBB, I, dl, TII->get(X86::XCH_F)).addReg(STReg);
259 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
263 BuildMI(*MBB, I, dl, TII->get(X86::LD_Frr)).addReg(STReg);
305 bool processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB);
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUAsmPrinter.cpp63 MachineBasicBlock &MBB = *BB; local
64 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
H A DR600ExpandSpecialInstrs.cpp57 MachineBasicBlock &MBB = *BB; local
58 MachineBasicBlock::iterator I = MBB.begin();
59 while (I != MBB.end()) {
151 BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(Opcode), DstReg)
/external/llvm/include/llvm/CodeGen/
H A DDFAPacketizer.h117 void PacketizeMIs(MachineBasicBlock *MBB,
133 void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
142 MachineBasicBlock *MBB) {
141 ignorePseudoInstruction(MachineInstr *I, MachineBasicBlock *MBB) argument
H A DLiveVariables.h103 /// findKill - Find a kill instruction in MBB. Return NULL if none is found.
104 MachineInstr *findKill(const MachineBasicBlock *MBB) const;
106 /// isLiveIn - Is Reg live in to MBB? This means that Reg is live through
107 /// MBB, or it is killed in MBB. If Reg is only used by PHI instructions in
108 /// MBB, it is not considered live in.
109 bool isLiveIn(const MachineBasicBlock &MBB,
278 void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB,
281 bool isLiveIn(unsigned Reg, const MachineBasicBlock &MBB) { argument
282 return getVarInfo(Reg).isLiveIn(MBB, Re
[all...]
H A DMachineDominators.h27 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) { argument
28 this->Roots.push_back(MBB);
H A DMachineLoopInfo.h63 explicit MachineLoop(MachineBasicBlock *MBB) argument
64 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {}
H A DRegisterScavenging.h35 MachineBasicBlock *MBB; member in class:llvm::RegScavenger
76 : MBB(nullptr), NumPhysRegs(0), Tracking(false) {}
86 /// forward - Move the internal MBB iterator and update register states.
89 /// forward - Move the internal MBB iterator and update register states until
92 if (!Tracking && MBB->begin() != I) forward();
105 /// skipTo - Move the internal MBB iterator but do not update register states.
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDbgValueHistoryCalculator.cpp126 // \brief Returns the first instruction in @MBB which corresponds to
127 // the function epilogue, or nullptr if @MBB doesn't contain an epilogue.
128 static const MachineInstr *getFirstEpilogueInst(const MachineBasicBlock &MBB) { argument
129 auto LastMI = MBB.getLastNonDebugInstr();
130 if (LastMI == MBB.end() || !LastMI->isReturn())
136 for (MachineBasicBlock::const_reverse_iterator I(std::next(LastMI)); I != MBB.rend();
142 // If all instructions have the same debug location, assume whole MBB is
144 return MBB.begin();
152 for (const auto &MBB : *MF) {
153 auto FirstEpilogueInst = getFirstEpilogueInst(MBB);
[all...]
/external/llvm/lib/CodeGen/
H A DBranchFolding.h43 void setBlock(MachineBasicBlock *MBB) { argument
44 Block = MBB;
79 void setBlock(MachineBasicBlock *MBB) { argument
80 getMergePotentialsElt().setBlock(MBB);
116 bool OptimizeBlock(MachineBasicBlock *MBB);
117 void RemoveDeadBlock(MachineBasicBlock *MBB);
118 bool OptimizeImpDefsBlock(MachineBasicBlock *MBB);
121 bool HoistCommonCodeInSuccs(MachineBasicBlock *MBB);
H A DDFAPacketizer.cpp147 void VLIWPacketizerList::endPacket(MachineBasicBlock *MBB, argument
151 finalizeBundle(*MBB, MIFirst, MI);
158 void VLIWPacketizerList::PacketizeMIs(MachineBasicBlock *MBB, argument
162 VLIWScheduler->startBlock(MBB);
163 VLIWScheduler->enterRegion(MBB, BeginItr, EndItr,
182 endPacket(MBB, MI);
187 if (this->ignorePseudoInstruction(MI, MBB))
208 endPacket(MBB, MI);
215 endPacket(MBB, MI);
223 endPacket(MBB, EndIt
[all...]
H A DLiveRangeCalc.cpp113 MachineBasicBlock *MBB = I->DomNode->getBlock(); local
116 std::tie(Start, End) = Indexes->getMBBRange(MBB);
124 assert(Seen.test(MBB->getNumber()));
125 LiveOut[MBB] = LiveOutPair(I->Value, (MachineDomTreeNode *)nullptr);
140 assert(KillMBB && "No MBB at Kill");
142 // Is there a def in the same MBB we can extend?
182 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); local
185 if (MBB->pred_empty()) {
186 MBB->getParent()->verify();
191 !MBB
266 MachineBasicBlock *MBB = MF->getBlockNumbered(*I); local
294 MachineBasicBlock *MBB = Node->getBlock(); local
[all...]
H A DLiveRangeCalc.h59 /// For every basic block, MBB, one of these conditions shall be true:
61 /// 1. !Seen.count(MBB->getNumber())
63 /// 2. LiveOut[MBB].second.getNode() == MBB
64 /// The live-out value is defined in MBB.
65 /// 3. forall P in preds(MBB): LiveOut[P] == LiveOut[MBB]
66 /// The live-out value passses through MBB. All predecessors must carry
199 /// setLiveOutValue - Indicate that VNI is live out from MBB. The
200 /// calculateValues() function will not add liveness for MBB, th
205 setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) argument
[all...]
H A DMachineCopyPropagation.cpp55 bool CopyPropagateBlock(MachineBasicBlock &MBB);
88 const MachineBasicBlock *MBB = CopyMI->getParent(); local
89 if (MI->getParent() != MBB)
92 MachineBasicBlock::const_iterator E = MBB->end();
137 bool MachineCopyPropagation::CopyPropagateBlock(MachineBasicBlock &MBB) { argument
143 DEBUG(dbgs() << "MCP: CopyPropagateBlock " << MBB.getName() << "\n");
146 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ) {
314 // If MBB doesn't have successors, delete the copies whose defs are not used.
315 // If MBB doe
[all...]
H A DSlotIndexes.cpp45 // Iterate over all MBBs, and within each MBB all MIs, keeping the MI
59 "Index -> MBB mapping non-empty at initial numbering?");
61 "MBB -> Index mapping non-empty at initial numbering?");
76 // Insert an index for the MBB start.
146 void SlotIndexes::repairIndexesInRange(MachineBasicBlock *MBB, argument
153 while (Begin != MBB->begin() && !hasIndex(Begin))
155 while (End != MBB->end() && !hasIndex(End))
158 bool includeStart = (Begin == MBB->begin());
161 startIdx = getMBBStartIdx(MBB);
166 if (End == MBB
[all...]

Completed in 6011 milliseconds

12345678