Home
last modified time | relevance | path

Searched refs:MIRBuilder (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64CallLowering.cpp32 bool AArch64CallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn() argument
34 MachineInstr *Return = MIRBuilder.buildInstr(AArch64::RET_ReallyLR); in lowerReturn()
44 MIRBuilder.setInstr(*Return, /* Before */ true); in lowerReturn()
46 MIRBuilder.buildInstr(TargetOpcode::COPY, ResReg, VReg); in lowerReturn()
50 MachineInstrBuilder(MIRBuilder.getMF(), Return) in lowerReturn()
57 MachineIRBuilder &MIRBuilder, const Function::ArgumentListType &Args, in lowerFormalArguments() argument
59 MachineFunction &MF = MIRBuilder.getMF(); in lowerFormalArguments()
84 MIRBuilder.getMBB().addLiveIn(VA.getLocReg()); in lowerFormalArguments()
85 MIRBuilder.buildInstr(TargetOpcode::COPY, VRegs[i], VA.getLocReg()); in lowerFormalArguments()
DAArch64CallLowering.h31 lowerFormalArguments(MachineIRBuilder &MIRBuilder,
/external/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp57 MachineFunction &MF = MIRBuilder.getMF(); in getOrCreateBB()
72 MIRBuilder.buildInstr(Opcode, Inst.getType(), Res, Op0, Op1); in translateBinaryOp()
82 return CLI->lowerReturn(MIRBuilder, Ret, !Ret ? 0 : getOrCreateVReg(*Ret)); in translateReturn()
91 MIRBuilder.buildInstr(TargetOpcode::G_BR, BrTgt.getType(), TgtBB); in translateBr()
96 MachineBasicBlock &CurBB = MIRBuilder.getMBB(); in translateBr()
103 MIRBuilder.setDebugLoc(Inst.getDebugLoc()); in translate()
132 MIRBuilder.setMF(MF); in runOnMachineFunction()
136 MIRBuilder.setMBB(MBB); in runOnMachineFunction()
141 CLI->lowerFormalArguments(MIRBuilder, F.getArgumentList(), VRegArgs); in runOnMachineFunction()
149 MIRBuilder.setMBB(MBB); in runOnMachineFunction()
DRegBankSelect.cpp70 MIRBuilder.setMF(MF); in init()
129 MachineInstr *MI = MIRBuilder.buildInstr(TargetOpcode::COPY, Dst, Src); in repairReg()
145 CurMI = MIRBuilder.getMF().CloneMachineInstr(MI); in repairReg()
552 MIRBuilder.setMBB(*MBB); in runOnMachineFunction()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUCallLowering.cpp32 bool AMDGPUCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder, in lowerReturn() argument
38 MachineIRBuilder &MIRBuilder, const Function::ArgumentListType &Args, in lowerFormalArguments() argument
DAMDGPUCallLowering.h31 lowerFormalArguments(MachineIRBuilder &MIRBuilder,
/external/llvm/include/llvm/CodeGen/GlobalISel/
DCallLowering.h49 virtual bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, in lowerReturn() argument
64 lowerFormalArguments(MachineIRBuilder &MIRBuilder, in lowerFormalArguments() argument
DIRTranslator.h115 MachineIRBuilder MIRBuilder; variable
DRegBankSelect.h474 MachineIRBuilder MIRBuilder; variable