/external/llvm/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 94 /// MBB - The current block. 95 MachineBasicBlock *MBB; 97 /// MBB - The current insert position inside the current block. 217 MachineModuleInfo *MMI, MachineBasicBlock *MBB); 227 MachineBasicBlock *MBB);
|
MachineRelocation.h | 60 MachineBasicBlock *MBB; // If this is a pointer to a LLVM BB 122 MachineBasicBlock *MBB, intptr_t cst = 0) { 132 Result.Target.MBB = MBB; 288 return Target.MBB;
|
/external/llvm/lib/CodeGen/ |
ExecutionDepsFix.cpp | 114 MachineBasicBlock *MBB; 276 for (MachineBasicBlock::livein_iterator i = MBB->livein_begin(), 277 e = MBB->livein_end(); i != e; ++i) { 280 for (MachineBasicBlock::const_pred_iterator pi = MBB->pred_begin(), 281 pe = MBB->pred_end(); pi != pe; ++pi) { 454 MBB = 0; 485 MBB = *DFI; 487 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; 502 // Save live registers at end of MBB - used by enterBasicBlock() [all...] |
ProcessImplicitDefs.cpp | 102 MachineBasicBlock *MBB = *DFI; 103 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end();
|
ScheduleDAGInstrs.h | 60 const MachineBasicBlock *MBB = Node->getBlock(); 61 assert(Loop->contains(MBB) && 63 VisitRegion(Node, MBB, Loop, LoopLiveIns); 68 const MachineBasicBlock *MBB, 72 for (MachineBasicBlock::const_iterator I = MBB->begin(), E = MBB->end();
|
PeepholeOptimizer.cpp | 98 bool OptimizeBitcastInstr(MachineInstr *MI, MachineBasicBlock *MBB); 99 bool OptimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB); 100 bool OptimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 105 bool FoldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, 132 OptimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 196 if (UseMBB == MBB) { 204 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { 209 // Both will be live out of the def MBB anyway. Don't extend live range of 268 MachineBasicBlock *MBB) { 334 MachineBasicBlock *MBB) { [all...] |
RegAllocBasic.cpp | 429 // Add newly allocated physical registers to the MBB live in sets. 431 NamedRegionTimer T("MBB Live Ins", TimerGroupName, TimePassesIsEnabled); 442 MachineFunction::iterator MBB = llvm::next(MF->begin()); 445 tie(Start, Stop) = Indexes->getMBBRange(MBB); 450 if (!MBB->isLiveIn(PhysReg)) 451 MBB->addLiveIn(PhysReg); 452 DEBUG(dbgs() << "\tBB#" << MBB->getNumber() << ':' 455 MBB = Indexes->getMBBFromIndex(SI.start().getPrevIndex()); 456 if (++MBB == MFE) 458 tie(Start, Stop) = Indexes->getMBBRange(MBB); [all...] |
SplitKit.h | 70 MachineBasicBlock *MBB; 162 /// isThroughBlock - Return true if CurLI is live through MBB without uses. 163 bool isThroughBlock(unsigned MBB) const { return ThroughBlocks.test(MBB); } 311 MachineBasicBlock &MBB, 318 /// getShallowDominator - Returns the least busy dominator of MBB that is 320 MachineBasicBlock *findShallowDominator(MachineBasicBlock *MBB, 370 /// enterIntvAtEnd - Enter the open interval at the end of MBB. 371 /// Use the open interval from he inserted copy to the MBB end. 373 SlotIndex enterIntvAtEnd(MachineBasicBlock &MBB); [all...] |
TargetInstrInfoImpl.cpp | 42 MachineBasicBlock *MBB = Tail->getParent(); 44 // Remove all the old successors of MBB from the CFG. 45 while (!MBB->succ_empty()) 46 MBB->removeSuccessor(MBB->succ_begin()); 48 // Remove all the dead instructions from the end of MBB. 49 MBB->erase(Tail, MBB->end()); 51 // If MBB isn't immediately before MBB, insert a branch to it [all...] |
LiveVariables.cpp | 58 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const { 60 if (Kills[i]->getParent() == MBB) 90 MachineBasicBlock *MBB, 92 unsigned BBNum = MBB->getNumber(); 97 if (VRInfo.Kills[i]->getParent() == MBB) { 102 if (MBB == DefBlock) return; // Terminate recursion 110 WorkList.insert(WorkList.end(), MBB->pred_rbegin(), MBB->pred_rend()); 115 MachineBasicBlock *MBB) { 117 MarkVirtRegAliveInBlock(VRInfo, DefBlock, MBB, WorkList) [all...] |
MachineBasicBlock.cpp | 58 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { 59 MBB.print(OS); 63 /// addNodeToList (MBB) - When an MBB is added to an MF, we need to update the 64 /// parent pointer of the MBB, the MBB numbering, and any instructions in the 65 /// MBB to be on the right operand list for registers. 67 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it 68 /// gets the next available unique MBB number. If it is removed from a 119 /// MBB list to another, we need to update the parent pointers and the use/de [all...] |
MachineCSE.cpp | 79 bool PerformTrivialCoalescing(MachineInstr *MI, MachineBasicBlock *MBB); 84 const MachineBasicBlock *MBB, 91 void EnterScope(MachineBasicBlock *MBB); 92 void ExitScope(MachineBasicBlock *MBB); 93 bool ProcessBlock(MachineBasicBlock *MBB); 112 MachineBasicBlock *MBB) { 126 if (DefMI->getParent() != MBB) 191 const MachineBasicBlock *MBB, 207 (MO.isDead() || isPhysDefTriviallyDead(Reg, I, MBB->end()))) 221 MachineBasicBlock *MBB = MI->getParent() [all...] |
/external/llvm/lib/Target/MSP430/ |
MSP430RegisterInfo.cpp | 104 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 142 MBB.insert(I, New); 156 MBB.insert(I, New); 160 MBB.erase(I); 170 MachineBasicBlock &MBB = *MI.getParent(); 171 MachineFunction &MF = *MBB.getParent(); 209 BuildMI(MBB, llvm::next(II), dl, TII.get(MSP430::SUB16ri), DstReg) 212 BuildMI(MBB, llvm::next(II), dl, TII.get(MSP430::ADD16ri), DstReg)
|
/external/llvm/lib/Target/Mips/ |
MipsFrameLowering.cpp | 111 MachineBasicBlock& MBB, 120 MachineFunction* MF = MBB.getParent(); 128 BuildMI(MBB, I, DL, TII->get(Mips::NOAT)); 129 BuildMI(MBB, I, DL, TII->get(Mips::LUi), Mips::AT).addImm(ImmHi); 130 BuildMI(MBB, I, DL, TII->get(Mips::ADDu), Mips::AT).addReg(OrigReg) 139 MachineBasicBlock &MBB = MF.front(); 146 MachineBasicBlock::iterator MBBI = MBB.begin(); 147 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 165 BuildMI(MBB, MBBI, dl, TII.get(Mips::NOREORDER)); 169 BuildMI(MBB, MBBI, dl, TII.get(Mips::CPLOAD) [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZFrameLowering.cpp | 67 void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, 81 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 86 BuildMI(MBB, MBBI, DL, TII.get(Opc), SystemZ::R15D) 95 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB 101 MachineBasicBlock::iterator MBBI = MBB.begin(); 102 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 113 while (MBBI != MBB.end() && 118 if (MBBI != MBB.end()) 125 emitSPUpdate(MBB, MBBI, -(int64_t)NumBytes, TII); 130 BuildMI(MBB, MBBI, DL, TII.get(SystemZ::MOV64rr), SystemZ::R11D [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 216 MachineBasicBlock *MBB = JTBBs[i]; 219 O << *MBB->getSymbol();
|
XCoreRegisterInfo.cpp | 116 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 158 MBB.insert(I, New); 162 MBB.erase(I); 225 MachineBasicBlock &MBB = *MI.getParent(); 236 loadConstant(MBB, II, ScratchReg, Offset, dl); 239 BuildMI(MBB, II, dl, TII.get(XCore::LDW_3r), Reg) 244 BuildMI(MBB, II, dl, TII.get(XCore::STW_3r)) 250 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l3r), Reg) 260 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg) 265 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus) [all...] |
XCoreFrameLowering.cpp | 45 static void loadFromStack(MachineBasicBlock &MBB, 55 BuildMI(MBB, I, dl, TII.get(Opcode), DstReg) 60 static void storeToStack(MachineBasicBlock &MBB, 70 BuildMI(MBB, I, dl, TII.get(Opcode)) 91 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB 92 MachineBasicBlock::iterator MBBI = MBB.begin(); 100 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 107 loadFromStack(MBB, MBBI, XCore::R11, 0, dl, TII); 130 MBB.addLiveIn(XCore::LR); 136 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(FrameSize) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 143 MachineBasicBlock *MBB = mf.CreateMachineBasicBlock(BB); 144 MBBMap[BB] = MBB; 145 MF->push_back(MBB); 151 MBB->setHasAddressTaken(); 174 BuildMI(MBB, DL, TII->get(TargetOpcode::PHI), PHIReg + i); 377 MachineBasicBlock *MBB) { 383 MMI->addPersonality(MBB, cast<Function>(CE->getOperand(0))); 400 MMI->addCatchTypeInfo(MBB, TyInfo); 406 MMI->addCleanup(MBB); 412 MMI->addFilterTypeInfo(MBB, TyInfo) [all...] |
/external/llvm/lib/Target/ARM/ |
ARMConstantPoolValue.h | 201 const MachineBasicBlock *MBB; // Machine basic block. 203 ARMConstantPoolMBB(LLVMContext &C, const MachineBasicBlock *mbb, unsigned id, 209 const MachineBasicBlock *mbb, 212 const MachineBasicBlock *getMBB() const { return MBB; }
|
MLxExpansionPass.cpp | 65 void ExpandFPMLxInstruction(MachineBasicBlock &MBB, MachineInstr *MI, 68 bool ExpandFPMLxInstructions(MachineBasicBlock &MBB); 91 MachineBasicBlock *MBB = MI->getParent(); 94 if (DefMI->getParent() != MBB) 120 MachineBasicBlock *MBB = MI->getParent(); 122 if (UseMI->getParent() != MBB) 131 if (UseMI->getParent() != MBB) 206 MLxExpansion::ExpandFPMLxInstruction(MachineBasicBlock &MBB, MachineInstr *MI, 225 MachineInstrBuilder MIB = BuildMI(MBB, *MI, MI->getDebugLoc(), MCID1, TmpReg) 232 MIB = BuildMI(MBB, *MI, MI->getDebugLoc(), MCID2 [all...] |
Thumb1FrameLowering.cpp | 38 emitSPUpdate(MachineBasicBlock &MBB, 43 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, 48 MachineBasicBlock &MBB = MF.front(); 49 MachineBasicBlock::iterator MBBI = MBB.begin(); 60 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 74 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -VARegSaveSize, 79 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -NumBytes, 118 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) { 120 if (MBBI != MBB.end()) 136 AddDefaultPred(BuildMI(MBB, MBBI, dl, TII.get(ARM::tADDrSPi), FramePtr [all...] |
Thumb2ITBlockPass.cpp | 47 bool InsertITInstructions(MachineBasicBlock &MBB); 163 bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) { 168 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end(); 184 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT)) 220 MBB.remove(NMI); 221 MBB.insert(InsertPos, NMI); 258 MachineBasicBlock &MBB = *MFI; 260 Modified |= InsertITInstructions(MBB);
|
/external/llvm/lib/Target/MBlaze/ |
MBlazeFrameLowering.cpp | 57 MachineBasicBlock::iterator MBB = MB->begin(); 60 for (; MBB != MBE; ++MBB) { 61 MachineInstr::mop_iterator MIB = MBB->operands_begin(); 62 const MachineInstr::mop_iterator MIE = MBB->operands_end(); 100 MachineBasicBlock *MBB = MF.getBlockNumbered(0); 101 MachineBasicBlock::iterator MIB = MBB->begin(); 102 MachineBasicBlock::iterator MIE = MBB->end(); 207 MBB->erase(EraseInstr[i]); 343 MachineBasicBlock &MBB = MF.front() [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCRegisterInfo.cpp | 281 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 298 BuildMI(MBB, I, dl, TII.get(ADDIInstr), StackReg).addReg(StackReg). 302 BuildMI(MBB, MBBI, dl, TII.get(LISInstr), TmpReg) 304 BuildMI(MBB, MBBI, dl, TII.get(ORIInstr), TmpReg) 307 BuildMI(MBB, MBBI, dl, TII.get(ADDInstr)) 315 MBB.erase(I); 344 MachineBasicBlock &MBB = *MI.getParent(); 346 MachineFunction &MF = *MBB.getParent(); 382 BuildMI(MBB, II, dl, TII.get(PPC::ADDI), Reg) 387 BuildMI(MBB, II, dl, TII.get(PPC::LD), Reg [all...] |