23 #ifndef LLVM_BUILD_GLOBAL_ISEL
24 #error "This shouldn't be built without GISel"
31 const Value *Val,
unsigned VReg)
const {
bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef< unsigned > VRegs) const override
This hook must be implemented to lower the incoming (formal) arguments, described by Args...
static const MCPhysReg VRegs[32]
const MachineInstrBuilder & addImm(int64_t Val) const
Add a new immediate operand.
bool lowerReturn(MachineIRBuilder &MIRBuiler, const Value *Val, unsigned VReg) const override
This hook must be implemented to lower outgoing return values, described by Val, into the specified v...
MachineInstrBuilder buildInstr(unsigned Opcode)
Build and insert <empty> = Opcode <empty>.
Helper class to build MachineInstr.
This file declares the MachineIRBuilder class.
This file describes how to lower LLVM calls to machine code calls.
LLVM Value Representation.
X86CallLowering(const X86TargetLowering &TLI)