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

1234567891011>>

/external/llvm/lib/Target/R600/
H A DR600MachineFunctionInfo.cpp15 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF) argument
16 : AMDGPUMachineFunction(MF) { }
H A DSIMachineFunctionInfo.cpp16 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) argument
17 : AMDGPUMachineFunction(MF),
H A DAMDGPUFrameLowering.h36 virtual unsigned getStackWidth(const MachineFunction &MF) const;
37 virtual int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
39 virtual void emitPrologue(MachineFunction &MF) const;
40 virtual void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
41 virtual bool hasFP(const MachineFunction &MF) const;
H A DAMDGPUFrameLowering.cpp27 unsigned AMDGPUFrameLowering::getStackWidth(const MachineFunction &MF) const {
74 int AMDGPUFrameLowering::getFrameIndexOffset(const MachineFunction &MF, argument
76 const MachineFrameInfo *MFI = MF.getFrameInfo();
82 Offset += (Size / (getStackWidth(MF) * 4));
93 AMDGPUFrameLowering::emitPrologue(MachineFunction &MF) const {
96 AMDGPUFrameLowering::emitEpilogue(MachineFunction &MF, argument
101 AMDGPUFrameLowering::hasFP(const MachineFunction &MF) const {
/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 {
26 MF.getFunction()->getFnAttribute("no-frame-pointer-elim-non-leaf")
29 const MachineFrameInfo *MFI = MF.getFrameInfo();
H A DMachineFunctionAnalysis.cpp23 FunctionPass(ID), TM(tm), MF(0) {
29 assert(!MF && "MachineFunctionAnalysis left initialized!");
47 assert(!MF && "MachineFunctionAnalysis already initialized!");
48 MF = new MachineFunction(&F, TM, NextFnNum++,
55 delete MF;
56 MF = 0;
/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/Sparc/
H A DSparcFrameLowering.h34 void emitPrologue(MachineFunction &MF) const;
35 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
37 void eliminateCallFramePseudoInstr(MachineFunction &MF,
41 bool hasReservedCallFrame(const MachineFunction &MF) const;
42 bool hasFP(const MachineFunction &MF) const;
43 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
48 void remapRegsForLeafProc(MachineFunction &MF) const;
50 // Returns true if MF is a leaf procedure.
51 bool isLeafProc(MachineFunction &MF) const;
H A DSparcRegisterInfo.h34 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
36 BitVector getReservedRegs(const MachineFunction &MF) const;
38 const TargetRegisterClass *getPointerRegClass(const MachineFunction &MF,
45 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
49 unsigned getFrameRegister(const MachineFunction &MF) const;
/external/llvm/lib/Target/X86/
H A DX86FrameLowering.h63 void emitCalleeSavedFrameMoves(MachineFunction &MF, MCSymbol *Label,
68 void emitPrologue(MachineFunction &MF) const;
69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
71 void adjustForSegmentedStacks(MachineFunction &MF) const;
73 void adjustForHiPEPrologue(MachineFunction &MF) const;
75 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
88 bool hasFP(const MachineFunction &MF) const;
89 bool hasReservedCallFrame(const MachineFunction &MF) const;
91 int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
92 int getFrameIndexReference(const MachineFunction &MF, in
[all...]
H A DX86RegisterInfo.h69 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
87 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
96 MachineFunction &MF) const;
100 const uint16_t *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
108 BitVector getReservedRegs(const MachineFunction &MF) const;
110 bool hasBasePointer(const MachineFunction &MF) const;
112 bool canRealignStack(const MachineFunction &MF) const;
114 bool needsStackRealignment(const MachineFunction &MF) const;
116 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
124 unsigned getFrameRegister(const MachineFunction &MF) cons
[all...]
/external/llvm/include/llvm/Target/
H A DTargetFrameLowering.h120 virtual void emitPrologue(MachineFunction &MF) const = 0;
121 virtual void emitEpilogue(MachineFunction &MF,
126 virtual void adjustForSegmentedStacks(MachineFunction &MF) const { }
130 virtual void adjustForHiPEPrologue(MachineFunction &MF) const { }
157 virtual bool hasFP(const MachineFunction &MF) const = 0;
164 virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
165 return !hasFP(MF);
175 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const {
176 return hasReservedCallFrame(MF) || hasFP(MF);
192 processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS = NULL) const argument
202 processFunctionBeforeFrameFinalized(MachineFunction &MF, RegScavenger *RS = NULL) const argument
214 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MI) const argument
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.h28 void emitPrologue(MachineFunction &MF) const;
29 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
31 void eliminateCallFramePseudoInstr(MachineFunction &MF,
40 bool hasReservedCallFrame(const MachineFunction &MF) const;
42 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
/external/llvm/lib/Target/Hexagon/
H A DHexagonRegisterInfo.h51 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
54 const MachineFunction *MF = 0) const;
56 BitVector getReservedRegs(const MachineFunction &MF) const;
64 void determineFrameLayout(MachineFunction &MF) const;
68 bool requiresRegisterScavenging(const MachineFunction &MF) const {
72 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const {
78 unsigned getFrameRegister(const MachineFunction &MF) const;
/external/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.h45 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
47 BitVector getReservedRegs(const MachineFunction &MF) const;
49 bool requiresRegisterScavenging(const MachineFunction &MF) const;
51 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
53 bool useFPForScavengingIndex(const MachineFunction &MF) const;
60 unsigned getFrameRegister(const MachineFunction &MF) const;
63 static bool needsFrameMoves(const MachineFunction &MF);
/external/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.h38 getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const;
41 MachineFunction &MF) const;
44 const uint16_t *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
48 BitVector getReservedRegs(const MachineFunction &MF) const;
51 bool requiresRegisterScavenging(const MachineFunction &MF) const {
55 bool requiresFrameIndexScavenging(const MachineFunction &MF) const {
59 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const {
63 virtual bool requiresVirtualBaseRegisters(const MachineFunction &MF) const {
77 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
93 unsigned getFrameRegister(const MachineFunction &MF) cons
[all...]
/external/llvm/lib/Target/ARM/
H A DARMFrameLowering.h36 void emitPrologue(MachineFunction &MF) const;
37 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
49 bool hasFP(const MachineFunction &MF) const;
50 bool hasReservedCallFrame(const MachineFunction &MF) const;
51 bool canSimplifyCallFramePseudos(const MachineFunction &MF) const;
52 int getFrameIndexReference(const MachineFunction &MF, int FI,
54 int ResolveFrameIndexReference(const MachineFunction &MF,
57 int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
59 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
75 MachineFunction &MF,
[all...]

Completed in 1587 milliseconds

1234567891011>>