Searched defs:MF (Results 101 - 125 of 275) sorted by relevance

1234567891011

/external/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.cpp42 SparcRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const {
56 BitVector SparcRegisterInfo::getReservedRegs(const MachineFunction &MF) const {
90 SparcRegisterInfo::getPointerRegClass(const MachineFunction &MF, argument
95 static void replaceFI(MachineFunction &MF, argument
111 const TargetInstrInfo &TII = *MF.getTarget().getInstrInfo();
162 MachineFunction &MF = *MI.getParent()->getParent(); local
163 int64_t Offset = MF.getFrameInfo()->getObjectOffset(FrameIndex) +
166 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>();
171 int stackSize = MF.getFrameInfo()->getStackSize();
177 const TargetInstrInfo &TII = *MF
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZMachineFunctionInfo.h28 explicit SystemZMachineFunctionInfo(MachineFunction &MF) argument
/external/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp39 bool X86FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const {
40 return !MF.getFrameInfo()->hasVarSizedObjects();
46 bool X86FrameLowering::hasFP(const MachineFunction &MF) const {
47 const MachineFrameInfo *MFI = MF.getFrameInfo();
48 const MachineModuleInfo &MMI = MF.getMMI();
49 const TargetRegisterInfo *RegInfo = MF.getTarget().getRegisterInfo();
51 return (MF.getTarget().Options.DisableFramePointerElim(MF) ||
52 RegInfo->needsStackRealignment(MF) ||
55 MF
94 const MachineFunction *MF = MBB.getParent(); local
[all...]
H A DX86PadShortFunction.cpp56 bool runOnMachineFunction(MachineFunction &MF) override;
95 bool PadShortFunc::runOnMachineFunction(MachineFunction &MF) { argument
96 const AttributeSet &FnAttrs = MF.getFunction()->getAttributes();
104 TM = &MF.getTarget();
113 findReturns(MF.begin());
H A DX86Subtarget.cpp185 void X86Subtarget::resetSubtargetFeatures(const MachineFunction *MF) { argument
186 AttributeSet FnAttrs = MF->getFunction()->getAttributes();
/external/llvm/lib/Target/XCore/
H A DXCoreMachineFunctionInfo.h52 explicit XCoreFunctionInfo(MachineFunction &MF) : argument
65 int createLRSpillSlot(MachineFunction &MF);
72 int createFPSpillSlot(MachineFunction &MF);
79 const int* createEHSpillSlot(MachineFunction &MF);
97 bool isLargeFrame(const MachineFunction &MF) const;
/external/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp256 Function *MF = M.getFunction(F->getName()); local
257 assert(MF->getFunctionType() == F->getFunctionType() && "Wrong function?");
260 Function::iterator BBI = MF->begin();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUISelLowering.cpp316 MachineFunction &MF = DAG.getMachineFunction(); local
317 MachineRegisterInfo &MRI = MF.getRegInfo();
H A DAMDGPUInstrInfo.cpp141 AMDGPUInstrInfo::foldMemoryOperandImpl(MachineFunction &MF, argument
149 AMDGPUInstrInfo::foldMemoryOperandImpl(MachineFunction &MF, argument
164 AMDGPUInstrInfo::unfoldMemoryOperand(MachineFunction &MF, MachineInstr *MI, argument
238 void AMDGPUInstrInfo::convertToISA(MachineInstr & MI, MachineFunction &MF, argument
241 MachineRegisterInfo &MRI = MF.getRegInfo();
H A DR600ISelLowering.cpp56 MachineFunction * MF = BB->getParent(); local
57 MachineRegisterInfo &MRI = MF->getRegInfo();
147 R600MachineFunctionInfo * MFI = MF->getInfo<R600MachineFunctionInfo>();
259 MachineFunction &MF = DAG.getMachineFunction(); local
260 MachineRegisterInfo &MRI = MF.getRegInfo();
/external/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h82 const MachineFunction *MF; member in class:llvm::AsmPrinter
183 bool runOnMachineFunction(MachineFunction &MF) override {
184 SetupMachineFunction(MF); variable
196 void SetupMachineFunction(MachineFunction &MF);
H A DFunctionLoweringInfo.h56 MachineFunction *MF; member in class:llvm::FunctionLoweringInfo
129 void set(const Function &Fn, MachineFunction &MF, SelectionDAG *DAG);
H A DLexicalScopes.h139 LexicalScopes() : MF(nullptr), CurrentFnLexicalScope(nullptr) {}
224 const MachineFunction *MF; member in class:llvm::LexicalScopes
H A DLiveIntervalAnalysis.h51 MachineFunction* MF; member in class:llvm::LiveIntervals
H A DLiveRangeEdit.h109 /// @param MF The MachineFunction the live range edit is taking place in.
116 MachineFunction &MF,
121 MRI(MF.getRegInfo()), LIS(lis), VRM(vrm),
122 TII(*MF.getTarget().getInstrInfo()),
114 LiveRangeEdit(LiveInterval *parent, SmallVectorImpl<unsigned> &newRegs, MachineFunction &MF, LiveIntervals &lis, VirtRegMap *vrm, Delegate *delegate = nullptr) argument
/external/llvm/include/llvm/Target/
H A DTargetFrameLowering.h103 assignCalleeSavedSpillSlots(MachineFunction &MF, argument
133 virtual void emitPrologue(MachineFunction &MF) const = 0;
134 virtual void emitEpilogue(MachineFunction &MF,
139 virtual void adjustForSegmentedStacks(MachineFunction &MF) const { }
143 virtual void adjustForHiPEPrologue(MachineFunction &MF) const { }
170 virtual bool hasFP(const MachineFunction &MF) const = 0;
177 virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
178 return !hasFP(MF);
188 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const {
189 return hasReservedCallFrame(MF) || hasF
205 processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS = nullptr) const argument
215 processFunctionBeforeFrameFinalized(MachineFunction &MF, RegScavenger *RS = nullptr) const argument
227 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const argument
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.cpp83 const MachineFunction *MF) {
84 const MDNode *Scope = DL.getScope(MF->getFunction()->getContext());
264 void WinCodeViewLineTables::beginFunction(const MachineFunction *MF) { argument
270 const Function *GV = MF->getFunction();
280 for (const auto &MBB : *MF) {
301 PrologEndLoc.getFnDebugLoc(MF->getFunction()->getContext());
302 maybeRecordLocation(FnStartDL, MF);
306 void WinCodeViewLineTables::endFunction(const MachineFunction *MF) { argument
310 const Function *GV = MF->getFunction();
333 maybeRecordLocation(DL, Asm->MF);
82 maybeRecordLocation(DebugLoc DL, const MachineFunction *MF) argument
[all...]
/external/llvm/lib/CodeGen/
H A DGCStrategy.cpp73 void FindSafePoints(MachineFunction &MF);
79 void FindStackOffsets(MachineFunction &MF);
87 bool runOnMachineFunction(MachineFunction &MF) override;
370 void GCMachineCodeAnalysis::FindSafePoints(MachineFunction &MF) { argument
371 for (MachineFunction::iterator BBI = MF.begin(),
372 BBE = MF.end(); BBI != BBE; ++BBI)
379 void GCMachineCodeAnalysis::FindStackOffsets(MachineFunction &MF) { argument
386 if (MF.getFrameInfo()->isDeadObjectIndex(RI->Num)) {
389 RI->StackOffset = TFI->getFrameIndexOffset(MF, RI->Num);
395 bool GCMachineCodeAnalysis::runOnMachineFunction(MachineFunction &MF) { argument
[all...]
H A DInterferenceCache.h27 MachineFunction *MF; member in class:llvm::InterferenceCache
51 /// MF - The current function.
52 MachineFunction *MF; member in class:llvm::InterferenceCache::Entry
102 MF = mf;
122 const MachineFunction *MF);
153 : TRI(nullptr), LIUArray(nullptr), MF(nullptr), PhysRegEntries(nullptr),
H A DLiveRangeEdit.cpp407 LiveRangeEdit::calculateRegClassAndHint(MachineFunction &MF, argument
410 VirtRegAuxInfo VRAI(MF, LIS, Loops, MBFI);
413 if (MRI.recomputeRegClass(LI.reg, MF.getTarget()))
H A DLocalStackSlotAllocation.cpp82 bool runOnMachineFunction(MachineFunction &MF) override;
103 bool LocalStackSlotPass::runOnMachineFunction(MachineFunction &MF) { argument
104 MachineFrameInfo *MFI = MF.getFrameInfo();
105 const TargetRegisterInfo *TRI = MF.getTarget().getRegisterInfo();
110 if (!TRI->requiresVirtualBaseRegisters(MF) || LocalObjectCount == 0)
117 calculateFrameObjectOffsets(MF);
120 bool UsedBaseRegs = insertFrameReferenceRegisters(MF);
390 const MachineFunction *MF = MI->getParent()->getParent(); local
391 const TargetRegisterClass *RC = TRI->getPointerRegClass(*MF);
H A DMachineInstrBundle.cpp29 bool runOnMachineFunction(MachineFunction &MF) override;
38 bool UnpackMachineBundles::runOnMachineFunction(MachineFunction &MF) { argument
40 for (MachineFunction::iterator I = MF.begin(), E = MF.end(); I != E; ++I) {
80 bool runOnMachineFunction(MachineFunction &MF) override;
89 bool FinalizeMachineBundles::runOnMachineFunction(MachineFunction &MF) { argument
90 return llvm::finalizeBundles(MF);
223 bool llvm::finalizeBundles(MachineFunction &MF) { argument
225 for (MachineFunction::iterator I = MF.begin(), E = MF
[all...]
H A DMachineRegisterInfo.cpp400 void MachineRegisterInfo::freezeReservedRegs(const MachineFunction &MF) { argument
401 ReservedRegs = getTargetRegisterInfo()->getReservedRegs(MF);
407 const MachineFunction &MF) const {
H A DRegisterScavenging.cpp72 MachineFunction &MF = *mbb->getParent(); local
73 const TargetMachine &TM = MF.getTarget();
76 MRI = &MF.getRegInfo();
95 const MCPhysReg *CSRegs = TRI->getCalleeSavedRegs(&MF);
H A DSplitKit.h44 const MachineFunction &MF; member in class:llvm::SplitAnalysis

Completed in 268 milliseconds

1234567891011