/freebsd-10.3-release/contrib/llvm/lib/Target/R600/ |
H A D | R600MachineFunctionInfo.cpp | 19 R600MachineFunctionInfo::R600MachineFunctionInfo(const MachineFunction &MF) argument 20 : AMDGPUMachineFunction(MF) { }
|
H A D | SIMachineFunctionInfo.cpp | 20 SIMachineFunctionInfo::SIMachineFunctionInfo(const MachineFunction &MF) argument 21 : AMDGPUMachineFunction(MF),
|
H A D | AMDGPUFrameLowering.h | 36 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 D | AMDGPUFrameLowering.cpp | 27 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 {
|
/freebsd-10.3-release/contrib/llvm/lib/CodeGen/ |
H A D | TargetFrameLoweringImpl.cpp | 28 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 D | TargetOptionsImpl.cpp | 22 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 D | MachineFunctionAnalysis.cpp | 23 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;
|
/freebsd-10.3-release/contrib/llvm/lib/Target/Sparc/ |
H A D | SparcFrameLowering.h | 34 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; 55 void emitSPAdjustment(MachineFunction &MF, [all...] |
/freebsd-10.3-release/contrib/llvm/include/llvm/Target/ |
H A D | TargetFrameLowering.h | 120 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...] |
/freebsd-10.3-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsSEFrameLowering.h | 28 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,
|
H A D | MipsFrameLowering.cpp | 96 bool MipsFrameLowering::hasFP(const MachineFunction &MF) const { 97 const MachineFrameInfo *MFI = MF.getFrameInfo(); 98 return MF.getTarget().Options.DisableFramePointerElim(MF) || 102 uint64_t MipsFrameLowering::estimateStackSize(const MachineFunction &MF) const { 103 const MachineFrameInfo *MFI = MF.getFrameInfo(); 104 const TargetRegisterInfo &TRI = *MF.getTarget().getRegisterInfo(); 113 for (const uint16_t *R = TRI.getCalleeSavedRegs(&MF); *R; ++R) { 129 if (MFI->adjustsStack() && hasReservedCallFrame(MF))
|
H A D | MipsRegisterInfo.h | 42 void adjustMipsStackFrame(MachineFunction &MF) const; 45 const TargetRegisterClass *getPointerRegClass(const MachineFunction &MF, 49 MachineFunction &MF) const; 50 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const; 54 BitVector getReservedRegs(const MachineFunction &MF) const; 56 virtual bool requiresRegisterScavenging(const MachineFunction &MF) const; 58 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const; 65 void processFunctionBeforeFrameFinalized(MachineFunction &MF, 69 unsigned getFrameRegister(const MachineFunction &MF) const;
|
/freebsd-10.3-release/contrib/llvm/lib/Target/X86/ |
H A D | X86FrameLowering.h | 37 void emitCalleeSavedFrameMoves(MachineFunction &MF, MCSymbol *Label, 42 void emitPrologue(MachineFunction &MF) const; 43 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; 45 void adjustForSegmentedStacks(MachineFunction &MF) const; 47 void adjustForHiPEPrologue(MachineFunction &MF) const; 49 void processFunctionBeforeCalleeSavedScan(MachineFunction &MF, 62 bool hasFP(const MachineFunction &MF) const; 63 bool hasReservedCallFrame(const MachineFunction &MF) const; 65 int getFrameIndexOffset(const MachineFunction &MF, int FI) const; 66 int getFrameIndexReference(const MachineFunction &MF, in [all...] |
H A D | X86RegisterInfo.h | 69 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...] |
/freebsd-10.3-release/contrib/llvm/lib/Target/Hexagon/ |
H A D | HexagonRegisterInfo.h | 51 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;
|
H A D | HexagonFrameLowering.h | 22 void determineFrameLayout(MachineFunction &MF) const; 31 void emitPrologue(MachineFunction &MF) const; 32 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; 39 void eliminateCallFramePseudoInstr(MachineFunction &MF, 48 int getFrameIndexOffset(const MachineFunction &MF, int FI) const; 49 bool hasFP(const MachineFunction &MF) const;
|
/freebsd-10.3-release/contrib/llvm/lib/Target/XCore/ |
H A D | XCoreRegisterInfo.h | 45 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);
|
/freebsd-10.3-release/contrib/llvm/lib/Target/PowerPC/ |
H A D | PPCRegisterInfo.h | 38 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...] |
/freebsd-10.3-release/contrib/llvm/lib/Target/ARM/ |
H A D | ARMFrameLowering.h | 36 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...] |
/freebsd-10.3-release/tools/tools/ath/athalq/ |
H A D | ar5416_ds.c | 38 #define MF(_v, _f) ( !! ((_v) & (_f))) macro 52 MF(txs.u.tx.status[9], AR_TxDone), 53 MF(txs.u.tx.status[1], AR_FrmXmitOK), 54 MF(txs.u.tx.status[1], AR_Filtered), 72 MF(txs.u.tx.status[0], AR_TxBaStatus)); 76 MF(txs.u.tx.status[1], AR_FrmXmitOK), 77 MF(txs.u.tx.status[1], AR_ExcessiveRetries), 78 MF(txs.u.tx.status[1], AR_FIFOUnderrun), 79 MF(txs.u.tx.status[1], AR_Filtered)); 82 MF(tx [all...] |
/freebsd-10.3-release/contrib/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.h | 30 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const; 35 BitVector getReservedRegs(const MachineFunction &MF) const; 36 unsigned getFrameRegister(const MachineFunction &MF) const; 58 bool requiresRegisterScavenging(const MachineFunction &MF) const { 62 bool requiresFrameIndexScavenging(const MachineFunction &MF) const { 66 bool useFPForScavengingIndex(const MachineFunction &MF) const;
|
/freebsd-10.3-release/contrib/llvm/lib/Target/MSP430/ |
H A D | MSP430FrameLowering.h | 35 void emitPrologue(MachineFunction &MF) const; 36 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const; 38 void eliminateCallFramePseudoInstr(MachineFunction &MF, 51 bool hasFP(const MachineFunction &MF) const; 52 bool hasReservedCallFrame(const MachineFunction &MF) const; 53 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
|
H A D | MSP430RegisterInfo.h | 38 const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) const; 40 BitVector getReservedRegs(const MachineFunction &MF) const; 42 getPointerRegClass(const MachineFunction &MF, unsigned Kind = 0) const; 49 unsigned getFrameRegister(const MachineFunction &MF) const;
|
/freebsd-10.3-release/contrib/llvm/lib/Target/SystemZ/ |
H A D | SystemZRegisterInfo.h | 43 virtual bool requiresRegisterScavenging(const MachineFunction &MF) const 47 virtual bool requiresFrameIndexScavenging(const MachineFunction &MF) const 51 virtual bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const 55 virtual const uint16_t *getCalleeSavedRegs(const MachineFunction *MF = 0) 57 virtual BitVector getReservedRegs(const MachineFunction &MF) 62 virtual unsigned getFrameRegister(const MachineFunction &MF) const
|
/freebsd-10.3-release/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXFrameLowering.cpp | 29 bool NVPTXFrameLowering::hasFP(const MachineFunction &MF) const { return true; } 31 void NVPTXFrameLowering::emitPrologue(MachineFunction &MF) const { 32 if (MF.getFrameInfo()->hasStackObjects()) { 33 MachineBasicBlock &MBB = MF.front(); 40 MachineRegisterInfo &MRI = MF.getRegInfo(); 50 LocalReg).addImm(MF.getFunctionNumber()); 57 LocalReg).addImm(MF.getFunctionNumber()); 62 void NVPTXFrameLowering::emitEpilogue(MachineFunction &MF, argument 68 MachineFunction &MF, MachineBasicBlock &MBB, 67 eliminateCallFramePseudoInstr( MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const argument
|