15 #ifndef LLVM_LIB_TARGET_X86_X86CALLLOWERING_H 16 #define LLVM_LIB_TARGET_X86_X86CALLLOWERING_H 25 class MachineRegisterInfo;
26 class X86TargetLowering;
44 using SplitArgTy = std::function<void(ArrayRef<unsigned>)>;
46 bool splitToValueTypes(
const ArgInfo &OrigArgInfo,
49 SplitArgTy SplitArg)
const;
54 #endif // LLVM_LIB_TARGET_X86_X86CALLLOWERING_H A parsed version of the target data layout string in and methods for querying it. ...
This class represents lattice values for constants.
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...
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...
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
unsigned const MachineRegisterInfo * MRI
Helper class to build MachineInstr.
MachineOperand class - Representation of each machine instruction operand.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
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...
LLVM Value Representation.
This file describes how to lower LLVM calls to machine code calls.
X86CallLowering(const X86TargetLowering &TLI)