Searched refs:MF (Results 1 - 25 of 501) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/R600/
H A DR600MachineFunctionInfo.cpp19 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF) argument
20 : AMDGPUMachineFunction(MF) { }
H A DAMDGPUFrameLowering.h36 unsigned getStackWidth(const MachineFunction &MF) const;
37 int getFrameIndexOffset(const MachineFunction &MF, int FI) const override;
40 void emitPrologue(MachineFunction &MF) const override;
41 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
42 bool hasFP(const MachineFunction &MF) const override;
/external/llvm/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp28 int TargetFrameLowering::getFrameIndexOffset(const MachineFunction &MF, argument
30 const MachineFrameInfo *MFI = MF.getFrameInfo();
35 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, argument
37 const TargetRegisterInfo *RI = MF.getTarget().getRegisterInfo();
42 FrameReg = RI->getFrameRegister(MF);
43 return getFrameIndexOffset(MF, FI);
H A DTargetOptionsImpl.cpp22 bool TargetOptions::DisableFramePointerElim(const MachineFunction &MF) const {
25 if (MF.getFunction()->hasFnAttribute("no-frame-pointer-elim-non-leaf") &&
27 const MachineFrameInfo *MFI = MF.getFrameInfo();
H A DMachineFunctionAnalysis.cpp23 FunctionPass(ID), TM(tm), MF(nullptr) {
29 assert(!MF && "MachineFunctionAnalysis left initialized!");
47 assert(!MF && "MachineFunctionAnalysis already initialized!");
48 MF = new MachineFunction(&F, TM, NextFnNum++,
55 delete MF;
56 MF = nullptr;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DR600MachineFunctionInfo.cpp14 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF) argument
H A DSIMachineFunctionInfo.cpp15 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) argument
H A DAMDILFrameLowering.h37 virtual int getFrameIndexOffset(const MachineFunction &MF,
41 virtual void emitPrologue(MachineFunction &MF) const;
42 virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
43 virtual bool hasFP(const MachineFunction &MF) const;
H A DAMDILFrameLowering.cpp29 int AMDGPUFrameLowering::getFrameIndexOffset(const MachineFunction &MF, argument
31 const MachineFrameInfo *MFI = MF.getFrameInfo();
42 AMDGPUFrameLowering::emitPrologue(MachineFunction &MF) const
46 AMDGPUFrameLowering::emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const argument
50 AMDGPUFrameLowering::hasFP(const MachineFunction &MF) const
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600MachineFunctionInfo.cpp14 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF) argument
H A DSIMachineFunctionInfo.cpp15 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) argument
H A DAMDILFrameLowering.h37 virtual int getFrameIndexOffset(const MachineFunction &MF,
41 virtual void emitPrologue(MachineFunction &MF) const;
42 virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
43 virtual bool hasFP(const MachineFunction &MF) const;
H A DAMDILFrameLowering.cpp29 int AMDGPUFrameLowering::getFrameIndexOffset(const MachineFunction &MF, argument
31 const MachineFrameInfo *MFI = MF.getFrameInfo();
42 AMDGPUFrameLowering::emitPrologue(MachineFunction &MF) const
46 AMDGPUFrameLowering::emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const argument
50 AMDGPUFrameLowering::hasFP(const MachineFunction &MF) const
/external/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.h33 getCalleeSavedRegs(const MachineFunction *MF =nullptr) const override;
35 BitVector getReservedRegs(const MachineFunction &MF) const override;
37 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
39 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
41 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
48 unsigned getFrameRegister(const MachineFunction &MF) const override;
51 static bool needsFrameMoves(const MachineFunction &MF);
H A DXCoreMachineFunctionInfo.cpp18 bool XCoreFunctionInfo::isLargeFrame(const MachineFunction &MF) const {
20 CachedEStackSize = MF.getFrameInfo()->estimateStackSize(MF);
34 int XCoreFunctionInfo::createLRSpillSlot(MachineFunction &MF) { argument
39 MachineFrameInfo *MFI = MF.getFrameInfo();
40 if (! MF.getFunction()->isVarArg()) {
50 int XCoreFunctionInfo::createFPSpillSlot(MachineFunction &MF) { argument
55 MachineFrameInfo *MFI = MF.getFrameInfo();
61 const int* XCoreFunctionInfo::createEHSpillSlot(MachineFunction &MF) { argument
66 MachineFrameInfo *MFI = MF
[all...]
/external/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.h29 void emitPrologue(MachineFunction &MF) const override;
30 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 eliminateCallFramePseudoInstr(MachineFunction &MF,
37 bool hasReservedCallFrame(const MachineFunction &MF) const override;
38 bool hasFP(const MachineFunction &MF) const override;
39 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
44 void remapRegsForLeafProc(MachineFunction &MF) const;
46 // Returns true if MF is a leaf procedure.
47 bool isLeafProc(MachineFunction &MF) const;
51 void emitSPAdjustment(MachineFunction &MF,
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp33 bool NVPTXFrameLowering::hasFP(const MachineFunction &MF) const { return true; }
35 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF) const {
36 if (MF.getFrameInfo()->hasStackObjects()) {
37 MachineBasicBlock &MBB = MF.front();
44 MachineRegisterInfo &MRI = MF.getRegInfo();
52 MF.getTarget().getInstrInfo()->get(NVPTX::cvta_local_yes_64),
55 MF.getTarget().getInstrInfo()->get(NVPTX::MOV_DEPOT_ADDR_64),
56 LocalReg).addImm(MF.getFunctionNumber());
61 MF.getTarget().getInstrInfo()->get(NVPTX::cvta_local_yes),
64 MF
70 emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const argument
75 eliminateCallFramePseudoInstr( MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
[all...]
H A DNVPTXFrameLowering.h27 bool hasFP(const MachineFunction &MF) const override;
28 void emitPrologue(MachineFunction &MF) const override;
29 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 void eliminateCallFramePseudoInstr(MachineFunction &MF,
/external/llvm/lib/Target/MSP430/
H A DMSP430RegisterInfo.h30 getCalleeSavedRegs(const MachineFunction *MF = nullptr) const override;
32 BitVector getReservedRegs(const MachineFunction &MF) const override;
34 getPointerRegClass(const MachineFunction &MF,
42 unsigned getFrameRegister(const MachineFunction &MF) const override;
H A DMSP430FrameLowering.h30 void emitPrologue(MachineFunction &MF) const override;
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 void eliminateCallFramePseudoInstr(MachineFunction &MF,
46 bool hasFP(const MachineFunction &MF) const override;
47 bool hasReservedCallFrame(const MachineFunction &MF) const override;
48 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
/external/llvm/lib/Target/X86/
H A DX86FrameLowering.h35 void emitPrologue(MachineFunction &MF) const override;
36 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
38 void adjustForSegmentedStacks(MachineFunction &MF) const override;
40 void adjustForHiPEPrologue(MachineFunction &MF) const override;
42 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
46 assignCalleeSavedSpillSlots(MachineFunction &MF,
60 bool hasFP(const MachineFunction &MF) const override;
61 bool hasReservedCallFrame(const MachineFunction &MF) const override;
63 int getFrameIndexOffset(const MachineFunction &MF, int FI) const override;
64 int getFrameIndexReference(const MachineFunction &MF, in
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.h52 getCalleeSavedRegs(const MachineFunction *MF = nullptr) const override;
55 getCalleeSavedRegClasses(const MachineFunction *MF = nullptr) const;
57 BitVector getReservedRegs(const MachineFunction &MF) const override;
65 void determineFrameLayout(MachineFunction &MF) const;
69 bool requiresRegisterScavenging(const MachineFunction &MF) const override {
73 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override {
79 unsigned getFrameRegister(const MachineFunction &MF) const override;
H A DHexagonFrameLowering.h20 void determineFrameLayout(MachineFunction &MF) const;
27 void emitPrologue(MachineFunction &MF) const override;
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
35 eliminateCallFramePseudoInstr(MachineFunction &MF,
44 int getFrameIndexOffset(const MachineFunction &MF, int FI) const override;
45 bool hasFP(const MachineFunction &MF) const override;
/external/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.h31 void eliminateCallFramePseudoInstr(MachineFunction &MF,
37 void emitPrologue(MachineFunction &MF) const override;
38 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
40 int getFrameIndexOffset(const MachineFunction &MF, int FI) const override;
41 int getFrameIndexReference(const MachineFunction &MF, int FI,
43 int resolveFrameIndexReference(const MachineFunction &MF, int FI,
57 bool canUseRedZone(const MachineFunction &MF) const;
59 bool hasFP(const MachineFunction &MF) const override;
60 bool hasReservedCallFrame(const MachineFunction &MF) const override;
62 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.h37 bool requiresRegisterScavenging(const MachineFunction &MF) const override {
40 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override {
43 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override {
46 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF = nullptr) const
49 BitVector getReservedRegs(const MachineFunction &MF) const override;
53 unsigned getFrameRegister(const MachineFunction &MF) const override;

Completed in 375 milliseconds

1234567891011>>