14 #ifndef LLVM_LIB_TARGET_X86_X86CALLLOWERING_H 15 #define LLVM_LIB_TARGET_X86_X86CALLLOWERING_H 24 class MachineRegisterInfo;
25 class X86TargetLowering;
42 using SplitArgTy = std::function<void(ArrayRef<Register>)>;
44 bool splitToValueTypes(
const ArgInfo &OrigArgInfo,
47 SplitArgTy SplitArg)
const;
52 #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 lowerCall(MachineIRBuilder &MIRBuilder, CallLoweringInfo &Info) 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...
bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, ArrayRef< Register > VRegs) const override
This hook behaves as the extended lowerReturn function, but for targets that do not support swifterro...
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
Analysis containing CSE Info
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)
bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef< ArrayRef< Register >> VRegs) const override
This hook must be implemented to lower the incoming (formal) arguments, described by VRegs...