/external/llvm-project/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 54 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB, 55 MachineBasicBlock::iterator MBBI, const DebugLoc &DL, 60 MachineBasicBlock &PrologMBB) const override; 63 emitCalleeSavedFrameMoves(MachineBasicBlock &MBB, 64 MachineBasicBlock::iterator MBBI) const override; 66 void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB, 67 MachineBasicBlock::iterator MBBI, 73 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 74 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 77 MachineBasicBlock &PrologueMBB) const override; [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 54 MachineInstr *emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB, 55 MachineBasicBlock::iterator MBBI, 60 MachineBasicBlock &PrologMBB) const override; 62 void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB, 63 MachineBasicBlock::iterator MBBI, 68 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 72 MachineBasicBlock &PrologueMBB) const override; 75 MachineBasicBlock &PrologueMBB) const override; 85 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 119 using MBBVector = SmallVector<MachineBasicBlock *, 32>; 120 using MBBInfoMap = std::map<MachineBasicBlock *, BlockInformation *>; 121 using LoopLandInfoMap = std::map<MachineLoop *, MachineBasicBlock *>; 204 int getSCCNum(MachineBasicBlock *MBB) const; 205 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 206 bool hasBackEdge(MachineBasicBlock *MBB) const; 207 bool isRetiredBlock(MachineBasicBlock *MBB) const; 208 bool isActiveLoophead(MachineBasicBlock *MBB) const; 209 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, 213 bool needMigrateBlock(MachineBasicBlock *MBB) const; [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 119 using MBBVector = SmallVector<MachineBasicBlock *, 32>; 120 using MBBInfoMap = std::map<MachineBasicBlock *, BlockInformation *>; 121 using LoopLandInfoMap = std::map<MachineLoop *, MachineBasicBlock *>; 204 int getSCCNum(MachineBasicBlock *MBB) const; 205 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 206 bool hasBackEdge(MachineBasicBlock *MBB) const; 207 bool isRetiredBlock(MachineBasicBlock *MBB) const; 208 bool isActiveLoophead(MachineBasicBlock *MBB) const; 209 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, 213 bool needMigrateBlock(MachineBasicBlock *MBB) const; [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 125 typedef SmallVector<MachineBasicBlock *, 32> MBBVector; 126 typedef std::map<MachineBasicBlock *, BlockInformation *> MBBInfoMap; 127 typedef std::map<MachineLoop *, MachineBasicBlock *> LoopLandInfoMap; 211 int getSCCNum(MachineBasicBlock *MBB) const; 212 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 213 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 53 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB, 54 MachineBasicBlock::iterator MBBI, const DebugLoc &DL, 59 MachineBasicBlock &PrologMBB) const override; 61 void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB, 62 MachineBasicBlock::iterator MBBI, 67 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 68 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 71 MachineBasicBlock &PrologueMBB) const override; 74 MachineBasicBlock &PrologueMBB) const override; 84 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, [all …]
|
/external/llvm/lib/CodeGen/ |
D | BranchFolding.h | 44 MachineBasicBlock *Block; 46 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt() 50 MachineBasicBlock *getBlock() const { return Block; } in getBlock() 52 void setBlock(MachineBasicBlock *MBB) { in setBlock() 60 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging; 61 DenseMap<const MachineBasicBlock *, int> FuncletMembership; 65 MachineBasicBlock::iterator TailStartPos; 67 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt() 76 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos() 82 MachineBasicBlock *getBlock() const { in getBlock() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsSEInstrInfo.h | 46 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, 50 void storeRegToStack(MachineBasicBlock &MBB, 51 MachineBasicBlock::iterator MI, 57 void loadRegFromStack(MachineBasicBlock &MBB, 58 MachineBasicBlock::iterator MI, 69 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 70 MachineBasicBlock::iterator I) const override; 75 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB, 76 MachineBasicBlock::iterator II, const DebugLoc &DL, 82 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; [all …]
|
D | MipsInstrInfo.h | 53 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 54 MachineBasicBlock *&FBB, 58 unsigned RemoveBranch(MachineBasicBlock &MBB) const override; 60 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 61 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, 67 BranchType analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 68 MachineBasicBlock *&FBB, 74 unsigned getEquivalentCompactForm(const MachineBasicBlock::iterator I) const; 83 void insertNoop(MachineBasicBlock &MBB, 84 MachineBasicBlock::iterator MI) const override; [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TailDuplicator.h | 28 class MachineBasicBlock; variable 57 using AvailableValsTy = std::vector<std::pair<MachineBasicBlock *, Register>>; 78 static bool isSimpleBB(MachineBasicBlock *TailBB); 79 bool shouldTailDuplicate(bool IsSimple, MachineBasicBlock &TailBB); 82 bool canTailDuplicate(MachineBasicBlock *TailBB, MachineBasicBlock *PredBB); 92 bool IsSimple, MachineBasicBlock *MBB, 93 MachineBasicBlock *ForcedLayoutPred, 94 SmallVectorImpl<MachineBasicBlock*> *DuplicatedPreds = nullptr, 95 function_ref<void(MachineBasicBlock *)> *RemovalCallback = nullptr, 96 SmallVectorImpl<MachineBasicBlock *> *CandidatePtr = nullptr); [all …]
|
D | MachineDominators.h | 30 inline void DominatorTreeBase<MachineBasicBlock, false>::addRoot( in addRoot() 31 MachineBasicBlock *MBB) { in addRoot() 35 extern template class DomTreeNodeBase<MachineBasicBlock>; 36 extern template class DominatorTreeBase<MachineBasicBlock, false>; // DomTree 37 extern template class DominatorTreeBase<MachineBasicBlock, true>; // PostDomTree 39 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; 46 using DomTreeT = DomTreeBase<MachineBasicBlock>; 51 MachineBasicBlock *FromBB; 52 MachineBasicBlock *ToBB; 53 MachineBasicBlock *NewBB; [all …]
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVExpandPseudoInsts.cpp | 43 bool expandMBB(MachineBasicBlock &MBB); 44 bool expandMI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 45 MachineBasicBlock::iterator &NextMBBI); 46 bool expandAuipcInstPair(MachineBasicBlock &MBB, 47 MachineBasicBlock::iterator MBBI, 48 MachineBasicBlock::iterator &NextMBBI, 50 bool expandLoadLocalAddress(MachineBasicBlock &MBB, 51 MachineBasicBlock::iterator MBBI, 52 MachineBasicBlock::iterator &NextMBBI); 53 bool expandLoadAddress(MachineBasicBlock &MBB, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.h | 22 class MachineBasicBlock; variable 52 MachineBasicBlock * 54 MachineBasicBlock *MBB) const override; 91 MachineBasicBlock *emitBPOSGE32(MachineInstr &MI, 92 MachineBasicBlock *BB) const; 93 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr &MI, 94 MachineBasicBlock *BB, 97 MachineBasicBlock *emitCOPY_FW(MachineInstr &MI, 98 MachineBasicBlock *BB) const; 100 MachineBasicBlock *emitCOPY_FD(MachineInstr &MI, [all …]
|
D | MipsSEInstrInfo.h | 45 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, 49 void storeRegToStack(MachineBasicBlock &MBB, 50 MachineBasicBlock::iterator MI, 56 void loadRegFromStack(MachineBasicBlock &MBB, 57 MachineBasicBlock::iterator MI, 68 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 69 MachineBasicBlock::iterator I) const override; 74 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB, 75 MachineBasicBlock::iterator II, const DebugLoc &DL, 88 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; [all …]
|
/external/llvm-project/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.h | 22 class MachineBasicBlock; variable 52 MachineBasicBlock * 54 MachineBasicBlock *MBB) const override; 91 MachineBasicBlock *emitBPOSGE32(MachineInstr &MI, 92 MachineBasicBlock *BB) const; 93 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr &MI, 94 MachineBasicBlock *BB, 97 MachineBasicBlock *emitCOPY_FW(MachineInstr &MI, 98 MachineBasicBlock *BB) const; 100 MachineBasicBlock *emitCOPY_FD(MachineInstr &MI, [all …]
|
D | MipsSEInstrInfo.h | 45 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, 49 void storeRegToStack(MachineBasicBlock &MBB, 50 MachineBasicBlock::iterator MI, 56 void loadRegFromStack(MachineBasicBlock &MBB, 57 MachineBasicBlock::iterator MI, 70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB, 71 MachineBasicBlock::iterator I) const override; 76 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB, 77 MachineBasicBlock::iterator II, const DebugLoc &DL, 90 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TailDuplicator.h | 27 class MachineBasicBlock; variable 56 using AvailableValsTy = std::vector<std::pair<MachineBasicBlock *, unsigned>>; 77 static bool isSimpleBB(MachineBasicBlock *TailBB); 78 bool shouldTailDuplicate(bool IsSimple, MachineBasicBlock &TailBB); 81 bool canTailDuplicate(MachineBasicBlock *TailBB, MachineBasicBlock *PredBB); 90 bool IsSimple, MachineBasicBlock *MBB, 91 MachineBasicBlock *ForcedLayoutPred, 92 SmallVectorImpl<MachineBasicBlock*> *DuplicatedPreds = nullptr, 93 function_ref<void(MachineBasicBlock *)> *RemovalCallback = nullptr); 99 MachineBasicBlock *BB); [all …]
|
D | MachineDominators.h | 31 inline void DominatorTreeBase<MachineBasicBlock, false>::addRoot( in addRoot() 32 MachineBasicBlock *MBB) { in addRoot() 36 extern template class DomTreeNodeBase<MachineBasicBlock>; 37 extern template class DominatorTreeBase<MachineBasicBlock, false>; // DomTree 38 extern template class DominatorTreeBase<MachineBasicBlock, true>; // PostDomTree 40 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>; 47 using DomTreeT = DomTreeBase<MachineBasicBlock>; 52 MachineBasicBlock *FromBB; 53 MachineBasicBlock *ToBB; 54 MachineBasicBlock *NewBB; [all …]
|
D | MachineBasicBlock.h | 50 friend class MachineBasicBlock; // Set by the owning MachineBasicBlock. 52 MachineBasicBlock *Parent; 65 class MachineBasicBlock 66 : public ilist_node_with_parent<MachineBasicBlock, MachineFunction> { 89 std::vector<MachineBasicBlock *> Predecessors; 90 std::vector<MachineBasicBlock *> Successors; 137 MachineBasicBlock() = default; 139 explicit MachineBasicBlock(MachineFunction &MF, const BasicBlock *BB); 141 ~MachineBasicBlock(); 232 static Instructions MachineBasicBlock::*getSublistAccess(MachineInstr *) { [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | BranchFolding.h | 59 MachineBasicBlock *Block; 62 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt() 66 MachineBasicBlock *getBlock() const { return Block; } in getBlock() 68 void setBlock(MachineBasicBlock *MBB) { in setBlock() 78 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging; 79 DenseMap<const MachineBasicBlock *, int> EHScopeMembership; 83 MachineBasicBlock::iterator TailStartPos; 86 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt() 97 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos() 105 MachineBasicBlock *getBlock() const { in getBlock() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.h | 30 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const 32 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue() 34 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 35 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() 39 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 40 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() 45 MachineBasicBlock::iterator 46 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 47 MachineBasicBlock::iterator I) const override; 88 void insertPrologueInBlock(MachineBasicBlock &MBB, bool PrologueStubs) const; [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | BranchFolding.h | 54 MachineBasicBlock *Block; 57 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt() 61 MachineBasicBlock *getBlock() const { return Block; } in getBlock() 63 void setBlock(MachineBasicBlock *MBB) { in setBlock() 73 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging; 74 DenseMap<const MachineBasicBlock *, int> EHScopeMembership; 78 MachineBasicBlock::iterator TailStartPos; 81 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt() 92 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos() 100 MachineBasicBlock *getBlock() const { in getBlock() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineDominators.h | 28 inline void DominatorTreeBase<MachineBasicBlock>::addRoot(MachineBasicBlock* MBB) { in addRoot() 32 extern template class DomTreeNodeBase<MachineBasicBlock>; 33 extern template class DominatorTreeBase<MachineBasicBlock>; 35 typedef DomTreeNodeBase<MachineBasicBlock> MachineDomTreeNode; 45 MachineBasicBlock *FromBB; 46 MachineBasicBlock *ToBB; 47 MachineBasicBlock *NewBB; 60 mutable SmallSet<MachineBasicBlock *, 32> NewBBs; 71 DominatorTreeBase<MachineBasicBlock>* DT; 77 DominatorTreeBase<MachineBasicBlock> &getBase() { in getBase() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.h | 41 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const 43 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue() 48 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 49 MachineBasicBlock::iterator MI, in spillCalleeSavedRegisters() 56 restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 57 MachineBasicBlock::iterator MI, in restoreCalleeSavedRegisters() 74 MachineBasicBlock::iterator 75 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 76 MachineBasicBlock::iterator I) const override; 118 void insertPrologueInBlock(MachineBasicBlock &MBB, bool PrologueStubs) const; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonFrameLowering.h | 38 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const 40 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue() 45 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters() 46 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters() 51 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters() 52 MachineBasicBlock::iterator MI, std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters() 68 MachineBasicBlock::iterator 69 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 70 MachineBasicBlock::iterator I) const override; 112 void insertPrologueInBlock(MachineBasicBlock &MBB, bool PrologueStubs) const; [all …]
|