HomeSort by relevance Sort by last modified time
    Searched refs:MBB (Results 1 - 25 of 1103) 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/swiftshader/third_party/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();
40 if (DefUseMI->getParent() == MBB)
47 InsertPoint = MBB->begin();
54 InsertPoint = MBB->end();
60 return MBB->SkipPHIsAndLabels(InsertPoint)
    [all...]
ShrinkWrapping.cpp 126 bool PEI::isReturnBlock(MachineBasicBlock* MBB) {
127 return (MBB && !MBB->empty() && MBB->back().getDesc().isReturn());
197 /// for the given MBB by looking forward in the MCFG at MBB's
200 bool PEI::calcAnticInOut(MachineBasicBlock* MBB) {
203 // AnticOut[MBB] = INTERSECT(AnticIn[S] for S in SUCCESSORS(MBB))
205 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin()
    [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;
83 /// the code sequence in \p MBB. I.e., when \p DoIt is false,
84 /// \p MBB is left untouched
    [all...]
  /external/llvm/lib/Target/Mips/
MipsSEInstrInfo.h 46 void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI,
50 void storeRegToStack(MachineBasicBlock &MBB,
57 void loadRegFromStack(MachineBasicBlock &MBB,
69 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
75 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB,
82 void expandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const;
84 void expandERet(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const;
89 void expandPseudoMFHiLo(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
92 void expandPseudoMTLoHi(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
106 void expandCvtFPInt(MachineBasicBlock &MBB, MachineBasicBlock::iterator I
    [all...]
MipsInstrInfo.h 53 bool analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
60 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
67 BranchType analyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
83 void insertNoop(MachineBasicBlock &MBB,
97 void storeRegToStackSlot(MachineBasicBlock &MBB,
102 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0);
105 void loadRegFromStackSlot(MachineBasicBlock &MBB,
110 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0);
113 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;
  /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 return 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/WebAssembly/
WebAssemblyCFGStackify.cpp 77 for (MachineBasicBlock *MBB : Loop->blocks())
78 if (MBB->getNumber() > Bottom->getNumber())
79 Bottom = MBB;
83 static void MaybeUpdateTerminator(MachineBasicBlock *MBB) {
88 for (const MachineInstr &Term : MBB->terminators()) {
97 MBB->updateTerminator();
140 for (MachineBasicBlock &MBB : MF) {
141 unsigned N = MBB.pred_size();
142 if (MachineLoop *L = MLI.getLoopFor(&MBB))
143 if (L->getHeader() == &MBB)
    [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 34 MachineBasicBlock &MBB) const {
36 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported");
37 MachineInstr *MI = &MBB.front();
56 MI = BuildMI(MBB, MI, dl,
61 BuildMI(MBB, MI, dl, MF.getSubtarget().getInstrInfo()->get(MovDepotOpcode),
68 MachineBasicBlock &MBB) const {}
73 MachineFunction &MF, MachineBasicBlock &MBB,
77 return MBB.erase(I);
  /external/swiftshader/third_party/LLVM/lib/Target/PTX/
PTXFrameLowering.cpp 23 MachineBasicBlock &MBB) const {
  /external/llvm/lib/Target/X86/
X86PadShortFunction.cpp 68 void findReturns(MachineBasicBlock *MBB,
71 bool cyclesUntilReturn(MachineBasicBlock *MBB,
74 void addPadding(MachineBasicBlock *MBB,
121 MachineBasicBlock *MBB;
127 MBB = I->first;
133 assert(MBB->size() > 0 &&
135 MachineBasicBlock::iterator ReturnLoc = --MBB->end();
142 addPadding(MBB, ReturnLoc, Threshold - Cycles);
151 /// findReturn - Starting at MBB, follow control flow and add all
153 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,
108 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
120 int mergeSPUpdates(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
125 void emitSPUpdate(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI,
131 /// Check whether or not the given \p MBB can be used as a prologu
    [all...]
  /external/llvm/lib/Target/AMDGPU/
R600FrameLowering.h 24 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const {}
25 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const {}
  /external/llvm/lib/Target/AVR/
AVRFrameLowering.h 23 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
24 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
26 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
31 restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
40 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
  /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 eliminateCallFramePseudoInstr(MachineFunction &MF, 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 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
  /external/llvm/lib/Target/PowerPC/
PPCFrameLowering.h 46 * \param[in] MBB The machine basic block to find an available register for
62 bool findScratchRegister(MachineBasicBlock *MBB,
67 bool twoUniqueScratchRegsRequired(MachineBasicBlock *MBB) const;
72 * \param[in] MBB that is terminated by PPC::TCRETURN*
74 void createTailCallBranchInstr(MachineBasicBlock &MBB) const;
85 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
86 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
98 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
104 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
107 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/Sparc/
SparcFrameLowering.cpp 30 MachineBasicBlock &MBB = MF.front();
34 MachineBasicBlock::iterator MBBI = MBB.begin();
35 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
55 BuildMI(MBB, MBBI, dl, TII.get(SP::SAVEri), SP::O6)
61 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1).addImm(OffHi);
63 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1)
65 BuildMI(MBB, MBBI, dl, TII.get(SP::SAVErr), SP::O6)
71 MachineBasicBlock &MBB) const {
72 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr();
78 BuildMI(MBB, MBBI, dl, TII.get(SP::RESTORErr), SP::G0).addReg(SP::G0
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/MSP430/
MSP430BranchSelector.cpp 61 // Measure each MBB and compute a size for the entire function.
65 MachineBasicBlock *MBB = MFI;
68 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
72 BlockSizes[MBB->getNumber()] = BlockSize;
88 // bCC MBB
91 // b MBB
101 MachineBasicBlock &MBB = *MFI;
103 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end()
    [all...]

Completed in 1142 milliseconds

1 2 3 4 5 6 7 8 91011>>