Searched refs:MBB (Results 1 - 25 of 239) sorted by relevance

12345678910

/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DPHIEliminationUtils.cpp17 // findCopyInsertPoint - Find a safe place in MBB to insert a copy from SrcReg
22 llvm::findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB, argument
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
[all...]
H A DShrinkWrapping.cpp127 bool PEI::isReturnBlock(MachineBasicBlock* MBB) { argument
128 return (MBB && !MBB->empty() && MBB->back().isReturn());
198 /// for the given MBB by looking forward in the MCFG at MBB's
201 bool PEI::calcAnticInOut(MachineBasicBlock* MBB) { argument
204 // AnticOut[MBB] = INTERSECT(AnticIn[S] for S in SUCCESSORS(MBB))
206 for (MachineBasicBlock::succ_iterator SI = MBB
239 calcAvailInOut(MachineBasicBlock* MBB) argument
289 MachineBasicBlock* MBB = MBBI; local
328 propagateUsesAroundLoop(MachineBasicBlock* MBB, MachineLoop* LP) argument
410 MachineBasicBlock* MBB = MBBI; local
496 MachineBasicBlock* MBB = MBBI; local
557 addUsesForMEMERegion(MachineBasicBlock* MBB, SmallVector<MachineBasicBlock*, 4>& blks) argument
639 MachineBasicBlock* MBB = I->first; local
677 calcSpillPlacements(MachineBasicBlock* MBB, SmallVector<MachineBasicBlock*, 4> &blks, CSRegBlockMap &prevSpills) argument
739 calcRestorePlacements(MachineBasicBlock* MBB, SmallVector<MachineBasicBlock*, 4> &blks, CSRegBlockMap &prevRestores) argument
822 MachineBasicBlock* MBB = MBBI; local
837 MachineBasicBlock* MBB = cvBlocks.pop_back_val(); local
942 MachineBasicBlock* MBB = MBBI; local
948 MachineBasicBlock* MBB = BI->first; local
1001 MachineBasicBlock* MBB = BI->first; local
1044 getBasicBlockName(const MachineBasicBlock* MBB) argument
1085 dumpUsed(MachineBasicBlock* MBB) argument
1096 MachineBasicBlock* MBB = MBBI; local
1101 dumpSets(MachineBasicBlock* MBB) argument
1113 dumpSets1(MachineBasicBlock* MBB) argument
1130 MachineBasicBlock* MBB = MBBI; local
[all...]
H A DPHIEliminationUtils.h16 /// findPHICopyInsertPoint - Find a safe place in MBB to insert a copy from
21 findPHICopyInsertPoint(MachineBasicBlock* MBB, MachineBasicBlock* SuccMBB,
H A DMachineBranchProbabilityInfo.cpp32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const { argument
36 assert(MBB->succ_size() < UINT32_MAX);
39 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
40 E = MBB->succ_end(); I != E; ++I) {
41 uint32_t Weight = getEdgeWeight(MBB, I);
54 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(),
55 E = MBB->succ_end(); I != E; ++I) {
56 uint32_t Weight = getEdgeWeight(MBB, I);
88 MachineBranchProbabilityInfo::getHotSucc(MachineBasicBlock *MBB) const {
91 for (MachineBasicBlock::const_succ_iterator I = MBB
[all...]
H A DPrologEpilogInserter.h111 bool calcAnticInOut(MachineBasicBlock* MBB);
112 bool calcAvailInOut(MachineBasicBlock* MBB);
114 bool addUsesForMEMERegion(MachineBasicBlock* MBB,
117 bool calcSpillPlacements(MachineBasicBlock* MBB,
120 bool calcRestorePlacements(MachineBasicBlock* MBB,
145 // Propgate CSRs used in MBB to all MBBs of loop LP.
146 void propagateUsesAroundLoop(MachineBasicBlock* MBB, MachineLoop* LP);
149 bool isReturnBlock(MachineBasicBlock* MBB);
160 std::string getBasicBlockName(const MachineBasicBlock* MBB);
163 void dumpUsed(MachineBasicBlock* MBB);
[all...]
H A DExpandISelPseudos.cpp52 MachineBasicBlock *MBB = I; local
53 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end();
61 TLI->EmitInstrWithCustomInserter(MI, MBB);
63 if (NewMBB != MBB) {
64 MBB = NewMBB;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp34 MachineBasicBlock &MBB = MF.front(); local
36 MachineBasicBlock::iterator MBBI = MBB.begin();
45 MachineInstr *MI = BuildMI(MBB, MBBI, dl,
48 BuildMI(MBB, MI, dl,
52 MachineInstr *MI = BuildMI(MBB, MBBI, dl,
55 BuildMI(MBB, MI, dl,
63 BuildMI(MBB, MBBI, dl,
67 BuildMI(MBB, MBBI, dl,
75 MachineBasicBlock &MBB) const {
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/
H A DMipsSEInstrInfo.h47 virtual void copyPhysReg(MachineBasicBlock &MBB,
52 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
58 virtual void loadRegFromStackSlot(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,
84 void ExpandExtractElementF64(MachineBasicBlock &MBB,
86 void ExpandBuildPairF64(MachineBasicBlock &MBB,
H A DMips16FrameLowering.h28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
30 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
35 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
H A DMipsInstrInfo.h39 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
44 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
46 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
60 virtual void insertNoop(MachineBasicBlock &MBB,
77 MachineMemOperand *GetMemOperand(MachineBasicBlock &MBB, int FI,
87 void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL,
H A DMips16InstrInfo.cpp57 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB, argument
70 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc));
83 storeRegToStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, argument
88 if (I != MBB.end()) DL = I->getDebugLoc();
89 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOStore);
94 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill))
99 loadRegFromStackSlot(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, argument
104 if (I != MBB.end()) DL = I->getDebugLoc();
105 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOLoad);
111 BuildMI(MBB,
116 MachineBasicBlock &MBB = *MI->getParent(); local
141 ExpandRetRA16(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned Opc) const argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Sparc/
H A DSparcFrameLowering.cpp30 MachineBasicBlock &MBB = MF.front(); local
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, MBB
[all...]
H A DSparcInstrInfo.h73 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
78 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
80 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
85 virtual void copyPhysReg(MachineBasicBlock &MBB,
90 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
96 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp61 // Measure each MBB and compute a size for the entire function.
65 MachineBasicBlock *MBB = MFI; local
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; local
103 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB
[all...]
H A DMSP430FrameLowering.cpp42 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB local
48 MachineBasicBlock::iterator MBBI = MBB.begin();
49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r))
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FPW)
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
85 if (MBBI != MBB.end())
91 //NumBytes -= mergeSPUpdates(MBB, MBBI, true);
94 // mergeSPUpdatesDown(MBB, MBBI, &NumBytes);
98 BuildMI(MBB, MBB
180 spillCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, const TargetRegisterInfo *TRI) const argument
206 restoreCalleeSavedRegisters(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, const TargetRegisterInfo *TRI) const argument
[all...]
H A DMSP430InstrInfo.h54 void copyPhysReg(MachineBasicBlock &MBB,
59 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
65 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
76 bool AnalyzeBranch(MachineBasicBlock &MBB,
81 unsigned RemoveBranch(MachineBasicBlock &MBB) const;
82 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/ARM/
H A DThumb1FrameLowering.h36 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
38 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
42 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
H A DThumb2InstrInfo.h40 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB,
43 void copyPhysReg(MachineBasicBlock &MBB,
48 void storeRegToStackSlot(MachineBasicBlock &MBB,
54 void loadRegFromStackSlot(MachineBasicBlock &MBB,
H A DThumb2RegisterInfo.cpp35 Thumb2RegisterInfo::emitLoadConstPool(MachineBasicBlock &MBB, argument
42 MachineFunction &MF = *MBB.getParent();
45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
48 BuildMI(MBB, MBBI, dl, TII.get(ARM::t2LDRpci))
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/XCore/
H A DXCoreFrameLowering.h31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
37 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
H A DXCoreInstrInfo.h52 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
57 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
62 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
64 virtual void copyPhysReg(MachineBasicBlock &MBB,
69 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
75 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp62 // Measure each MBB and compute a size for the entire function.
66 MachineBasicBlock *MBB = MFI; local
69 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end();
73 BlockSizes[MBB->getNumber()] = BlockSize;
89 // bCC MBB
92 // b MBB
102 MachineBasicBlock &MBB = *MFI; local
104 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Hexagon/
H A DHexagonFrameLowering.h32 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
34 spillCalleeSavedRegisters(MachineBasicBlock &MBB,
39 restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
45 bool hasTailCall(MachineBasicBlock &MBB) const;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/CellSPU/
H A DSPUInstrInfo.cpp124 void SPUInstrInfo::copyPhysReg(MachineBasicBlock &MBB, argument
134 BuildMI(MBB, I, DL, get(SPU::LRr128), DestReg)
139 SPUInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, argument
166 if (MI != MBB.end()) DL = MI->getDebugLoc();
167 addFrameReference(BuildMI(MBB, MI, DL, get(opc))
172 SPUInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, argument
199 if (MI != MBB.end()) DL = MI->getDebugLoc();
200 addFrameReference(BuildMI(MBB, MI, DL, get(opc), DestReg), FrameIdx);
209 SPUInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, argument
214 MachineBasicBlock::iterator I = MBB
284 removeHBR( MachineBasicBlock &MBB) argument
336 findHBRPosition(MachineBasicBlock &MBB) argument
347 InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const argument
[all...]
H A DSPUInstrInfo.h47 virtual void copyPhysReg(MachineBasicBlock &MBB,
53 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
60 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
70 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
75 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
77 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,

Completed in 369 milliseconds

12345678910