| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | BranchFolding.h | 40 MachineBasicBlock *Block; 42 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt() 46 MachineBasicBlock *getBlock() const { return Block; } in getBlock() 48 void setBlock(MachineBasicBlock *MBB) { in setBlock() 56 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging; 60 MachineBasicBlock::iterator TailStartPos; 62 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt() 71 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos() 77 MachineBasicBlock *getBlock() const { in getBlock() 84 void setBlock(MachineBasicBlock *MBB) { in setBlock() [all …]
|
| H A D | MachineBasicBlock.cpp | 40 MachineBasicBlock::MachineBasicBlock(MachineFunction &mf, const BasicBlock *bb) in MachineBasicBlock() function in MachineBasicBlock 46 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock() 51 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol() 65 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<() 77 void ilist_traits<MachineBasicBlock>::addNodeToList(MachineBasicBlock *N) { in addNodeToList() 83 for (MachineBasicBlock::instr_iterator in addNodeToList() 88 void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock *N) { in removeNodeFromList() 144 MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() { in getFirstNonPHI() 153 MachineBasicBlock::iterator 154 MachineBasicBlock::SkipPHIsAndLabels(MachineBasicBlock::iterator I) { in SkipPHIsAndLabels() [all …]
|
| H A 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 …]
|
| H A D | 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
| H A D | MipsSEInstrInfo.h | 46 void copyPhysReg(MachineBasicBlock &MBB, 47 MachineBasicBlock::iterator MI, DebugLoc DL, 51 void storeRegToStack(MachineBasicBlock &MBB, 52 MachineBasicBlock::iterator MI, 58 void loadRegFromStack(MachineBasicBlock &MBB, 59 MachineBasicBlock::iterator MI, 65 bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const override; 70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 71 MachineBasicBlock::iterator I) const; 76 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB, [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | MipsSEISelLowering.h | 42 MachineBasicBlock * 44 MachineBasicBlock *MBB) const override; 80 MachineBasicBlock *emitBPOSGE32(MachineInstr *MI, 81 MachineBasicBlock *BB) const; 82 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr *MI, 83 MachineBasicBlock *BB, 86 MachineBasicBlock *emitCOPY_FW(MachineInstr *MI, 87 MachineBasicBlock *BB) const; 89 MachineBasicBlock *emitCOPY_FD(MachineInstr *MI, 90 MachineBasicBlock *BB) const; [all …]
|
| H A D | Mips16ISelLowering.h | 29 MachineBasicBlock * 31 MachineBasicBlock *MBB) const override; 53 MachineBasicBlock *emitSel16(unsigned Opc, MachineInstr *MI, 54 MachineBasicBlock *BB) const; 56 MachineBasicBlock *emitSeliT16(unsigned Opc1, unsigned Opc2, 58 MachineBasicBlock *BB) const; 60 MachineBasicBlock *emitSelT16(unsigned Opc1, unsigned Opc2, 62 MachineBasicBlock *BB) const; 64 MachineBasicBlock *emitFEXT_T8I816_ins(unsigned BtOpc, unsigned CmpOpc, 66 MachineBasicBlock *BB) const; [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
| H A D | AMDILCFGStructurizer.cpp | 126 typedef SmallVector<MachineBasicBlock *, 32> MBBVector; 127 typedef std::map<MachineBasicBlock *, BlockInformation *> MBBInfoMap; 128 typedef std::map<MachineLoop *, MachineBasicBlock *> LoopLandInfoMap; 211 int getSCCNum(MachineBasicBlock *MBB) const; 212 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 213 bool hasBackEdge(MachineBasicBlock *MBB) const; 215 bool isRetiredBlock(MachineBasicBlock *MBB) const; 216 bool isActiveLoophead(MachineBasicBlock *MBB) const; 217 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, 221 bool needMigrateBlock(MachineBasicBlock *MBB) const; [all …]
|
| H A 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; 162 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, 165 …unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, cons… [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | MachineDominators.h | 28 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) { in addRoot() 32 EXTERN_TEMPLATE_INSTANTIATION(class DomTreeNodeBase<MachineBasicBlock>); 33 EXTERN_TEMPLATE_INSTANTIATION(class DominatorTreeBase<MachineBasicBlock>); 35 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; 45 MachineBasicBlock *FromBB; 46 MachineBasicBlock *ToBB; 47 MachineBasicBlock *NewBB; 48 CriticalEdge(MachineBasicBlock *FromBB, MachineBasicBlock *ToBB, in CriticalEdge() 49 MachineBasicBlock *NewBB) in CriticalEdge() 63 mutable SmallSet<MachineBasicBlock *, 32> NewBBs; [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | MachineDominanceFrontier.h | 21 ForwardDominanceFrontierBase<MachineBasicBlock> Base; 23 typedef DominatorTreeBase<MachineBasicBlock> DomTreeT; 24 typedef DomTreeNodeBase<MachineBasicBlock> DomTreeNodeT; 25 typedef DominanceFrontierBase<MachineBasicBlock>::DomSetType DomSetType; 26 typedef DominanceFrontierBase<MachineBasicBlock>::iterator iterator; 27 typedef DominanceFrontierBase<MachineBasicBlock>::const_iterator const_iterator; 36 DominanceFrontierBase<MachineBasicBlock> &getBase() { in getBase() 40 inline const std::vector<MachineBasicBlock*> &getRoots() const { in getRoots() 44 MachineBasicBlock *getRoot() const { in getRoot() 68 iterator find(MachineBasicBlock *B) { in find() [all …]
|
| H A 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 …]
|
| H A D | MachineFunction.h | 47 struct ilist_traits<MachineBasicBlock> 48 : public ilist_default_traits<MachineBasicBlock> { 49 mutable ilist_half_node<MachineBasicBlock> Sentinel; 51 MachineBasicBlock *createSentinel() const { 52 return static_cast<MachineBasicBlock*>(&Sentinel); 54 void destroySentinel(MachineBasicBlock *) const {} 56 MachineBasicBlock *provideInitialHead() const { return createSentinel(); } 57 MachineBasicBlock *ensureHead(MachineBasicBlock*) const { 60 static void noteHead(MachineBasicBlock*, MachineBasicBlock*) {} 62 void addNodeToList(MachineBasicBlock* MBB); [all …]
|
| H A 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, 308 void computeTrace(const MachineBasicBlock*); 309 void computeDepthResources(const MachineBasicBlock*); 310 void computeHeightResources(const MachineBasicBlock*); 312 void computeInstrDepths(const MachineBasicBlock*); 313 void computeInstrHeights(const MachineBasicBlock*); [all …]
|
| H A D | MachinePostDominators.h | 29 DominatorTreeBase<MachineBasicBlock> *DT; 40 const std::vector<MachineBasicBlock *> &getRoots() const { in getRoots() 48 MachineDomTreeNode *operator[](MachineBasicBlock *BB) const { 52 MachineDomTreeNode *getNode(MachineBasicBlock *BB) const { in getNode() 61 bool dominates(const MachineBasicBlock *A, const MachineBasicBlock *B) const { in dominates() 70 bool properlyDominates(const MachineBasicBlock *A, in properlyDominates() 71 const MachineBasicBlock *B) const { in properlyDominates() 75 MachineBasicBlock *findNearestCommonDominator(MachineBasicBlock *A, in findNearestCommonDominator() 76 MachineBasicBlock *B) { in findNearestCommonDominator()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
| H A 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/Sparc/ |
| H A 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/MSP430/ |
| H A 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.h | 133 void insertNoop(MachineBasicBlock &MBB, 134 MachineBasicBlock::iterator MI) const override; 138 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 139 MachineBasicBlock *&FBB, 142 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 143 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 144 MachineBasicBlock *FBB, 149 bool canInsertSelect(const MachineBasicBlock&, 152 void insertSelect(MachineBasicBlock &MBB, 153 MachineBasicBlock::iterator MI, DebugLoc DL, [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A 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 …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 57 class MachineBasicBlock; variable 141 MachineBasicBlock* BB; 145 Case(const Constant *low, const Constant *high, MachineBasicBlock *bb, in Case() 158 MachineBasicBlock* BB; 162 CaseBits(uint64_t mask, MachineBasicBlock* bb, unsigned bits, in CaseBits() 175 CaseRec(MachineBasicBlock *bb, const Constant *lt, const Constant *ge, in CaseRec() 180 MachineBasicBlock *CaseBB; 217 MachineBasicBlock *truebb, MachineBasicBlock *falsebb, 218 MachineBasicBlock *me, 233 MachineBasicBlock *TrueBB, *FalseBB; [all …]
|