|
LLVM 23.0.0git
|
#include "llvm/ABI/TargetInfo.h"
Public Member Functions | |
| TargetInfo () | |
| TargetInfo (const ABICompatInfo &Info) | |
| virtual | ~TargetInfo ()=default |
| virtual void | computeInfo (FunctionInfo &FI) const =0 |
| Populate FI with the target's ABI-lowering decisions for each argument and return value. | |
| virtual bool | isPassByRef (const Type *Ty) const |
| const ABICompatInfo & | getABICompatInfo () const |
Protected Member Functions | |
| 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 |
Definition at line 60 of file TargetInfo.h.
|
inline |
Definition at line 65 of file TargetInfo.h.
|
inlineexplicit |
Definition at line 66 of file TargetInfo.h.
|
virtualdefault |
|
pure virtual |
Populate FI with the target's ABI-lowering decisions for each argument and return value.
Implemented in llvm::abi::BPFTargetInfo.
|
inline |
Definition at line 74 of file TargetInfo.h.
Definition at line 29 of file TargetInfo.cpp.
References llvm::abi::ArgInfo::getIndirect().
|
protected |
Definition at line 33 of file TargetInfo.cpp.
References llvm::abi::RecordType::canPassInRegisters(), llvm::abi::RAA_Default, and llvm::abi::RAA_Indirect.
Referenced by getRecordArgABI().
|
protected |
Definition at line 39 of file TargetInfo.cpp.
References llvm::dyn_cast(), getRecordArgABI(), and llvm::abi::RAA_Default.
Definition at line 13 of file TargetInfo.cpp.
References isAggregateTypeForABI().
Referenced by isAggregateTypeForABI().
Definition at line 73 of file TargetInfo.h.
|
protected |
Definition at line 22 of file TargetInfo.cpp.
References llvm::BitWidth, and IT.