/external/llvm/lib/CodeGen/ |
RegAllocBasic.cpp | 87 MachineFunction *MF; 130 virtual bool runOnMachineFunction(MachineFunction &mf); 431 void RegAllocBase::addMBBLiveIns(MachineFunction *MF) { 434 if (MF->size() <= 1) 442 MachineFunction::iterator MBB = llvm::next(MF->begin()); 443 MachineFunction::iterator MFE = MF->end(); 531 bool RABasic::runOnMachineFunction(MachineFunction &mf) { 534 << ((Value*)mf.getFunction())->getName() << '\n'); 536 MF = &mf; [all...] |
MachineInstr.cpp | 106 if (MachineFunction *MF = MBB->getParent()) { 109 AddRegOperandToRegInfo(&MF->getRegInfo()); 172 if (MachineFunction *MF = MBB->getParent()) 173 AddRegOperandToRegInfo(&MF->getRegInfo()); 234 if (const MachineFunction *MF = MBB->getParent()) 235 TM = &MF->getTarget(); 544 MachineInstr::MachineInstr(MachineFunction &MF, const MachineInstr &MI) 747 void MachineInstr::addMemOperand(MachineFunction &MF, 753 mmo_iterator NewMemRefs = MF.allocateMemRefsArray(NewNum); [all...] |
PeepholeOptimizer.cpp | 86 virtual bool runOnMachineFunction(MachineFunction &MF); 396 bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) { 400 TM = &MF.getTarget(); 402 MRI = &MF.getRegInfo(); 410 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) {
|
AggressiveAntiDepBreaker.h | 118 MachineFunction& MF;
|
RegisterScavenging.cpp | 80 MachineFunction &MF = *mbb->getParent(); 81 const TargetMachine &TM = MF.getTarget(); 84 MRI = &MF.getRegInfo(); 95 ReservedRegs = TRI->getReservedRegs(MF);
|
VirtRegMap.h | 56 MachineFunction *MF; 152 virtual bool runOnMachineFunction(MachineFunction &MF); 160 assert(MF && "getMachineFunction called before runOnMachineFunction"); 161 return *MF; 511 /// rewrite - Rewrite all instructions in MF to use only physical registers
|
CallingConvLower.cpp | 26 CCState::CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &mf, 29 : CallingConv(CC), IsVarArg(isVarArg), MF(mf), TM(tm), 52 if (MF.getFrameInfo()->getMaxAlignment() < Align) 53 MF.getFrameInfo()->setMaxAlignment(Align);
|
IfConversion.cpp | 171 virtual bool runOnMachineFunction(MachineFunction &MF); 188 void AnalyzeBlocks(MachineFunction &MF, std::vector<IfcvtToken*> &Tokens); 260 bool IfConverter::runOnMachineFunction(MachineFunction &MF) { 261 TLI = MF.getTarget().getTargetLowering(); 262 TII = MF.getTarget().getInstrInfo(); 263 TRI = MF.getTarget().getRegisterInfo(); 265 InstrItins = MF.getTarget().getInstrItineraryData(); 270 bool BFChange = BF.OptimizeFunction(MF, TII, 271 MF.getTarget().getRegisterInfo(), 275 << MF.getFunction()->getName() << "\'") [all...] |
StrongPHIElimination.cpp | 233 bool StrongPHIElimination::runOnMachineFunction(MachineFunction &MF) { 234 MRI = &MF.getRegInfo(); 235 TII = MF.getTarget().getInstrInfo(); 239 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); 272 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); 283 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); 300 for (MachineFunction::iterator I = MF.begin(), E = MF.end() [all...] |
PostRASchedulerList.cpp | 139 MachineFunction &MF, MachineLoopInfo &MLI, MachineDominatorTree &MDT, 184 MachineFunction &MF, MachineLoopInfo &MLI, MachineDominatorTree &MDT, 188 : ScheduleDAGInstrs(MF, MLI, MDT), Topo(SUnits), AA(AA), 191 const TargetMachine &TM = MF.getTarget(); 197 (AntiDepBreaker *)new AggressiveAntiDepBreaker(MF, RCI, CriticalPathRCs) : 199 (AntiDepBreaker *)new CriticalAntiDepBreaker(MF, RCI) : NULL)); 441 BitVector ReservedRegs = TRI->getReservedRegs(MF);
|
MachineLICM.cpp | 106 virtual bool runOnMachineFunction(MachineFunction &MF); 275 bool MachineLICM::runOnMachineFunction(MachineFunction &MF) { 280 DEBUG(dbgs() << MF.getFunction()->getName() << " ********\n"); 283 TM = &MF.getTarget(); 287 MFI = MF.getFrameInfo(); 288 MRI = &MF.getRegInfo(); 290 AllocatableSet = TRI->getAllocatableSet(MF); 300 RegLimit[(*I)->getID()] = TRI->getRegPressureLimit(*I, MF); [all...] |
/external/llvm/lib/Target/Mips/ |
MipsISelLowering.cpp | 544 AddLiveIn(MachineFunction &MF, unsigned PReg, TargetRegisterClass *RC) 547 unsigned VReg = MF.getRegInfo().createVirtualRegister(RC); 548 MF.getRegInfo().addLiveIn(PReg, VReg); 732 MachineFunction *MF = BB->getParent(); 733 MachineRegisterInfo &RegInfo = MF->getRegInfo(); 748 MachineBasicBlock *loopMBB = MF->CreateMachineBasicBlock(LLVM_BB); 749 MachineBasicBlock *exitMBB = MF->CreateMachineBasicBlock(LLVM_BB); 752 MF->insert(It, loopMBB); 753 MF->insert(It, exitMBB); 805 MachineFunction *MF = BB->getParent() [all...] |
MipsAsmPrinter.cpp | 54 MipsMCInstLower MCInstLowering(Mang, *MF, *this); 103 const MachineFrameInfo *MFI = MF->getFrameInfo(); 169 unsigned stackReg = RI.getFrameRegister(*MF); 171 unsigned stackSize = MF->getFrameInfo()->getStackSize();
|
MipsInstrInfo.cpp | 227 MipsInstrInfo::emitFrameIndexDebugValue(MachineFunction &MF, int FrameIx, 230 MachineInstrBuilder MIB = BuildMI(MF, DL, get(Mips::DBG_VALUE)) 442 unsigned MipsInstrInfo::getGlobalBaseReg(MachineFunction *MF) const { 443 MipsFunctionInfo *MipsFI = MF->getInfo<MipsFunctionInfo>(); 449 MachineBasicBlock &FirstMBB = MF->front(); 451 MachineRegisterInfo &RegInfo = MF->getRegInfo(); 452 const TargetInstrInfo *TII = MF->getTarget().getInstrInfo();
|
/external/llvm/include/llvm/CodeGen/ |
LiveVariables.h | 142 MachineFunction *MF; 191 virtual bool runOnMachineFunction(MachineFunction &MF);
|
CallingConvLower.h | 157 MachineFunction &MF; 172 CCState(CallingConv::ID CC, bool isVarArg, MachineFunction &MF, 182 MachineFunction &getMachineFunction() const { return MF; }
|
/external/llvm/lib/Target/X86/ |
X86AsmPrinter.cpp | 53 bool X86AsmPrinter::runOnMachineFunction(MachineFunction &MF) { 54 SetupMachineFunction(MF); 57 bool Intrn = MF.getFunction()->hasInternalLinkage(); 182 O << " + [.-" << *MF->getPICBaseSymbol() << ']'; 187 O << '-' << *MF->getPICBaseSymbol(); 200 O << "@TLVP" << '-' << *MF->getPICBaseSymbol(); 340 O << *MF->getPICBaseSymbol() << '\n'; 341 O << *MF->getPICBaseSymbol() << ':';
|
X86FloatingPoint.cpp | 71 virtual bool runOnMachineFunction(MachineFunction &MF); 127 void bundleCFG(MachineFunction &MF); 287 bool processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB); 323 bool FPS::runOnMachineFunction(MachineFunction &MF) { 330 if (MF.getRegInfo().isPhysRegUsed(X86::FP0+i)) { 339 TII = MF.getTarget().getInstrInfo(); 342 bundleCFG(MF); 349 MachineBasicBlock *Entry = MF.begin(); 355 Changed |= processBasicBlock(MF, **I); 358 if (MF.size() != Processed.size() [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfDebug.h | 464 bool addCurrentFnArgument(const MachineFunction *MF, 473 void collectVariableInfoFromMMITable(const MachineFunction * MF, 509 void beginFunction(const MachineFunction *MF); 513 void endFunction(const MachineFunction *MF);
|
Win64Exception.cpp | 55 void Win64Exception::BeginFunction(const MachineFunction *MF) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
InstrEmitter.h | 29 MachineFunction *MF;
|
InstrEmitter.cpp | 370 MachineConstantPool *MCP = MF->getConstantPool(); 466 MachineInstr *MI = BuildMI(*MF, Node->getDebugLoc(), 499 MachineInstr *MI = BuildMI(*MF, Node->getDebugLoc(), TII->get(Opc)); 554 MachineInstr *MI = BuildMI(*MF, Node->getDebugLoc(), 597 return TII->emitFrameIndexDebugValue(*MF, FrameIx, Offset, MDPtr, DL); 601 MachineInstrBuilder MIB = BuildMI(*MF, DL, II); 687 MachineInstr *MI = BuildMI(*MF, Node->getDebugLoc(), II); [all...] |
/external/llvm/lib/Target/PTX/ |
PTXMachineFunctionInfo.h | 33 PTXMachineFunctionInfo(MachineFunction &MF)
|
PTXAsmPrinter.cpp | 57 virtual bool runOnMachineFunction(MachineFunction &MF); 206 bool PTXAsmPrinter::runOnMachineFunction(MachineFunction &MF) { 207 SetupMachineFunction(MF); 216 const PTXMachineFunctionInfo *MFI = MF->getInfo<PTXMachineFunctionInfo>(); 231 const MachineFrameInfo* FrameInfo = MF->getFrameInfo(); 256 const MDNode *S = DL.getScope(MF->getFunction()->getContext()); 496 const PTXMachineFunctionInfo *MFI = MF->getInfo<PTXMachineFunctionInfo>();
|
/external/llvm/lib/Transforms/IPO/ |
LoopExtractor.cpp | 204 Function *MF = M.getFunction(F->getName()); 205 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?"); 208 Function::iterator BBI = MF->begin();
|