Searched refs:MBB (Results 201 - 225 of 306) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp414 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg);
436 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc,
478 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
512 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc));
616 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), LoadReg);
622 // Prevent loading GV stub multiple times in same MBB.
662 FuncInfo.MBBMap[I->getParent()] == FuncInfo.MBB) {
844 InMBB = I->getParent() == FuncInfo.MBB->getBasicBlock();
1057 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(TargetOpcode::COPY),
1074 BuildMI(*FuncInfo.MBB, FuncInf
[all...]
/external/llvm/lib/CodeGen/
H A DRegisterCoalescer.cpp123 /// copyCoalesceInMBB - Coalesce copies in the specified MBB, putting
125 void copyCoalesceInMBB(MachineBasicBlock *MBB);
240 static bool isSplitEdge(const MachineBasicBlock *MBB) { argument
241 if (MBB->pred_size() != 1 || MBB->succ_size() != 1)
244 for (const auto &MI : *MBB) {
641 MachineBasicBlock *MBB = DefMI->getParent(); local
652 MBB->insert(Pos, NewMI);
653 MBB->erase(DefMI);
800 MachineBasicBlock *MBB local
1746 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); local
1825 MachineBasicBlock *MBB = Indexes->getMBBFromIndex(VNI->def); local
2047 MachineBasicBlock *MBB; member in struct:__anon25796::MBBPriorityInfo
2123 copyCoalesceInMBB(MachineBasicBlock *MBB) argument
2176 MachineBasicBlock *MBB = I; local
[all...]
H A DRegAllocFast.cpp64 MachineBasicBlock *MBB; member in class:__anon25790::RAFast
291 TII->storeRegToStackSlot(*MBB, MI, LR.PhysReg, SpillKill, FI, RC, TRI);
305 if (MI == MBB->end()) {
311 MachineBasicBlock *MBB = DBG->getParent(); local
313 BuildMI(*MBB, MI, DL, TII->get(TargetOpcode::DBG_VALUE))
630 TII->loadRegFromStackSlot(*MBB, MI, LRI->PhysReg, FrameIndex, RC, TRI);
787 DEBUG(dbgs() << "\nAllocating " << *MBB);
792 MachineBasicBlock::iterator MII = MBB->begin();
795 for (MachineBasicBlock::livein_iterator I = MBB->livein_begin(),
796 E = MBB
868 MachineBasicBlock *MBB = MI->getParent(); local
[all...]
H A DTwoAddressInstructionPass.cpp82 MachineBasicBlock *MBB; member in class:__anon25830::TwoAddressInstructionPass
221 SlotIndex MBBEndIdx = LIS->getMBBEndIdx(MBB).getPrevSlot();
244 if (!KillMI || KillMI->getParent() != MBB || KillMI == MI ||
301 MBB->remove(MI);
302 MBB->insert(KillPos, MI);
312 /// last instruction in the MBB that defines the specified register and the
321 if (MI->getParent() != MBB || MI->isDebugValue())
451 MachineInstr *findOnlyInterestingUse(unsigned Reg, MachineBasicBlock *MBB, argument
460 if (UseMI.getParent() != MBB)
625 MachineFunction::iterator MFI = MBB;
[all...]
H A DPrologEpilogInserter.cpp81 bool PEI::isReturnBlock(MachineBasicBlock* MBB) { argument
82 return (MBB && !MBB->empty() && MBB->back().isReturn());
97 for (MachineFunction::iterator MBB = Fn.begin(), E = Fn.end();
98 MBB != E; ++MBB)
99 if (isReturnBlock(MBB))
100 ReturnBlocks.push_back(MBB);
363 MachineBasicBlock *MBB local
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineRelocation.h60 MachineBasicBlock *MBB; // If this is a pointer to an LLVM BB member in union:llvm::MachineRelocation::__anon25492
122 MachineBasicBlock *MBB, intptr_t cst = 0) {
132 Result.Target.MBB = MBB;
288 return Target.MBB;
121 getBB(uintptr_t offset,unsigned RelocationType, MachineBasicBlock *MBB, intptr_t cst = 0) argument
H A DFunctionLoweringInfo.h90 /// MBB - The current block.
91 MachineBasicBlock *MBB; member in class:llvm::FunctionLoweringInfo
93 /// MBB - The current insert position inside the current block.
119 /// If the current MBB is a landing pad, the exception pointer and exception
225 MachineModuleInfo *MMI, MachineBasicBlock *MBB);
230 MachineBasicBlock *MBB);
H A DMachineBasicBlock.h408 /// transferSuccessors - Transfers all the successors from MBB to this
418 /// isPredecessor - Return true if the specified MBB is a predecessor of this
420 bool isPredecessor(const MachineBasicBlock *MBB) const;
422 /// isSuccessor - Return true if the specified MBB is a successor of this
424 bool isSuccessor(const MachineBasicBlock *MBB) const;
426 /// isLayoutSuccessor - Return true if the specified MBB will be emitted
428 /// falling through, control will transfer to the specified MBB. Note
429 /// that MBB need not be a successor at all, for example if this block
431 bool isLayoutSuccessor(const MachineBasicBlock *MBB) const;
446 /// SkipPHIsAndLabels - Return the first instruction in MBB afte
770 MachineBasicBlock &MBB; member in class:llvm::MachineInstrSpan
[all...]
H A DMachineInstrBuilder.h98 const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB, argument
100 MI->addOperand(*MF, MachineOperand::CreateMBB(MBB, TargetFlags));
417 MachineBasicBlock &MBB; member in class:llvm::MIBundleBuilder
426 : MBB(BB), Begin(Pos.getInstrIterator()), End(Begin) {}
432 : MBB(BB), Begin(B.getInstrIterator()), End(E.getInstrIterator()) {
445 : MBB(*MI->getParent()), Begin(MI), End(getBundleEnd(MI)) {}
448 MachineBasicBlock &getMBB() const { return MBB; }
464 MBB.insert(I, MI);
482 /// Insert MI into MBB by prepending it to the instructions in the bundle.
488 /// Insert MI into MBB b
[all...]
H A DMachineLoopInfo.h63 explicit MachineLoop(MachineBasicBlock *MBB) argument
64 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {}
H A DSlotIndexes.h349 /// MBBRanges - Map MBB number to (start, stop) indexes.
353 /// and MBB id.
392 void repairIndexesInRange(MachineBasicBlock *MBB,
443 const MachineBasicBlock *MBB = MI->getParent(); local
444 assert(MBB && "MI must be inserted inna basic block");
445 MachineBasicBlock::const_iterator I = MI, B = MBB->begin();
448 return getMBBStartIdx(MBB);
460 const MachineBasicBlock *MBB = MI->getParent(); local
461 assert(MBB && "MI must be inserted inna basic block");
462 MachineBasicBlock::const_iterator I = MI, E = MBB
[all...]
H A DLiveIntervalAnalysis.h144 /// instruction to the end of its MBB.
237 void insertMBBInMaps(MachineBasicBlock *MBB) { argument
238 Indexes->insertMBBInMaps(MBB);
239 assert(unsigned(MBB->getNumber()) == RegMaskBlocks.size() &&
320 void repairIntervalsInRange(MachineBasicBlock *MBB,
H A DMachineOperand.h154 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. member in union:llvm::MachineOperand::__anon25488
424 return Contents.MBB;
522 void setMBB(MachineBasicBlock *MBB) {
524 Contents.MBB = MBB;
601 static MachineOperand CreateMBB(MachineBasicBlock *MBB,
604 Op.setMBB(MBB);
/external/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.cpp234 MBB(mbb) {}
250 return ACPMBB && ACPMBB->MBB == MBB &&
255 ID.AddPointer(MBB);
260 O << "BB#" << MBB->getNumber();
H A DARMExpandPseudoInsts.cpp60 bool ExpandMI(MachineBasicBlock &MBB,
62 bool ExpandMBB(MachineBasicBlock &MBB);
68 void ExpandMOV32BitImm(MachineBasicBlock &MBB,
382 MachineBasicBlock &MBB = *MI.getParent(); local
389 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(),
447 MachineBasicBlock &MBB = *MI.getParent(); local
454 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(),
500 MachineBasicBlock &MBB = *MI.getParent(); local
508 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(),
590 MachineBasicBlock &MBB local
652 ExpandMOV32BitImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI) argument
743 ExpandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) argument
1331 ExpandMBB(MachineBasicBlock &MBB) argument
[all...]
H A DARMConstantPoolValue.h224 const MachineBasicBlock *MBB; // Machine basic block. member in class:llvm::ARMConstantPoolMBB
235 const MachineBasicBlock *getMBB() const { return MBB; }
253 return MBB == A->MBB && ARMConstantPoolValue::equals(A);
/external/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp227 /// Given a couple (MBB, reg) get the corresponding set of instruction from
234 const MachineBasicBlock &MBB, unsigned reg,
237 BlockToSetOfInstrsPerColor::iterator it = sets.find(&MBB);
241 result = sets[&MBB] = new SetOfMachineInstr[nbRegs];
290 for (MachineBasicBlock &MBB : MF) {
291 const MachineInstr **&BBGen = Gen[&MBB];
295 BitVector &BBKillSet = Kill[&MBB];
297 for (const MachineInstr &MI : MBB) {
316 getSet(ReachableUses, MBB, CurReg, NbReg).insert(&MI);
368 if (!ADRPMode && DummyOp && !MBB
233 getSet(BlockToSetOfInstrsPerColor &sets, const MachineBasicBlock &MBB, unsigned reg, unsigned nbRegs) argument
[all...]
H A DAArch64AdvSIMDScalarPass.cpp80 bool processMachineBasicBlock(MachineBasicBlock *MBB);
281 MachineBasicBlock *MBB = MI->getParent(); local
338 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(NewOpc), Dst)
354 bool AArch64AdvSIMDScalar::processMachineBasicBlock(MachineBasicBlock *MBB) { argument
356 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
H A DAArch64StorePairSuppress.cpp142 for (auto &MBB : *MF) {
145 for (auto &MI : MBB) {
/external/llvm/lib/Target/R600/
H A DAMDGPUAsmPrinter.cpp158 MachineBasicBlock &MBB = *BB; local
159 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
223 MachineBasicBlock &MBB = *BB; local
224 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
H A DAMDGPUFrameLowering.cpp107 MachineBasicBlock &MBB) const {
/external/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.h37 MachineBasicBlock *MBB; member in class:llvm::InstrEmitter
128 MachineBasicBlock *getBlock() { return MBB; }
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITEmitter.cpp293 /// MBBLocations - This vector is a mapping from MBB ID's to their address.
401 void StartMachineBasicBlock(MachineBasicBlock *MBB) override {
402 if (MBBLocations.size() <= (unsigned)MBB->getNumber())
403 MBBLocations.resize((MBB->getNumber()+1)*2);
404 MBBLocations[MBB->getNumber()] = getCurrentPCValue();
405 if (MBB->hasAddressTaken())
406 TheJIT->addPointerToBasicBlock(MBB->getBasicBlock(),
408 DEBUG(dbgs() << "JIT: Emitting BB" << MBB->getNumber() << " at ["
416 getMachineBasicBlockAddress(MachineBasicBlock *MBB) const override {
417 assert(MBBLocations.size() > (unsigned)MBB
[all...]
/external/llvm/lib/Target/MSP430/
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/Mips/
H A DMips16ISelLowering.h29 MachineBasicBlock *MBB) const override;

Completed in 2249 milliseconds

1234567891011>>