/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyFrameLowering.cpp | 45 bool WebAssemblyFrameLowering::hasBP(const MachineFunction &MF) const { in hasBP() 47 MF.getSubtarget<WebAssemblySubtarget>().getRegisterInfo(); in hasBP() 48 return RegInfo->needsStackRealignment(MF); in hasBP() 53 bool WebAssemblyFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 54 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() 63 bool NeedsFixedReference = !hasBP(MF) || HasFixedSizedObjects; in hasFP() 76 const MachineFunction &MF) const { in hasReservedCallFrame() 77 return !MF.getFrameInfo().hasVarSizedObjects(); in hasReservedCallFrame() 83 const MachineFunction &MF) const { in needsSPForLocalFrame() 84 auto &MFI = MF.getFrameInfo(); in needsSPForLocalFrame() [all …]
|
D | WebAssemblyLateEHPrepare.cpp | 33 bool runOnMachineFunction(MachineFunction &MF) override; 34 bool addCatches(MachineFunction &MF); 35 bool replaceFuncletReturns(MachineFunction &MF); 36 bool removeUnnecessaryUnreachables(MachineFunction &MF); 37 bool addExceptionExtraction(MachineFunction &MF); 38 bool restoreStackPointer(MachineFunction &MF); 61 MachineFunction *MF = MI->getParent()->getParent(); in getMatchingEHPad() local 77 if (MBB == &MF->front()) in getMatchingEHPad() 102 bool WebAssemblyLateEHPrepare::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 105 << MF.getName() << '\n'); in runOnMachineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 44 AArch64RegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 45 assert(MF && "Invalid MachineFunction pointer."); in getCalleeSavedRegs() 46 if (MF->getFunction().getCallingConv() == CallingConv::CFGuard_Check) in getCalleeSavedRegs() 48 if (MF->getSubtarget<AArch64Subtarget>().isTargetWindows()) in getCalleeSavedRegs() 50 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 54 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 56 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_VectorCall) in getCalleeSavedRegs() 58 if (MF->getFunction().getCallingConv() == CallingConv::AArch64_SVE_VectorCall) in getCalleeSavedRegs() 60 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs() 61 return MF->getInfo<AArch64FunctionInfo>()->isSplitCSR() ? in getCalleeSavedRegs() [all …]
|
D | AArch64FrameLowering.cpp | 184 static unsigned estimateRSStackSizeLimit(MachineFunction &MF) { in estimateRSStackSizeLimit() argument 188 for (MachineBasicBlock &MBB : MF) { in estimateRSStackSizeLimit() 215 static StackOffset getSVEStackSize(const MachineFunction &MF) { in getSVEStackSize() argument 216 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in getSVEStackSize() 220 bool AArch64FrameLowering::canUseRedZone(const MachineFunction &MF) const { in canUseRedZone() 225 if (MF.getFunction().hasFnAttribute(Attribute::NoRedZone)) in canUseRedZone() 228 const MachineFrameInfo &MFI = MF.getFrameInfo(); in canUseRedZone() 229 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() 232 return !(MFI.hasCalls() || hasFP(MF) || NumBytes > 128 || in canUseRedZone() 233 getSVEStackSize(MF)); in canUseRedZone() [all …]
|
D | AArch64FrameLowering.h | 31 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 StackOffset resolveFrameIndexReference(const MachineFunction &MF, int FI, 46 StackOffset resolveFrameOffsetReference(const MachineFunction &MF, 61 bool canUseRedZone(const MachineFunction &MF) const; 63 bool hasFP(const MachineFunction &MF) const override; 64 bool hasReservedCallFrame(const MachineFunction &MF) const override; 66 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, [all …]
|
D | AArch64RegisterInfo.h | 37 bool isReservedReg(const MachineFunction &MF, unsigned Reg) const; 38 bool isAnyArgRegReserved(const MachineFunction &MF) const; 39 void emitReservedArgRegCallError(const MachineFunction &MF) const; 41 void UpdateCustomCalleeSavedRegs(MachineFunction &MF) const; 42 void UpdateCustomCallPreservedMask(MachineFunction &MF, 46 const MCPhysReg *getCalleeSavedRegs(const MachineFunction *MF) const override; 48 getCalleeSavedRegsViaCopy(const MachineFunction *MF) const; 49 const uint32_t *getCallPreservedMask(const MachineFunction &MF, 78 const uint32_t *getThisReturnPreservedMask(const MachineFunction &MF, 84 BitVector getReservedRegs(const MachineFunction &MF) const override; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetFrameLoweringImpl.cpp | 33 bool TargetFrameLowering::enableCalleeSaveSkip(const MachineFunction &MF) const { in enableCalleeSaveSkip() 34 assert(MF.getFunction().hasFnAttribute(Attribute::NoReturn) && in enableCalleeSaveSkip() 35 MF.getFunction().hasFnAttribute(Attribute::NoUnwind) && in enableCalleeSaveSkip() 36 !MF.getFunction().hasFnAttribute(Attribute::UWTable)); in enableCalleeSaveSkip() 44 int TargetFrameLowering::getFrameIndexReference(const MachineFunction &MF, in getFrameIndexReference() argument 46 const MachineFrameInfo &MFI = MF.getFrameInfo(); in getFrameIndexReference() 47 const TargetRegisterInfo *RI = MF.getSubtarget().getRegisterInfo(); in getFrameIndexReference() 52 FrameReg = RI->getFrameRegister(MF); in getFrameIndexReference() 59 const MachineFunction &MF) const { in needsFrameIndexResolution() 60 return MF.getFrameInfo().hasStackObjects(); in needsFrameIndexResolution() [all …]
|
D | PrologEpilogInserter.cpp | 97 bool runOnMachineFunction(MachineFunction &MF) override; 124 void calculateCallFrameInfo(MachineFunction &MF); 125 void calculateSaveRestoreBlocks(MachineFunction &MF); 126 void spillCalleeSavedRegs(MachineFunction &MF); 128 void calculateFrameObjectOffsets(MachineFunction &MF); 129 void replaceFrameIndices(MachineFunction &MF); 130 void replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &MF, 132 void insertPrologEpilogCode(MachineFunction &MF); 215 bool PEI::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 217 const Function &F = MF.getFunction(); in runOnMachineFunction() [all …]
|
D | RegUsageInfoCollector.cpp | 57 bool runOnMachineFunction(MachineFunction &MF) override; 61 static void computeCalleeSavedRegs(BitVector &SavedRegs, MachineFunction &MF); 85 static bool isCallableFunction(const MachineFunction &MF) { in isCallableFunction() argument 86 switch (MF.getFunction().getCallingConv()) { in isCallableFunction() 101 bool RegUsageInfoCollector::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 102 MachineRegisterInfo *MRI = &MF.getRegInfo(); in runOnMachineFunction() 103 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in runOnMachineFunction() 104 const LLVMTargetMachine &TM = MF.getTarget(); in runOnMachineFunction() 108 << MF.getName() << '\n'); in runOnMachineFunction() 111 if (!isCallableFunction(MF)) { in runOnMachineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVFrameLowering.cpp | 26 bool RISCVFrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 27 const TargetRegisterInfo *RegInfo = MF.getSubtarget().getRegisterInfo(); in hasFP() 29 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() 30 return MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP() 31 RegInfo->needsStackRealignment(MF) || MFI.hasVarSizedObjects() || in hasFP() 35 bool RISCVFrameLowering::hasBP(const MachineFunction &MF) const { in hasBP() 36 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasBP() 39 return MFI.hasVarSizedObjects() && TRI->needsStackRealignment(MF); in hasBP() 43 void RISCVFrameLowering::determineFrameLayout(MachineFunction &MF) const { in determineFrameLayout() 44 MachineFrameInfo &MFI = MF.getFrameInfo(); in determineFrameLayout() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 65 ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 66 const ARMSubtarget &STI = MF->getSubtarget<ARMSubtarget>(); in getCalleeSavedRegs() 67 bool UseSplitPush = STI.splitFramePushPop(*MF); in getCalleeSavedRegs() 73 const Function &F = MF->getFunction(); in getCalleeSavedRegs() 106 return MF->getInfo<ARMFunctionInfo>()->isSplitCSR() in getCalleeSavedRegs() 113 const MachineFunction *MF) const { in getCalleeSavedRegsViaCopy() 114 assert(MF && "Invalid MachineFunction pointer."); in getCalleeSavedRegsViaCopy() 115 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy() 116 MF->getInfo<ARMFunctionInfo>()->isSplitCSR()) in getCalleeSavedRegsViaCopy() 122 ARMBaseRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/ |
D | VEFrameLowering.cpp | 34 void VEFrameLowering::emitPrologueInsns(MachineFunction &MF, in emitPrologueInsns() argument 42 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitPrologueInsns() 72 void VEFrameLowering::emitEpilogueInsns(MachineFunction &MF, in emitEpilogueInsns() argument 80 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitEpilogueInsns() 106 void VEFrameLowering::emitSPAdjustment(MachineFunction &MF, in emitSPAdjustment() argument 112 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment() 137 void VEFrameLowering::emitSPExtend(MachineFunction &MF, MachineBasicBlock &MBB, in emitSPExtend() argument 142 *static_cast<const VEInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPExtend() 174 void VEFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 176 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetFrameLowering.h | 111 virtual unsigned getStackAlignmentSkew(const MachineFunction &MF) const; 130 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots() argument 159 virtual bool enableShrinkWrapping(const MachineFunction &MF) const { in enableShrinkWrapping() argument 166 virtual bool enableStackSlotScavenging(const MachineFunction &MF) const { in enableStackSlotScavenging() argument 172 virtual bool enableCalleeSaveSkip(const MachineFunction &MF) const; 176 virtual void emitPrologue(MachineFunction &MF, 178 virtual void emitEpilogue(MachineFunction &MF, 182 virtual void inlineStackProbe(MachineFunction &MF, in inlineStackProbe() argument 187 virtual void adjustForSegmentedStacks(MachineFunction &MF, in adjustForSegmentedStacks() argument 192 virtual void adjustForHiPEPrologue(MachineFunction &MF, in adjustForHiPEPrologue() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcFrameLowering.cpp | 40 void SparcFrameLowering::emitSPAdjustment(MachineFunction &MF, in emitSPAdjustment() argument 49 *static_cast<const SparcInstrInfo *>(MF.getSubtarget().getInstrInfo()); in emitSPAdjustment() 85 void SparcFrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 87 SparcMachineFunctionInfo *FuncInfo = MF.getInfo<SparcMachineFunctionInfo>(); in emitPrologue() 89 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 90 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() 91 const SparcSubtarget &Subtarget = MF.getSubtarget<SparcSubtarget>(); in emitPrologue() 100 bool NeedsStackRealignment = RegInfo.needsStackRealignment(MF); in emitPrologue() 108 report_fatal_error("Function \"" + Twine(MF.getName()) + "\" required " in emitPrologue() 140 if (MFI.adjustsStack() && hasReservedCallFrame(MF)) in emitPrologue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86FrameLowering.h | 53 void emitStackProbe(MachineFunction &MF, MachineBasicBlock &MBB, 58 void inlineStackProbe(MachineFunction &MF, 67 void emitPrologue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 68 void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const override; 70 void adjustForSegmentedStacks(MachineFunction &MF, 73 void adjustForHiPEPrologue(MachineFunction &MF, 76 void determineCalleeSaves(MachineFunction &MF, BitVector &SavedRegs, 80 assignCalleeSavedSpillSlots(MachineFunction &MF, 94 bool hasFP(const MachineFunction &MF) const override; 95 bool hasReservedCallFrame(const MachineFunction &MF) const override; [all …]
|
D | X86RetpolineThunks.cpp | 76 void populateThunk(MachineFunction &MF, unsigned Reg); 92 bool X86RetpolineThunks::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 95 TM = &MF.getTarget();; in runOnMachineFunction() 96 STI = &MF.getSubtarget<X86Subtarget>(); in runOnMachineFunction() 105 if (!MF.getName().startswith(ThunkNamePrefix)) { in runOnMachineFunction() 138 assert(MF.getName() == "__llvm_retpoline_r11" && in runOnMachineFunction() 151 populateThunk(MF, X86::R11); in runOnMachineFunction() 180 if (MF.getName() == EAXThunkName) in runOnMachineFunction() 181 populateThunk(MF, X86::EAX); in runOnMachineFunction() 182 else if (MF.getName() == ECXThunkName) in runOnMachineFunction() [all …]
|
D | X86FrameLowering.cpp | 51 bool X86FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame() 52 return !MF.getFrameInfo().hasVarSizedObjects() && in hasReservedCallFrame() 53 !MF.getInfo<X86MachineFunctionInfo>()->getHasPushSequences(); in hasReservedCallFrame() 61 X86FrameLowering::canSimplifyCallFramePseudos(const MachineFunction &MF) const { in canSimplifyCallFramePseudos() 62 return hasReservedCallFrame(MF) || in canSimplifyCallFramePseudos() 63 (hasFP(MF) && !TRI->needsStackRealignment(MF)) || in canSimplifyCallFramePseudos() 64 TRI->hasBasePointer(MF); in canSimplifyCallFramePseudos() 75 X86FrameLowering::needsFrameIndexResolution(const MachineFunction &MF) const { in needsFrameIndexResolution() 76 return MF.getFrameInfo().hasStackObjects() || in needsFrameIndexResolution() 77 MF.getInfo<X86MachineFunctionInfo>()->getHasPushSequences(); in needsFrameIndexResolution() [all …]
|
D | X86RegisterInfo.cpp | 76 X86RegisterInfo::trackLivenessAfterRegAlloc(const MachineFunction &MF) const { in trackLivenessAfterRegAlloc() 113 const MachineFunction &MF) const { in getLargestLegalSuperClass() 125 const X86Subtarget &Subtarget = MF.getSubtarget<X86Subtarget>(); in getLargestLegalSuperClass() 179 X86RegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass() argument 181 const X86Subtarget &Subtarget = MF.getSubtarget<X86Subtarget>(); in getPointerRegClass() 194 const X86FrameLowering *TFI = getFrameLowering(MF); in getPointerRegClass() 195 return TFI->hasFP(MF) && TFI->Uses64BitFramePtr in getPointerRegClass() 215 return getGPRsForTailCall(MF); in getPointerRegClass() 235 X86RegisterInfo::getGPRsForTailCall(const MachineFunction &MF) const { in getGPRsForTailCall() 236 const Function &F = MF.getFunction(); in getGPRsForTailCall() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsRegisterInfo.cpp | 47 MipsRegisterInfo::getPointerRegClass(const MachineFunction &MF, in getPointerRegClass() argument 49 MipsABIInfo ABI = MF.getSubtarget<MipsSubtarget>().getABI(); in getPointerRegClass() 68 MachineFunction &MF) const { in getRegPressureLimit() 75 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in getRegPressureLimit() 76 return 28 - TFI->hasFP(MF); in getRegPressureLimit() 93 MipsRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { in getCalleeSavedRegs() 94 const MipsSubtarget &Subtarget = MF->getSubtarget<MipsSubtarget>(); in getCalleeSavedRegs() 95 const Function &F = MF->getFunction(); in getCalleeSavedRegs() 124 MipsRegisterInfo::getCallPreservedMask(const MachineFunction &MF, in getCallPreservedMask() argument 126 const MipsSubtarget &Subtarget = MF.getSubtarget<MipsSubtarget>(); in getCallPreservedMask() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | InstructionSelect.cpp | 66 bool InstructionSelect::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 68 if (MF.getProperties().hasProperty( in runOnMachineFunction() 72 LLVM_DEBUG(dbgs() << "Selecting function: " << MF.getName() << '\n'); in runOnMachineFunction() 73 GISelKnownBits &KB = getAnalysis<GISelKnownBitsAnalysis>().get(MF); in runOnMachineFunction() 76 InstructionSelector *ISel = MF.getSubtarget().getInstructionSelector(); in runOnMachineFunction() 79 ISel->setupMF(MF, KB, CoverageInfo); in runOnMachineFunction() 82 MachineOptimizationRemarkEmitter MORE(MF, /*MBFI=*/nullptr); in runOnMachineFunction() 86 MachineRegisterInfo &MRI = MF.getRegInfo(); in runOnMachineFunction() 93 if (const MachineInstr *MI = machineFunctionIsIllegal(MF)) { in runOnMachineFunction() 94 reportGISelFailure(MF, TPC, MORE, "gisel-select", in runOnMachineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430FrameLowering.cpp | 28 bool MSP430FrameLowering::hasFP(const MachineFunction &MF) const { in hasFP() 29 const MachineFrameInfo &MFI = MF.getFrameInfo(); in hasFP() 31 return (MF.getTarget().Options.DisableFramePointerElim(MF) || in hasFP() 32 MF.getFrameInfo().hasVarSizedObjects() || in hasFP() 36 bool MSP430FrameLowering::hasReservedCallFrame(const MachineFunction &MF) const { in hasReservedCallFrame() 37 return !MF.getFrameInfo().hasVarSizedObjects(); in hasReservedCallFrame() 40 void MSP430FrameLowering::emitPrologue(MachineFunction &MF, in emitPrologue() argument 42 assert(&MF.front() == &MBB && "Shrink-wrapping not yet supported"); in emitPrologue() 43 MachineFrameInfo &MFI = MF.getFrameInfo(); in emitPrologue() 44 MSP430MachineFunctionInfo *MSP430FI = MF.getInfo<MSP430MachineFunctionInfo>(); in emitPrologue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreFrameLowering.cpp | 63 MachineFunction &MF, unsigned DRegNum) { in EmitDefCfaRegister() argument 64 unsigned CFIIndex = MF.addFrameInst( in EmitDefCfaRegister() 74 MachineFunction &MF = *MBB.getParent(); in EmitDefCfaOffset() local 76 MF.addFrameInst(MCCFIInstruction::createDefCfaOffset(nullptr, -Offset)); in EmitDefCfaOffset() 85 MachineFunction &MF = *MBB.getParent(); in EmitCfiOffset() local 86 unsigned CFIIndex = MF.addFrameInst( in EmitCfiOffset() 178 MachineFunction *MF = MBB.getParent(); in getFrameIndexMMO() local 179 const MachineFrameInfo &MFI = MF->getFrameInfo(); in getFrameIndexMMO() 180 MachineMemOperand *MMO = MF->getMachineMemOperand( in getFrameIndexMMO() 181 MachinePointerInfo::getFixedStack(*MF, FrameIndex), flags, in getFrameIndexMMO() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZFrameLowering.cpp | 65 static bool usePackedStack(MachineFunction &MF) { in usePackedStack() argument 66 bool HasPackedStackAttr = MF.getFunction().hasFnAttribute("packed-stack"); in usePackedStack() 67 bool IsVarArg = MF.getFunction().isVarArg(); in usePackedStack() 68 bool CallConv = MF.getFunction().getCallingConv() != CallingConv::GHC; in usePackedStack() 69 bool BackChain = MF.getFunction().hasFnAttribute("backchain"); in usePackedStack() 70 bool FramAddressTaken = MF.getFrameInfo().isFrameAddressTaken(); in usePackedStack() 78 assignCalleeSavedSpillSlots(MachineFunction &MF, in assignCalleeSavedSpillSlots() argument 81 SystemZMachineFunctionInfo *ZFI = MF.getInfo<SystemZMachineFunctionInfo>(); in assignCalleeSavedSpillSlots() 82 MachineFrameInfo &MFFrame = MF.getFrameInfo(); in assignCalleeSavedSpillSlots() 83 bool IsVarArg = MF.getFunction().isVarArg(); in assignCalleeSavedSpillSlots() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SILowerSGPRSpills.cpp | 64 void calculateSaveRestoreBlocks(MachineFunction &MF); 65 bool spillCalleeSavedRegs(MachineFunction &MF); 67 bool runOnMachineFunction(MachineFunction &MF) override; 91 MachineFunction &MF = *SaveBlock.getParent(); in insertCSRSaves() local 92 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRSaves() 93 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRSaves() 94 const TargetRegisterInfo *TRI = MF.getSubtarget().getRegisterInfo(); in insertCSRSaves() 123 MachineFunction &MF = *RestoreBlock.getParent(); in insertCSRRestores() local 124 const TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); in insertCSRRestores() 125 const TargetFrameLowering *TFI = MF.getSubtarget().getFrameLowering(); in insertCSRRestores() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXReplaceImageHandles.cpp | 37 bool runOnMachineFunction(MachineFunction &MF) override; 44 void replaceImageHandle(MachineOperand &Op, MachineFunction &MF); 45 bool findIndexForHandle(MachineOperand &Op, MachineFunction &MF, 55 bool NVPTXReplaceImageHandles::runOnMachineFunction(MachineFunction &MF) { in runOnMachineFunction() argument 59 for (MachineFunction::iterator BI = MF.begin(), BE = MF.end(); BI != BE; in runOnMachineFunction() 80 MachineFunction &MF = *MI.getParent()->getParent(); in processInstr() local 87 replaceImageHandle(TexHandle, MF); in processInstr() 91 replaceImageHandle(SampHandle, MF); in processInstr() 102 replaceImageHandle(SurfHandle, MF); in processInstr() 109 replaceImageHandle(SurfHandle, MF); in processInstr() [all …]
|