HomeSort by relevance Sort by last modified time
    Searched refs:MBB (Results 1 - 25 of 304) 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,
MachineBranchProbabilityInfo.cpp 32 getSumForBlock(const MachineBasicBlock *MBB, uint32_t &Scale) const {
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);
89 MachineBranchProbabilityInfo::getHotSucc(MachineBasicBlock *MBB) const {
92 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin()
    [all...]
MachineVerifier.cpp 100 // Is this MBB reachable from the MF entry point?
107 // Regs killed in MBB. They may be defined again, and will then be in both
111 // Regs defined in MBB and live out. Note that vregs passing through may
115 // Vregs that pass through MBB untouched. This set is disjoint from
119 // Vregs that must pass through MBB because they are needed by a successor
181 // Extra register info per MBB.
199 void visitMachineBasicBlockBefore(const MachineBasicBlock *MBB);
205 void visitMachineBasicBlockAfter(const MachineBasicBlock *MBB);
209 void report(const char *msg, const MachineBasicBlock *MBB);
214 void report(const char *msg, const MachineBasicBlock *MBB,
    [all...]
  /external/llvm/lib/Target/X86/
X86PadShortFunction.cpp 63 void findReturns(MachineBasicBlock *MBB,
66 bool cyclesUntilReturn(MachineBasicBlock *MBB,
69 void addPadding(MachineBasicBlock *MBB,
117 MachineBasicBlock *MBB;
123 MBB = I->first;
129 assert(MBB->size() > 0 &&
131 MachineBasicBlock::iterator ReturnLoc = --MBB->end();
138 addPadding(MBB, ReturnLoc, Threshold - Cycles);
147 /// findReturn - Starting at MBB, follow control flow and add all
149 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles)
    [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/Mips/
MipsSEInstrInfo.h 47 void copyPhysReg(MachineBasicBlock &MBB,
52 void storeRegToStack(MachineBasicBlock &MBB,
59 void loadRegFromStack(MachineBasicBlock &MBB,
71 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
77 unsigned loadImmediate(int64_t Imm, MachineBasicBlock &MBB,
84 void expandRetRA(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,
109 void expandExtractElementF64(MachineBasicBlock &MBB,
    [all...]
MipsInstrInfo.h 54 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
59 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
61 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
69 BranchType AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
76 void insertNoop(MachineBasicBlock &MBB,
90 void storeRegToStackSlot(MachineBasicBlock &MBB,
95 storeRegToStack(MBB, MBBI, SrcReg, isKill, FrameIndex, RC, TRI, 0);
98 void loadRegFromStackSlot(MachineBasicBlock &MBB,
103 loadRegFromStack(MBB, MBBI, DestReg, FrameIndex, RC, TRI, 0);
106 virtual void storeRegToStack(MachineBasicBlock &MBB,
    [all...]
MipsSEFrameLowering.h 28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 MachineBasicBlock &MBB,
34 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
Mips16FrameLowering.h 27 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
30 MachineBasicBlock &MBB,
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
Mips16InstrInfo.h 46 void copyPhysReg(MachineBasicBlock &MBB,
51 void storeRegToStack(MachineBasicBlock &MBB,
58 void loadRegFromStack(MachineBasicBlock &MBB,
70 void makeFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
74 void restoreFrame(unsigned SP, int64_t FrameSize, MachineBasicBlock &MBB,
79 void adjustStackPtr(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
87 int64_t Imm, MachineBasicBlock &MBB,
104 (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, int64_t Imm) const;
111 void ExpandRetRA16(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
115 void adjustStackPtrBig(unsigned SP, int64_t Amount, MachineBasicBlock &MBB,
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXFrameLowering.cpp 37 MachineBasicBlock &MBB = MF.front();
39 MachineBasicBlock::iterator MBBI = MBB.begin();
51 BuildMI(MBB, MBBI, dl,
54 BuildMI(MBB, MI, dl,
60 BuildMI(MBB, MBBI, dl,
63 BuildMI(MBB, MI, dl,
71 MachineBasicBlock &MBB) const {}
76 MachineFunction &MF, MachineBasicBlock &MBB,
80 MBB.erase(I);
  /external/llvm/lib/Target/Hexagon/
HexagonFrameLowering.h 28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
29 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
36 MachineBasicBlock &MBB,
40 restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
46 bool hasTailCall(MachineBasicBlock &MBB) const;
HexagonSplitConst32AndConst64.cpp 81 MachineBasicBlock* MBB = MBBb;
83 MachineBasicBlock::iterator MII = MBB->begin();
84 MachineBasicBlock::iterator MIE = MBB->end ();
92 BuildMI (*MBB, MII, MI->getDebugLoc(),
94 BuildMI (*MBB, MII, MI->getDebugLoc(),
96 // MBB->erase returns the iterator to the next instruction, which is the
98 MII = MBB->erase (MI);
105 BuildMI (*MBB, MII, MI->getDebugLoc(),
107 BuildMI (*MBB, MII, MI->getDebugLoc(),
109 // MBB->erase returns the iterator to the next instruction, which is th
    [all...]
HexagonFrameLowering.cpp 77 MachineBasicBlock &MBB = MF.front();
79 MachineBasicBlock::iterator MBBI = MBB.begin();
82 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
90 MachineBasicBlock::iterator InsertPt = MBB.begin();
122 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(0);
125 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::CONST32_Int_Real),
127 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::SUB_rr),
132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes);
136 // Returns true if MBB has a machine instructions that indicates a tail call
138 bool HexagonFrameLowering::hasTailCall(MachineBasicBlock &MBB) const
    [all...]
HexagonFixupHwLoops.cpp 111 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
112 MBB != MBBe; ++MBB) {
113 BlockToInstOffset[MBB] = InstOffset;
114 InstOffset += (MBB->size() * 4);
124 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
125 MBB != MBBe; ++MBB) {
126 InstOffset = BlockToInstOffset[MBB];
127 RS.enterBasicBlock(MBB);
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreInstrInfo.h 53 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
58 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
63 unsigned RemoveBranch(MachineBasicBlock &MBB) const override;
65 void copyPhysReg(MachineBasicBlock &MBB,
70 void storeRegToStackSlot(MachineBasicBlock &MBB,
76 void loadRegFromStackSlot(MachineBasicBlock &MBB,
87 MachineBasicBlock::iterator loadImmediate(MachineBasicBlock &MBB,
XCoreFrameLowering.h 32 MachineBasicBlock &MBB) const override;
34 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
38 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
44 MachineBasicBlock &MBB,
XCoreFrameToArgsOffsetElim.cpp 50 MachineBasicBlock &MBB = *MFI;
51 for (MachineBasicBlock::iterator MBBI = MBB.begin(), EE = MBB.end();
56 MBBI = TII.loadImmediate(MBB, MBBI, Reg, StackSize);
  /external/llvm/lib/Target/R600/
AMDILCFGStructurizer.cpp 210 int getSCCNum(MachineBasicBlock *MBB) const;
212 bool hasBackEdge(MachineBasicBlock *MBB) const;
214 bool isRetiredBlock(MachineBasicBlock *MBB) const;
215 bool isActiveLoophead(MachineBasicBlock *MBB) const;
220 bool needMigrateBlock(MachineBasicBlock *MBB) const;
228 void insertInstrEnd(MachineBasicBlock *MBB, int NewOpcode,
230 MachineInstr *insertInstrBefore(MachineBasicBlock *MBB, int NewOpcode,
235 void insertCondBranchBefore(MachineBasicBlock *MBB,
238 void insertCondBranchEnd(MachineBasicBlock *MBB, int NewOpcode, int RegNum);
244 static void setTrueBranch(MachineInstr *MI, MachineBasicBlock *MBB);
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDGPUConvertToISA.cpp 54 MachineBasicBlock &MBB = *BB;
55 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
58 TII->convertToISA(MI, MF, MBB.findDebugLoc(I));
  /external/llvm/lib/Target/ARM/
Thumb1FrameLowering.h 31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
37 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
46 MachineBasicBlock &MBB,
Thumb2RegisterInfo.cpp 35 Thumb2RegisterInfo::emitLoadConstPool(MachineBasicBlock &MBB,
42 MachineFunction &MF = *MBB.getParent();
46 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
49 BuildMI(MBB, MBBI, dl, TII.get(ARM::t2LDRpci))
  /external/llvm/lib/Target/MSP430/
MSP430FrameLowering.h 31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
34 MachineBasicBlock &MBB,
37 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
41 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUConvertToISA.cpp 54 MachineBasicBlock &MBB = *BB;
55 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
58 TII->convertToISA(MI, MF, MBB.findDebugLoc(I));

Completed in 449 milliseconds

1 2 3 4 5 6 7 8 91011>>