/external/llvm/lib/Target/R600/ |
H A D | R600OptimizeVectorRegisters.cpp | 182 MachineBasicBlock &MBB = *Pos->getParent(); local 195 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG), 212 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg) 319 for (MachineFunction::iterator MBB = Fn.begin(), MBBe = Fn.end(); 320 MBB != MBBe; ++MBB) { 321 MachineBasicBlock *MB = MBB;
|
H A D | AMDGPUMCInstLower.cpp | 97 const MachineBasicBlock *MBB = MI->getParent(); local 100 while (I != MBB->end() && I->isInsideBundle()) {
|
H A D | R600ClauseMergePass.cpp | 173 MachineBasicBlock &MBB = *BB; local 174 MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
H A D | SIFixSGPRCopies.cpp | 205 MachineBasicBlock &MBB = *BI; local 206 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
|
/external/llvm/lib/CodeGen/ |
H A D | MachineBasicBlock.cpp | 67 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { argument 68 MBB.print(OS); 72 /// addNodeToList (MBB) - When an MBB is added to an MF, we need to update the 73 /// parent pointer of the MBB, the MBB numbering, and any instructions in the 74 /// MBB to be on the right operand list for registers. 76 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it 77 /// gets the next available unique MBB number. If it is removed from a 130 /// MBB lis 1088 const MachineBasicBlock *MBB = *SI; local [all...] |
H A D | MachineFunction.cpp | 50 void ilist_traits<MachineBasicBlock>::deleteNode(MachineBasicBlock *MBB) { argument 51 MBB->getParent()->DeleteMachineBasicBlock(MBB); 134 /// recomputes them. This guarantees that the MBB numbers are sequential, 138 void MachineFunction::RenumberBlocks(MachineBasicBlock *MBB) { argument 141 if (MBB == nullptr) 144 MBBI = MBB; 156 "MBB number mismatch!"); 223 MachineFunction::DeleteMachineBasicBlock(MachineBasicBlock *MBB) { argument 224 assert(MBB [all...] |
H A D | MachineLICM.cpp | 87 bool isExitBlock(const MachineBasicBlock *MBB) const { 88 return std::find(ExitBlocks.begin(), ExitBlocks.end(), MBB) != 112 // If a MBB does not dominate loop exiting blocks then it may not safe 224 void EnterScope(MachineBasicBlock *MBB); 226 void ExitScope(MachineBasicBlock *MBB); 228 /// ExitScopeIfDone - Destroy scope for the MBB that corresponds to given 621 MachineBasicBlock *MBB = MI->getParent(); local 622 Preheader->splice(Preheader->getFirstTerminator(), MBB, MI); 654 void MachineLICM::EnterScope(MachineBasicBlock *MBB) { argument 655 DEBUG(dbgs() << "Entering: " << MBB 661 ExitScope(MachineBasicBlock *MBB) argument 752 MachineBasicBlock *MBB = Node->getBlock(); local 1278 MachineBasicBlock *MBB = MI->getParent(); local [all...] |
H A D | ExpandPostRAPseudos.cpp | 80 MachineBasicBlock *MBB = MI->getParent(); local 121 TII->copyPhysReg(*MBB, MI, MI->getDebugLoc(), DstSubReg, InsReg, 132 MBB->erase(MI);
|
H A D | PeepholeOptimizer.cpp | 130 bool optimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB); 131 bool optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 138 bool foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, 263 optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, argument 340 if (UseMBB == MBB) { 348 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { 353 // Both will be live out of the def MBB anyway. Don't extend live range of 414 MachineBasicBlock *MBB) { 644 bool PeepholeOptimizer::foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, argument 684 MachineBasicBlock *MBB local 413 optimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB) argument [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCCodeEmitter.cpp | 86 void emitBasicBlock(MachineBasicBlock &MBB); 116 void PPCCodeEmitter::emitBasicBlock(MachineBasicBlock &MBB) { argument 117 MCE.StartMachineBasicBlock(&MBB); 119 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ++I){
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsSEISelDAGToDAG.cpp | 129 MachineBasicBlock &MBB = MF.front(); 130 MachineBasicBlock::iterator I = MBB.begin(); 133 DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc(); 147 MBB.addLiveIn(Mips::T9_64); 153 BuildMI(MBB, I, DL, TII.get(Mips::LUi64), V0) 155 BuildMI(MBB, I, DL, TII.get(Mips::DADDu), V1).addReg(V0) 157 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1) 167 BuildMI(MBB, I, DL, TII.get(Mips::LUi), V0) 169 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0) 175 MBB [all...] |
H A D | MipsAsmPrinter.cpp | 399 MBB) const { 401 const MachineBasicBlock *Pred = *MBB->pred_begin(); 411 if (MBB->isLandingPad() || MBB->pred_empty()) 415 MachineBasicBlock::const_pred_iterator PI = MBB->pred_begin(), PI2 = PI; 418 if (PI2 != MBB->pred_end()) 422 if (!Pred->isLayoutSuccessor(MBB)) 1005 for (MachineFunction::iterator MBB = MF.begin(), E = MF.end(); 1006 MBB != E; ++MBB) { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 746 for (auto &MBB : *MF) { 748 EmitBasicBlockStart(MBB); 749 for (auto &MI : MBB) { 1186 const MachineBasicBlock *MBB = JTBBs[ii]; local 1187 if (!EmittedSets.insert(MBB)) continue; 1191 MCSymbolRefExpr::Create(MBB->getSymbol(), OutContext); 1192 OutStreamer.EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()), 1215 /// EmitJumpTableEntry - Emit a jump table entry for the specified MBB to the 1218 const MachineBasicBlock *MBB, 1220 assert(MBB 1217 EmitJumpTableEntry(const MachineJumpTableInfo *MJTI, const MachineBasicBlock *MBB, unsigned UID) const argument 2146 emitBasicBlockLoopComments(const MachineBasicBlock &MBB, const MachineLoopInfo *LI, const AsmPrinter &AP) argument [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 276 ARMBaseInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, argument 283 MachineBasicBlock::iterator I = MBB.end(); 284 if (I == MBB.begin()) 299 if (I == MBB.begin()) 344 while (DI != MBB.end()) { 355 if (I == MBB.begin()) 367 unsigned ARMBaseInstrInfo::RemoveBranch(MachineBasicBlock &MBB) const { 368 MachineBasicBlock::iterator I = MBB.end(); 369 if (I == MBB.begin()) return 0; 372 if (I == MBB 396 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument 662 copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, bool KillSrc) const argument 796 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned SrcReg, bool isKill, int FI, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const argument 987 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned DestReg, int FI, const TargetRegisterClass *RC, const TargetRegisterInfo *TRI) const argument 1290 reMaterialize(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned DestReg, unsigned SubIdx, const MachineInstr *Orig, const TargetRegisterInfo &TRI) const argument 1539 isSchedulingBoundary(const MachineInstr *MI, const MachineBasicBlock *MBB, const MachineFunction &MF) const argument 1583 isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, unsigned ExtraPredCycles, const BranchProbability &Probability) const argument 1840 emitARMRegPlusImmediate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, unsigned DestReg, unsigned BaseReg, int NumBytes, ARMCC::CondCodes Pred, unsigned PredReg, const ARMBaseInstrInfo &TII, unsigned MIFlags) argument 2465 MachineBasicBlock *MBB = CmpInstr->getParent(); local [all...] |
H A D | ARMBaseRegisterInfo.h | 150 void materializeFrameBaseRegister(MachineBasicBlock *MBB, 169 virtual void emitLoadConstPool(MachineBasicBlock &MBB,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGISel.cpp | 311 // When new basic blocks are inserted and the edges from MBB to its successors 316 MachineBasicBlock *MBB) const { 532 for (const auto &MBB : *MF) { 536 for (const auto &MI : MBB) { 661 BlockNumber = FuncInfo->MBB->getNumber(); 663 FuncInfo->MBB->getBasicBlock()->getName().str(); 779 Scheduler->Run(CurDAG, FuncInfo->MBB); 786 MachineBasicBlock *FirstMBB = FuncInfo->MBB, *LastMBB; 792 LastMBB = FuncInfo->MBB = Scheduler->EmitSchedule(FuncInfo->InsertPt); 832 << FuncInfo->MBB 895 MachineBasicBlock *MBB = FuncInfo->MBB; local [all...] |
H A D | InstrEmitter.cpp | 176 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), 292 BuildMI(*MBB, InsertPos, Op.getDebugLoc(), 334 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(), 455 BuildMI(*MBB, InsertPos, DL, TII->get(TargetOpcode::COPY), NewReg) 502 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), 518 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), 565 MBB->insert(InsertPos, MIB); 589 BuildMI(*MBB, InsertPos, Node->getDebugLoc(), TII->get(TargetOpcode::COPY), 633 MBB->insert(InsertPos, MIB); 801 MBB [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineDominators.h | 27 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) { argument 28 this->Roots.push_back(MBB);
|
H A D | 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,
|
H A D | AsmPrinter.h | 239 void EmitBasicBlockStart(const MachineBasicBlock &MBB) const; 287 isBlockOnlyReachableByFallthrough(const MachineBasicBlock *MBB) const; 502 const MachineBasicBlock *MBB, unsigned uid) const;
|
H A D | 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...] |
H A D | RegisterPressure.h | 258 const MachineBasicBlock *MBB; 288 MF(nullptr), TRI(nullptr), RCI(nullptr), LIS(nullptr), MBB(nullptr), P(rp), 292 MF(nullptr), TRI(nullptr), RCI(nullptr), LIS(nullptr), MBB(nullptr), P(rp),
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 528 const MachineBasicBlock *MBB, unsigned uid, 601 MachineBasicBlock *MBB) const override; 954 MachineBasicBlock *MBB) const; 959 MachineBasicBlock *MBB) const; 964 MachineBasicBlock *MBB) const; 988 MachineBasicBlock *MBB) const; 991 MachineBasicBlock *MBB) const; 994 MachineBasicBlock *MBB) const;
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.h | 78 void materializeFrameBaseRegister(MachineBasicBlock *MBB, unsigned BaseReg,
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 285 // If the last instruction before MBBI in MBB was some form of COMPARE, 289 bool convertPrevCompareToBranch(MachineBasicBlock *MBB, 302 MachineBasicBlock *MBB, 309 MachineBasicBlock *MBB,
|