Home
last modified time | relevance | path

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

123456

/external/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp34 assert(&getMF() == MBB.getParent() && in setMBB()
60 MachineInstr *NewMI = BuildMI(getMF(), DL, getTII().get(Opcode)); in buildInstr()
81 MachineInstrBuilder(getMF(), NewMI) in buildInstr()
91 MachineInstrBuilder(getMF(), NewMI).addReg(Res, RegState::Define).addReg(Op0); in buildInstr()
102 MachineInstrBuilder(getMF(), NewMI).addMBB(&BB); in buildInstr()
/external/llvm-project/llvm/lib/Target/ARM/
DARMCallLowering.cpp107 MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
130 auto MMO = MIRBuilder.getMF().getMachineMemOperand( in assignValueToAddress()
161 bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle(); in assignCustomValue()
243 auto &MF = MIRBuilder.getMF(); in lowerReturnVal()
270 auto const &ST = MIRBuilder.getMF().getSubtarget<ARMSubtarget>(); in lowerReturn()
295 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
298 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
326 MachineFunction &MF = MIRBuilder.getMF(); in buildLoad()
385 bool IsLittle = MIRBuilder.getMF().getSubtarget<ARMSubtarget>().isLittle(); in assignCustomValue()
429 auto &MF = MIRBuilder.getMF(); in lowerFormalArguments()
[all …]
/external/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 …]
/external/llvm-project/llvm/lib/Target/X86/
DX86CallLowering.cpp103 DL(MIRBuilder.getMF().getDataLayout()), in X86OutgoingValueHandler()
104 STI(MIRBuilder.getMF().getSubtarget<X86Subtarget>()) {} in X86OutgoingValueHandler()
117 MPO = MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
149 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
195 MachineFunction &MF = MIRBuilder.getMF(); in lowerReturn()
233 DL(MIRBuilder.getMF().getDataLayout()) {} in X86IncomingValueHandler()
237 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
239 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
248 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
335 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
[all …]
/external/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 …]
/external/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()
/external/llvm-project/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()
143 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in assignValueToReg()
173 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
180 MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
244 static_cast<const MipsSubtarget &>(MIRBuilder.getMF().getSubtarget()); in assignValueToReg()
260 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
273 MachinePointerInfo::getStack(MIRBuilder.getMF(), Offset); in getStackAddress()
386 MachineFunction &MF = MIRBuilder.getMF(); in lowerReturn()
[all …]
DMipsRegisterBankInfo.cpp158 static_cast<const MipsSubtarget &>(MI->getMF()->getSubtarget()); in isGprbTwoInstrUnalignedLoadOrStore()
235 const MachineRegisterInfo &MRI = MI->getMF()->getRegInfo(); in AmbiguousRegDefUseContainer()
368 const MachineFunction &MF = *CopyInst->getMF(); in setTypesAccordingToPhysicalRegister()
372 *CopyInst->getMF()->getSubtarget().getRegBankInfo(); in setTypesAccordingToPhysicalRegister()
431 TI.cleanupIfNewFunction(MI.getMF()->getName()); in getInstrMapping()
732 MachineFunction *MF = MI.getMF(); in applyMappingImpl()
/external/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 …]
/external/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 …]
/external/llvm-project/llvm/lib/Target/AArch64/GISel/
DAArch64CallLowering.cpp62 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
64 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
89 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
143 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
175 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
284 MachineFunction &MF = MIRBuilder.getMF(); in lowerReturn()
396 MachineFunction &MF = MIRBuilder.getMF(); in handleMustTailForwardedRegisters()
444 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
486 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in lowerFormalArguments()
695 MachineFunction &MF = MIRBuilder.getMF(); in isEligibleForTailCallOptimization()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp50 MachineInstrBuilder(MIRBuilder.getMF(), Return) in lowerReturn()
59 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
/external/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()
/external/llvm-project/llvm/lib/CodeGen/
DMachineOutliner.cpp416 if (MachineFunction *MF = C.getMF()) in getSubprogramOrNull()
464 MachineOptimizationRemarkEmitter MORE(*(C.getMF()), nullptr); in emitNotOutliningCheaperRemark()
578 CandidatesForRepeatedSeq[0].getMF()->getSubtarget().getInstrInfo(); in findCandidates()
629 const Function &ParentFn = FirstCand.getMF()->getFunction(); in createOutlinedFunction()
635 return C.getMF()->getFunction().hasFnAttribute(Attribute::NoUnwind); in createOutlinedFunction()
652 MachineFunction *OriginalMF = FirstCand.front()->getMF(); in createOutlinedFunction()
824 MI->getMF()->eraseCallSiteInfo(MI); in outline()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp110 auto &MFI = MIRBuilder.getMF().getFrameInfo(); in getStackAddress()
112 MPO = MachinePointerInfo::getFixedStack(MIRBuilder.getMF(), FI); in getStackAddress()
147 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
211 MachineFunction &MF = MIRBuilder.getMF(); in getStackAddress()
240 MachineFunction &MF = MIRBuilder.getMF(); in assignValueToAddress()
424 auto &MF = B.getMF(); in lowerReturnVal()
454 MachineFunction &MF = B.getMF(); in lowerReturn()
461 CallingConv::ID CC = B.getMF().getFunction().getCallingConv(); in lowerReturn()
502 MachineFunction &MF = B.getMF(); in lowerParameterPtr()
517 MachineFunction &MF = B.getMF(); in lowerParameter()
[all …]
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp41 MachineInstrBuilder MIB = BuildMI(getMF(), getDL(), getTII().get(Opcode)); in buildInstrNoInsert()
59 return insertInstr(BuildMI(getMF(), getDL(), in buildDirectDbgValue()
72 return insertInstr(BuildMI(getMF(), getDL(), in buildIndirectDbgValue()
266 auto IntN = IntegerType::get(getMF().getFunction().getContext(), in buildConstant()
300 ConstantInt *CI = ConstantInt::get(getMF().getFunction().getContext(), Val); in buildConstant()
307 auto &Ctx = getMF().getFunction().getContext(); in buildFConstant()
315 auto &Ctx = getMF().getFunction().getContext(); in buildFConstant()
341 getMF().getMachineMemOperand(PtrInfo, MMOFlags, Size, Alignment, AAInfo); in buildLoad()
364 getMF().getMachineMemOperand(&BaseMMO, Offset, LoadTy.getSizeInBytes()); in buildLoadFromOffset()
400 getMF().getMachineMemOperand(PtrInfo, MMOFlags, Size, Alignment, AAInfo); in buildStore()
[all …]
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()
/external/llvm/include/llvm/CodeGen/
DMachineFunctionAnalysis.h40 MachineFunction &getMF() const { return *MF; } in getMF() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFCopy.h29 L(dfg.getMF().getRegInfo(), dfg) {} in CopyPropagation()
/external/llvm-project/llvm/lib/Target/Hexagon/
DRDFCopy.h29 L(dfg.getMF().getRegInfo(), dfg) {} in CopyPropagation()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DMachineIRBuilder.h55 MachineFunction &getMF() { in getMF() function

123456