20 : TB(TB), Kind(Kind) {}
37 return std::make_unique<AArch64TargetInfo>(TB, Kind);
Target-specific ABI information and factory functions.
AArch64TargetInfo(TypeBuilder &TB, AArch64ABIKind Kind)
void computeInfo(FunctionInfo &FI) const override
Populate FI with the target's ABI-lowering decisions for each argument and return value.
static ArgInfo getDirect(const Type *T=nullptr, unsigned Offset=0, MaybeAlign Align=std::nullopt)
ArrayRef< ArgEntry > arguments() const
ArgInfo & getReturnInfo()
TypeBuilder manages the lifecycle of ABI types using bump pointer allocation.
This file defines the type system for the LLVMABI library, which mirrors ABI-relevant aspects of fron...
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
LLVM_ABI std::unique_ptr< TargetInfo > createAArch64TargetInfo(TypeBuilder &TB, AArch64ABIKind Kind)
This is an optimization pass for GlobalISel generic memory operations.