Home
last modified time | relevance | path

Searched refs:MachineFunction (Results 1 – 25 of 716) sorted by relevance

12345678910>>...29

/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.h22 class MachineFunction; variable
38 bool isReservedReg(const MachineFunction &MF, unsigned Reg) const;
39 bool isAnyArgRegReserved(const MachineFunction &MF) const;
42 void UpdateCustomCalleeSavedRegs(MachineFunction &MF) const;
43 void UpdateCustomCallPreservedMask(MachineFunction &MF,
49 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
50 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
86 bool isAsmClobberable(const MachineFunction &MF,
90 getPointerRegClass(const MachineFunction &MF,
110 bool cannotEliminateFrame(const MachineFunction &MF) const;
[all …]
H A DAArch64FrameLowering.h41 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 determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
66 bool enableShrinkWrapping(const MachineFunction &MF) const override { in enableShrinkWrapping()
72 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
77 unsigned getWinEHFuncletFrameSize(const MachineFunction &MF) const;
79 int getFrameIndexReferencePreferSP(const MachineFunction &MF, int FI,
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FrameLowering.h54 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB,
59 void inlineStackProbe(MachineFunction &MF,
71 void adjustForSegmentedStacks(MachineFunction &MF,
74 void adjustForHiPEPrologue(MachineFunction &MF,
81 assignCalleeSavedSpillSlots(MachineFunction &MF,
95 bool hasFP(const MachineFunction &MF) const override;
100 int getFrameIndexReference(const MachineFunction &MF, int FI,
103 int getFrameIndexReferenceSP(const MachineFunction &MF,
115 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
131 bool canUseLEAForSPInEpilogue(const MachineFunction &MF) const;
[all …]
H A DX86RegisterInfo.h76 const MachineFunction &MF) const override;
81 getPointerRegClass(const MachineFunction &MF,
93 getGPRsForTailCall(const MachineFunction &MF) const;
96 MachineFunction &MF) const override;
101 getCalleeSavedRegs(const MachineFunction* MF) const override;
103 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
104 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
120 bool hasBasePointer(const MachineFunction &MF) const;
122 bool canRealignStack(const MachineFunction &MF) const override;
124 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h24 class MachineFunction; variable
121 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
167 virtual void emitPrologue(MachineFunction &MF,
169 virtual void emitEpilogue(MachineFunction &MF,
173 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe()
178 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
183 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
212 virtual bool keepFramePointer(const MachineFunction &MF) const { in keepFramePointer()
219 virtual bool hasFP(const MachineFunction &MF) const = 0;
295 eliminateCallFramePseudoInstr(MachineFunction &MF, in eliminateCallFramePseudoInstr()
[all …]
H A DMachineRegionInfo.h31 template <> struct RegionTraits<MachineFunction> {
32 using FuncT = MachineFunction;
54 : RegionNodeBase<RegionTraits<MachineFunction>>(Parent, Entry,
62 class MachineRegion : public RegionBase<RegionTraits<MachineFunction>> {
82 void recalculate(MachineFunction &F, MachineDominatorTree *DT,
101 bool runOnMachineFunction(MachineFunction &F) override;
122 RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineRegion>()
126 const_cast<RegionNodeBase<RegionTraits<MachineFunction>> *>(this);
176 extern template class RegionBase<RegionTraits<MachineFunction>>;
177 extern template class RegionNodeBase<RegionTraits<MachineFunction>>;
[all …]
H A DTargetRegisterInfo.h39 class MachineFunction; variable
65 ArrayRef<MCPhysReg> (*OrderFunc)(const MachineFunction&);
365 BitVector getAllocatableSet(const MachineFunction &MF,
462 getCalleeSavedRegs(const MachineFunction *MF) const = 0;
515 virtual bool isAsmClobberable(const MachineFunction &MF, in isAsmClobberable()
739 const MachineFunction &) const { in getLargestLegalSuperClass() argument
812 const MachineFunction &MF,
823 MachineFunction &MF) const { in updateRegAllocHint()
864 const MachineFunction &MF) const { in requiresFrameIndexReplacementScavenging()
891 virtual bool canRealignStack(const MachineFunction &MF) const;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonFrameLowering.h26 class MachineFunction; variable
39 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const
72 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
81 int getFrameIndexReference(const MachineFunction &MF, int FI,
83 bool hasFP(const MachineFunction &MF) const override;
99 bool assignCalleeSavedSpillSlots(MachineFunction &MF,
103 bool needsAligna(const MachineFunction &MF) const;
106 void insertCFIInstructions(MachineFunction &MF) const;
156 bool expandSpillMacros(MachineFunction &MF,
163 void optimizeSpillSlots(MachineFunction &MF,
[all …]
H A DHexagonRegisterInfo.h35 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF)
37 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
40 BitVector getReservedRegs(const MachineFunction &MF) const override;
47 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
53 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
58 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
60 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
70 unsigned getFrameRegister(const MachineFunction &MF) const override;
77 const MCPhysReg *getCallerSavedRegs(const MachineFunction *MF,
83 getPointerRegClass(const MachineFunction &MF,
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMBaseRegisterInfo.h115 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
116 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
133 BitVector getReservedRegs(const MachineFunction &MF) const override;
134 bool isAsmClobberable(const MachineFunction &MF,
138 getPointerRegClass(const MachineFunction &MF,
148 MachineFunction &MF) const override;
153 const MachineFunction &MF,
158 MachineFunction &MF) const override;
160 bool hasBasePointer(const MachineFunction &MF) const;
162 bool canRealignStack(const MachineFunction &MF) const override;
[all …]
H A DARMFrameLowering.h21 class MachineFunction; variable
45 bool keepFramePointer(const MachineFunction &MF) const override;
47 bool enableCalleeSaveSkip(const MachineFunction &MF) const override;
49 bool hasFP(const MachineFunction &MF) const override;
50 bool hasReservedCallFrame(const MachineFunction &MF) const override;
52 int getFrameIndexReference(const MachineFunction &MF, int FI,
54 int ResolveFrameIndexReference(const MachineFunction &MF, int FI,
57 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
60 void adjustForSegmentedStacks(MachineFunction &MF,
64 bool enableShrinkWrapping(const MachineFunction &MF) const override { in enableShrinkWrapping()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIFrameLowering.h29 void emitEntryFunctionPrologue(MachineFunction &MF,
31 void emitPrologue(MachineFunction &MF,
33 void emitEpilogue(MachineFunction &MF,
35 int getFrameIndexReference(const MachineFunction &MF, int FI,
42 MachineFunction &MF,
46 eliminateCallFramePseudoInstr(MachineFunction &MF,
52 MachineFunction &MF,
60 MachineFunction &MF) const;
67 MachineFunction &MF) const;
79 bool hasFP(const MachineFunction &MF) const override;
[all …]
H A DSIRegisterInfo.h58 const MachineFunction &MF) const;
60 unsigned reservedStackPtrOffsetReg(const MachineFunction &MF) const;
62 BitVector getReservedRegs(const MachineFunction &MF) const override;
66 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
75 unsigned getFrameRegister(const MachineFunction &MF) const override;
81 const MachineFunction &MF) const override;
103 const MachineFunction &MF, unsigned Kind = 0) const override;
190 const MachineFunction &MF) const;
218 MachineFunction &MF) const override;
220 unsigned getRegPressureSetLimit(const MachineFunction &MF,
[all …]
H A DAMDGPUAsmPrinter.h62 uint64_t getFunctionCodeSize(const MachineFunction &MF) const;
63 SIFunctionResourceInfo analyzeResourceUsage(const MachineFunction &MF) const;
66 void getSIProgramInfo(SIProgramInfo &Out, const MachineFunction &MF);
68 const MachineFunction &MF) const;
69 void findNumUsedRegistersSI(const MachineFunction &MF,
75 void EmitProgramInfoSI(const MachineFunction &MF,
77 void EmitPALMetadata(const MachineFunction &MF,
86 const MachineFunction &MF) const;
89 const MachineFunction &MF,
103 bool runOnMachineFunction(MachineFunction &MF) override;
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFrameLowering.h39 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
43 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
44 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
46 bool hasFP(const MachineFunction &MF) const override;
47 bool hasReservedCallFrame(const MachineFunction &MF) const override;
49 bool needsPrologForEH(const MachineFunction &MF) const;
52 void writeSPToGlobal(unsigned SrcReg, MachineFunction &MF,
58 bool hasBP(const MachineFunction &MF) const;
59 bool needsSPForLocalFrame(const MachineFunction &MF) const;
60 bool needsSP(const MachineFunction &MF) const;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/
H A DSparcFrameLowering.h29 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) 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 determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
42 int getFrameIndexReference(const MachineFunction &MF, int FI,
52 void remapRegsForLeafProc(MachineFunction &MF) const;
55 bool isLeafProc(MachineFunction &MF) const;
59 void emitSPAdjustment(MachineFunction &MF,
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCFrameLowering.h79 unsigned determineFrameLayout(MachineFunction &MF,
85 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
88 bool hasFP(const MachineFunction &MF) const override;
89 bool needsFP(const MachineFunction &MF) const;
90 void replaceFPWithRealFP(MachineFunction &MF) const;
92 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
94 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
96 void addScavengingSpillSlot(MachineFunction &MF, RegScavenger *RS) const;
106 assignCalleeSavedSpillSlots(MachineFunction &MF,
111 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
[all …]
H A DPPCRegisterInfo.h70 MachineFunction &MF) const override;
74 const MachineFunction &MF) const override;
78 const MCPhysReg *getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
79 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
85 BitVector getReservedRegs(const MachineFunction &MF) const override;
89 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
97 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
120 bool hasReservedSpillSlot(const MachineFunction &MF, unsigned Reg,
137 unsigned getFrameRegister(const MachineFunction &MF) const override;
140 unsigned getBaseRegister(const MachineFunction &MF) const;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.h30 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 int getFrameIndexReference(const MachineFunction &MF, int FI,
36 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
39 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
42 bool hasFP(const MachineFunction &MF) const override;
44 bool hasReservedCallFrame(const MachineFunction &MF) const override;
46 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
53 void determineFrameLayout(MachineFunction &MF) const;
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsRegisterInfo.h48 const TargetRegisterClass *getPointerRegClass(const MachineFunction &MF,
52 MachineFunction &MF) const override;
53 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
54 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
58 BitVector getReservedRegs(const MachineFunction &MF) const override;
60 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
62 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
70 bool canRealignStack(const MachineFunction &MF) const override;
73 unsigned getFrameRegister(const MachineFunction &MF) const override;
H A DMipsSEFrameLowering.h19 class MachineFunction; variable
28 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
29 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
31 int getFrameIndexReference(const MachineFunction &MF, int FI,
39 bool hasReservedCallFrame(const MachineFunction &MF) const override;
41 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
45 void emitInterruptEpilogueStub(MachineFunction &MF,
47 void emitInterruptPrologueStub(MachineFunction &MF,
/freebsd-12.1/contrib/llvm/lib/Target/ARC/
H A DARCRegisterInfo.h32 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
34 BitVector getReservedRegs(const MachineFunction &MF) const override;
36 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
38 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
40 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
46 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
50 unsigned getFrameRegister(const MachineFunction &MF) const override;
53 static bool needsFrameMoves(const MachineFunction &MF);
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.h42 getPointerRegClass(const MachineFunction &MF,
56 const MachineFunction &MF,
61 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
64 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
67 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
70 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
71 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
73 BitVector getReservedRegs(const MachineFunction &MF) const override;
87 unsigned getFrameRegister(const MachineFunction &MF) const override;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineFunction.cpp103 void MachineFunction::Delegate::anchor() {} in anchor()
133 MachineFunction::MachineFunction(const Function &F, in MachineFunction() function in MachineFunction
152 void MachineFunction::init() { in init()
207 MachineFunction::~MachineFunction() { in ~MachineFunction()
211 void MachineFunction::clear() { in clear()
263 MachineJumpTableInfo *MachineFunction::
283 MachineFunction::iterator MBBI, E = end(); in RenumberBlocks()
443 uint32_t *MachineFunction::allocateRegMask() { in allocateRegMask()
457 StringRef MachineFunction::getName() const { in getName()
540 void MachineFunction::viewCFG() const in viewCFG()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.h32 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
34 BitVector getReservedRegs(const MachineFunction &MF) const override;
36 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
38 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
40 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
47 unsigned getFrameRegister(const MachineFunction &MF) const override;
50 static bool needsFrameMoves(const MachineFunction &MF);

12345678910>>...29