LLVM 23.0.0git
llvm::abi::BPFTargetInfo Class Reference
Inheritance diagram for llvm::abi::BPFTargetInfo:
[legend]

Public Member Functions

 BPFTargetInfo (TypeBuilder &TB)
void computeInfo (FunctionInfo &FI) const override
 Populate FI with the target's ABI-lowering decisions for each argument and return value.
Public Member Functions inherited from llvm::abi::TargetInfo
 TargetInfo ()
 TargetInfo (const ABICompatInfo &Info)
virtual ~TargetInfo ()=default
virtual bool isPassByRef (const Type *Ty) const
const ABICompatInfogetABICompatInfo () const

Additional Inherited Members

Protected Member Functions inherited from llvm::abi::TargetInfo
RecordArgABI getRecordArgABI (const RecordType *RT) const
RecordArgABI getRecordArgABI (const Type *Ty) const
bool isPromotableInteger (const IntegerType *IT) const
ArgInfo getNaturalAlignIndirect (const Type *Ty, bool ByVal=true) const
bool isAggregateTypeForABI (const Type *Ty) const

Detailed Description

Definition at line 17 of file BPF.cpp.

Constructor & Destructor Documentation

◆ BPFTargetInfo()

llvm::abi::BPFTargetInfo::BPFTargetInfo ( TypeBuilder & TB)
inline

Definition at line 75 of file BPF.cpp.

Member Function Documentation

◆ computeInfo()

void llvm::abi::BPFTargetInfo::computeInfo ( FunctionInfo & FI) const
inlineoverridevirtual

Populate FI with the target's ABI-lowering decisions for each argument and return value.

Implements llvm::abi::TargetInfo.

Definition at line 77 of file BPF.cpp.

References llvm::abi::FunctionInfo::arguments(), llvm::abi::FunctionInfo::getReturnInfo(), llvm::abi::FunctionInfo::getReturnType(), and I.


The documentation for this class was generated from the following file: