| /external/llvm/include/llvm/CodeGen/ |
| MachineInstrBundle.h | 18 #include "llvm/CodeGen/MachineBasicBlock.h" 28 void finalizeBundle(MachineBasicBlock &MBB, 29 MachineBasicBlock::instr_iterator FirstMI, 30 MachineBasicBlock::instr_iterator LastMI); 37 MachineBasicBlock::instr_iterator finalizeBundle(MachineBasicBlock &MBB, 38 MachineBasicBlock::instr_iterator FirstMI); 47 MachineBasicBlock::instr_iterator I(MI); 54 MachineBasicBlock::const_instr_iterator I(MI); 61 inline MachineBasicBlock::instr_iterato [all...] |
| MachineBasicBlock.h | 1 //===-- llvm/CodeGen/MachineBasicBlock.h ------------------------*- C++ -*-===// 44 // this is only set by the MachineBasicBlock owning the LiveList 45 friend class MachineBasicBlock; 46 MachineBasicBlock* Parent; 68 class MachineBasicBlock 69 : public ilist_node_with_parent<MachineBasicBlock, MachineFunction> { 91 std::vector<MachineBasicBlock *> Predecessors; 92 std::vector<MachineBasicBlock *> Successors; 128 MachineBasicBlock() {} 130 explicit MachineBasicBlock(MachineFunction &MF, const BasicBlock *BB) [all...] |
| RegisterScavenging.h | 21 #include "llvm/CodeGen/MachineBasicBlock.h" 35 MachineBasicBlock *MBB; 36 MachineBasicBlock::iterator MBBI; 75 void enterBasicBlock(MachineBasicBlock *mbb); 82 void forward(MachineBasicBlock::iterator I) { 92 void unprocess(MachineBasicBlock::iterator I) { 97 void skipTo(MachineBasicBlock::iterator I) { 98 if (I == MachineBasicBlock::iterator(nullptr)) 103 MachineBasicBlock::iterator getCurrentPosition() const { return MBBI; } 143 MachineBasicBlock::iterator I, int SPAdj) [all...] |
| LiveVariables.h | 43 class MachineBasicBlock; 104 MachineInstr *findKill(const MachineBasicBlock *MBB) const; 109 bool isLiveIn(const MachineBasicBlock &MBB, 181 void runOnBlock(MachineBasicBlock *MBB, unsigned NumRegs); 276 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock, 277 MachineBasicBlock *BB); 278 void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock, 279 MachineBasicBlock *BB, 280 std::vector<MachineBasicBlock*> &WorkList); 282 void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB [all...] |
| DFAPacketizer.h | 30 #include "llvm/CodeGen/MachineBasicBlock.h" 152 void PacketizeMIs(MachineBasicBlock *MBB, 153 MachineBasicBlock::iterator BeginItr, 154 MachineBasicBlock::iterator EndItr); 160 virtual MachineBasicBlock::iterator addToPacket(MachineInstr *MI) { 161 MachineBasicBlock::iterator MII = MI; 170 virtual void endPacket(MachineBasicBlock *MBB, MachineInstr *MI); 179 const MachineBasicBlock *MBB) {
|
| MachineFunction.h | 11 // MachineBasicBlock instances that make up the current compiled function. 22 #include "llvm/CodeGen/MachineBasicBlock.h" 49 struct ilist_traits<MachineBasicBlock> 50 : public ilist_default_traits<MachineBasicBlock> { 51 mutable ilist_half_node<MachineBasicBlock> Sentinel; 53 MachineBasicBlock *createSentinel() const { 54 return static_cast<MachineBasicBlock*>(&Sentinel); 56 void destroySentinel(MachineBasicBlock *) const {} 58 MachineBasicBlock *provideInitialHead() const { return createSentinel(); } 59 MachineBasicBlock *ensureHead(MachineBasicBlock*) const [all...] |
| /external/llvm/lib/Target/SystemZ/ |
| SystemZInstrInfo.h | 121 void splitMove(MachineBasicBlock::iterator MI, unsigned NewOpcode) const; 122 void splitAdjDynAlloc(MachineBasicBlock::iterator MI) const; 131 void emitGRX32Move(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 146 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 147 MachineBasicBlock *&FBB, 150 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 151 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB [all...] |
| /external/llvm/lib/CodeGen/ |
| PHIEliminationUtils.cpp | 12 #include "llvm/CodeGen/MachineBasicBlock.h" 21 MachineBasicBlock::iterator 22 llvm::findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB, 42 MachineBasicBlock::iterator InsertPoint;
|
| MachineBasicBlock.cpp | 1 //===-- llvm/CodeGen/MachineBasicBlock.cpp ----------------------*- C++ -*-===// 14 #include "llvm/CodeGen/MachineBasicBlock.h" 42 MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) 47 MachineBasicBlock::~MachineBasicBlock() { 51 MCSymbol *MachineBasicBlock::getSymbol() const { 66 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { 78 void ilist_traits<MachineBasicBlock>::addNodeToList(MachineBasicBlock *N) [all...] |
| MachineSSAUpdater.cpp | 34 typedef DenseMap<MachineBasicBlock*, unsigned> AvailableValsTy; 64 bool MachineSSAUpdater::HasValueForBlock(MachineBasicBlock *BB) const { 70 void MachineSSAUpdater::AddAvailableValue(MachineBasicBlock *BB, unsigned V) { 76 unsigned MachineSSAUpdater::GetValueAtEndOfBlock(MachineBasicBlock *BB) { 81 unsigned LookForIdenticalPHI(MachineBasicBlock *BB, 82 SmallVectorImpl<std::pair<MachineBasicBlock*, unsigned> > &PredValues) { 86 MachineBasicBlock::iterator I = BB->begin(); 97 MachineBasicBlock *SrcBB = I->getOperand(i+1).getMBB(); 115 MachineBasicBlock *BB, MachineBasicBlock::iterator I [all...] |
| TailDuplication.cpp | 59 typedef std::vector<std::pair<MachineBasicBlock*,unsigned> > AvailableValsTy; 90 MachineBasicBlock *BB); 91 void ProcessPHI(MachineInstr *MI, MachineBasicBlock *TailBB, 92 MachineBasicBlock *PredBB, 98 MachineBasicBlock *TailBB, 99 MachineBasicBlock *PredBB, 103 void UpdateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead, 104 SmallVectorImpl<MachineBasicBlock *> &TDBBs, 105 SmallSetVector<MachineBasicBlock*, 8> &Succs); 108 bool IsSimple, MachineBasicBlock &TailBB) [all...] |
| MachineSink.cpp | 67 SmallSet<std::pair<MachineBasicBlock*,MachineBasicBlock*>, 8> 72 SetVector<std::pair<MachineBasicBlock*,MachineBasicBlock*> > ToSplit; 76 typedef std::map<MachineBasicBlock *, SmallVector<MachineBasicBlock *, 4>> 106 bool ProcessBlock(MachineBasicBlock &MBB); 108 MachineBasicBlock *From, 109 MachineBasicBlock *To); 123 MachineBasicBlock *From [all...] |
| /external/llvm/lib/Target/AMDGPU/ |
| AMDGPUInstrInfo.h | 70 MachineBasicBlock::iterator &MBBI, 74 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override; 76 void storeRegToStackSlot(MachineBasicBlock &MBB, 77 MachineBasicBlock::iterator MI, 81 void loadRegFromStackSlot(MachineBasicBlock &MBB, 82 MachineBasicBlock::iterator MI, 90 MachineBasicBlock::iterator InsertPt, 94 MachineBasicBlock::iterator InsertPt, 123 void insertNoop(MachineBasicBlock &MBB, 124 MachineBasicBlock::iterator MI) const override [all...] |
| AMDGPUFrameLowering.h | 39 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 40 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
|
| /external/llvm/lib/Target/X86/ |
| X86PadShortFunction.cpp | 63 void findReturns(MachineBasicBlock *MBB, 66 bool cyclesUntilReturn(MachineBasicBlock *MBB, 69 void addPadding(MachineBasicBlock *MBB, 70 MachineBasicBlock::iterator &MBBI, 77 DenseMap<MachineBasicBlock*, unsigned int> ReturnBBs; 80 DenseMap<MachineBasicBlock*, VisitedBBInfo> VisitedBBs; 113 MachineBasicBlock *MBB; 117 for (DenseMap<MachineBasicBlock*, unsigned int>::iterator I = ReturnBBs.begin(); 127 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); 145 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) [all...] |
| /external/llvm/lib/CodeGen/AsmPrinter/ |
| AsmPrinterHandler.h | 22 class MachineBasicBlock; 55 virtual void beginFunclet(const MachineBasicBlock &MBB,
|
| /external/llvm/lib/Target/AArch64/ |
| AArch64InstrInfo.h | 112 void copyPhysRegTuple(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, 116 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, 120 void storeRegToStackSlot(MachineBasicBlock &MBB, 121 MachineBasicBlock::iterator MBBI, unsigned SrcReg, 126 void loadRegFromStackSlot(MachineBasicBlock &MBB, 127 MachineBasicBlock::iterator MBBI, unsigned DestReg, 134 MachineBasicBlock::iterator InsertPt, 137 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB [all...] |
| /external/llvm/lib/Target/PowerPC/ |
| PPCInstrInfo.h | 163 void insertNoop(MachineBasicBlock &MBB, 164 MachineBasicBlock::iterator MI) const override; 168 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 169 MachineBasicBlock *&FBB, 172 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 173 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 174 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, 178 bool canInsertSelect(const MachineBasicBlock &, ArrayRef<MachineOperand> Cond [all...] |
| /external/llvm/lib/Target/BPF/ |
| BPFInstrInfo.cpp | 34 void BPFInstrInfo::copyPhysReg(MachineBasicBlock &MBB, 35 MachineBasicBlock::iterator I, DebugLoc DL, 45 void BPFInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, 46 MachineBasicBlock::iterator I, 63 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, 64 MachineBasicBlock::iterator I, 78 bool BPFInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, 79 MachineBasicBlock *&TBB, 80 MachineBasicBlock *&FBB, 85 MachineBasicBlock::iterator I = MBB.end() [all...] |
| /external/llvm/lib/Target/Hexagon/ |
| HexagonInstrInfo.h | 82 bool AnalyzeBranch(MachineBasicBlock &MBB,MachineBasicBlock *&TBB, 83 MachineBasicBlock *&FBB, 90 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 92 /// Insert branch code into the end of the specified MachineBasicBlock. 102 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 103 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, 111 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, 121 bool isProfitableToIfCvt(MachineBasicBlock &TMBB [all...] |
| HexagonEarlyIfConv.cpp | 98 PrintMB(const MachineBasicBlock *B) : MB(B) {} 99 const MachineBasicBlock *MB; 109 FlowPattern(MachineBasicBlock *B, unsigned PR, MachineBasicBlock *TB, 110 MachineBasicBlock *FB, MachineBasicBlock *JB) 113 MachineBasicBlock *SplitB; 114 MachineBasicBlock *TrueB, *FalseB, *JoinB; 155 typedef DenseSet<MachineBasicBlock*> BlockSetType; 157 bool isPreheader(const MachineBasicBlock *B) const [all...] |
| HexagonCFGOptimizer.cpp | 41 void InvertAndChangeJumpTarget(MachineInstr*, MachineBasicBlock*); 71 MachineBasicBlock* NewTarget) { 105 MachineBasicBlock *MBB = &*MBBb; 108 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); 144 MachineBasicBlock::succ_iterator SI = MBB->succ_begin(); 145 MachineBasicBlock* FirstSucc = *SI; 146 MachineBasicBlock* SecondSucc = *(++SI); 147 MachineBasicBlock* LayoutSucc = nullptr; 148 MachineBasicBlock* JumpAroundTarget = nullptr; 162 MachineBasicBlock* CondBranchTarget = nullptr [all...] |
| /external/llvm/lib/Target/WebAssembly/ |
| WebAssemblyCFGStackify.cpp | 74 SmallPtrSet<MachineBasicBlock *, 8> InSet; 77 const std::vector<MachineBasicBlock *> &CurrentSCC = *I; 84 MachineBasicBlock *Header = nullptr; 85 for (MachineBasicBlock *MBB : CurrentSCC) { 86 for (MachineBasicBlock *Pred : MBB->predecessors()) { 106 MachineBasicBlock *MBB; 107 SmallVector<MachineBasicBlock *, 0> Succs; 109 POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF, 115 const MachineBasicBlock *MBB) { 119 POStackEntry::POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF [all...] |
| /external/llvm/lib/Target/ARM/ |
| ARMBaseInstrInfo.h | 38 void expandLoadStackGuardBase(MachineBasicBlock::iterator MI, 110 MachineBasicBlock::iterator &MBBI, 125 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 126 MachineBasicBlock *&FBB, 129 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 130 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 131 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, 170 void copyToCPSR(MachineBasicBlock &MBB, MachineBasicBlock::iterator I [all...] |
| /external/llvm/lib/Target/Mips/ |
| MipsInstrInfo.cpp | 51 insertNoop(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const 57 MachineMemOperand *MipsInstrInfo::GetMemOperand(MachineBasicBlock &MBB, int FI, 72 MachineBasicBlock *&BB, 86 bool MipsInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, 87 MachineBasicBlock *&TBB, 88 MachineBasicBlock *&FBB, 98 MipsInstrInfo::BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 116 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB [all...] |