/external/llvm/lib/Target/Mips/ |
Mips16FrameLowering.cpp | 31 MachineBasicBlock &MBB = MF.front(); 35 MachineBasicBlock::iterator MBBI = MBB.begin(); 36 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 47 TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); 51 BuildMI(MBB, MBBI, dl, 57 BuildMI(MBB, MBBI, dl, 72 BuildMI(MBB, MBBI, dl, TII.get(Mips::MoveR3216), Mips::S0) 78 MachineBasicBlock &MBB) const { 79 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); 90 BuildMI(MBB, MBBI, dl, TII.get(Mips::Move32R16), Mips::SP [all...] |
Mips16RegisterInfo.cpp | 62 (MachineBasicBlock &MBB, 68 const TargetInstrInfo &TII = *MBB.getParent()->getTarget().getInstrInfo(); 69 TII.copyPhysReg(MBB, I, DL, Mips::T0, Reg, true); 70 TII.copyPhysReg(MBB, UseMI, DL, Reg, Mips::T0, true); 139 MachineBasicBlock &MBB = *MI.getParent(); 144 MBB.getParent()->getTarget().getInstrInfo()); 145 FrameReg = TII.loadImmediate(FrameReg, Offset, MBB, II, DL, NewImm);
|
MipsSERegisterInfo.cpp | 117 MachineBasicBlock &MBB = *MI.getParent(); 123 MBB.getParent()->getTarget().getInstrInfo()); 124 unsigned Reg = TII.loadImmediate(Offset, MBB, II, DL, &NewImm); 125 BuildMI(MBB, II, DL, TII.get(ADDu), Reg).addReg(FrameReg)
|
/external/llvm/lib/Target/PowerPC/ |
PPCBranchSelector.cpp | 71 // Measure each MBB and compute a size for the entire function. 75 MachineBasicBlock *MBB = MFI; 78 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end(); 82 BlockSizes[MBB->getNumber()] = BlockSize; 98 // bCC MBB 101 // b MBB 111 MachineBasicBlock &MBB = *MFI; 113 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end() [all...] |
/external/llvm/lib/Target/R600/ |
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();
|
R600EmitClauseMarkers.cpp | 163 MakeALUClause(MachineBasicBlock &MBB, MachineBasicBlock::iterator I) { 168 for (MachineBasicBlock::iterator E = MBB.end(); I != E; ++I) { 202 BuildMI(MBB, ClauseHead, MBB.findDebugLoc(ClauseHead), TII->get(Opcode)) 228 MachineBasicBlock &MBB = *BB; 229 MachineBasicBlock::iterator I = MBB.begin(); 232 for (MachineBasicBlock::iterator E = MBB.end(); I != E;) { 234 I = MakeALUClause(MBB, I);
|
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);
|
/external/llvm/lib/Target/Sparc/ |
SparcFrameLowering.cpp | 39 MachineBasicBlock &MBB = MF.front(); 43 MachineBasicBlock::iterator MBBI = MBB.begin(); 44 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); 60 BuildMI(MBB, MBBI, dl, TII.get(SAVEri), SP::O6) 66 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1).addImm(OffHi); 68 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) 70 BuildMI(MBB, MBBI, dl, TII.get(SAVErr), SP::O6) 76 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, 87 BuildMI(MBB, I, DL, TII.get(SP::ADDri), SP::O6).addReg(SP::O6) 90 MBB.erase(I) [all...] |
/external/llvm/lib/Target/SystemZ/ |
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/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | 114 static unsigned calcLiveInMask(MachineBasicBlock *MBB) { 116 for (MachineBasicBlock::livein_iterator I = MBB->livein_begin(), 117 E = MBB->livein_end(); I != E; ++I) { 129 MachineBasicBlock *MBB; // Current basic block 169 // Set up our stack model to match the incoming registers to MBB. 238 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc(); 253 BuildMI(*MBB, I, dl, TII->get(X86::XCH_F)).addReg(STReg); 258 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc(); 262 BuildMI(*MBB, I, dl, TII->get(X86::LD_Frr)).addReg(STReg); 304 bool processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB); [all...] |
X86PadShortFunction.cpp | 61 void findReturns(MachineBasicBlock *MBB, 64 bool cyclesUntilReturn(MachineBasicBlock *MBB, 67 void addPadding(MachineBasicBlock *MBB, 112 MachineBasicBlock *MBB; 118 MBB = I->first; 124 assert(MBB->size() > 0 && 126 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); 133 addPadding(MBB, ReturnLoc, Threshold - Cycles); 142 /// findReturn - Starting at MBB, follow control flow and add all 144 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
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/include/llvm/CodeGen/ |
FunctionLoweringInfo.h | 89 /// MBB - The current block. 90 MachineBasicBlock *MBB; 92 /// MBB - The current insert position inside the current block. 118 /// If the current MBB is a landing pad, the exception pointer and exception 224 MachineModuleInfo *MMI, MachineBasicBlock *MBB); 229 MachineBasicBlock *MBB);
|
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.
|
MachineRelocation.h | 60 MachineBasicBlock *MBB; // If this is a pointer to a LLVM BB 122 MachineBasicBlock *MBB, intptr_t cst = 0) { 132 Result.Target.MBB = MBB; 288 return Target.MBB;
|
RegisterPressure.h | 181 const MachineBasicBlock *MBB; 211 MF(0), TRI(0), RCI(0), LIS(0), MBB(0), P(rp), RequireIntervals(true), 215 MF(0), TRI(0), RCI(0), LIS(0), MBB(0), P(rp), RequireIntervals(false), 219 const LiveIntervals *lis, const MachineBasicBlock *mbb,
|
/external/llvm/lib/CodeGen/ |
LiveRangeCalc.cpp | 114 MachineBasicBlock *MBB = I->DomNode->getBlock(); 117 tie(Start, End) = Indexes->getMBBRange(MBB); 125 assert(Seen.test(MBB->getNumber())); 126 LiveOut[MBB] = LiveOutPair(I->Value, (MachineDomTreeNode *)0); 144 assert(KillMBB && "No MBB at Kill"); 146 // Is there a def in the same MBB we can extend? 188 MachineBasicBlock *MBB = MF->getBlockNumbered(WorkList[i]); 191 if (MBB->pred_empty()) { 192 MBB->getParent()->verify(); 197 !MBB->isLiveIn(PhysReg)) [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...] |
MachineInstrBundle.cpp | 41 MachineBasicBlock *MBB = &*I; 43 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), 44 MIE = MBB->instr_end(); MII != MIE; ) { 100 void llvm::finalizeBundle(MachineBasicBlock &MBB, 104 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); 106 const TargetMachine &TM = MBB.getParent()->getTarget(); 110 MachineInstrBuilder MIB = BuildMI(*MBB.getParent(), FirstMI->getDebugLoc(), 208 /// with 'InsideBundle' marker. It returns the MBB instruction iterator that 211 llvm::finalizeBundle(MachineBasicBlock &MBB, 213 MachineBasicBlock::instr_iterator E = MBB.instr_end() [all...] |
PeepholeOptimizer.cpp | 115 bool optimizeBitcastInstr(MachineInstr *MI, MachineBasicBlock *MBB); 116 bool optimizeCmpInstr(MachineInstr *MI, MachineBasicBlock *MBB); 117 bool optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 123 bool foldImmediate(MachineInstr *MI, MachineBasicBlock *MBB, 148 optimizeExtInstr(MachineInstr *MI, MachineBasicBlock *MBB, 230 if (UseMBB == MBB) { 238 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { 243 // Both will be live out of the def MBB anyway. Don't extend live range of 312 MachineBasicBlock *MBB) { 378 MachineBasicBlock *MBB) { [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonCFGOptimizer.cpp | 107 MachineBasicBlock* MBB = MBBb; 110 MachineBasicBlock::iterator MII = MBB->getFirstTerminator(); 111 if (MII != MBB->end()) { 145 unsigned NumSuccs = MBB->succ_size(); 146 MachineBasicBlock::succ_iterator SI = MBB->succ_begin(); 152 if (MBB->isLayoutSuccessor(FirstSucc)) { 155 } else if (MBB->isLayoutSuccessor(SecondSucc)) { 191 MBB->removeSuccessor(JumpAroundTarget); 192 MBB->addSuccessor(UncondTarget);
|
HexagonPeephole.cpp | 127 MachineBasicBlock* MBB = MBBb; 132 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end();
|
/external/llvm/lib/Target/MSP430/ |
MSP430FrameLowering.cpp | 42 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB 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, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SPW [all...] |
/external/llvm/lib/Target/XCore/ |
XCoreAsmPrinter.cpp | 199 MachineBasicBlock *MBB = JTBBs[i]; 202 O << *MBB->getSymbol();
|
XCoreRegisterInfo.cpp | 158 MachineBasicBlock &MBB = *MI.getParent(); 169 loadConstant(MBB, II, ScratchReg, Offset, dl); 172 BuildMI(MBB, II, dl, TII.get(XCore::LDW_3r), Reg) 177 BuildMI(MBB, II, dl, TII.get(XCore::STW_l3r)) 183 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l3r), Reg) 193 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg) 198 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus)) 204 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l2rus), Reg) 222 BuildMI(MBB, II, dl, TII.get(NewOpcode), Reg) 227 BuildMI(MBB, II, dl, TII.get(NewOpcode) [all...] |