/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDILCFGStructurizer.cpp | 94 using MBBVector = SmallVector<MachineBasicBlock *, 32>; 95 using MBBInfoMap = std::map<MachineBasicBlock *, BlockInformation *>; 96 using LoopLandInfoMap = std::map<MachineLoop *, MachineBasicBlock *>; 179 int getSCCNum(MachineBasicBlock *MBB) const; 180 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const; 181 bool hasBackEdge(MachineBasicBlock *MBB) const; 182 bool isRetiredBlock(MachineBasicBlock *MBB) const; 183 bool isActiveLoophead(MachineBasicBlock *MBB) const; 184 PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, 188 bool needMigrateBlock(MachineBasicBlock *MBB) const; [all …]
|
H A D | R600InstrInfo.h | 48 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 …]
|
H A D | AMDGPUMachineCFGStructurizer.cpp | 38 using PHISourceT = std::pair<unsigned, MachineBasicBlock *>; 54 MachineBasicBlock *SourceMBB); 57 MachineBasicBlock *SourceMBB); 60 MachineBasicBlock *SourceMBB); 63 bool findSourcesFromMBB(MachineBasicBlock *SourceMBB, 69 MachineBasicBlock *SourceMBB); 71 MachineBasicBlock *SourceMBB = nullptr); 72 bool findDest(unsigned SourceReg, MachineBasicBlock *SourceMBB, 74 bool isSource(unsigned Reg, MachineBasicBlock *SourceMBB = nullptr); 127 MachineBasicBlock *SourceMBB) { in phiInfoElementAddSource() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A 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 …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A 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 …]
|
H A 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 …]
|
H A D | MipsInstrInfo.h | 63 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 …]
|
H A D | Mips16InstrInfo.h | 51 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 …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A 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 …]
|
H A 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 …]
|
H A D | MachineBasicBlock.h | 80 friend class MachineBasicBlock; // Set by the owning MachineBasicBlock. 82 MachineBasicBlock *Parent; 95 class MachineBasicBlock 96 : public ilist_node_with_parent<MachineBasicBlock, MachineFunction> { 119 std::vector<MachineBasicBlock *> Predecessors; 120 std::vector<MachineBasicBlock *> Successors; 189 MachineBasicBlock() = default; 191 explicit MachineBasicBlock(MachineFunction &MF, const BasicBlock *BB); 193 ~MachineBasicBlock(); 284 static Instructions MachineBasicBlock::*getSublistAccess(MachineInstr *) { [all …]
|
H A D | ModuloSchedule.h | 72 class MachineBasicBlock; variable 165 using MBBVectorTy = SmallVectorImpl<MachineBasicBlock *>; 175 MachineBasicBlock *BB; 176 MachineBasicBlock *Preheader; 177 MachineBasicBlock *NewKernel = nullptr; 190 void generateProlog(unsigned LastStage, MachineBasicBlock *KernelBB, 192 void generateEpilog(unsigned LastStage, MachineBasicBlock *KernelBB, 195 void generateExistingPhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1, 196 MachineBasicBlock *BB2, MachineBasicBlock *KernelBB, 200 void generatePhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1, [all …]
|
H A D | MachineInstrBundle.h | 27 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 …]
|
H A D | SwitchLoweringUtils.h | 24 class MachineBasicBlock; variable 46 MachineBasicBlock *MBB; 53 MachineBasicBlock *MBB, BranchProbability Prob) { in range() 94 MachineBasicBlock *BB = nullptr; 99 CaseBits(uint64_t mask, MachineBasicBlock *bb, unsigned bits, in CaseBits() 130 MachineBasicBlock *TrueBB, *FalseBB; 133 MachineBasicBlock *ThisBB; 145 const Value *cmpmiddle, MachineBasicBlock *truebb, 146 MachineBasicBlock *falsebb, MachineBasicBlock *me, SDLoc dl, 156 MachineBasicBlock *truebb, MachineBasicBlock *falsebb, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A 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 …]
|
H A D | HexagonEarlyIfConv.cpp | 111 PrintMB(const MachineBasicBlock *B) : MB(B) {} in PrintMB() 113 const MachineBasicBlock *MB; 123 FlowPattern(MachineBasicBlock *B, unsigned PR, MachineBasicBlock *TB, in FlowPattern() 124 MachineBasicBlock *FB, MachineBasicBlock *JB) in FlowPattern() 127 MachineBasicBlock *SplitB = nullptr; 128 MachineBasicBlock *TrueB = nullptr; 129 MachineBasicBlock *FalseB = nullptr; 130 MachineBasicBlock *JoinB = nullptr; 174 using BlockSetType = DenseSet<MachineBasicBlock *>; 176 bool isPreheader(const MachineBasicBlock *B) const; [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | MachineBlockPlacement.cpp | 215 using BlockToChainMapType = DenseMap<const MachineBasicBlock *, BlockChain *>; 233 SmallVector<MachineBasicBlock *, 4> Blocks; 249 BlockChain(BlockToChainMapType &BlockToChain, MachineBasicBlock *BB) in BlockChain() 256 using iterator = SmallVectorImpl<MachineBasicBlock *>::iterator; 257 using const_iterator = SmallVectorImpl<MachineBasicBlock *>::const_iterator; 267 bool remove(MachineBasicBlock* BB) { in remove() 283 void merge(MachineBasicBlock *BB, BlockChain *Chain) { in merge() 301 for (MachineBasicBlock *ChainBB : *Chain) { in merge() 311 for (MachineBasicBlock *MBB : *this) in dump() 330 using BlockFilterSet = SmallSetVector<const MachineBasicBlock *, 16>; [all …]
|
H A 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 …]
|
H A D | MachineBasicBlock.cpp | 49 MachineBasicBlock::MachineBasicBlock(MachineFunction &MF, const BasicBlock *B) in MachineBasicBlock() function in MachineBasicBlock 56 MachineBasicBlock::~MachineBasicBlock() { in ~MachineBasicBlock() 60 MCSymbol *MachineBasicBlock::getSymbol() const { in getSymbol() 91 MCSymbol *MachineBasicBlock::getEHCatchretSymbol() const { in getEHCatchretSymbol() 102 MCSymbol *MachineBasicBlock::getEndSymbol() const { in getEndSymbol() 114 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) { in operator <<() 119 Printable llvm::printMBBReference(const MachineBasicBlock &MBB) { in printMBBReference() 130 void ilist_callback_traits<MachineBasicBlock>::addNodeToList( in addNodeToList() 131 MachineBasicBlock *N) { in addNodeToList() 137 for (MachineBasicBlock::instr_iterator in addNodeToList() [all …]
|
H A D | BranchRelaxation.cpp | 67 unsigned postOffset(const MachineBasicBlock &MBB) const { in postOffset() 91 MachineBasicBlock *createNewBlockAfter(MachineBasicBlock &BB); 93 MachineBasicBlock *splitBlockBeforeInstr(MachineInstr &MI, 94 MachineBasicBlock *DestBB); 95 void adjustBlockOffsets(MachineBasicBlock &Start); 96 bool isBlockInRange(const MachineInstr &MI, const MachineBasicBlock &BB) const; 100 uint64_t computeBlockSize(const MachineBasicBlock &MBB) const; 127 for (MachineBasicBlock &MBB : *MF) { in INITIALIZE_PASS() 157 for (MachineBasicBlock &MBB : *MF) in scanFunction() 165 uint64_t BranchRelaxation::computeBlockSize(const MachineBasicBlock &MBB) const { in computeBlockSize() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/ |
H A 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 …]
|
H A D | RISCVInstrInfo.h | 39 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 43 void storeRegToStackSlot(MachineBasicBlock &MBB, 44 MachineBasicBlock::iterator MBBI, Register SrcReg, 49 void loadRegFromStackSlot(MachineBasicBlock &MBB, 50 MachineBasicBlock::iterator MBBI, Register DstReg, 55 void movImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 61 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, 62 MachineBasicBlock *&FBB, 66 unsigned insertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, 67 MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZInstrInfo.h | 131 MachineBasicBlock *getMBBTarget() { in getMBBTarget() 164 MachineBasicBlock *emitBlockAfter(MachineBasicBlock *MBB); 167 MachineBasicBlock *splitBlockAfter(MachineBasicBlock::iterator MI, 168 MachineBasicBlock *MBB); 170 MachineBasicBlock *splitBlockBefore(MachineBasicBlock::iterator MI, 171 MachineBasicBlock *MBB); 178 void splitMove(MachineBasicBlock::iterator MI, unsigned NewOpcode) const; 179 void splitAdjDynAlloc(MachineBasicBlock::iterator MI) const; 193 emitGRX32Move(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 226 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/ |
H A D | M68kFrameLowering.h | 46 MachineInstrBuilder BuildStackAdjustment(MachineBasicBlock &MBB, 47 MachineBasicBlock::iterator MBBI, 52 void BuildStackAlignAND(MachineBasicBlock &MBB, 53 MachineBasicBlock::iterator MBBI, const DebugLoc &DL, 57 void BuildCFI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, 60 void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB, 61 MachineBasicBlock::iterator MBBI, 78 MachineBasicBlock::iterator 79 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 80 MachineBasicBlock::iterator MI) const override; [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64SpeculationHardening.cpp | 150 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 …]
|