class SwiftABIInfo
Declaration
class SwiftABIInfo : public ABIInfo { /* full declaration omitted */ };
Description
A refining implementation of ABIInfo for targets that support swiftcall. If we find ourselves wanting multiple such refinements, they'll probably be independent refinements, and we should probably find another way to do it than simple inheritance.
Declared at: clang/lib/CodeGen/ABIInfo.h:126
Inherits from: ABIInfo
Member Variables
Inherited from ABIInfo:
Method Overview
- public SwiftABIInfo(CodeGen::CodeGenTypes & cgt)
- public static bool classof(const clang::CodeGen::ABIInfo * info)
- public virtual bool isLegalVectorTypeForSwift(clang::CharUnits totalSize, llvm::Type * eltTy, unsigned int elts) const
- public virtual bool isSwiftErrorInRegister() const
- public virtual bool shouldPassIndirectlyForSwift(ArrayRef<llvm::Type *> types, bool asReturnValue) const
- public bool supportsSwift() const
Inherited from ABIInfo:
- public EmitMSVAArg
- public EmitVAArg
- public allowBFloatArgsAndRet
- public computeInfo
- public getCXXABI
- public getCodeGenOpts
- public getContext
- public getDataLayout
- public getNaturalAlignIndirect
- public getNaturalAlignIndirectInReg
- public getRuntimeCC
- public getTarget
- public getVMContext
- public isAndroid
- public isHomogeneousAggregate
- public isHomogeneousAggregateBaseType
- public isHomogeneousAggregateSmallEnough
- public isPromotableIntegerTypeForABI
- public isZeroLengthBitfieldPermittedInHomogeneousAggregate
- public supportsSwift
Methods
¶SwiftABIInfo(CodeGen::CodeGenTypes& cgt)
SwiftABIInfo(CodeGen::CodeGenTypes& cgt)
Declared at: clang/lib/CodeGen/ABIInfo.h:128
Parameters
¶static bool classof(
const clang::CodeGen::ABIInfo* info)
static bool classof(
const clang::CodeGen::ABIInfo* info)
Declared at: clang/lib/CodeGen/ABIInfo.h:141
Parameters
- const clang::CodeGen::ABIInfo* info
¶virtual bool isLegalVectorTypeForSwift(
clang::CharUnits totalSize,
llvm::Type* eltTy,
unsigned int elts) const
virtual bool isLegalVectorTypeForSwift(
clang::CharUnits totalSize,
llvm::Type* eltTy,
unsigned int elts) const
Declared at: clang/lib/CodeGen/ABIInfo.h:135
Parameters
- clang::CharUnits totalSize
- llvm::Type* eltTy
- unsigned int elts
¶virtual bool isSwiftErrorInRegister() const
virtual bool isSwiftErrorInRegister() const
Declared at: clang/lib/CodeGen/ABIInfo.h:139
¶virtual bool shouldPassIndirectlyForSwift(
ArrayRef<llvm::Type*> types,
bool asReturnValue) const
virtual bool shouldPassIndirectlyForSwift(
ArrayRef<llvm::Type*> types,
bool asReturnValue) const
Declared at: clang/lib/CodeGen/ABIInfo.h:132
Parameters
- ArrayRef<llvm::Type*> types
- bool asReturnValue
¶bool supportsSwift() const
bool supportsSwift() const
Declared at: clang/lib/CodeGen/ABIInfo.h:130