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

1 2 3 4 56 7 8 91011>>

  /external/llvm/lib/CodeGen/
LiveIntervalAnalysis.cpp 205 MachineBasicBlock *MBB = MBBI;
206 std::pair<unsigned, unsigned> &RMB = RegMaskBlocks[MBB->getNumber()];
208 for (MachineBasicBlock::iterator MI = MBB->begin(), ME = MBB->end();
281 const MachineBasicBlock *MBB = MFI;
284 if ((MFI != MF->begin() && !MBB->isLandingPad()) || MBB->livein_empty())
288 SlotIndex Begin = Indexes->getMBBStartIdx(MBB);
289 DEBUG(dbgs() << Begin << "\tBB#" << MBB->getNumber());
290 for (MachineBasicBlock::livein_iterator LII = MBB->livein_begin()
    [all...]
LiveDebugVariables.cpp 87 bool dominates(MachineBasicBlock *MBB) {
90 if (LBlocks.count(MBB) != 0 || LS.dominates(DL, MBB))
128 /// insertDebugValue - Insert a DBG_VALUE into MBB at Idx for LocNo.
129 void insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, unsigned LocNo,
470 MachineBasicBlock *MBB = MFI;
471 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end();
478 SlotIndex Idx = MBBI == MBB->begin() ?
479 LIS->getMBBStartIdx(MBB)
    [all...]
StackSlotColoring.cpp 111 bool RemoveDeadStores(MachineBasicBlock* MBB);
144 MachineBasicBlock *MBB = &*MBBI;
145 BlockFrequency Freq = MBFI->getBlockFreq(MBB);
146 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end();
323 MachineBasicBlock *MBB = &*MBBI;
324 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end();
327 RemoveDeadStores(MBB);
368 bool StackSlotColoring::RemoveDeadStores(MachineBasicBlock* MBB) {
    [all...]
MachineBasicBlock.cpp 65 raw_ostream &llvm::operator<<(raw_ostream &OS, const MachineBasicBlock &MBB) {
66 MBB.print(OS);
70 /// addNodeToList (MBB) - When an MBB is added to an MF, we need to update the
71 /// parent pointer of the MBB, the MBB numbering, and any instructions in the
72 /// MBB to be on the right operand list for registers.
74 /// MBBs start out as #-1. When a MBB is added to a MachineFunction, it
75 /// gets the next available unique MBB number. If it is removed from a
128 /// MBB list to another, we need to update the parent pointers and the use/de
    [all...]
StrongPHIElimination.cpp 217 static MachineOperand *findLastUse(MachineBasicBlock *MBB, unsigned Reg) {
220 for (MachineBasicBlock::reverse_iterator RI = MBB->rbegin(); ; ++RI) {
221 assert (RI != MBB->rend());
370 MachineBasicBlock *MBB = I->first;
378 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin(),
379 SE = MBB->succ_end(); SI != SE; ++SI) {
389 MachineOperand *LastUse = findLastUse(MBB, SrcReg);
392 SrcLI.removeRange(LastUseIndex.getRegSlot(), LI->getMBBEndIdx(MBB));
520 MachineBasicBlock &MBB,
525 std::vector<MachineInstr*> &DefInstrs = PHISrcDefs[&MBB];
    [all...]
CalcSpillWeights.cpp 117 MachineBasicBlock *mbb = 0; local
143 if (mi->getParent() != mbb) {
144 mbb = mi->getParent();
145 loop = Loops.getLoopFor(mbb);
146 isExiting = loop ? loop->isLoopExiting(mbb) : false;
156 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb))
DeadMachineInstructionElim.cpp 97 MachineBasicBlock *MBB = &*I;
105 for (MachineBasicBlock::succ_iterator S = MBB->succ_begin(),
106 E = MBB->succ_end(); S != E; S++)
113 for (MachineBasicBlock::reverse_iterator MII = MBB->rbegin(),
114 MIE = MBB->rend(); MII != MIE; ) {
145 MIE = MBB->rend();
MachineBlockFrequencyInfo.cpp 54 getBlockFreq(const MachineBasicBlock *MBB) const {
55 return MBFI->getBlockFreq(MBB);
  /external/llvm/lib/CodeGen/SelectionDAG/
FastISel.cpp 79 // Instructions are appended to FuncInfo.MBB. If the basic block already
83 if (!FuncInfo.MBB->empty())
84 EmitStartPt = &FuncInfo.MBB->back();
232 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
313 FuncInfo.MBB = FuncInfo.InsertPt->getParent();
316 FuncInfo.InsertPt = FuncInfo.MBB->getFirstNonPHI();
319 while (FuncInfo.InsertPt != FuncInfo.MBB->end() &&
346 if (FuncInfo.InsertPt != FuncInfo.MBB->begin())
575 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
653 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL
    [all...]
  /external/llvm/include/llvm/CodeGen/
RegisterScavenging.h 35 MachineBasicBlock *MBB;
76 : MBB(NULL), NumPhysRegs(0), Tracking(false) {}
80 void enterBasicBlock(MachineBasicBlock *mbb);
86 /// forward - Move the internal MBB iterator and update register states.
89 /// forward - Move the internal MBB iterator and update register states until
92 if (!Tracking && MBB->begin() != I) forward();
105 /// skipTo - Move the internal MBB iterator but do not update register states.
MachineBasicBlock.h 382 /// transferSuccessors - Transfers all the successors from MBB to this
392 /// isPredecessor - Return true if the specified MBB is a predecessor of this
394 bool isPredecessor(const MachineBasicBlock *MBB) const;
396 /// isSuccessor - Return true if the specified MBB is a successor of this
398 bool isSuccessor(const MachineBasicBlock *MBB) const;
400 /// isLayoutSuccessor - Return true if the specified MBB will be emitted
402 /// falling through, control will transfer to the specified MBB. Note
403 /// that MBB need not be a successor at all, for example if this block
405 bool isLayoutSuccessor(const MachineBasicBlock *MBB) const;
420 /// SkipPHIsAndLabels - Return the first instruction in MBB after I that i
    [all...]
LiveIntervalAnalysis.h 135 /// adds a live range from that instruction to the end of its MBB.
194 SlotIndex getMBBStartIdx(const MachineBasicBlock *mbb) const {
195 return Indexes->getMBBStartIdx(mbb);
199 SlotIndex getMBBEndIdx(const MachineBasicBlock *mbb) const {
200 return Indexes->getMBBEndIdx(mbb);
204 const MachineBasicBlock *mbb) const {
205 return li.liveAt(getMBBStartIdx(mbb));
209 const MachineBasicBlock *mbb) const {
210 return li.liveAt(getMBBEndIdx(mbb).getPrevSlot());
217 void insertMBBInMaps(MachineBasicBlock *MBB) {
    [all...]
LiveVariables.h 103 /// findKill - Find a kill instruction in MBB. Return NULL if none is found.
104 MachineInstr *findKill(const MachineBasicBlock *MBB) const;
106 /// isLiveIn - Is Reg live in to MBB? This means that Reg is live through
107 /// MBB, or it is killed in MBB. If Reg is only used by PHI instructions in
108 /// MBB, it is not considered live in.
109 bool isLiveIn(const MachineBasicBlock &MBB,
278 void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB,
281 bool isLiveIn(unsigned Reg, const MachineBasicBlock &MBB) {
282 return getVarInfo(Reg).isLiveIn(MBB, Reg, *MRI)
    [all...]
  /external/llvm/lib/Target/R600/
AMDGPUInstrInfo.h 45 MachineBasicBlock &MBB) const;
75 virtual void copyPhysReg(MachineBasicBlock &MBB,
80 void storeRegToStackSlot(MachineBasicBlock &MBB,
85 void loadRegFromStackSlot(MachineBasicBlock &MBB,
116 void insertNoop(MachineBasicBlock &MBB,
177 virtual MachineInstrBuilder buildIndirectWrite(MachineBasicBlock *MBB,
185 virtual MachineInstrBuilder buildIndirectRead(MachineBasicBlock *MBB,
R600ExpandSpecialInstrs.cpp 65 MachineBasicBlock &MBB = *BB;
66 MachineBasicBlock::iterator I = MBB.begin();
67 while (I != MBB.end()) {
78 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I,
106 BMI = TII->buildDefaultInstruction(MBB, I, AMDGPU::INTERP_XY,
135 BMI = TII->buildDefaultInstruction(MBB, I, AMDGPU::INTERP_ZW,
159 BMI = TII->buildDefaultInstruction(MBB, I, AMDGPU::INTERP_LOAD_P0,
183 TII->buildSlotOfVectorInstruction(MBB, &MI, Chan, SubDstReg);
301 TII->buildDefaultInstruction(MBB, I, Opcode, DstReg, Src0, Src1);
AMDGPUAsmPrinter.cpp 87 MachineBasicBlock &MBB = *BB;
88 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
150 MachineBasicBlock &MBB = *BB;
151 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
  /external/llvm/lib/Target/ARM/
ARMLoadStoreOptimizer.cpp 93 bool MergeOps(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
99 void MergeOpsUpdate(MachineBasicBlock &MBB,
113 void MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex, unsigned Base,
119 void AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps);
120 bool FixInvalidRegPairOp(MachineBasicBlock &MBB,
122 bool MergeBaseUpdateLoadStore(MachineBasicBlock &MBB,
127 bool MergeBaseUpdateLSMultiple(MachineBasicBlock &MBB,
131 bool LoadStoreMultipleOpti(MachineBasicBlock &MBB);
132 bool MergeReturnIntoLDM(MachineBasicBlock &MBB);
282 ARMLoadStoreOpt::MergeOps(MachineBasicBlock &MBB,
    [all...]
ARMBaseInstrInfo.h 61 virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB,
65 virtual unsigned RemoveBranch(MachineBasicBlock &MBB) const;
66 virtual unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
109 virtual void copyPhysReg(MachineBasicBlock &MBB,
114 virtual void storeRegToStackSlot(MachineBasicBlock &MBB,
120 virtual void loadRegFromStackSlot(MachineBasicBlock &MBB,
128 virtual void reMaterialize(MachineBasicBlock &MBB,
167 const MachineBasicBlock *MBB,
170 virtual bool isProfitableToIfCvt(MachineBasicBlock &MBB,
180 virtual bool isProfitableToDupForIfCvt(MachineBasicBlock &MBB,
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDGPUInstrInfo.h 45 MachineBasicBlock &MBB) const;
73 virtual void copyPhysReg(MachineBasicBlock &MBB,
78 void storeRegToStackSlot(MachineBasicBlock &MBB,
83 void loadRegFromStackSlot(MachineBasicBlock &MBB,
114 void insertNoop(MachineBasicBlock &MBB,
R600ExpandSpecialInstrs.cpp 57 MachineBasicBlock &MBB = *BB;
58 MachineBasicBlock::iterator I = MBB.begin();
59 while (I != MBB.end()) {
151 BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(Opcode), DstReg)
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 544 static bool verifyCTRBranch(MachineBasicBlock *MBB,
551 if (I == MBB->begin()) {
552 Visited.insert(MBB);
558 Visited.insert(MBB);
559 if (I == MBB->end())
563 for (MachineBasicBlock::iterator IE = MBB->begin();; --I) {
571 DEBUG(dbgs() << "BB#" << MBB->getNumber() << " (" <<
572 MBB->getFullName() << ") instruction " << *I <<
589 if (MachineFunction::iterator(MBB) == MBB->getParent()->begin())
    [all...]
  /external/mesa3d/src/gallium/drivers/radeon/
AMDGPUInstrInfo.h 45 MachineBasicBlock &MBB) const;
73 virtual void copyPhysReg(MachineBasicBlock &MBB,
78 void storeRegToStackSlot(MachineBasicBlock &MBB,
83 void loadRegFromStackSlot(MachineBasicBlock &MBB,
114 void insertNoop(MachineBasicBlock &MBB,
R600ExpandSpecialInstrs.cpp 57 MachineBasicBlock &MBB = *BB;
58 MachineBasicBlock::iterator I = MBB.begin();
59 while (I != MBB.end()) {
151 BuildMI(MBB, I, MBB.findDebugLoc(I), TII->get(Opcode), DstReg)
  /external/llvm/lib/Target/Hexagon/
HexagonInstrInfo.cpp 117 HexagonInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB,
144 MachineInstr *Term = MBB.getFirstTerminator();
145 if (isPredicated(Term) && !AnalyzeBranch(MBB, NewTBB, NewFBB, Cond,
148 llvm::next(MachineFunction::iterator(&MBB));
151 RemoveBranch(MBB);
152 return InsertBranch(MBB, TBB, 0, Cond, DL);
155 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB);
157 BuildMI(&MBB, DL,
163 BuildMI(&MBB, DL, get(BccOpc)).addReg(Cond[regPos].getReg()).addMBB(TBB);
164 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB)
    [all...]
  /external/llvm/lib/Target/SystemZ/
SystemZElimCompare.cpp 73 bool processBlock(MachineBasicBlock *MBB);
99 // Return true if CC is live out of MBB.
100 static bool isCCLiveOut(MachineBasicBlock *MBB) {
101 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin(),
102 SE = MBB->succ_end(); SI != SE; ++SI)
331 MachineBasicBlock *MBB = Compare->getParent();
332 MachineBasicBlock::iterator MBBI = Compare, MBBE = MBB->begin();
425 // Process all comparison instructions in MBB. Return true if something
427 bool SystemZElimCompare::processBlock(MachineBasicBlock *MBB) {
433 bool CompleteCCUsers = !isCCLiveOut(MBB);
    [all...]

Completed in 699 milliseconds

1 2 3 4 56 7 8 91011>>