15 #ifndef LLVM_LIB_TARGET_X86_X86CALLLOWERING
16 #define LLVM_LIB_TARGET_X86_X86CALLLOWERING
24 class MachineIRBuilder;
25 class X86TargetLowering;
33 unsigned VReg)
const override;
40 typedef std::function<void(ArrayRef<unsigned>)> SplitArgTy;
42 bool splitToValueTypes(
const ArgInfo &OrigArgInfo,
45 SplitArgTy SplitArg)
const;
A parsed version of the target data layout string in and methods for querying it. ...
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]
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
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...
unsigned const MachineRegisterInfo * MRI
Helper class to build MachineInstr.
MachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.
LLVM Value Representation.
This file describes how to lower LLVM calls to machine code calls.
X86CallLowering(const X86TargetLowering &TLI)