Home
last modified time | relevance | path

Searched refs:MachineBasicBlock (Results 1 – 25 of 1078) sorted by relevance

12345678910>>...44

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.h54 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB,
55 MachineBasicBlock::iterator MBBI, const DebugLoc &DL,
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/llvm/lib/Target/X86/
DX86FrameLowering.h54 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-7.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp119 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/
DAMDILCFGStructurizer.cpp125 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/llvm/lib/CodeGen/
DBranchFolding.h44 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 …]
DMachineBasicBlock.cpp41 MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) in MachineBasicBlock() function in MachineBasicBlock
46 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock()
50 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()
140 MachineBasicBlock::iterator MachineBasicBlock::getFirstNonPHI() { in getFirstNonPHI()
149 MachineBasicBlock::iterator
150 MachineBasicBlock::SkipPHIsAndLabels(MachineBasicBlock::iterator I) { in SkipPHIsAndLabels()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEInstrInfo.h46 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 …]
DMipsInstrInfo.h53 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 …]
DMips16InstrInfo.h46 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
50 void storeRegToStack(MachineBasicBlock &MBB,
51 MachineBasicBlock::iterator MBBI,
57 void loadRegFromStack(MachineBasicBlock &MBB,
58 MachineBasicBlock::iterator MBBI,
69 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
70 MachineBasicBlock::iterator I) const;
73 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
74 MachineBasicBlock::iterator I) const;
78 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
[all …]
DMipsSEISelLowering.h42 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTailDuplicator.h28 class MachineBasicBlock; variable
53 using AvailableValsTy = std::vector<std::pair<MachineBasicBlock *, unsigned>>;
72 static bool isSimpleBB(MachineBasicBlock *TailBB);
73 bool shouldTailDuplicate(bool IsSimple, MachineBasicBlock &TailBB);
76 bool canTailDuplicate(MachineBasicBlock *TailBB, MachineBasicBlock *PredBB);
85 bool IsSimple, MachineBasicBlock *MBB,
86 MachineBasicBlock *ForcedLayoutPred,
87 SmallVectorImpl<MachineBasicBlock*> *DuplicatedPreds = nullptr,
88 function_ref<void(MachineBasicBlock *)> *RemovalCallback = nullptr);
94 MachineBasicBlock *BB);
[all …]
DMachineDominators.h32 inline void DominatorTreeBase<MachineBasicBlock, false>::addRoot( in addRoot()
33 MachineBasicBlock *MBB) { in addRoot()
37 extern template class DomTreeNodeBase<MachineBasicBlock>;
38 extern template class DominatorTreeBase<MachineBasicBlock, false>; // DomTree
39 extern template class DominatorTreeBase<MachineBasicBlock, true>; // PostDomTree
41 using MachineDomTreeNode = DomTreeNodeBase<MachineBasicBlock>;
51 MachineBasicBlock *FromBB;
52 MachineBasicBlock *ToBB;
53 MachineBasicBlock *NewBB;
67 mutable SmallSet<MachineBasicBlock *, 32> NewBBs;
[all …]
DMachineBasicBlock.h51 friend class MachineBasicBlock; // Set by the owning MachineBasicBlock.
53 MachineBasicBlock *Parent;
66 class MachineBasicBlock
67 : public ilist_node_with_parent<MachineBasicBlock, MachineFunction> {
90 std::vector<MachineBasicBlock *> Predecessors;
91 std::vector<MachineBasicBlock *> Successors;
134 MachineBasicBlock() = default;
136 explicit MachineBasicBlock(MachineFunction &MF, const BasicBlock *BB);
138 ~MachineBasicBlock();
222 static Instructions MachineBasicBlock::*getSublistAccess(MachineInstr *) {
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchFolding.h58 MachineBasicBlock *Block;
61 MergePotentialsElt(unsigned h, MachineBasicBlock *b) in MergePotentialsElt()
65 MachineBasicBlock *getBlock() const { return Block; } in getBlock()
67 void setBlock(MachineBasicBlock *MBB) { in setBlock()
77 SmallPtrSet<const MachineBasicBlock*, 2> TriedMerging;
78 DenseMap<const MachineBasicBlock *, int> EHScopeMembership;
82 MachineBasicBlock::iterator TailStartPos;
85 SameTailElt(MPIterator mp, MachineBasicBlock::iterator tsp) in SameTailElt()
96 MachineBasicBlock::iterator getTailStartPos() const { in getTailStartPos()
104 MachineBasicBlock *getBlock() const { in getBlock()
[all …]
DMachineBasicBlock.cpp43 MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) in MachineBasicBlock() function in MachineBasicBlock
50 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock()
54 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol()
69 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<()
74 Printable llvm::printMBBReference(const MachineBasicBlock &MBB) { in printMBBReference()
85 void ilist_callback_traits<MachineBasicBlock>::addNodeToList( in addNodeToList()
86 MachineBasicBlock *N) { in addNodeToList()
92 for (MachineBasicBlock::instr_iterator in addNodeToList()
97 void ilist_callback_traits<MachineBasicBlock>::removeNodeFromList( in removeNodeFromList()
98 MachineBasicBlock *N) { in removeNodeFromList()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.h23 class MachineBasicBlock; variable
52 MachineBasicBlock *
54 MachineBasicBlock *MBB) const override;
90 MachineBasicBlock *emitBPOSGE32(MachineInstr &MI,
91 MachineBasicBlock *BB) const;
92 MachineBasicBlock *emitMSACBranchPseudo(MachineInstr &MI,
93 MachineBasicBlock *BB,
96 MachineBasicBlock *emitCOPY_FW(MachineInstr &MI,
97 MachineBasicBlock *BB) const;
99 MachineBasicBlock *emitCOPY_FD(MachineInstr &MI,
[all …]
DMipsSEInstrInfo.h46 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
53 void storeRegToStack(MachineBasicBlock &MBB,
54 MachineBasicBlock::iterator MI,
60 void loadRegFromStack(MachineBasicBlock &MBB,
61 MachineBasicBlock::iterator MI,
72 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
73 MachineBasicBlock::iterator I) const override;
78 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB,
79 MachineBasicBlock::iterator II, const DebugLoc &DL,
85 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const;
[all …]
DMips16InstrInfo.h52 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
59 void storeRegToStack(MachineBasicBlock &MBB,
60 MachineBasicBlock::iterator MBBI,
66 void loadRegFromStack(MachineBasicBlock &MBB,
67 MachineBasicBlock::iterator MBBI,
78 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
79 MachineBasicBlock::iterator I) const;
82 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
83 MachineBasicBlock::iterator I) const;
86 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
[all …]
DMipsInstrInfo.h64 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
65 MachineBasicBlock *&FBB,
69 unsigned removeBranch(MachineBasicBlock &MBB,
72 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
73 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
80 BranchType analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
81 MachineBasicBlock *&FBB,
87 unsigned getEquivalentCompactForm(const MachineBasicBlock::iterator I) const;
100 void insertNoop(MachineBasicBlock &MBB,
101 MachineBasicBlock::iterator MI) const override;
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h30 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h39 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const
41 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue()
44 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB, in spillCalleeSavedRegisters()
45 MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, in spillCalleeSavedRegisters()
50 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB, in restoreCalleeSavedRegisters()
51 MachineBasicBlock::iterator MI, std::vector<CalleeSavedInfo> &CSI, in restoreCalleeSavedRegisters()
67 MachineBasicBlock::iterator
68 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
69 MachineBasicBlock::iterator I) const override;
111 void insertPrologueInBlock(MachineBasicBlock &MBB, bool PrologueStubs) const;
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineDominators.h28 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 …]
DMachineBasicBlock.h47 friend class MachineBasicBlock;
48 MachineBasicBlock* Parent;
70 class MachineBasicBlock
71 : public ilist_node_with_parent<MachineBasicBlock, MachineFunction> {
93 std::vector<MachineBasicBlock *> Predecessors;
94 std::vector<MachineBasicBlock *> Successors;
130 MachineBasicBlock() {}
132 explicit MachineBasicBlock(MachineFunction &MF, const BasicBlock *BB);
134 ~MachineBasicBlock();
213 static Instructions MachineBasicBlock::*getSublistAccess(MachineInstr *) {
[all …]
DTailDuplicator.h43 typedef std::vector<std::pair<MachineBasicBlock *, unsigned>> AvailableValsTy;
51 static bool isSimpleBB(MachineBasicBlock *TailBB);
53 MachineBasicBlock &TailBB);
55 MachineBasicBlock *MBB);
61 MachineBasicBlock *BB);
62 void processPHI(MachineInstr *MI, MachineBasicBlock *TailBB,
63 MachineBasicBlock *PredBB,
67 void duplicateInstruction(MachineInstr *MI, MachineBasicBlock *TailBB,
68 MachineBasicBlock *PredBB, MachineFunction &MF,
71 void updateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h35 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
39 void storeRegToStackSlot(MachineBasicBlock &MBB,
40 MachineBasicBlock::iterator MBBI, unsigned SrcReg,
45 void loadRegFromStackSlot(MachineBasicBlock &MBB,
46 MachineBasicBlock::iterator MBBI, unsigned DstReg,
51 void movImm32(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
57 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 MachineBasicBlock *&FBB,
62 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
63 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
[all …]

12345678910>>...44