15 #ifndef LLVM_LIB_TARGET_ARM_ARMCALLLOWERING
16 #define LLVM_LIB_TARGET_ARM_ARMCALLLOWERING
24 class ARMTargetLowering;
25 class MachineInstrBuilder;
32 unsigned VReg)
const override;
45 typedef std::function<void(unsigned Reg, uint64_t Offset)> SplitArgTy;
49 void splitToValueTypes(
const ArgInfo &OrigArg,
52 const SplitArgTy &PerformArgSplit)
const;
static const MCPhysReg VRegs[32]
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...
ARMCallLowering(const ARMTargetLowering &TLI)
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
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...
Helper class to build MachineInstr.
MachineOperand class - Representation of each machine instruction operand.
bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv, const MachineOperand &Callee, const ArgInfo &OrigRet, ArrayRef< ArgInfo > OrigArgs) const override
This hook must be implemented to lower the given call instruction, including argument and return valu...
LLVM Value Representation.
This file describes how to lower LLVM calls to machine code calls.