Home
last modified time | relevance | path

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

12345678910>>...26

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 …]
DR600InstrInfo.h48 MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
49 MachineBasicBlock::iterator I,
54 MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
55 MachineBasicBlock::iterator I,
75 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
78 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB,
79 MachineBasicBlock::iterator MBBI) const override;
167 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
168 MachineBasicBlock *&FBB,
172 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FrameLowering.h53 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.h22 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 …]
DMipsSEInstrInfo.h45 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 …]
DMipsInstrInfo.h63 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
64 MachineBasicBlock *&FBB,
68 unsigned removeBranch(MachineBasicBlock &MBB,
71 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
72 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
79 BranchType analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
80 MachineBasicBlock *&FBB,
86 unsigned getEquivalentCompactForm(const MachineBasicBlock::iterator I) const;
99 void insertNoop(MachineBasicBlock &MBB,
100 MachineBasicBlock::iterator MI) const override;
[all …]
DMips16InstrInfo.h51 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
55 void storeRegToStack(MachineBasicBlock &MBB,
56 MachineBasicBlock::iterator MBBI,
62 void loadRegFromStack(MachineBasicBlock &MBB,
63 MachineBasicBlock::iterator MBBI,
74 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
75 MachineBasicBlock::iterator I) const;
78 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
79 MachineBasicBlock::iterator I) const;
82 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
[all …]
DMips16ISelLowering.h29 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTailDuplicator.h27 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 …]
DMachineDominators.h31 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 …]
DMachineBasicBlock.h50 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 …]
DModuloSchedule.h72 class MachineBasicBlock; variable
159 using MBBVectorTy = SmallVectorImpl<MachineBasicBlock *>;
169 MachineBasicBlock *BB;
170 MachineBasicBlock *Preheader;
171 MachineBasicBlock *NewKernel = nullptr;
184 void generateProlog(unsigned LastStage, MachineBasicBlock *KernelBB,
186 void generateEpilog(unsigned LastStage, MachineBasicBlock *KernelBB,
189 void generateExistingPhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1,
190 MachineBasicBlock *BB2, MachineBasicBlock *KernelBB,
194 void generatePhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1,
[all …]
DMachineInstrBundle.h27 void finalizeBundle(MachineBasicBlock &MBB,
28 MachineBasicBlock::instr_iterator FirstMI,
29 MachineBasicBlock::instr_iterator LastMI);
36 MachineBasicBlock::instr_iterator finalizeBundle(MachineBasicBlock &MBB,
37 MachineBasicBlock::instr_iterator FirstMI);
44 inline MachineBasicBlock::instr_iterator getBundleStart( in getBundleStart()
45 MachineBasicBlock::instr_iterator I) { in getBundleStart()
52 inline MachineBasicBlock::const_instr_iterator getBundleStart( in getBundleStart()
53 MachineBasicBlock::const_instr_iterator I) { in getBundleStart()
60 inline MachineBasicBlock::instr_iterator getBundleEnd( in getBundleEnd()
[all …]
DMachineLoopInfo.h43 extern template class LoopBase<MachineBasicBlock, MachineLoop>;
45 class MachineLoop : public LoopBase<MachineBasicBlock, MachineLoop> {
50 MachineBasicBlock *getTopBlock();
55 MachineBasicBlock *getBottomBlock();
61 MachineBasicBlock *findLoopControlBlock();
73 friend class LoopInfoBase<MachineBasicBlock, MachineLoop>;
75 explicit MachineLoop(MachineBasicBlock *MBB) in MachineLoop()
76 : LoopBase<MachineBasicBlock, MachineLoop>(MBB) {} in MachineLoop()
82 extern template class LoopInfoBase<MachineBasicBlock, MachineLoop>;
85 friend class LoopBase<MachineBasicBlock, MachineLoop>;
[all …]
DMachineDominanceFrontier.h22 ForwardDominanceFrontierBase<MachineBasicBlock> Base;
25 using DomTreeT = DomTreeBase<MachineBasicBlock>;
26 using DomTreeNodeT = DomTreeNodeBase<MachineBasicBlock>;
27 using DomSetType = DominanceFrontierBase<MachineBasicBlock, false>::DomSetType;
28 using iterator = DominanceFrontierBase<MachineBasicBlock, false>::iterator;
30 DominanceFrontierBase<MachineBasicBlock, false>::const_iterator;
39 ForwardDominanceFrontierBase<MachineBasicBlock> &getBase() { return Base; } in getBase()
41 const SmallVectorImpl<MachineBasicBlock *> &getRoots() const { in getRoots()
45 MachineBasicBlock *getRoot() const { in getRoot()
69 iterator find(MachineBasicBlock *B) { in find()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.h59 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 …]
DMachineBasicBlock.cpp48 MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) in MachineBasicBlock() function in MachineBasicBlock
55 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock()
59 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol()
74 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<()
79 Printable llvm::printMBBReference(const MachineBasicBlock &MBB) { in printMBBReference()
90 void ilist_callback_traits<MachineBasicBlock>::addNodeToList( in addNodeToList()
91 MachineBasicBlock *N) { in addNodeToList()
97 for (MachineBasicBlock::instr_iterator in addNodeToList()
102 void ilist_callback_traits<MachineBasicBlock>::removeNodeFromList( in removeNodeFromList()
103 MachineBasicBlock *N) { in removeNodeFromList()
[all …]
DMachineBlockPlacement.cpp205 using BlockToChainMapType = DenseMap<const MachineBasicBlock *, BlockChain *>;
223 SmallVector<MachineBasicBlock *, 4> Blocks;
239 BlockChain(BlockToChainMapType &BlockToChain, MachineBasicBlock *BB) in BlockChain()
246 using iterator = SmallVectorImpl<MachineBasicBlock *>::iterator;
247 using const_iterator = SmallVectorImpl<MachineBasicBlock *>::const_iterator;
257 bool remove(MachineBasicBlock* BB) { in remove()
273 void merge(MachineBasicBlock *BB, BlockChain *Chain) { in merge()
291 for (MachineBasicBlock *ChainBB : *Chain) { in merge()
301 for (MachineBasicBlock *MBB : *this) in dump()
320 using BlockFilterSet = SmallSetVector<const MachineBasicBlock *, 16>;
[all …]
DBranchRelaxation.cpp67 unsigned postOffset(const MachineBasicBlock &MBB) const { in postOffset()
94 MachineBasicBlock *createNewBlockAfter(MachineBasicBlock &BB);
96 MachineBasicBlock *splitBlockBeforeInstr(MachineInstr &MI,
97 MachineBasicBlock *DestBB);
98 void adjustBlockOffsets(MachineBasicBlock &Start);
99 bool isBlockInRange(const MachineInstr &MI, const MachineBasicBlock &BB) const;
103 uint64_t computeBlockSize(const MachineBasicBlock &MBB) const;
130 for (MachineBasicBlock &MBB : *MF) { in INITIALIZE_PASS()
161 for (MachineBasicBlock &MBB : *MF) in scanFunction()
169 uint64_t BranchRelaxation::computeBlockSize(const MachineBasicBlock &MBB) const { in computeBlockSize()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h38 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.h36 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
40 void storeRegToStackSlot(MachineBasicBlock &MBB,
41 MachineBasicBlock::iterator MBBI, unsigned SrcReg,
46 void loadRegFromStackSlot(MachineBasicBlock &MBB,
47 MachineBasicBlock::iterator MBBI, unsigned DstReg,
52 void movImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
58 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
59 MachineBasicBlock *&FBB,
63 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
64 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreInstrInfo.h52 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
53 MachineBasicBlock *&FBB,
57 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
58 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
62 unsigned removeBranch(MachineBasicBlock &MBB,
65 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
69 void storeRegToStackSlot(MachineBasicBlock &MBB,
70 MachineBasicBlock::iterator MI,
75 void loadRegFromStackSlot(MachineBasicBlock &MBB,
76 MachineBasicBlock::iterator MI,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SpeculationHardening.cpp150 bool instrumentControlFlow(MachineBasicBlock &MBB,
152 bool endsWithCondControlFlow(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
153 MachineBasicBlock *&FBB,
155 void insertTrackingCode(MachineBasicBlock &SplitEdgeBB,
157 void insertSPToRegTaintPropagation(MachineBasicBlock &MBB,
158 MachineBasicBlock::iterator MBBI) const;
159 void insertRegToSPTaintPropagation(MachineBasicBlock &MBB,
160 MachineBasicBlock::iterator MBBI,
162 void insertFullSpeculationBarrier(MachineBasicBlock &MBB,
163 MachineBasicBlock::iterator MBBI,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.h131 MachineBasicBlock *getMBBTarget() { in getMBBTarget()
164 void splitMove(MachineBasicBlock::iterator MI, unsigned NewOpcode) const;
165 void splitAdjDynAlloc(MachineBasicBlock::iterator MI) const;
179 emitGRX32Move(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
212 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
213 MachineBasicBlock *&FBB,
216 unsigned removeBranch(MachineBasicBlock &MBB,
218 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
219 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
224 bool canInsertSelect(const MachineBasicBlock&, ArrayRef<MachineOperand> Cond,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCInstrInfo.h53 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
54 MachineBasicBlock *&FBB,
58 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
59 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
63 unsigned removeBranch(MachineBasicBlock &MBB,
66 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
70 void storeRegToStackSlot(MachineBasicBlock &MBB,
71 MachineBasicBlock::iterator MI, unsigned SrcReg,
76 void loadRegFromStackSlot(MachineBasicBlock &MBB,
77 MachineBasicBlock::iterator MI, unsigned DestReg,
[all …]

12345678910>>...26