/external/llvm/lib/Target/R600/ |
D | AMDILCFGStructurizer.cpp | 125 typedef SmallVector<MachineBasicBlock *, 32> MBBVector; 126 typedef std::map<MachineBasicBlock *, BlockInformation *> MBBInfoMap; 127 typedef std::map<MachineLoop *, MachineBasicBlock *> LoopLandInfoMap; 210 int getSCCNum(MachineBasicBlock *MBB) const; 211 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 212 bool hasBackEdge(MachineBasicBlock *MBB) const; 214 bool isRetiredBlock(MachineBasicBlock *MBB) const; 215 bool isActiveLoophead(MachineBasicBlock *MBB) const; 216 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, 220 bool needMigrateBlock(MachineBasicBlock *MBB) const; [all …]
|
D | R600InstrInfo.h | 40 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB, 41 MachineBasicBlock::iterator I, 46 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB, 47 MachineBasicBlock::iterator I, 64 void copyPhysReg(MachineBasicBlock &MBB, 65 MachineBasicBlock::iterator MI, DebugLoc DL, 68 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB, 69 MachineBasicBlock::iterator MBBI) const override; 163 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 166 …unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, cons… [all …]
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.h | 35 MachineBasicBlock *Block; 37 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt() 41 MachineBasicBlock *getBlock() const { return Block; } in getBlock() 43 void setBlock(MachineBasicBlock *MBB) { in setBlock() 51 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging; 55 MachineBasicBlock::iterator TailStartPos; 57 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt() 66 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos() 72 MachineBasicBlock *getBlock() const { in getBlock() 79 void setBlock(MachineBasicBlock *MBB) { in setBlock() [all …]
|
D | MachineSink.cpp | 55 SmallSet<std::pair<MachineBasicBlock*,MachineBasicBlock*>, 8> 81 bool ProcessBlock(MachineBasicBlock &MBB); 83 MachineBasicBlock *From, 84 MachineBasicBlock *To); 85 MachineBasicBlock *SplitCriticalEdge(MachineInstr *MI, 86 MachineBasicBlock *From, 87 MachineBasicBlock *To, 90 bool AllUsesDominatedByBlock(unsigned Reg, MachineBasicBlock *MBB, 91 MachineBasicBlock *DefMBB, 93 MachineBasicBlock *FindSuccToSinkTo(MachineInstr *MI, MachineBasicBlock *MBB, [all …]
|
D | MachineBasicBlock.cpp | 40 MachineBasicBlock::MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb) in MachineBasicBlock() function in MachineBasicBlock 46 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock() 52 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol() 67 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<() 79 void ilist_traits<MachineBasicBlock>::addNodeToList(MachineBasicBlock *N) { in addNodeToList() 85 for (MachineBasicBlock::instr_iterator in addNodeToList() 92 void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock *N) { in removeNodeFromList() 153 MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() { in getFirstNonPHI() 162 MachineBasicBlock::iterator 163 MachineBasicBlock::SkipPHIsAndLabels(MachineBasicBlock::iterator I) { in SkipPHIsAndLabels() [all …]
|
D | TailDuplication.cpp | 58 typedef std::vector<std::pair<MachineBasicBlock*,unsigned> > AvailableValsTy; 89 MachineBasicBlock *BB); 90 void ProcessPHI(MachineInstr *MI, MachineBasicBlock *TailBB, 91 MachineBasicBlock *PredBB, 97 MachineBasicBlock *TailBB, 98 MachineBasicBlock *PredBB, 102 void UpdateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead, 103 SmallVectorImpl<MachineBasicBlock *> &TDBBs, 104 SmallSetVector<MachineBasicBlock*, 8> &Succs); 107 bool IsSimple, MachineBasicBlock &TailBB); [all …]
|
D | MachineBranchProbabilityInfo.cpp | 32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const { in getSumForBlock() 39 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getSumForBlock() 54 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getSumForBlock() 64 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() 65 MachineBasicBlock::const_succ_iterator Dst) const { in getEdgeWeight() 73 getEdgeWeight(const MachineBasicBlock *Src, in getEdgeWeight() 74 const MachineBasicBlock *Dst) const { in getEdgeWeight() 81 MachineBranchProbabilityInfo::isEdgeHot(const MachineBasicBlock *Src, in isEdgeHot() 82 const MachineBasicBlock *Dst) const { in isEdgeHot() 88 MachineBasicBlock * [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEInstrInfo.h | 47 void copyPhysReg(MachineBasicBlock &MBB, 48 MachineBasicBlock::iterator MI, DebugLoc DL, 52 void storeRegToStack(MachineBasicBlock &MBB, 53 MachineBasicBlock::iterator MI, 59 void loadRegFromStack(MachineBasicBlock &MBB, 60 MachineBasicBlock::iterator MI, 66 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override; 71 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 72 MachineBasicBlock::iterator I) const; 77 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB, [all …]
|
D | Mips16InstrInfo.h | 46 void copyPhysReg(MachineBasicBlock &MBB, 47 MachineBasicBlock::iterator MI, DebugLoc DL, 51 void storeRegToStack(MachineBasicBlock &MBB, 52 MachineBasicBlock::iterator MBBI, 58 void loadRegFromStack(MachineBasicBlock &MBB, 59 MachineBasicBlock::iterator MBBI, 65 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override; 70 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB, 71 MachineBasicBlock::iterator I) const; 74 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB, [all …]
|
D | MipsInstrInfo.h | 54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 55 MachineBasicBlock *&FBB, 59 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 62 MachineBasicBlock *FBB, 69 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 70 MachineBasicBlock *&FBB, 76 void insertNoop(MachineBasicBlock &MBB, 77 MachineBasicBlock::iterator MI) const override; 90 void storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() [all …]
|
D | MipsSEISelLowering.h | 40 MachineBasicBlock * 42 MachineBasicBlock *MBB) const override; 78 MachineBasicBlock *emitBPOSGE32(MachineInstr *MI, 79 MachineBasicBlock *BB) const; 80 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr *MI, 81 MachineBasicBlock *BB, 84 MachineBasicBlock *emitCOPY_FW(MachineInstr *MI, 85 MachineBasicBlock *BB) const; 87 MachineBasicBlock *emitCOPY_FD(MachineInstr *MI, 88 MachineBasicBlock *BB) const; [all …]
|
D | Mips16ISelLowering.h | 27 MachineBasicBlock * 29 MachineBasicBlock *MBB) const override; 51 MachineBasicBlock *emitSel16(unsigned Opc, MachineInstr *MI, 52 MachineBasicBlock *BB) const; 54 MachineBasicBlock *emitSeliT16(unsigned Opc1, unsigned Opc2, 56 MachineBasicBlock *BB) const; 58 MachineBasicBlock *emitSelT16(unsigned Opc1, unsigned Opc2, 60 MachineBasicBlock *BB) const; 62 MachineBasicBlock *emitFEXT_T8I816_ins(unsigned BtOpc, unsigned CmpOpc, 64 MachineBasicBlock *BB) const; [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineDominators.h | 27 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) { in addRoot() 31 EXTERN_TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>); 32 EXTERN_TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>); 34 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; 43 DominatorTreeBase<MachineBasicBlock>* DT; 49 DominatorTreeBase<MachineBasicBlock>& getBase() { return *DT; } in getBase() 57 inline const std::vector<MachineBasicBlock*> &getRoots() const { in getRoots() 61 inline MachineBasicBlock *getRoot() const { in getRoot() 76 inline bool dominates(const MachineBasicBlock* A, in dominates() 77 const MachineBasicBlock* B) const { in dominates() [all …]
|
D | MachineBasicBlock.h | 39 friend class MachineBasicBlock; 40 MachineBasicBlock* Parent; 62 class MachineBasicBlock : public ilist_node<MachineBasicBlock> { 71 std::vector<MachineBasicBlock *> Predecessors; 72 std::vector<MachineBasicBlock *> Successors; 103 MachineBasicBlock() {} 105 explicit MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb); 107 ~MachineBasicBlock(); 258 typedef std::vector<MachineBasicBlock *>::iterator pred_iterator; 259 typedef std::vector<MachineBasicBlock *>::const_iterator const_pred_iterator; [all …]
|
D | MachineBranchProbabilityInfo.h | 49 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 50 const MachineBasicBlock *Dst) const; 54 uint32_t getEdgeWeight(const MachineBasicBlock *Src, 55 MachineBasicBlock::const_succ_iterator Dst) const; 60 uint32_t getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const; 63 bool isEdgeHot(const MachineBasicBlock *Src, 64 const MachineBasicBlock *Dst) const; 68 MachineBasicBlock *getHotSucc(MachineBasicBlock *MBB) const; 76 BranchProbability getEdgeProbability(const MachineBasicBlock *Src, 77 const MachineBasicBlock *Dst) const; [all …]
|
D | MachineLoopInfo.h | 42 __extension__ extern template class LoopBase<MachineBasicBlock, MachineLoop>; 45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> { 52 MachineBasicBlock *getTopBlock(); 57 MachineBasicBlock *getBottomBlock(); 62 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>; 63 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop() 64 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {} in MachineLoop() 70 class LoopInfoBase<MachineBasicBlock, MachineLoop>; 74 LoopInfoBase<MachineBasicBlock, MachineLoop> LI; 75 friend class LoopBase<MachineBasicBlock, MachineLoop>; [all …]
|
D | MachineFunction.h | 45 struct ilist_traits<MachineBasicBlock> 46 : public ilist_default_traits<MachineBasicBlock> { 47 mutable ilist_half_node<MachineBasicBlock> Sentinel; 49 MachineBasicBlock *createSentinel() const { 50 return static_cast<MachineBasicBlock*>(&Sentinel); 52 void destroySentinel(MachineBasicBlock *) const {} 54 MachineBasicBlock *provideInitialHead() const { return createSentinel(); } 55 MachineBasicBlock *ensureHead(MachineBasicBlock*) const { 58 static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {} 60 void addNodeToList(MachineBasicBlock* MBB); [all …]
|
D | MachineTraceMetrics.h | 58 class MachineBasicBlock; variable 108 const FixedBlockInfo *getResources(const MachineBasicBlock*); 136 const MachineBasicBlock *Pred; 140 const MachineBasicBlock *Succ; 267 ArrayRef<const MachineBasicBlock*> Extrablocks = None, 301 void computeTrace(const MachineBasicBlock*); 302 void computeDepthResources(const MachineBasicBlock*); 303 void computeHeightResources(const MachineBasicBlock*); 305 void computeInstrDepths(const MachineBasicBlock*); 306 void computeInstrHeights(const MachineBasicBlock*); [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreInstrInfo.h | 53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 54 MachineBasicBlock *&FBB, 58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 59 MachineBasicBlock *FBB, 63 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 65 void copyPhysReg(MachineBasicBlock &MBB, 66 MachineBasicBlock::iterator I, DebugLoc DL, 70 void storeRegToStackSlot(MachineBasicBlock &MBB, 71 MachineBasicBlock::iterator MI, 76 void loadRegFromStackSlot(MachineBasicBlock &MBB, [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 55 class MachineBasicBlock; variable 135 MachineBasicBlock* BB; 139 Case(const Constant *low, const Constant *high, MachineBasicBlock *bb, in Case() 152 MachineBasicBlock* BB; 156 CaseBits(uint64_t mask, MachineBasicBlock* bb, unsigned bits, in CaseBits() 169 CaseRec(MachineBasicBlock *bb, const Constant *lt, const Constant *ge, in CaseRec() 174 MachineBasicBlock *CaseBB; 211 MachineBasicBlock *truebb, MachineBasicBlock *falsebb, 212 MachineBasicBlock *me, 227 MachineBasicBlock *TrueBB, *FalseBB; [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 124 void insertNoop(MachineBasicBlock &MBB, 125 MachineBasicBlock::iterator MI) const override; 129 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 130 MachineBasicBlock *&FBB, 133 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 134 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 135 MachineBasicBlock *FBB, 140 bool canInsertSelect(const MachineBasicBlock&, 143 void insertSelect(MachineBasicBlock &MBB, 144 MachineBasicBlock::iterator MI, DebugLoc DL, [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZInstrInfo.h | 118 void splitMove(MachineBasicBlock::iterator MI, unsigned NewOpcode) const; 119 void splitAdjDynAlloc(MachineBasicBlock::iterator MI) const; 128 void emitGRX32Move(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 143 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 144 MachineBasicBlock *&FBB, 147 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 148 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 149 MachineBasicBlock *FBB, 158 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles, 161 bool isProfitableToIfCvt(MachineBasicBlock &TMBB, [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64InstrInfo.h | 103 void copyPhysRegTuple(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, 107 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, 111 void storeRegToStackSlot(MachineBasicBlock &MBB, 112 MachineBasicBlock::iterator MBBI, unsigned SrcReg, 117 void loadRegFromStackSlot(MachineBasicBlock &MBB, 118 MachineBasicBlock::iterator MBBI, unsigned DestReg, 127 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 128 MachineBasicBlock *&FBB, 131 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 132 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, [all …]
|
/external/llvm/lib/Target/Sparc/ |
D | SparcInstrInfo.h | 66 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 67 MachineBasicBlock *&FBB, 71 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 73 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 74 MachineBasicBlock *FBB, 78 void copyPhysReg(MachineBasicBlock &MBB, 79 MachineBasicBlock::iterator I, DebugLoc DL, 83 void storeRegToStackSlot(MachineBasicBlock &MBB, 84 MachineBasicBlock::iterator MBBI, 89 void loadRegFromStackSlot(MachineBasicBlock &MBB, [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430InstrInfo.h | 55 void copyPhysReg(MachineBasicBlock &MBB, 56 MachineBasicBlock::iterator I, DebugLoc DL, 60 void storeRegToStackSlot(MachineBasicBlock &MBB, 61 MachineBasicBlock::iterator MI, 66 void loadRegFromStackSlot(MachineBasicBlock &MBB, 67 MachineBasicBlock::iterator MI, 78 bool AnalyzeBranch(MachineBasicBlock &MBB, 79 MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 83 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 84 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, [all …]
|