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

1234567891011>>

/macosx-10.9.5/llvmCore-3425.0.33/lib/CodeGen/
H A DTargetFrameLoweringImpl.cpp29 int TargetFrameLowering::getFrameIndexOffset(const MachineFunction &MF, argument
31 const MachineFrameInfo *MFI = MF.getFrameInfo();
36 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, argument
38 const TargetRegisterInfo *RI = MF.getTarget().getRegisterInfo();
43 FrameReg = RI->getFrameRegister(MF);
44 return getFrameIndexOffset(MF, FI);
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;
H A DCodePlacementOpt.cpp41 virtual bool runOnMachineFunction(MachineFunction &MF);
52 void Splice(MachineFunction &MF,
56 bool EliminateUnconditionalJumpsToTop(MachineFunction &MF,
58 bool MoveDiscontiguousLoopBlocks(MachineFunction &MF,
60 bool OptimizeIntraLoopEdgesInLoopNest(MachineFunction &MF, MachineLoop *L);
61 bool OptimizeIntraLoopEdges(MachineFunction &MF);
62 bool AlignLoops(MachineFunction &MF);
63 bool AlignLoop(MachineFunction &MF, MachineLoop *L, unsigned Align);
130 void CodePlacementOpt::Splice(MachineFunction &MF, argument
134 assert(Begin != MF
151 EliminateUnconditionalJumpsToTop(MachineFunction &MF, MachineLoop *L) argument
246 MoveDiscontiguousLoopBlocks(MachineFunction &MF, MachineLoop *L) argument
339 OptimizeIntraLoopEdgesInLoopNest(MachineFunction &MF, MachineLoop *L) argument
357 OptimizeIntraLoopEdges(MachineFunction &MF) argument
374 AlignLoops(MachineFunction &MF) argument
394 AlignLoop(MachineFunction &MF, MachineLoop *L, unsigned Align) argument
409 runOnMachineFunction(MachineFunction &MF) argument
[all...]
H A DTargetOptionsImpl.cpp21 bool TargetOptions::DisableFramePointerElim(const MachineFunction &MF) const {
25 const MachineFrameInfo *MFI = MF.getFrameInfo();
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Mips/
H A DMipsFrameLowering.cpp96 bool MipsFrameLowering::hasFP(const MachineFunction &MF) const {
97 const MachineFrameInfo *MFI = MF.getFrameInfo();
98 return MF.getTarget().Options.DisableFramePointerElim(MF) ||
H A DMipsRegisterInfo.h42 void adjustMipsStackFrame(MachineFunction &MF) const;
45 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
48 BitVector getReservedRegs(const MachineFunction &MF) const;
50 virtual bool requiresRegisterScavenging(const MachineFunction &MF) const;
52 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
58 void processFunctionBeforeFrameFinalized(MachineFunction &MF) const;
61 unsigned getFrameRegister(const MachineFunction &MF) const;
H A DMips16FrameLowering.h27 void emitPrologue(MachineFunction &MF) const;
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
40 bool hasReservedCallFrame(const MachineFunction &MF) const;
42 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
H A DMipsSEFrameLowering.h28 void emitPrologue(MachineFunction &MF) const;
29 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
36 bool hasReservedCallFrame(const MachineFunction &MF) const;
38 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
H A DMips16FrameLowering.cpp29 void Mips16FrameLowering::emitPrologue(MachineFunction &MF) const {
30 MachineBasicBlock &MBB = MF.front();
31 MachineFrameInfo *MFI = MF.getFrameInfo();
33 *static_cast<const MipsInstrInfo*>(MF.getTarget().getInstrInfo());
46 void Mips16FrameLowering::emitEpilogue(MachineFunction &MF, argument
49 MachineFrameInfo *MFI = MF.getFrameInfo();
51 *static_cast<const MipsInstrInfo*>(MF.getTarget().getInstrInfo());
69 MachineFunction *MF = MBB.getParent(); local
70 MachineBasicBlock *EntryBlock = MF->begin();
85 && MF
114 processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS) const argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Sparc/
H A DSparcFrameLowering.h32 void emitPrologue(MachineFunction &MF) const;
33 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
35 bool hasFP(const MachineFunction &MF) const { return false; }
H A DSparcRegisterInfo.h35 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
37 BitVector getReservedRegs(const MachineFunction &MF) const;
39 void eliminateCallFramePseudoInstr(MachineFunction &MF,
46 void processFunctionBeforeFrameFinalized(MachineFunction &MF) const;
49 unsigned getFrameRegister(const MachineFunction &MF) const;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/CellSPU/
H A DSPUFrameLowering.h33 void determineFrameLayout(MachineFunction &MF) const;
37 void emitPrologue(MachineFunction &MF) const;
38 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
41 bool hasFP(const MachineFunction &MF) const;
43 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
H A DSPURegisterInfo.h34 bool usesLR(MachineFunction &MF) const;
49 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
55 MachineFunction &MF) const{
60 virtual const uint16_t* getCalleeSavedRegs(const MachineFunction *MF) const;
63 virtual bool requiresRegisterScavenging(const MachineFunction &MF) const
68 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const
72 BitVector getReservedRegs(const MachineFunction &MF) const;
75 void eliminateCallFramePseudoInstr(MachineFunction &MF,
83 unsigned getFrameRegister(const MachineFunction &MF) const;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/MBlaze/
H A DMBlazeFrameLowering.h39 void emitPrologue(MachineFunction &MF) const;
40 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
42 bool hasFP(const MachineFunction &MF) const;
44 int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
46 virtual void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/X86/
H A DX86FrameLowering.h36 void emitCalleeSavedFrameMoves(MachineFunction &MF, MCSymbol *Label,
41 void emitPrologue(MachineFunction &MF) const;
42 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
44 void adjustForSegmentedStacks(MachineFunction &MF) const;
46 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
59 bool hasFP(const MachineFunction &MF) const;
60 bool hasReservedCallFrame(const MachineFunction &MF) const;
62 int getFrameIndexOffset(const MachineFunction &MF, int FI) const;
63 int getFrameIndexReference(const MachineFunction &MF, int FI,
65 uint32_t getCompactUnwindEncoding(MachineFunction &MF) cons
[all...]
H A DX86RegisterInfo.h74 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
92 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
101 MachineFunction &MF) const;
105 const uint16_t *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
112 BitVector getReservedRegs(const MachineFunction &MF) const;
114 bool hasBasePointer(const MachineFunction &MF) const;
116 bool canRealignStack(const MachineFunction &MF) const;
118 bool needsStackRealignment(const MachineFunction &MF) const;
120 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
123 void eliminateCallFramePseudoInstr(MachineFunction &MF,
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/include/llvm/Target/
H A DTargetFrameLowering.h109 virtual void emitPrologue(MachineFunction &MF) const = 0;
110 virtual void emitEpilogue(MachineFunction &MF,
115 virtual void adjustForSegmentedStacks(MachineFunction &MF) const { }
142 virtual bool hasFP(const MachineFunction &MF) const = 0;
149 virtual bool hasReservedCallFrame(const MachineFunction &MF) const {
150 return !hasFP(MF);
160 virtual bool canSimplifyCallFramePseudos(const MachineFunction &MF) const {
161 return hasReservedCallFrame(MF) || hasFP(MF);
166 virtual int getFrameIndexOffset(const MachineFunction &MF, in
177 processFunctionBeforeCalleeSavedScan(MachineFunction &MF, RegScavenger *RS = NULL) const argument
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/MSP430/
H A DMSP430RegisterInfo.h39 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
41 BitVector getReservedRegs(const MachineFunction &MF) const;
43 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
45 void eliminateCallFramePseudoInstr(MachineFunction &MF,
52 void processFunctionBeforeFrameFinalized(MachineFunction &MF) const;
55 unsigned getFrameRegister(const MachineFunction &MF) const;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/NVPTX/
H A DNVPTXFrameLowering.h32 virtual bool hasFP(const MachineFunction &MF) const;
33 virtual void emitPrologue(MachineFunction &MF) const;
34 virtual void emitEpilogue(MachineFunction &MF,
/macosx-10.9.5/llvmCore-3425.0.33/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,
H A DARMBaseRegisterInfo.h97 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
100 BitVector getReservedRegs(const MachineFunction &MF) const;
113 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const;
121 MachineFunction &MF) const;
125 const MachineFunction &MF) const;
128 const MachineFunction &MF) const;
131 MachineFunction &MF) const;
135 bool hasBasePointer(const MachineFunction &MF) const;
137 bool canRealignStack(const MachineFunction &MF) const;
138 bool needsStackRealignment(const MachineFunction &MF) cons
[all...]
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/PowerPC/
H A DPPCRegisterInfo.h40 getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const;
43 MachineFunction &MF) const;
46 const uint16_t *getCalleeSavedRegs(const MachineFunction* MF = 0) const;
49 BitVector getReservedRegs(const MachineFunction &MF) const;
55 bool requiresRegisterScavenging(const MachineFunction &MF) const;
57 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
59 void eliminateCallFramePseudoInstr(MachineFunction &MF,
69 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
75 unsigned getFrameRegister(const MachineFunction &MF) const;
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/XCore/
H A DXCoreFrameLowering.h30 void emitPrologue(MachineFunction &MF) const;
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
42 bool hasFP(const MachineFunction &MF) const;
44 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
H A DXCoreRegisterInfo.h47 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
49 BitVector getReservedRegs(const MachineFunction &MF) const;
51 bool requiresRegisterScavenging(const MachineFunction &MF) const;
53 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const;
55 bool useFPForScavengingIndex(const MachineFunction &MF) const;
57 void eliminateCallFramePseudoInstr(MachineFunction &MF,
65 unsigned getFrameRegister(const MachineFunction &MF) const;
68 static bool needsFrameMoves(const MachineFunction &MF);
/macosx-10.9.5/llvmCore-3425.0.33/lib/Target/Hexagon/
H A DHexagonRegisterInfo.h52 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
55 const MachineFunction *MF = 0) const;
57 BitVector getReservedRegs(const MachineFunction &MF) const;
59 void eliminateCallFramePseudoInstr(MachineFunction &MF,
68 void determineFrameLayout(MachineFunction &MF) const;
72 bool requiresRegisterScavenging(const MachineFunction &MF) const {
76 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const {
82 unsigned getFrameRegister(const MachineFunction &MF) const;

Completed in 204 milliseconds

1234567891011>>