Home
last modified time | relevance | path

Searched refs:MachineIRBuilder (Results 1 – 25 of 47) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h203 bool translateBitCast(const User &U, MachineIRBuilder &MIRBuilder);
206 bool translateLoad(const User &U, MachineIRBuilder &MIRBuilder);
209 bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
212 bool translateMemfunc(const CallInst &CI, MachineIRBuilder &MIRBuilder,
215 void getStackGuard(unsigned DstReg, MachineIRBuilder &MIRBuilder);
218 MachineIRBuilder &MIRBuilder);
221 MachineIRBuilder &MIRBuilder);
223 bool translateInlineAsm(const CallInst &CI, MachineIRBuilder &MIRBuilder);
229 unsigned packRegs(const Value &V, MachineIRBuilder &MIRBuilder);
231 void unpackRegs(const Value &V, unsigned Src, MachineIRBuilder &MIRBuilder);
[all …]
DCallLowering.h32 class MachineIRBuilder; variable
62 ValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in ValueHandler()
108 MachineIRBuilder &MIRBuilder;
133 bool handleAssignments(MachineIRBuilder &MIRBuilder, ArrayRef<ArgInfo> Args,
145 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
159 virtual bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
185 virtual bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv, in lowerCall()
208 bool lowerCall(MachineIRBuilder &MIRBuilder, ImmutableCallSite CS,
DCombinerHelper.h23 class MachineIRBuilder; variable
28 MachineIRBuilder &Builder;
32 CombinerHelper(MachineIRBuilder &B);
DCombinerInfo.h22 class MachineIRBuilder; variable
44 virtual bool combine(MachineInstr &MI, MachineIRBuilder &B) const = 0;
DLegalizerHelper.h90 MachineIRBuilder MIRBuilder;
121 createLibcall(MachineIRBuilder &MIRBuilder, RTLIB::Libcall Libcall,
DCombiner.h38 MachineIRBuilder Builder;
/external/llvm/lib/CodeGen/GlobalISel/
DMachineIRBuilder.cpp23 void MachineIRBuilder::setMF(MachineFunction &MF) { in setMF()
31 void MachineIRBuilder::setMBB(MachineBasicBlock &MBB, bool Beginning) { in setMBB()
38 void MachineIRBuilder::setInstr(MachineInstr &MI, bool Before) { in setInstr()
45 MachineBasicBlock::iterator MachineIRBuilder::getInsertPt() { in getInsertPt()
59 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty) { in buildInstr()
72 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, in buildInstr()
77 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty, in buildInstr()
88 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, unsigned Res, in buildInstr()
95 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode) { in buildInstr()
99 MachineInstr *MachineIRBuilder::buildInstr(unsigned Opcode, Type *Ty, in buildInstr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CallLowering.h29 class MachineIRBuilder; variable
37 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
40 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
43 bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv,
48 using RegHandler = std::function<void(MachineIRBuilder &, Type *, unsigned,
52 std::function<void(MachineIRBuilder &, int, CCValAssign &)>;
DAArch64LegalizerInfo.h31 MachineIRBuilder &MIRBuilder) const override;
35 MachineIRBuilder &MIRBuilder) const;
DAArch64CallLowering.cpp55 IncomingArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in IncomingArgHandler()
104 FormalArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in FormalArgHandler()
114 CallReturnHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in CallReturnHandler()
126 OutgoingArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in OutgoingArgHandler()
229 bool AArch64CallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
265 bool AArch64CallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
333 bool AArch64CallLowering::lowerCall(MachineIRBuilder &MIRBuilder, in lowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsCallLowering.h29 MipsHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI) in MipsHandler()
37 MachineIRBuilder &MIRBuilder;
53 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
56 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
59 bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv,
72 void subTargetRegTypeForCallingConv(MachineIRBuilder &MIRBuilder,
DMipsCallLowering.cpp45 IncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI) in IncomingValueHandler()
74 CallReturnHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in CallReturnHandler()
126 OutgoingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in OutgoingValueHandler()
194 bool MipsCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
237 bool MipsCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
294 bool MipsCallLowering::lowerCall(MachineIRBuilder &MIRBuilder, in lowerCall()
410 MachineIRBuilder &MIRBuilder, ArrayRef<ArgInfo> Args, in subTargetRegTypeForCallingConv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCallLowering.h29 class MachineIRBuilder; variable
36 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
39 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
42 bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv,
47 bool lowerReturnVal(MachineIRBuilder &MIRBuilder, const Value *Val,
DARMCallLowering.cpp90 OutgoingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in OutgoingValueHandler()
239 bool ARMCallLowering::lowerReturnVal(MachineIRBuilder &MIRBuilder, in lowerReturnVal()
272 bool ARMCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
292 IncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in IncomingValueHandler()
406 FormalArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in FormalArgHandler()
417 bool ARMCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
483 CallReturnHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in CallReturnHandler()
496 bool ARMCallLowering::lowerCall(MachineIRBuilder &MIRBuilder, in lowerCall()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.h28 unsigned lowerParameterPtr(MachineIRBuilder &MIRBuilder, Type *ParamTy,
31 void lowerParameter(MachineIRBuilder &MIRBuilder, Type *ParamTy,
38 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
40 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
DAMDGPUCallLowering.cpp34 bool AMDGPUCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
44 unsigned AMDGPUCallLowering::lowerParameterPtr(MachineIRBuilder &MIRBuilder, in lowerParameterPtr()
68 void AMDGPUCallLowering::lowerParameter(MachineIRBuilder &MIRBuilder, in lowerParameter()
89 bool AMDGPUCallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DCallLowering.h23 class MachineIRBuilder; variable
49 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, in lowerReturn()
64 lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp272 MachineIRBuilder &MIRBuilder) { in translateBinaryOp()
286 bool IRTranslator::translateFSub(const User &U, MachineIRBuilder &MIRBuilder) { in translateFSub()
299 MachineIRBuilder &MIRBuilder) { in translateCompare()
321 bool IRTranslator::translateRet(const User &U, MachineIRBuilder &MIRBuilder) { in translateRet()
336 bool IRTranslator::translateBr(const User &U, MachineIRBuilder &MIRBuilder) { in translateBr()
362 MachineIRBuilder &MIRBuilder) { in translateSwitch()
408 MachineIRBuilder &MIRBuilder) { in translateIndirectBr()
422 bool IRTranslator::translateLoad(const User &U, MachineIRBuilder &MIRBuilder) { in translateLoad()
452 bool IRTranslator::translateStore(const User &U, MachineIRBuilder &MIRBuilder) { in translateStore()
505 MachineIRBuilder &MIRBuilder) { in translateExtractValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallLowering.h32 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
35 bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F,
38 bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv,
DX86CallLowering.cpp103 OutgoingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in OutgoingValueHandler()
188 bool X86CallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
222 IncomingValueHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in IncomingValueHandler()
292 FormalArgHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in FormalArgHandler()
302 CallReturnHandler(MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, in CallReturnHandler()
316 bool X86CallLowering::lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments()
367 bool X86CallLowering::lowerCall(MachineIRBuilder &MIRBuilder, in lowerCall()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp32 bool AMDGPUCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
38 MachineIRBuilder &MIRBuilder, const Function::ArgumentListType &Args, in lowerFormalArguments()
DAMDGPUCallLowering.h28 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
31 lowerFormalArguments(MachineIRBuilder &MIRBuilder,
/external/llvm/lib/Target/AArch64/
DAArch64CallLowering.h28 bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val,
31 lowerFormalArguments(MachineIRBuilder &MIRBuilder,
DAArch64CallLowering.cpp32 bool AArch64CallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn()
57 MachineIRBuilder &MIRBuilder, const Function::ArgumentListType &Args, in lowerFormalArguments()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/GlobalISel/
DPatternMatchTest.cpp134 MachineIRBuilder B(*MF); in TEST()
155 MachineIRBuilder B(*MF); in TEST()
282 MachineIRBuilder B(*MF); in TEST()
353 MachineIRBuilder B(*MF); in TEST()
409 MachineIRBuilder B(*MF); in TEST()
456 MachineIRBuilder B(*MF); in TEST()

12