HomeSort by relevance Sort by last modified time
    Searched refs:MBB (Results 1 - 25 of 342) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/llvm/lib/CodeGen/
PHIEliminationUtils.cpp 17 // findCopyInsertPoint - Find a safe place in MBB to insert a copy from SrcReg
22 llvm::findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
25 if (MBB->empty())
26 return MBB->begin();
32 return MBB->getFirstTerminator();
36 MachineRegisterInfo& MRI = MBB->getParent()->getRegInfo();
38 if (RI.getParent() == MBB)
45 InsertPoint = MBB->begin();
52 InsertPoint = MBB->end();
58 return MBB->SkipPHIsAndLabels(InsertPoint)
    [all...]
PHIEliminationUtils.h 16 /// findPHICopyInsertPoint - Find a safe place in MBB to insert a copy from
21 findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
  /external/llvm/lib/Target/ARM/
Thumb1FrameLowering.h 30 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
37 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
46 MachineBasicBlock &MBB,
49 /// Check whether or not the given \p MBB can be used as a epilogue
53 /// \p MBB will be correctly handled by the target.
54 bool canUseAsEpilogue(const MachineBasicBlock &MBB) const override;
78 /// the code sequence in \p MBB. I.e., when \p DoIt is false,
79 /// \p MBB is left untouched
    [all...]
  /external/llvm/lib/Target/Mips/
MipsSEInstrInfo.h 46 void copyPhysReg(MachineBasicBlock &MBB,
51 void storeRegToStack(MachineBasicBlock &MBB,
58 void loadRegFromStack(MachineBasicBlock &MBB,
70 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
76 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB,
83 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const;
85 void expandERet(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const;
90 void expandPseudoMFHiLo(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
93 void expandPseudoMTLoHi(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
107 void expandCvtFPInt(MachineBasicBlock &MBB, MachineBasicBlock::iterator I
    [all...]
MipsInstrInfo.h 54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
59 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
68 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
75 void insertNoop(MachineBasicBlock &MBB,
89 void storeRegToStackSlot(MachineBasicBlock &MBB,
94 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0);
97 void loadRegFromStackSlot(MachineBasicBlock &MBB,
102 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0);
105 virtual void storeRegToStack(MachineBasicBlock &MBB,
    [all...]
MipsSEFrameLowering.h 27 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
46 MachineBasicBlock &MBB) const;
48 MachineBasicBlock &MBB) const;
Mips16FrameLowering.h 26 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
27 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
29 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
34 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
  /external/llvm/lib/Target/BPF/
BPFInstrInfo.h 33 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
37 void storeRegToStackSlot(MachineBasicBlock &MBB,
43 void loadRegFromStackSlot(MachineBasicBlock &MBB,
47 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
52 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
53 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
BPFFrameLowering.h 27 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
35 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
37 MBB.erase(MI);
BPFInstrInfo.cpp 34 void BPFInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
39 BuildMI(MBB, I, DL, get(BPF::MOV_rr), DestReg)
45 void BPFInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
51 if (I != MBB.end())
55 BuildMI(MBB, I, DL, get(BPF::STD))
63 void BPFInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
69 if (I != MBB.end())
73 BuildMI(MBB, I, DL, get(BPF::LDD), DestReg).addFrameIndex(FI).addImm(0);
78 bool BPFInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB,
85 MachineBasicBlock::iterator I = MBB.end()
    [all...]
  /external/llvm/lib/Target/X86/
X86PadShortFunction.cpp 63 void findReturns(MachineBasicBlock *MBB,
66 bool cyclesUntilReturn(MachineBasicBlock *MBB,
69 void addPadding(MachineBasicBlock *MBB,
113 MachineBasicBlock *MBB;
119 MBB = I->first;
125 assert(MBB->size() > 0 &&
127 MachineBasicBlock::iterator ReturnLoc = --MBB->end();
134 addPadding(MBB, ReturnLoc, Threshold - Cycles);
143 /// findReturn - Starting at MBB, follow control flow and add all
145 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles)
    [all...]
X86FrameLowering.h 54 MachineInstr *emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB,
62 void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
68 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
85 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
90 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
107 MachineBasicBlock &MBB,
119 int mergeSPUpdates(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
124 void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
130 /// Check whether or not the given \p MBB can be used as a epilogu
    [all...]
X86VZeroUpper.cpp 45 void processBasicBlock(MachineBasicBlock &MBB);
47 MachineBasicBlock &MBB);
48 void addDirtySuccessor(MachineBasicBlock &MBB);
158 MachineBasicBlock &MBB) {
160 BuildMI(MBB, I, dl, TII->get(X86::VZEROUPPER));
165 // Add MBB to the DirtySuccessors list if it hasn't already been added.
166 void VZeroUpperInserter::addDirtySuccessor(MachineBasicBlock &MBB) {
167 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) {
168 DirtySuccessors.push_back(&MBB);
169 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXFrameLowering.h 26 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
27 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
30 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
NVPTXFrameLowering.cpp 35 MachineBasicBlock &MBB) const {
37 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported");
38 MachineInstr *MI = MBB.begin();
57 MI = BuildMI(MBB, MI, dl,
62 BuildMI(MBB, MI, dl, MF.getSubtarget().getInstrInfo()->get(MovDepotOpcode),
69 MachineBasicBlock &MBB) const {}
74 MachineFunction &MF, MachineBasicBlock &MBB,
78 MBB.erase(I);
NVPTXInstrInfo.h 42 * virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
46 * virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
53 MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL,
63 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
65 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
67 MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB,
  /external/llvm/lib/Target/WebAssembly/
WebAssemblyFrameLowering.h 32 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
36 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
37 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
WebAssemblyCFGStackify.cpp 85 for (MachineBasicBlock *MBB : CurrentSCC) {
86 for (MachineBasicBlock *Pred : MBB->predecessors()) {
90 Header = MBB;
106 MachineBasicBlock *MBB;
109 POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF,
115 const MachineBasicBlock *MBB) {
116 return Loop ? Loop->contains(MBB) : true;
119 POStackEntry::POStackEntry(MachineBasicBlock *MBB, MachineFunction &MF,
121 : MBB(MBB), Succs(MBB->successors())
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430FrameLowering.h 30 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
34 MachineBasicBlock &MBB,
37 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
41 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
  /external/llvm/lib/Target/XCore/
XCoreFrameLowering.h 31 MachineBasicBlock &MBB) const override;
33 MachineBasicBlock &MBB) const override;
35 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
39 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
45 MachineBasicBlock &MBB,
XCoreInstrInfo.h 53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
62 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
64 void copyPhysReg(MachineBasicBlock &MBB,
69 void storeRegToStackSlot(MachineBasicBlock &MBB,
75 void loadRegFromStackSlot(MachineBasicBlock &MBB,
86 MachineBasicBlock::iterator loadImmediate(MachineBasicBlock &MBB,
  /external/llvm/lib/Target/AArch64/
AArch64A53Fix835769.cpp 100 bool runOnBasicBlock(MachineBasicBlock &MBB);
114 for (auto &MBB : F) {
115 Changed |= runOnBasicBlock(MBB);
120 // Return the block that was fallen through to get to MBB, if any,
122 static MachineBasicBlock *getBBFallenThrough(MachineBasicBlock *MBB,
125 MachineFunction::iterator MBBI(MBB);
128 if (MBBI == MBB->getParent()->begin())
135 for (MachineBasicBlock *S : MBB->predecessors())
147 static MachineInstr *getLastNonPseudo(MachineBasicBlock &MBB,
149 MachineBasicBlock *FMBB = &MBB;
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDILCFGStructurizer.cpp 213 int getSCCNum(MachineBasicBlock *MBB) const;
215 bool hasBackEdge(MachineBasicBlock *MBB) const;
217 bool isRetiredBlock(MachineBasicBlock *MBB) const;
218 bool isActiveLoophead(MachineBasicBlock *MBB) const;
223 bool needMigrateBlock(MachineBasicBlock *MBB) const;
231 void insertInstrEnd(MachineBasicBlock *MBB, int NewOpcode,
233 MachineInstr *insertInstrBefore(MachineBasicBlock *MBB, int NewOpcode,
238 void insertCondBranchBefore(MachineBasicBlock *MBB,
241 void insertCondBranchEnd(MachineBasicBlock *MBB, int NewOpcode, int RegNum);
247 static void setTrueBranch(MachineInstr *MI, MachineBasicBlock *MBB);
    [all...]
SILowerControlFlow.cpp 125 for (MachineBasicBlock *MBB = From; MBB != To && !MBB->succ_empty();
126 MBB = *MBB->succ_begin()) {
128 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end();
152 MachineBasicBlock &MBB = *MI.getParent();
155 if (MBB.getParent()->getInfo<SIMachineFunctionInfo>()->getShaderType() !=
157 !shouldSkip(&MBB, &MBB.getParent()->back())
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcFrameLowering.h 29 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
30 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
34 MachineBasicBlock &MBB,
60 MachineBasicBlock &MBB,

Completed in 1237 milliseconds

1 2 3 4 5 6 7 8 91011>>