15 #ifndef LLVM_LIB_TARGET_ARM_ARMCALLLOWERING_H 16 #define LLVM_LIB_TARGET_ARM_ARMCALLLOWERING_H 26 class ARMTargetLowering;
27 class MachineFunction;
28 class MachineInstrBuilder;
29 class MachineIRBuilder;
51 using SplitArgTy = std::function<void(unsigned Reg, uint64_t Offset)>;
55 void splitToValueTypes(
const ArgInfo &OrigArg,
58 const SplitArgTy &PerformArgSplit)
const;
63 #endif // LLVM_LIB_TARGET_ARM_ARMCALLLOWERING_H This class represents lattice values for constants.
ARMCallLowering(const ARMTargetLowering &TLI)
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
amdgpu Simplify well known AMD library false Value * Callee
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 lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, ArrayRef< unsigned > VRegs) const override
This hook must be implemented to lower outgoing return values, described by Val, into the specified v...
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.