Home
last modified time | relevance | path

Searched refs:getMF (Results 1 – 25 of 60) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallLowering.cpp102 DL(MIRBuilder.getMF().getDataLayout()), in OutgoingValueHandler()
103 STI(MIRBuilder.getMF().getSubtarget<X86Subtarget>()) {} in OutgoingValueHandler()
120 MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
152 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
195 MachineFunction &MF = MIRBuilder.getMF(); in lowerReturn()
233 DL(MIRBuilder.getMF().getDataLayout()) {} in IncomingValueHandler()
239 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
241 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
251 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
337 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMCallLowering.cpp111 MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
134 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
162 bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle(); in assignCustomValue()
244 auto &MF = MIRBuilder.getMF(); in lowerReturnVal()
270 auto const &ST = MIRBuilder.getMF().getSubtarget<ARMSubtarget>(); in lowerReturn()
297 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
300 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
332 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in buildLoad()
388 bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle(); in assignCustomValue()
432 auto &MF = MIRBuilder.getMF(); in lowerFormalArguments()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp51 if (!MIRBuilder.getMF().getDataLayout().isLittleEndian()) in setLeastSignificantFirst()
59 const Function &F = MIRBuilder.getMF().getFunction(); in handle()
62 MIRBuilder.getMF().getSubtarget().getTargetLowering()); in handle()
140 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in assignValueToReg()
144 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in assignValueToReg()
182 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
189 MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
255 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in assignValueToReg()
289 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
305 MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
[all …]
DMipsRegisterBankInfo.cpp226 const MachineRegisterInfo &MRI = MI->getMF()->getRegInfo(); in AmbiguousRegDefUseContainer()
340 const MachineFunction &MF = *CopyInst->getMF(); in setTypesAccordingToPhysicalRegister()
344 *CopyInst->getMF()->getSubtarget().getRegBankInfo(); in setTypesAccordingToPhysicalRegister()
402 TI.cleanupIfNewFunction(MI.getMF()->getName()); in getInstrMapping()
668 MachineFunction *MF = MI.getMF(); in applyMappingImpl()
DMipsLegalizerInfo.cpp268 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in legalizeCustom()
359 static_cast<const MipsSubtarget &>(MI.getMF()->getSubtarget()); in legalizeIntrinsic()
383 *MI.getMF()->getMachineMemOperand( in legalizeIntrinsic()
386 *MI.getMF()->getMachineMemOperand( in legalizeIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp84 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
86 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
123 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
225 MachineFunction &MF = B.getMF(); in unpackRegsToOrigType()
267 auto &MF = B.getMF(); in lowerReturnVal()
295 MachineFunction &MF = B.getMF(); in lowerReturn()
302 CallingConv::ID CC = B.getMF().getFunction().getCallingConv(); in lowerReturn()
312 auto const &ST = B.getMF().getSubtarget<GCNSubtarget>(); in lowerReturn()
344 MachineFunction &MF = B.getMF(); in lowerParameterPtr()
368 MachineFunction &MF = B.getMF(); in lowerParameter()
[all …]
DAMDGPULegalizerInfo.cpp1184 MachineFunction &MF = B.getMF(); in getSegmentAperture()
1253 MachineFunction &MF = B.getMF(); in legalizeAddrSpaceCast()
1509 MachineFunction &MF = B.getMF(); in legalizeMinNumMaxNum()
1682 MachineFunction &MF = B.getMF(); in legalizeGlobalValue()
1762 MachineFunction &MF = B.getMF(); in legalizeFMad()
1877 MachineBasicBlock &EntryMBB = B.getMF().front(); in loadInputValue()
1895 const SIMachineFunctionInfo *MFI = B.getMF().getInfo<SIMachineFunctionInfo>(); in legalizePreloadedArgIntrin()
1949 const MachineFunction &MF = B.getMF(); in legalizeFastUnsafeFDIV()
2069 const SIMachineFunctionInfo *MFI = B.getMF().getInfo<SIMachineFunctionInfo>(); in legalizeFDIV32()
2249 const SIMachineFunctionInfo *MFI = B.getMF().getInfo<SIMachineFunctionInfo>(); in legalizeImplicitArgPtr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp62 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
64 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
91 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
143 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
184 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
266 MachineFunction &MF = MIRBuilder.getMF(); in lowerReturn()
379 MachineFunction &MF = MIRBuilder.getMF(); in handleMustTailForwardedRegisters()
419 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
461 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in lowerFormalArguments()
670 MachineFunction &MF = MIRBuilder.getMF(); in isEligibleForTailCallOptimization()
[all …]
DAArch64InstructionSelector.cpp3174 unsigned CPIdx = emitConstantPoolEntry(CPVal, MIRBuilder.getMF()); in emitLoadFromConstantPool()
3245 MachineRegisterInfo &MRI = MIRBuilder.getMF().getRegInfo(); in emitADD()
3269 MachineRegisterInfo &MRI = MIRBuilder.getMF().getRegInfo(); in emitCMN()
3294 MachineRegisterInfo &MRI = MIRBuilder.getMF().getRegInfo(); in emitTST()
3323 MachineRegisterInfo &MRI = MIRBuilder.getMF().getRegInfo(); in emitIntegerCompare()
3374 MachineRegisterInfo &MRI = MIRBuilder.getMF().getRegInfo(); in emitVectorConcat()
4254 MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo(); in selectNegArithImmed()
4297 MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo(); in selectExtendedSHL()
4395 MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo(); in selectAddrModeShiftedExtendXReg()
4434 MachineRegisterInfo &MRI = Root.getParent()->getMF()->getRegInfo(); in selectAddrModeRegisterOffset()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCallLowering.cpp68 isInTailCallPosition(CS, MIRBuilder.getMF().getTarget()) && in lowerCall()
69 (MIRBuilder.getMF() in lowerCall()
134 const DataLayout &DL = MIRBuilder.getMF().getDataLayout(); in packRegs()
160 const DataLayout &DL = MIRBuilder.getMF().getDataLayout(); in unpackRegs()
174 MachineFunction &MF = MIRBuilder.getMF(); in handleAssignments()
186 MachineFunction &MF = MIRBuilder.getMF(); in handleAssignments()
DMachineIRBuilder.cpp39 assert(&getMF() == MBB.getParent() && in setMBB()
53 assert(MBB.getParent() == &getMF() && in setInsertPt()
79 MachineInstrBuilder MIB = BuildMI(getMF(), getDL(), getTII().get(Opcode)); in buildInstrNoInsert()
97 return insertInstr(BuildMI(getMF(), getDL(), in buildDirectDbgValue()
110 return insertInstr(BuildMI(getMF(), getDL(), in buildIndirectDbgValue()
300 auto IntN = IntegerType::get(getMF().getFunction().getContext(), in buildConstant()
333 ConstantInt *CI = ConstantInt::get(getMF().getFunction().getContext(), Val); in buildConstant()
340 auto &Ctx = getMF().getFunction().getContext(); in buildFConstant()
348 auto &Ctx = getMF().getFunction().getContext(); in buildFConstant()
425 const auto *TLI = getMF().getSubtarget().getTargetLowering(); in getBoolExtOp()
DRegisterBankInfo.cpp171 const MachineFunction &MF = *MI.getMF(); in getInstrMappingImpl()
603 assert(MI.getParent() && MI.getMF() && in verify()
605 const MachineFunction &MF = *MI.getMF(); in verify()
786 getMI().getParent() && getMI().getMF() in print()
787 ? getMI().getMF()->getSubtarget().getRegisterInfo() in print()
DLegalizerHelper.cpp351 auto &TII = *MI.getMF()->getSubtarget().getInstrInfo(); in isLibCallInTailPosition()
363 auto &CLI = *MIRBuilder.getMF().getSubtarget().getCallLowering(); in createLibcall()
364 auto &TLI = *MIRBuilder.getMF().getSubtarget().getTargetLowering(); in createLibcall()
395 auto &Ctx = MIRBuilder.getMF().getFunction().getContext(); in createMemLibcall()
412 auto &CLI = *MIRBuilder.getMF().getSubtarget().getCallLowering(); in createMemLibcall()
413 auto &TLI = *MIRBuilder.getMF().getSubtarget().getTargetLowering(); in createMemLibcall()
493 auto &Ctx = MIRBuilder.getMF().getFunction().getContext(); in libcall()
1699 LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext(); in widenScalar()
1718 LLVMContext &Ctx = MIRBuilder.getMF().getFunction().getContext(); in widenScalar()
1917 auto &TII = *MI.getMF()->getSubtarget().getInstrInfo(); in widenScalar()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp387 assert(&MF == MI.getMF() && in cloneMemRefs()
438 assert(&MF == MIs[0]->getMF() && in cloneMergedMemRefs()
443 assert(&MF == MI.getMF() && in cloneMergedMemRefs()
512 assert(&MF == MI.getMF() && in cloneInstrSymbols()
655 const MachineFunction *MachineInstr::getMF() const { in getMF() function in MachineInstr
835 assert(getMF() && "Can't have an MF reference here!"); in getRegClassConstraint()
836 const MachineFunction &MF = *getMF(); in getRegClassConstraint()
1193 const MachineFunction *MF = getMF(); in mayAlias()
2163 const MachineFrameInfo &MFI = getMF()->getFrameInfo(); in getSpillSize()
2174 return getSpillSlotSize(Accesses, getMF()->getFrameInfo()); in getFoldedSpillSize()
[all …]
DMachineOutliner.cpp913 if (MachineFunction *MF = C.getMF()) in getSubprogramOrNull()
961 MachineOptimizationRemarkEmitter MORE(*(C.getMF()), nullptr); in emitNotOutliningCheaperRemark()
1075 CandidatesForRepeatedSeq[0].getMF()->getSubtarget().getInstrInfo(); in findCandidates()
1126 const Function &ParentFn = FirstCand.getMF()->getFunction(); in createOutlinedFunction()
1264 MI.getMF()->eraseCallSiteInfo(&MI); in outline()
DTargetInstrInfo.cpp211 MachineFunction &MF = *MI.getMF(); in commuteInstructionImpl()
452 const MachineRegisterInfo &MRI = MI.getMF()->getRegInfo(); in canFoldCopy()
778 MachineFunction *MF = Root.getMF(); in reassociateOps()
861 MachineRegisterInfo &MRI = Root.getMF()->getRegInfo(); in genAlternativeCodeSequence()
885 const MachineFunction &MF = *MI.getMF(); in isReallyTriviallyReMaterializableGeneric()
964 const MachineFunction *MF = MI.getMF(); in getSPAdjust()
1124 const MachineFunction *MF = MI.getMF(); in describeLoadedValue()
DMachineSink.cpp791 const MachineRegisterInfo &MRI = SinkInst.getMF()->getRegInfo(); in attemptDebugCopyProp()
792 const TargetInstrInfo &TII = *SinkInst.getMF()->getSubtarget().getInstrInfo(); in attemptDebugCopyProp()
863 MachineInstr *NewDbgMI = DbgMI->getMF()->CloneMachineInstr(*DBI); in performSink()
1011 if (MI.getMF()->getFunction().getSubprogram() && MI.isCopy()) in SinkInstruction()
1038 const MachineRegisterInfo &MRI = MI.getMF()->getRegInfo(); in SalvageUnsunkDebugUsersOfCopy()
DMachineLICM.cpp967 if (!TRI->isCallerPreservedPhysReg(Reg, *MI.getMF())) in isInvariantStore()
991 const MachineFunction *MF = MI.getMF(); in isCopyFeedingInvariantStore()
1060 !(TRI->isCallerPreservedPhysReg(Reg, *I.getMF()))) in IsLoopInvariantInst()
1339 MachineFunction &MF = *MI->getMF(); in ExtractHoistableLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFCopy.h29 L(dfg.getMF().getRegInfo(), dfg) {} in CopyPropagation()
DRDFCopy.cpp102 scanBlock(&DFG.getMF().front()); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp198 const Function &F = MI->getMF()->getFunction(); in getFunctionReturns()
199 const TargetMachine &TM = MI->getMF()->getTarget(); in getFunctionReturns()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h239 MachineIRBuilder(MachineInstr &MI) : MachineIRBuilder(*MI.getMF()) { in MachineIRBuilder()
253 MachineFunction &getMF() { in getMF() function
258 const MachineFunction &getMF() const { in getMF() function
264 return getMF().getFunction().getParent()->getDataLayout(); in getDataLayout()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOutliner.h108 MachineFunction *getMF() const { return MBB->getParent(); } in getMF() function
DMachineInstr.h279 const MachineFunction *getMF() const;
280 MachineFunction *getMF() {
282 static_cast<const MachineInstr *>(this)->getMF());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.cpp459 const auto MF = MI.getMF(); in getInstSizeInBytes()
674 const TargetRegisterInfo *TRI = C.getMF()->getSubtarget().getRegisterInfo(); in getOutliningCandidateInfo()
704 if (RepeatedSequenceLocs[0].getMF()->getSubtarget() in getOutliningCandidateInfo()

123