| /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/CodeGen/ |
| MachineOperand.h | 161 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. 439 return Contents.MBB; 559 void setMBB(MachineBasicBlock *MBB) { 561 Contents.MBB = MBB; 665 static MachineOperand CreateMBB(MachineBasicBlock *MBB, 668 Op.setMBB(MBB);
|
| SlotIndexes.h | 348 /// MBBRanges - Map MBB number to (start, stop) indexes. 352 /// and MBB id. 392 void repairIndexesInRange(MachineBasicBlock *MBB, 444 const MachineBasicBlock *MBB = MI.getParent(); 445 assert(MBB && "MI must be inserted inna basic block"); 446 MachineBasicBlock::const_iterator I = MI, B = MBB->begin(); 449 return getMBBStartIdx(MBB); 461 const MachineBasicBlock *MBB = MI.getParent(); 462 assert(MBB && "MI must be inserted inna basic block"); 463 MachineBasicBlock::const_iterator I = MI, E = MBB->end() [all...] |
| /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/CodeGen/ |
| MachineBasicBlock.h | 419 /// one. This is usually done when the current update on this MBB is done, and 422 /// MBB::removeSuccessor() has an option to do this automatically. 449 /// Transfers all the successors from MBB to this machine basic block (i.e., 461 /// Return true if the specified MBB is a predecessor of this block. 462 bool isPredecessor(const MachineBasicBlock *MBB) const; 464 /// Return true if the specified MBB is a successor of this block. 465 bool isSuccessor(const MachineBasicBlock *MBB) const; 467 /// Return true if the specified MBB will be emitted immediately after this 469 /// transfer to the specified MBB. Note that MBB need not be a successor a [all...] |
| MachineOperand.h | 161 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. 439 return Contents.MBB; 559 void setMBB(MachineBasicBlock *MBB) { 561 Contents.MBB = MBB; 665 static MachineOperand CreateMBB(MachineBasicBlock *MBB, 668 Op.setMBB(MBB);
|
| SlotIndexes.h | 348 /// MBBRanges - Map MBB number to (start, stop) indexes. 352 /// and MBB id. 392 void repairIndexesInRange(MachineBasicBlock *MBB, 444 const MachineBasicBlock *MBB = MI.getParent(); 445 assert(MBB && "MI must be inserted inna basic block"); 446 MachineBasicBlock::const_iterator I = MI, B = MBB->begin(); 449 return getMBBStartIdx(MBB); 461 const MachineBasicBlock *MBB = MI.getParent(); 462 assert(MBB && "MI must be inserted inna basic block"); 463 MachineBasicBlock::const_iterator I = MI, E = MBB->end() [all...] |
| /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/CodeGen/ |
| MachineBasicBlock.h | 419 /// one. This is usually done when the current update on this MBB is done, and 422 /// MBB::removeSuccessor() has an option to do this automatically. 449 /// Transfers all the successors from MBB to this machine basic block (i.e., 461 /// Return true if the specified MBB is a predecessor of this block. 462 bool isPredecessor(const MachineBasicBlock *MBB) const; 464 /// Return true if the specified MBB is a successor of this block. 465 bool isSuccessor(const MachineBasicBlock *MBB) const; 467 /// Return true if the specified MBB will be emitted immediately after this 469 /// transfer to the specified MBB. Note that MBB need not be a successor a [all...] |
| MachineOperand.h | 161 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. 439 return Contents.MBB; 559 void setMBB(MachineBasicBlock *MBB) { 561 Contents.MBB = MBB; 665 static MachineOperand CreateMBB(MachineBasicBlock *MBB, 668 Op.setMBB(MBB);
|
| SlotIndexes.h | 348 /// MBBRanges - Map MBB number to (start, stop) indexes. 352 /// and MBB id. 392 void repairIndexesInRange(MachineBasicBlock *MBB, 444 const MachineBasicBlock *MBB = MI.getParent(); 445 assert(MBB && "MI must be inserted inna basic block"); 446 MachineBasicBlock::const_iterator I = MI, B = MBB->begin(); 449 return getMBBStartIdx(MBB); 461 const MachineBasicBlock *MBB = MI.getParent(); 462 assert(MBB && "MI must be inserted inna basic block"); 463 MachineBasicBlock::const_iterator I = MI, E = MBB->end() [all...] |
| /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/CodeGen/ |
| MachineBasicBlock.h | 419 /// one. This is usually done when the current update on this MBB is done, and 422 /// MBB::removeSuccessor() has an option to do this automatically. 449 /// Transfers all the successors from MBB to this machine basic block (i.e., 461 /// Return true if the specified MBB is a predecessor of this block. 462 bool isPredecessor(const MachineBasicBlock *MBB) const; 464 /// Return true if the specified MBB is a successor of this block. 465 bool isSuccessor(const MachineBasicBlock *MBB) const; 467 /// Return true if the specified MBB will be emitted immediately after this 469 /// transfer to the specified MBB. Note that MBB need not be a successor a [all...] |
| MachineOperand.h | 161 MachineBasicBlock *MBB; // For MO_MachineBasicBlock. 439 return Contents.MBB; 559 void setMBB(MachineBasicBlock *MBB) { 561 Contents.MBB = MBB; 665 static MachineOperand CreateMBB(MachineBasicBlock *MBB, 668 Op.setMBB(MBB);
|
| SlotIndexes.h | 348 /// MBBRanges - Map MBB number to (start, stop) indexes. 352 /// and MBB id. 392 void repairIndexesInRange(MachineBasicBlock *MBB, 444 const MachineBasicBlock *MBB = MI.getParent(); 445 assert(MBB && "MI must be inserted inna basic block"); 446 MachineBasicBlock::const_iterator I = MI, B = MBB->begin(); 449 return getMBBStartIdx(MBB); 461 const MachineBasicBlock *MBB = MI.getParent(); 462 assert(MBB && "MI must be inserted inna basic block"); 463 MachineBasicBlock::const_iterator I = MI, E = MBB->end() [all...] |
| /external/llvm/include/llvm/CodeGen/ |
| MachineBasicBlock.h | 396 /// one. This is usually done when the current update on this MBB is done, and 399 /// MBB::removeSuccessor() has an option to do this automatically. 426 /// Transfers all the successors from MBB to this machine basic block (i.e., 438 /// Return true if the specified MBB is a predecessor of this block. 439 bool isPredecessor(const MachineBasicBlock *MBB) const; 441 /// Return true if the specified MBB is a successor of this block. 442 bool isSuccessor(const MachineBasicBlock *MBB) const; 444 /// Return true if the specified MBB will be emitted immediately after this 446 /// transfer to the specified MBB. Note that MBB need not be a successor a [all...] |
| /external/llvm/lib/CodeGen/ |
| BranchFolding.cpp | 11 // directly to the target block. This pass often results in dead MBB's, which 125 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { 126 assert(MBB->pred_empty() && "MBB must be dead!"); 127 DEBUG(dbgs() << "\nRemoving MBB: " << *MBB); 129 MachineFunction *MF = MBB->getParent(); 131 while (!MBB->succ_empty()) 132 MBB->removeSuccessor(MBB->succ_end()-1) [all...] |
| InlineSpiller.cpp | 333 /// There is an alternative def earlier in the same MBB. 380 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SrcVNI->def); 383 MII = MBB->SkipPHIsAndLabels(MBB->begin()); 391 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, 479 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); 480 for (MachineBasicBlock *P : MBB->predecessors()) { 835 MachineBasicBlock &MBB = *MI->getParent(); 838 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, 851 MachineBasicBlock &MBB = *MI->getParent() [all...] |
| LiveDebugVariables.cpp | 92 bool dominates(MachineBasicBlock *MBB) { 95 return LBlocks.count(MBB) != 0 || LS.dominates(DL, MBB); 132 /// insertDebugValue - Insert a DBG_VALUE into MBB at Idx for LocNo. 133 void insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, unsigned LocNo, 515 MachineBasicBlock *MBB = &*MFI; 516 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end(); 524 MBBI == MBB->begin() 525 ? LIS->getMBBStartIdx(MBB) [all...] |
| LiveIntervalAnalysis.cpp | 210 for (MachineBasicBlock &MBB : *MF) { 211 std::pair<unsigned, unsigned> &RMB = RegMaskBlocks[MBB.getNumber()]; 215 if (const uint32_t *Mask = MBB.getBeginClobberMask(TRI)) { 216 RegMaskSlots.push_back(Indexes->getMBBStartIdx(&MBB)); 220 for (MachineInstr &MI : MBB) { 230 // the last instruction of the block, because MBB slot index intervals are 232 if (const uint32_t *Mask = MBB.getEndClobberMask(TRI)) { 233 assert(!MBB.empty() && "empty return block?"); 235 Indexes->getInstructionIndex(MBB.back()).getRegSlot()); 306 const MachineBasicBlock *MBB = &*MFI [all...] |
| MachineBasicBlock.cpp | 55 assert(getNumber() >= 0 && "cannot get label for unreachable MBB"); 65 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { 66 MBB.print(OS); 70 /// When an MBB is added to an MF, we need to update the parent pointer of the 71 /// MBB, the MBB numbering, and any instructions in the MBB to be on the right 74 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it 75 /// gets the next available unique MBB number. If it is removed from a 117 /// When moving a range of instructions from one MBB list to another, we need t [all...] |
| MachineBlockPlacement.cpp | 217 for (MachineBasicBlock *MBB : *this) 218 MBB->dump(); 315 /// If the optional parameter BlockFilter is provided, only MBB 318 void fillWorkLists(MachineBasicBlock *MBB, 369 /// \brief Helper to print the name of a MBB. 393 for (MachineBasicBlock *MBB : Chain) { 398 for (MachineBasicBlock *Succ : MBB->successors()) { 412 auto *MBB = *SuccChain.begin(); 413 if (MBB->isEHPad()) 414 EHPadWorkList.push_back(MBB); [all...] |
| MachineInstr.cpp | 64 if (MachineBasicBlock *MBB = MI->getParent()) 65 if (MachineFunction *MF = MBB->getParent()) { 106 if (MachineBasicBlock *MBB = MI->getParent()) 107 if (MachineFunction *MF = MBB->getParent()) { 124 if (MachineBasicBlock *MBB = MI->getParent()) { 125 if (MachineFunction *MF = MBB->getParent()) 182 if (MachineBasicBlock *MBB = MI->getParent()) 183 if (MachineFunction *MF = MBB->getParent()) 703 if (MachineBasicBlock *MBB = getParent()) 704 return &MBB->getParent()->getRegInfo() [all...] |
| MachineLICM.cpp | 94 bool isExitBlock(const MachineBasicBlock *MBB) const { 95 return std::find(ExitBlocks.begin(), ExitBlocks.end(), MBB) != 119 // If a MBB does not dominate loop exiting blocks then it may not safe 195 void EnterScope(MachineBasicBlock *MBB); 197 void ExitScope(MachineBasicBlock *MBB); 550 MachineBasicBlock *MBB = MI->getParent(); 551 Preheader->splice(Preheader->getFirstTerminator(), MBB, MI); 562 /// Check if this mbb is guaranteed to execute. If not then a load from this mbb 583 void MachineLICM::EnterScope(MachineBasicBlock *MBB) { [all...] |
| PeepholeOptimizer.cpp | 151 bool optimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB); 152 bool optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 165 bool foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, 412 optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 489 if (UseMBB == MBB) { 497 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { 502 // Both will be live out of the def MBB anyway. Don't extend live range of 562 MachineBasicBlock *MBB) { 721 MachineBasicBlock *MBB = OrigPHI->getParent(); 722 MachineInstrBuilder MIB = BuildMI(*MBB, OrigPHI, OrigPHI->getDebugLoc() [all...] |
| SplitKit.cpp | 50 const MachineBasicBlock &MBB) { 51 unsigned Num = MBB.getNumber(); 53 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); 56 for (const MachineBasicBlock *SMBB : MBB.successors()) 63 MachineBasicBlock::const_iterator FirstTerm = MBB.getFirstTerminator(); 64 if (FirstTerm == MBB.end()) 74 for (MachineBasicBlock::const_iterator I = MBB.end(), E = MBB.begin(); 94 // Find the value leaving MBB. 99 // If the value leaving MBB was defined after the call in MBB, it can' [all...] |
| TargetInstrInfo.cpp | 65 void TargetInstrInfo::insertNoop(MachineBasicBlock &MBB, 108 MachineBasicBlock *MBB = Tail->getParent(); 110 // Remove all the old successors of MBB from the CFG. 111 while (!MBB->succ_empty()) 112 MBB->removeSuccessor(MBB->succ_begin()); 117 // Remove all the dead instructions from the end of MBB. 118 MBB->erase(Tail, MBB->end()); 120 // If MBB isn't immediately before MBB, insert a branch to it [all...] |
| TwoAddressInstructionPass.cpp | 84 MachineBasicBlock *MBB; 228 SlotIndex MBBEndIdx = LIS->getMBBEndIdx(MBB).getPrevSlot(); 248 if (!KillMI || KillMI->getParent() != MBB || KillMI == MI || 304 MBB->remove(MI); 305 MBB->insert(KillPos, MI); 340 MachineInstr *Def = getSingleDef(TmpReg, MBB, MRI); 353 /// in the MBB that defines the specified register and the two-address 362 if (MI->getParent() != MBB || MI->isDebugValue()) 492 MachineInstr *findOnlyInterestingUse(unsigned Reg, MachineBasicBlock *MBB, 501 if (UseMI.getParent() != MBB) [all...] |
| /external/llvm/lib/CodeGen/SelectionDAG/ |
| SelectionDAGBuilder.h | 153 MachineBasicBlock *MBB; 160 MachineBasicBlock *MBB, BranchProbability Prob) { 165 C.MBB = MBB; 248 MachineBasicBlock *D): Reg(R), JTI(J), MBB(M), Default(D) {} 255 /// MBB - the MBB into which to emit the code for the indirect jump. 256 MachineBasicBlock *MBB; 257 /// Default - the MBB of the default bb, which is a successor of the range 258 /// check MBB. This is when updating PHI nodes in successors [all...] |