HomeSort by relevance Sort by last modified time
    Searched full:mbb (Results 101 - 125 of 321) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/llvm/lib/CodeGen/
TargetInstrInfo.cpp 59 void TargetInstrInfo::insertNoop(MachineBasicBlock &MBB,
100 MachineBasicBlock *MBB = Tail->getParent();
102 // Remove all the old successors of MBB from the CFG.
103 while (!MBB->succ_empty())
104 MBB->removeSuccessor(MBB->succ_begin());
106 // Remove all the dead instructions from the end of MBB.
107 MBB->erase(Tail, MBB->end());
109 // If MBB isn't immediately before MBB, insert a branch to it
    [all...]
TailDuplication.cpp 115 bool TailDuplicateAndUpdate(MachineBasicBlock *MBB,
119 void RemoveDeadBlock(MachineBasicBlock *MBB);
149 MachineBasicBlock *MBB = I;
150 SmallSetVector<MachineBasicBlock*, 8> Preds(MBB->pred_begin(),
151 MBB->pred_end());
152 MachineBasicBlock::iterator MI = MBB->begin();
153 while (MI != MBB->end()) {
168 dbgs() << "Malformed PHI in BB#" << MBB->getNumber() << ": " << *MI;
178 dbgs() << "Warning: malformed PHI in BB#" << MBB->getNumber()
185 dbgs() << "Malformed PHI in BB#" << MBB->getNumber() << ": " << *MI
    [all...]
LiveRangeCalc.h 59 /// For every basic block, MBB, one of these conditions shall be true:
61 /// 1. !Seen.count(MBB->getNumber())
63 /// 2. LiveOut[MBB].second.getNode() == MBB
64 /// The live-out value is defined in MBB.
65 /// 3. forall P in preds(MBB): LiveOut[P] == LiveOut[MBB]
66 /// The live-out value passses through MBB. All predecessors must carry
204 /// setLiveOutValue - Indicate that VNI is live out from MBB. The
205 /// calculateValues() function will not add liveness for MBB, the calle
    [all...]
ExecutionDepsFix.cpp 337 void ExeDepsFix::enterBasicBlock(MachineBasicBlock *MBB) {
344 // Set up LiveRegs to represent registers entering MBB.
355 if (MBB->pred_empty()) {
356 for (MachineBasicBlock::livein_iterator i = MBB->livein_begin(),
357 e = MBB->livein_end(); i != e; ++i) {
366 DEBUG(dbgs() << "BB#" << MBB->getNumber() << ": entry\n");
371 for (MachineBasicBlock::const_pred_iterator pi = MBB->pred_begin(),
372 pe = MBB->pred_end(); pi != pe; ++pi) {
408 DEBUG(dbgs() << "BB#" << MBB->getNumber()
412 void ExeDepsFix::leaveBasicBlock(MachineBasicBlock *MBB) {
    [all...]
MachineCopyPropagation.cpp 54 bool CopyPropagateBlock(MachineBasicBlock &MBB);
87 const MachineBasicBlock *MBB = CopyMI->getParent();
88 if (MI->getParent() != MBB)
91 MachineBasicBlock::const_iterator E = MBB->end();
139 bool MachineCopyPropagation::CopyPropagateBlock(MachineBasicBlock &MBB) {
146 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ) {
304 // If MBB doesn't have successors, delete the copies whose defs are not used.
305 // If MBB does have successors, then conservative assume the defs are live-out
307 if (MBB.succ_empty())
    [all...]
  /external/llvm/lib/Target/ARM/
Thumb1InstrInfo.h 42 void copyPhysReg(MachineBasicBlock &MBB,
46 void storeRegToStackSlot(MachineBasicBlock &MBB,
52 void loadRegFromStackSlot(MachineBasicBlock &MBB,
Thumb2InstrInfo.h 40 bool isLegalToSplitMBBAt(MachineBasicBlock &MBB,
43 void copyPhysReg(MachineBasicBlock &MBB,
48 void storeRegToStackSlot(MachineBasicBlock &MBB,
54 void loadRegFromStackSlot(MachineBasicBlock &MBB,
Thumb2SizeReduction.cpp 156 bool ReduceLoadStore(MachineBasicBlock &MBB, MachineInstr *MI,
159 bool ReduceSpecial(MachineBasicBlock &MBB, MachineInstr *MI,
164 bool ReduceTo2Addr(MachineBasicBlock &MBB, MachineInstr *MI,
170 bool ReduceToNarrow(MachineBasicBlock &MBB, MachineInstr *MI,
175 bool ReduceMI(MachineBasicBlock &MBB, MachineInstr *MI,
179 bool ReduceMBB(MachineBasicBlock &MBB);
367 Thumb2SizeReduce::ReduceLoadStore(MachineBasicBlock &MBB, MachineInstr *MI,
496 MachineInstrBuilder MIB = BuildMI(MBB, MI, dl, TII->get(Opc));
522 MBB.erase_instr(MI);
528 Thumb2SizeReduce::ReduceSpecial(MachineBasicBlock &MBB, MachineInstr *MI
    [all...]
Thumb2ITBlockPass.cpp 46 bool InsertITInstructions(MachineBasicBlock &MBB);
160 bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) {
165 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
181 MachineInstrBuilder MIB = BuildMI(MBB, MBBI, dl, TII->get(ARM::t2IT))
217 MBB.remove(NMI);
218 MBB.insert(InsertPos, NMI);
239 finalizeBundle(MBB, InsertPos.getInstrIterator(), llvm::next(LI));
259 MachineBasicBlock &MBB = *MFI;
261 Modified |= InsertITInstructions(MBB);
    [all...]
ARMConstantIslandPass.cpp 311 void computeBlockSize(MachineBasicBlock *MBB);
333 MachineBasicBlock *MBB = MBBI;
334 unsigned MBBId = MBB->getNumber();
568 static bool BBHasFallthrough(MachineBasicBlock *MBB) {
570 MachineFunction::iterator MBBI = MBB;
572 if (llvm::next(MBBI) == MBB->getParent()->end())
576 for (MachineBasicBlock::succ_iterator I = MBB->succ_begin(),
577 E = MBB->succ_end(); I != E; ++I)
621 MachineBasicBlock &MBB = *MBBI;
623 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end()
    [all...]
  /external/llvm/lib/Target/Mips/
Mips16ISelDAGToDAG.cpp 70 MachineBasicBlock &MBB = MF.front();
71 MachineBasicBlock::iterator I = MBB.begin();
74 DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();
83 BuildMI(MBB, I, DL, TII.get(Mips::LiRxImmX16), V0)
85 BuildMI(MBB, I, DL, TII.get(Mips::AddiuRxPcImmX16), V1)
87 BuildMI(MBB, I, DL, TII.get(Mips::SllX16), V2).addReg(V0).addImm(16);
88 BuildMI(MBB, I, DL, TII.get(Mips::AdduRxRyRz16), GlobalBaseReg)
93 // first MBB of the function.
101 MachineBasicBlock &MBB = MF.front();
102 MachineBasicBlock::iterator I = MBB.begin()
    [all...]
MipsSEISelDAGToDAG.cpp 113 MachineBasicBlock &MBB = MF.front();
114 MachineBasicBlock::iterator I = MBB.begin();
117 DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();
131 MBB.addLiveIn(Mips::T9_64);
137 BuildMI(MBB, I, DL, TII.get(Mips::LUi64), V0)
139 BuildMI(MBB, I, DL, TII.get(Mips::DADDu), V1).addReg(V0)
141 BuildMI(MBB, I, DL, TII.get(Mips::DADDiu), GlobalBaseReg).addReg(V1)
151 BuildMI(MBB, I, DL, TII.get(Mips::LUi), V0)
153 BuildMI(MBB, I, DL, TII.get(Mips::ADDiu), GlobalBaseReg).addReg(V0)
159 MBB.addLiveIn(Mips::T9)
    [all...]
  /external/llvm/lib/Target/R600/
SIInstrInfo.h 33 virtual void copyPhysReg(MachineBasicBlock &MBB,
63 virtual MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
69 virtual MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
SIInsertWaits.cpp 87 bool insertWait(MachineBasicBlock &MBB,
239 bool SIInsertWaits::insertWait(MachineBasicBlock &MBB,
244 if (I != MBB.end() && I->getOpcode() == AMDGPU::S_ENDPGM)
293 BuildMI(MBB, I, DebugLoc(), TII->get(AMDGPU::S_WAITCNT))
350 MachineBasicBlock &MBB = *BI;
351 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
354 Changes |= insertWait(MBB, I, handleOperands(*I));
358 // Wait for everything at the end of the MBB
359 Changes |= insertWait(MBB, MBB.getFirstTerminator(), LastIssued)
    [all...]
R600InstrInfo.h 54 virtual void copyPhysReg(MachineBasicBlock &MBB,
142 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
145 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;
147 unsigned RemoveBranch(MachineBasicBlock &MBB) const;
154 isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
157 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
204 virtual MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
209 virtual MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
225 MachineInstrBuilder buildDefaultInstruction(MachineBasicBlock &MBB,
232 MachineInstr *buildSlotOfVectorInstruction(MachineBasicBlock &MBB,
    [all...]
  /external/llvm/lib/Target/XCore/
XCoreRegisterInfo.h 28 void loadConstant(MachineBasicBlock &MBB,
32 void storeToStack(MachineBasicBlock &MBB,
36 void loadFromStack(MachineBasicBlock &MBB,
  /external/llvm/include/llvm/CodeGen/
SlotIndexes.h 349 /// MBBRanges - Map MBB number to (start, stop) indexes.
353 /// and MBB id.
392 void repairIndexesInRange(MachineBasicBlock *MBB,
443 const MachineBasicBlock *MBB = MI->getParent();
444 assert(MBB && "MI must be inserted inna basic block");
445 MachineBasicBlock::const_iterator I = MI, B = MBB->begin();
448 return getMBBStartIdx(MBB);
460 const MachineBasicBlock *MBB = MI->getParent();
461 assert(MBB && "MI must be inserted inna basic block");
462 MachineBasicBlock::const_iterator I = MI, E = MBB->end()
    [all...]
  /external/llvm/lib/Target/X86/
X86FrameLowering.h 69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
78 bool spillCalleeSavedRegisters(MachineBasicBlock &MBB,
83 bool restoreCalleeSavedRegisters(MachineBasicBlock &MBB,
97 MachineBasicBlock &MBB,
X86VZeroUpper.cpp 39 bool processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB);
49 // BBState - Contains the state of each MBB: unknown, clean, dirty
52 // BBSolved - Keep track of all MBB which had been already analyzed
58 // ST_UNKNOWN - The MBB state is unknown, meaning from the entry state
59 // until the MBB exit there isn't a instruction using YMM to change
63 // ST_CLEAN - No YMM usage in the end of the MBB. A MBB could have
67 // ST_DIRTY - Any MBB ending with a YMM usage not cleaned up by a
221 // The entry MBB for the function may set the initial state to dirty if
280 DEBUG(dbgs() << "MBB #" << BBNu
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCFastISel.cpp 136 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(PPC::LDtocCPT),
143 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(PPC::ADDIStocHA),
145 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(Opc), DestReg)
165 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
171 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
174 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
179 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
219 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(PPC::RLDICR),
227 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(PPC::ORIS8),
234 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, TII.get(PPC::ORI8)
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXFrameLowering.h 33 virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
36 MachineBasicBlock &MBB,
  /external/llvm/lib/Target/SystemZ/
SystemZInstrInfo.h 122 virtual bool AnalyzeBranch(MachineBasicBlock &MBB,
127 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const LLVM_OVERRIDE;
128 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
133 virtual bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCycles,
149 virtual void copyPhysReg(MachineBasicBlock &MBB,
154 storeRegToStackSlot(MachineBasicBlock &MBB,
160 loadRegFromStackSlot(MachineBasicBlock &MBB,
225 void loadImmediate(MachineBasicBlock &MBB,
SystemZRegisterInfo.cpp 62 MachineBasicBlock &MBB = *MI->getParent();
63 MachineFunction &MF = *MBB.getParent();
108 TII.loadImmediate(MBB, MI, ScratchReg, HighOffset);
116 BuildMI(MBB, MI, DL, TII.get(LAOpcode),ScratchReg)
121 TII.loadImmediate(MBB, MI, ScratchReg, HighOffset);
122 BuildMI(MBB, MI, DL, TII.get(SystemZ::AGR),ScratchReg)
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
R600InstrInfo.h 43 virtual void copyPhysReg(MachineBasicBlock &MBB,
68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
71 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;
73 unsigned RemoveBranch(MachineBasicBlock &MBB) const;
80 isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
83 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
  /external/mesa3d/src/gallium/drivers/radeon/
R600InstrInfo.h 43 virtual void copyPhysReg(MachineBasicBlock &MBB,
68 bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB,
71 unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const;
73 unsigned RemoveBranch(MachineBasicBlock &MBB) const;
80 isProfitableToDupForIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,
83 bool isProfitableToIfCvt(MachineBasicBlock &MBB, unsigned NumCyles,

Completed in 636 milliseconds

1 2 3 45 6 7 8 91011>>