Home
last modified time | relevance | path

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

12345678910>>...64

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DCodePlacementOpt.cpp41 virtual bool runOnMachineFunction(MachineFunction &MF);
55 void Splice(MachineFunction &MF,
56 MachineFunction::iterator InsertPt,
57 MachineFunction::iterator Begin,
58 MachineFunction::iterator End);
59 bool EliminateUnconditionalJumpsToTop(MachineFunction &MF,
61 bool MoveDiscontiguousLoopBlocks(MachineFunction &MF,
63 bool OptimizeIntraLoopEdgesInLoopNest(MachineFunction &MF, MachineLoop *L);
64 bool OptimizeIntraLoopEdges(MachineFunction &MF);
65 bool AlignLoops(MachineFunction &MF);
[all …]
DPrologEpilogInserter.h52 bool runOnMachineFunction(MachineFunction &Fn);
106 MachineFunction* MF;
114 bool calculateSets(MachineFunction &Fn);
117 void calculateAnticAvail(MachineFunction &Fn);
127 void placeSpillsAndRestores(MachineFunction &Fn);
128 void placeCSRSpillsAndRestores(MachineFunction &Fn);
129 void calculateCallsInformation(MachineFunction &Fn);
130 void calculateCalleeSavedRegisters(MachineFunction &Fn);
131 void insertCSRSpillsAndRestores(MachineFunction &Fn);
132 void calculateFrameObjectOffsets(MachineFunction &Fn);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FrameLowering.h54 void 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;
103 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
104 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
116 BitVector getReservedRegs(const MachineFunction &MF) const override;
120 bool hasBasePointer(const MachineFunction &MF) const;
[all …]
/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;
103 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const override;
104 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
116 BitVector getReservedRegs(const MachineFunction &MF) const override;
120 bool hasBasePointer(const MachineFunction &MF) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
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()
157 virtual bool enableStackSlotScavenging(const MachineFunction &MF) const { in enableStackSlotScavenging()
163 virtual bool enableCalleeSaveSkip(const MachineFunction &MF) const;
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()
[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()
157 virtual bool enableStackSlotScavenging(const MachineFunction &MF) const { in enableStackSlotScavenging()
163 virtual void emitPrologue(MachineFunction &MF,
165 virtual void emitEpilogue(MachineFunction &MF,
169 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe()
174 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks()
179 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64RegisterInfo.h22 class MachineFunction; variable
33 bool isReservedReg(const MachineFunction &MF, unsigned Reg) const;
36 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
38 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
39 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
65 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
71 BitVector getReservedRegs(const MachineFunction &MF) const override;
74 getPointerRegClass(const MachineFunction &MF,
81 bool requiresRegisterScavenging(const MachineFunction &MF) const override;
82 bool useFPForScavengingIndex(const MachineFunction &MF) const override;
[all …]
DAArch64FrameLowering.h31 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
36 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
37 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
41 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()
[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 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
36 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
37 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
41 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()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h113 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
115 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
116 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
119 const uint32_t *getTLSCallPreservedMask(const MachineFunction &MF) const;
120 const uint32_t *getSjLjDispatchPreservedMask(const MachineFunction &MF) const;
130 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
133 BitVector getReservedRegs(const MachineFunction &MF) const override;
136 getPointerRegClass(const MachineFunction &MF,
143 const MachineFunction &MF) const override;
146 MachineFunction &MF) const override;
[all …]
DARMFrameLowering.h21 class MachineFunction; variable
32 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
33 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override;
45 bool noFramePointerElim(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;
51 bool canSimplifyCallFramePseudos(const MachineFunction &MF) const override;
52 int getFrameIndexReference(const MachineFunction &MF, int FI,
54 int ResolveFrameIndexReference(const MachineFunction &MF, int FI,
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h26 class MachineFunction; variable
39 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const
41 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue()
56 bool hasReservedCallFrame(const MachineFunction &MF) const override { in hasReservedCallFrame()
61 bool canSimplifyCallFramePseudos(const MachineFunction &MF) const override { in canSimplifyCallFramePseudos()
68 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
70 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
72 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
79 int getFrameIndexReference(const MachineFunction &MF, int FI,
81 bool hasFP(const MachineFunction &MF) const override;
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseRegisterInfo.h97 const unsigned *getCalleeSavedRegs(const MachineFunction *MF = 0) const;
99 BitVector getReservedRegs(const MachineFunction &MF) const;
126 MachineFunction &MF) const;
130 const MachineFunction &MF) const;
133 const MachineFunction &MF) const;
136 MachineFunction &MF) const;
140 bool hasBasePointer(const MachineFunction &MF) const;
142 bool canRealignStack(const MachineFunction &MF) const;
143 bool needsStackRealignment(const MachineFunction &MF) const;
153 bool cannotEliminateFrame(const MachineFunction &MF) const;
[all …]
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h100 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
102 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const override;
103 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
106 const uint32_t *getTLSCallPreservedMask(const MachineFunction &MF) const;
116 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF,
119 BitVector getReservedRegs(const MachineFunction &MF) const override;
122 getPointerRegClass(const MachineFunction &MF,
129 const MachineFunction &MF) const override;
132 MachineFunction &MF) const override;
137 const MachineFunction &MF,
[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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.h29 void emitEntryFunctionPrologue(MachineFunction &MF,
31 void emitPrologue(MachineFunction &MF,
33 void emitEpilogue(MachineFunction &MF,
35 int getFrameIndexReference(const MachineFunction &MF, int FI,
38 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
42 MachineFunction &MF,
46 eliminateCallFramePseudoInstr(MachineFunction &MF,
52 MachineFunction &MF,
60 MachineFunction &MF) const;
67 MachineFunction &MF) const;
[all …]
DSIRegisterInfo.h53 unsigned reservedPrivateSegmentBufferReg(const MachineFunction &MF) const;
58 const MachineFunction &MF) const;
60 unsigned reservedStackPtrOffsetReg(const MachineFunction &MF) const;
62 BitVector getReservedRegs(const MachineFunction &MF) const override;
64 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override;
65 const MCPhysReg *getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
66 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
75 unsigned getFrameRegister(const MachineFunction &MF) const override;
77 bool requiresRegisterScavenging(const MachineFunction &Fn) const override;
79 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override;
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.h30 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const
32 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const in emitEpilogue()
46 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB,
48 void processFunctionBeforeFrameFinalized(MachineFunction &MF,
50 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs,
56 int getFrameIndexReference(const MachineFunction &MF, int FI,
58 bool hasFP(const MachineFunction &MF) const override;
74 bool assignCalleeSavedSpillSlots(MachineFunction &MF,
78 bool needsAligna(const MachineFunction &MF) const;
79 const MachineInstr *getAlignaInstr(const MachineFunction &MF) const;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/MI/
DLiveIntervalTest.cpp73 typedef std::function<void(MachineFunction&,LiveIntervals&)> LiveIntervalTest;
85 bool runOnMachineFunction(MachineFunction &MF) override { in runOnMachineFunction()
102 static MachineInstr &getMI(MachineFunction &MF, unsigned At, in getMI()
119 static void testHandleMove(MachineFunction &MF, LiveIntervals &LIS, in testHandleMove()
170 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
181 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
192 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
203 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
213 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
224 )MIR", [](MachineFunction &MF, LiveIntervals &LIS) { in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
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 MCPhysReg *getCalleeSavedRegsViaCopy(const MachineFunction *MF) const;
79 const uint32_t *getCallPreservedMask(const MachineFunction &MF,
85 BitVector getReservedRegs(const MachineFunction &MF) const override;
86 bool isCallerPreservedPhysReg(unsigned PhysReg, const MachineFunction &MF) const override;
91 bool requiresRegisterScavenging(const MachineFunction &MF) const override { in requiresRegisterScavenging()
95 bool requiresFrameIndexScavenging(const MachineFunction &MF) const override { in requiresFrameIndexScavenging()
[all …]
/external/swiftshader/third_party/llvm-7.0/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,
/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,

12345678910>>...64