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:

public CGT
protected RuntimeCC

Method Overview

Inherited from ABIInfo:

Methods

SwiftABIInfo(CodeGen::CodeGenTypes& cgt)

Declared at: clang/lib/CodeGen/ABIInfo.h:128

Parameters

CodeGen::CodeGenTypes& cgt

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

Declared at: clang/lib/CodeGen/ABIInfo.h:135

Parameters

clang::CharUnits totalSize
llvm::Type* eltTy
unsigned int elts

virtual bool isSwiftErrorInRegister() const

Declared at: clang/lib/CodeGen/ABIInfo.h:139

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

Declared at: clang/lib/CodeGen/ABIInfo.h:130