Home
last modified time | relevance | path

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

12345678910>>...21

/external/llvm/lib/Target/X86/
DX86FrameLowering.h54 MachineInstr *emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB,
59 void inlineStackProbe(MachineFunction &MF,
68 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
69 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
71 void adjustForSegmentedStacks(MachineFunction &MF,
74 void adjustForHiPEPrologue(MachineFunction &MF,
77 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
81 assignCalleeSavedSpillSlots(MachineFunction &MF,
95 bool hasFP(const MachineFunction &MF) const override;
96 bool hasReservedCallFrame(const MachineFunction &MF) const override;
[all …]
DX86RegisterInfo.h60 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
76 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;
102 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
114 BitVector getReservedRegs(const MachineFunction &MF) const override;
118 bool hasBasePointer(const MachineFunction &MF) const;
120 bool canRealignStack(const MachineFunction &MF) const override;
[all …]
DX86FixupLEAs.cpp41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI);
51 MachineFunction::iterator MFI);
58 MachineFunction::iterator MFI);
63 MachineFunction::iterator MFI);
68 MachineFunction::iterator MFI) const;
79 MachineFunction::iterator MFI);
84 MachineInstr *postRAConvertToLEA(MachineFunction::iterator &MFI,
93 bool runOnMachineFunction(MachineFunction &MF) override;
96 MachineFunction *MF;
105 FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI, in postRAConvertToLEA()
[all …]
/external/llvm/include/llvm/Target/
DTargetFrameLowering.h24 class MachineFunction; variable
102 virtual unsigned getStackAlignmentSkew(const MachineFunction &MF) const;
121 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots()
150 virtual bool enableShrinkWrapping(const MachineFunction &MF) const { in enableShrinkWrapping()
156 virtual void emitPrologue(MachineFunction &MF,
158 virtual void emitEpilogue(MachineFunction &MF,
162 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe()
167 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
172 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
178 adjustForFrameAllocatePrologue(MachineFunction &MF, in adjustForFrameAllocatePrologue()
[all …]
DTargetRegisterInfo.h32 class MachineFunction; variable
75 ArrayRef<MCPhysReg> (*OrderFunc)(const MachineFunction&);
209 ArrayRef<MCPhysReg> getRawAllocationOrder(const MachineFunction &MF) const { in getRawAllocationOrder()
339 BitVector getAllocatableSet(const MachineFunction &MF,
427 getCalleeSavedRegs(const MachineFunction *MF) const = 0;
430 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const { in getCalleeSavedRegsViaCopy()
452 virtual const uint32_t *getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
471 virtual BitVector getReservedRegs(const MachineFunction &MF) const = 0;
635 getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const {
654 const MachineFunction &) const { in getLargestLegalSuperClass() argument
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.h22 class MachineFunction; variable
34 bool isReservedReg(const MachineFunction &MF, unsigned Reg) const;
37 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
39 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const override;
40 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
62 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
65 BitVector getReservedRegs(const MachineFunction &MF) const override;
67 getPointerRegClass(const MachineFunction &MF,
72 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
73 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
[all …]
DAArch64FrameLowering.h31 void eliminateCallFramePseudoInstr(MachineFunction &MF,
37 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
38 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
40 int getFrameIndexReference(const MachineFunction &MF, int FI,
42 int resolveFrameIndexReference(const MachineFunction &MF, int FI,
56 bool canUseRedZone(const MachineFunction &MF) const;
58 bool hasFP(const MachineFunction &MF) const override;
59 bool hasReservedCallFrame(const MachineFunction &MF) const override;
61 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
65 bool enableShrinkWrapping(const MachineFunction &MF) const override { in enableShrinkWrapping()
DAArch64RegisterInfo.cpp42 AArch64RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs()
59 const MachineFunction *MF) const { in getCalleeSavedRegsViaCopy()
68 AArch64RegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask()
90 AArch64RegisterInfo::getThisReturnPreservedMask(const MachineFunction &MF, in getThisReturnPreservedMask()
104 AArch64RegisterInfo::getReservedRegs(const MachineFunction &MF) const { in getReservedRegs()
132 bool AArch64RegisterInfo::isReservedReg(const MachineFunction &MF, in isReservedReg()
159 AArch64RegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass()
173 bool AArch64RegisterInfo::hasBasePointer(const MachineFunction &MF) const { in hasBasePointer()
202 AArch64RegisterInfo::getFrameRegister(const MachineFunction &MF) const { in getFrameRegister()
208 const MachineFunction &MF) const { in requiresRegisterScavenging()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h29 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const
31 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue()
44 void eliminateCallFramePseudoInstr(MachineFunction &MF,
46 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
48 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
54 int getFrameIndexReference(const MachineFunction &MF, int FI,
56 bool hasFP(const MachineFunction &MF) const override;
72 bool assignCalleeSavedSpillSlots(MachineFunction &MF,
76 bool needsAligna(const MachineFunction &MF) const;
77 const MachineInstr *getAlignaInstr(const MachineFunction &MF) const;
[all …]
DHexagonRegisterInfo.h45 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF)
49 BitVector getReservedRegs(const MachineFunction &MF) const override;
56 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
62 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
67 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
69 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
75 unsigned getFrameRegister(const MachineFunction &MF) const override;
79 const MCPhysReg *getCallerSavedRegs(const MachineFunction *MF) const;
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h94 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
95 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
107 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
110 BitVector getReservedRegs(const MachineFunction &MF) const override;
113 getPointerRegClass(const MachineFunction &MF,
120 const MachineFunction &MF) const override;
123 MachineFunction &MF) const override;
128 const MachineFunction &MF,
133 MachineFunction &MF) const override;
135 bool hasBasePointer(const MachineFunction &MF) const;
[all …]
DARMFrameLowering.h31 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
32 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
44 bool noFramePointerElim(const MachineFunction &MF) const override;
46 bool hasFP(const MachineFunction &MF) const override;
47 bool hasReservedCallFrame(const MachineFunction &MF) const override;
48 bool canSimplifyCallFramePseudos(const MachineFunction &MF) const override;
49 int getFrameIndexReference(const MachineFunction &MF, int FI,
51 int ResolveFrameIndexReference(const MachineFunction &MF, int FI,
54 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
57 void adjustForSegmentedStacks(MachineFunction &MF,
[all …]
/external/llvm/lib/Target/Mips/
DMipsRegisterInfo.h36 void adjustMipsStackFrame(MachineFunction &MF) const;
39 const TargetRegisterClass *getPointerRegClass(const MachineFunction &MF,
43 MachineFunction &MF) const override;
44 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
45 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
49 BitVector getReservedRegs(const MachineFunction &MF) const override;
51 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
53 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override;
60 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
64 bool canRealignStack(const MachineFunction &MF) const override;
[all …]
DMipsSEFrameLowering.h27 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
28 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
30 int getFrameIndexReference(const MachineFunction &MF, int FI,
38 bool hasReservedCallFrame(const MachineFunction &MF) const override;
40 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
45 void emitInterruptEpilogueStub(MachineFunction &MF,
47 void emitInterruptPrologueStub(MachineFunction &MF,
/external/llvm/lib/Target/Sparc/
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,
DSparcRegisterInfo.h27 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
28 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
33 BitVector getReservedRegs(const MachineFunction &MF) const override;
35 const TargetRegisterClass *getPointerRegClass(const MachineFunction &MF,
42 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
45 unsigned getFrameRegister(const MachineFunction &MF) const override;
47 bool canRealignStack(const MachineFunction &MF) const override;
/external/llvm/lib/Target/PowerPC/
DPPCFrameLowering.h59 unsigned determineFrameLayout(MachineFunction &MF,
65 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
66 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
68 bool hasFP(const MachineFunction &MF) const override;
69 bool needsFP(const MachineFunction &MF) const;
70 void replaceFPWithRealFP(MachineFunction &MF) const;
72 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
74 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
76 void addScavengingSpillSlot(MachineFunction &MF, RegScavenger *RS) const;
83 void eliminateCallFramePseudoInstr(MachineFunction &MF,
[all …]
DPPCRegisterInfo.h67 getPointerRegClass(const MachineFunction &MF, unsigned Kind=0) const override;
70 MachineFunction &MF) const override;
74 const MachineFunction &MF) const override;
77 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
78 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
84 BitVector getReservedRegs(const MachineFunction &MF) const override;
87 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
91 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
95 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
99 bool requiresVirtualBaseRegisters(const MachineFunction &MF) const override { in requiresVirtualBaseRegisters()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineFunction.h83 static Ty *create(BumpPtrAllocator &Allocator, MachineFunction &MF) {
88 class MachineFunction {
157 MachineFunction(const MachineFunction &) = delete;
158 void operator=(const MachineFunction&) = delete;
160 MachineFunction(const Function *Fn, const TargetMachine &TM,
162 ~MachineFunction();
283 return const_cast<MachineFunction*>(this)->getInfo<Ty>();
346 static BasicBlockListType MachineFunction::*
348 return &MachineFunction::BasicBlocks;
533 template <> struct GraphTraits<MachineFunction*> :
[all …]
DMachineRegionInfo.h31 struct RegionTraits<MachineFunction> {
32 typedef MachineFunction FuncT;
51 class MachineRegionNode : public RegionNodeBase<RegionTraits<MachineFunction>> {
56 : RegionNodeBase<RegionTraits<MachineFunction>>(Parent, Entry, isSubRegion) {
65 class MachineRegion : public RegionBase<RegionTraits<MachineFunction>> {
77 class MachineRegionInfo : public RegionInfoBase<RegionTraits<MachineFunction>> {
86 void recalculate(MachineFunction &F,
111 bool runOnMachineFunction(MachineFunction &F) override;
123 inline MachineBasicBlock* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineBasicBloc…
130 inline MachineRegion* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineRegion>() con…
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZFrameLowering.h30 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
41 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
43 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
44 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
45 bool hasFP(const MachineFunction &MF) const override;
46 int getFrameIndexReference(const MachineFunction &MF, int FI,
48 bool hasReservedCallFrame(const MachineFunction &MF) const override;
49 void eliminateCallFramePseudoInstr(MachineFunction &MF,
55 uint64_t getAllocatedStackSize(const MachineFunction &MF) const;
DSystemZRegisterInfo.h37 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
40 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
43 bool trackLivenessAfterRegAlloc(const MachineFunction &MF) const override { in trackLivenessAfterRegAlloc()
46 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
47 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
49 BitVector getReservedRegs(const MachineFunction &MF) const override;
53 unsigned getFrameRegister(const MachineFunction &MF) const override;
/external/llvm/lib/Target/XCore/
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);
/external/llvm/lib/CodeGen/AsmPrinter/
DWinException.h22 class MachineFunction; variable
43 void emitCSpecificHandlerTable(const MachineFunction *MF);
51 void emitCXXFrameHandler3Table(const MachineFunction *MF);
56 void emitExceptHandlerTable(const MachineFunction *MF);
58 void emitCLRExceptionTable(const MachineFunction *MF);
61 const MachineFunction *MF, const WinEHFuncInfo &FuncInfo,
94 void beginFunction(const MachineFunction *MF) override;
97 void endFunction(const MachineFunction *) override;
/external/llvm/lib/CodeGen/MIRParser/
DMIParser.h25 class MachineFunction; variable
52 bool parseMachineBasicBlockDefinitions(MachineFunction &MF, StringRef Src,
67 bool parseMachineInstructions(MachineFunction &MF, StringRef Src,
72 MachineFunction &MF, StringRef Src,
77 MachineFunction &MF, StringRef Src,
83 MachineFunction &MF, StringRef Src,
88 bool parseStackObjectReference(int &FI, SourceMgr &SM, MachineFunction &MF,
93 bool parseMDNode(MDNode *&Node, SourceMgr &SM, MachineFunction &MF,

12345678910>>...21