|
LLVM 24.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 | |
| LLVM_ABI RecordArgABI | getRecordArgABI (const RecordType *RT) const |
| LLVM_ABI RecordArgABI | getRecordArgABI (const Type *Ty) const |
| LLVM_ABI bool | isPromotableInteger (const IntegerType *IT) const |
| LLVM_ABI ArgInfo | getNaturalAlignIndirect (const Type *Ty, bool ByVal=true) const |
| LLVM_ABI bool | isAggregateTypeForABI (const Type *Ty) const |
Definition at line 62 of file TargetInfo.h.
|
inline |
Definition at line 67 of file TargetInfo.h.
Referenced by llvm::abi::X86_64TargetInfo::X86_64TargetInfo().
|
inlineexplicit |
Definition at line 68 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 76 of file TargetInfo.h.
Definition at line 36 of file TargetInfo.cpp.
References llvm::abi::ArgInfo::getIndirect().
|
protected |
Definition at line 40 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 46 of file TargetInfo.cpp.
References llvm::dyn_cast(), getRecordArgABI(), and llvm::abi::RAA_Default.
Definition at line 13 of file TargetInfo.cpp.
References llvm::dyn_cast(), and isAggregateTypeForABI().
Referenced by isAggregateTypeForABI().
Definition at line 75 of file TargetInfo.h.
|
protected |
Definition at line 29 of file TargetInfo.cpp.
References llvm::BitWidth, and IT.