| /external/llvm/lib/CodeGen/ |
| RegisterCoalescer.cpp | 123 /// copyCoalesceInMBB - Coalesce copies in the specified MBB, putting 125 void copyCoalesceInMBB(MachineBasicBlock *MBB); 240 static bool isSplitEdge(const MachineBasicBlock *MBB) { 241 if (MBB->pred_size() != 1 || MBB->succ_size() != 1) 244 for (const auto &MI : *MBB) { 641 MachineBasicBlock *MBB = DefMI->getParent(); 652 MBB->insert(Pos, NewMI); 653 MBB->erase(DefMI); 800 MachineBasicBlock *MBB = CopyMI->getParent() [all...] |
| RegAllocFast.cpp | 64 MachineBasicBlock *MBB; 291 TII->storeRegToStackSlot(*MBB, MI, LR.PhysReg, SpillKill, FI, RC, TRI); 305 if (MI == MBB->end()) { 311 MachineBasicBlock *MBB = DBG->getParent(); 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->livein_end(); I != E; ++I [all...] |
| TwoAddressInstructionPass.cpp | 82 MachineBasicBlock *MBB; 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, 460 if (UseMI.getParent() != MBB) 625 MachineFunction::iterator MFI = MBB; [all...] |
| PrologEpilogInserter.cpp | 81 bool PEI::isReturnBlock(MachineBasicBlock* MBB) { 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 = ReturnBlocks[ri] [all...] |
| /external/llvm/include/llvm/CodeGen/ |
| MachineRelocation.h | 60 MachineBasicBlock *MBB; // If this is a pointer to an LLVM BB 122 MachineBasicBlock *MBB, intptr_t cst = 0) { 132 Result.Target.MBB = MBB; 288 return Target.MBB;
|
| MachineBasicBlock.h | 408 /// 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 after I that i [all...] |
| MachineTraceMetrics.h | 107 /// Get the fixed resource information about MBB. Compute it on demand. 110 /// Get the scaled number of cycles used per processor resource in MBB. 325 void invalidate(const MachineBasicBlock *MBB); 328 /// Get the trace that passes through MBB. 330 Trace getTrace(const MachineBasicBlock *MBB); 346 /// Invalidate cached information about MBB. This must be called *before* MBB 349 /// This invalidates per-block information about resource usage for MBB only, 351 /// through MBB. 354 void invalidate(const MachineBasicBlock *MBB); [all...] |
| MachineInstrBuilder.h | 98 const MachineInstrBuilder &addMBB(MachineBasicBlock *MBB, 100 MI->addOperand(*MF, MachineOperand::CreateMBB(MBB, TargetFlags)); 417 MachineBasicBlock &MBB; 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 by appending it to the instructions in the bundle [all...] |
| MachineInstrBundle.h | 28 void finalizeBundle(MachineBasicBlock &MBB, 35 /// with 'InsideBundle' marker. It returns the MBB instruction iterator that 37 MachineBasicBlock::instr_iterator finalizeBundle(MachineBasicBlock &MBB,
|
| MachineLoopInfo.h | 63 explicit MachineLoop(MachineBasicBlock *MBB) 64 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {}
|
| SlotIndexes.h | 349 /// MBBRanges - Map MBB number to (start, stop) indexes. 353 /// and MBB id. 392 void repairIndexesInRange(MachineBasicBlock *MBB, 443 const MachineBasicBlock *MBB = MI->getParent(); 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(); 461 assert(MBB && "MI must be inserted inna basic block"); 462 MachineBasicBlock::const_iterator I = MI, E = MBB->end() [all...] |
| LiveIntervalAnalysis.h | 144 /// instruction to the end of its MBB. 214 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const { 215 return Indexes->getMBBStartIdx(mbb); 219 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const { 220 return Indexes->getMBBEndIdx(mbb); 224 const MachineBasicBlock *mbb) const { 225 return LR.liveAt(getMBBStartIdx(mbb)); 229 const MachineBasicBlock *mbb) const { 230 return LR.liveAt(getMBBEndIdx(mbb).getPrevSlot()); 237 void insertMBBInMaps(MachineBasicBlock *MBB) { [all...] |
| MachineOperand.h | 154 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. 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/ |
| ARMConstantPoolValue.cpp | 228 const MachineBasicBlock *mbb, 234 MBB(mbb) {} 237 const MachineBasicBlock *mbb, 240 return new ARMConstantPoolMBB(C, mbb, ID, PCAdj, ARMCP::no_modifier, false); 250 return ACPMBB && ACPMBB->MBB == MBB && 255 ID.AddPointer(MBB); 260 O << "BB#" << MBB->getNumber();
|
| ARMExpandPseudoInsts.cpp | 60 bool ExpandMI(MachineBasicBlock &MBB, 62 bool ExpandMBB(MachineBasicBlock &MBB); 68 void ExpandMOV32BitImm(MachineBasicBlock &MBB, 382 MachineBasicBlock &MBB = *MI.getParent(); 389 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 447 MachineBasicBlock &MBB = *MI.getParent(); 454 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 500 MachineBasicBlock &MBB = *MI.getParent(); 508 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, MI.getDebugLoc(), 590 MachineBasicBlock &MBB = *MI.getParent() [all...] |
| ARMConstantPoolValue.h | 224 const MachineBasicBlock *MBB; // Machine basic block. 226 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id, 232 const MachineBasicBlock *mbb, 235 const MachineBasicBlock *getMBB() const { return MBB; } 253 return MBB == A->MBB && ARMConstantPoolValue::equals(A);
|
| /external/llvm/lib/Target/AArch64/ |
| AArch64CollectLOH.cpp | 227 /// 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.succ_empty() [all...] |
| AArch64AdvSIMDScalarPass.cpp | 80 bool processMachineBasicBlock(MachineBasicBlock *MBB); 281 MachineBasicBlock *MBB = MI->getParent(); 338 BuildMI(*MBB, MI, MI->getDebugLoc(), TII->get(NewOpc), Dst) 354 bool AArch64AdvSIMDScalar::processMachineBasicBlock(MachineBasicBlock *MBB) { 356 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
|
| AArch64StorePairSuppress.cpp | 142 for (auto &MBB : *MF) { 145 for (auto &MI : MBB) {
|
| /external/llvm/lib/Target/R600/ |
| AMDGPUAsmPrinter.cpp | 158 MachineBasicBlock &MBB = *BB; 159 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); 223 MachineBasicBlock &MBB = *BB; 224 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
| AMDGPUFrameLowering.cpp | 107 MachineBasicBlock &MBB) const {
|
| /external/llvm/lib/CodeGen/SelectionDAG/ |
| InstrEmitter.h | 37 MachineBasicBlock *MBB; 128 MachineBasicBlock *getBlock() { return MBB; } 135 InstrEmitter(MachineBasicBlock *mbb, MachineBasicBlock::iterator insertpos);
|
| /external/llvm/lib/ExecutionEngine/JIT/ |
| JITEmitter.cpp | 293 /// 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->getNumber() & [all...] |
| /external/llvm/lib/Target/MSP430/ |
| MSP430RegisterInfo.cpp | 110 MachineBasicBlock &MBB = *MI.getParent(); 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/ |
| Mips16ISelLowering.h | 29 MachineBasicBlock *MBB) const override;
|