class FunctionType::ExtInfo

Declaration

class FunctionType::ExtInfo { /* full declaration omitted */ };

Description

A class which abstracts out some details necessary for making a call. It is not actually used directly for storing this information in a FunctionType, although FunctionType does currently use the same bit-pattern.

Declared at: clang/include/clang/AST/Type.h:3729

Member Variables

private uint16_t Bits = CC_C

Method Overview

Methods

ExtInfo(bool noReturn,
        bool hasRegParm,
        unsigned int regParm,
        clang::CallingConv cc,
        bool producesResult,
        bool noCallerSavedRegs,
        bool NoCfCheck,
        bool cmseNSCall)

Declared at: clang/include/clang/AST/Type.h:3757

Parameters

bool noReturn
bool hasRegParm
unsigned int regParm
clang::CallingConv cc
bool producesResult
bool noCallerSavedRegs
bool NoCfCheck
bool cmseNSCall

ExtInfo()

Declared at: clang/include/clang/AST/Type.h:3771

ExtInfo(clang::CallingConv CC)

Declared at: clang/include/clang/AST/Type.h:3775

Parameters

clang::CallingConv CC

ExtInfo(unsigned int Bits)

Declared at: clang/include/clang/AST/Type.h:3752

Parameters

unsigned int Bits

void Profile(llvm::FoldingSetNodeID& ID) const

Declared at: clang/include/clang/AST/Type.h:3848

Parameters

llvm::FoldingSetNodeID& ID

clang::CallingConv getCC() const

Declared at: clang/include/clang/AST/Type.h:3791

bool getCmseNSCall() const

Declared at: clang/include/clang/AST/Type.h:3779

bool getHasRegParm() const

Declared at: clang/include/clang/AST/Type.h:3782

bool getNoCallerSavedRegs() const

Declared at: clang/include/clang/AST/Type.h:3780

bool getNoCfCheck() const

Declared at: clang/include/clang/AST/Type.h:3781

bool getNoReturn() const

Declared at: clang/include/clang/AST/Type.h:3777

bool getProducesResult() const

Declared at: clang/include/clang/AST/Type.h:3778

unsigned int getRegParm() const

Declared at: clang/include/clang/AST/Type.h:3784

clang::FunctionType::ExtInfo withCallingConv(
    clang::CallingConv cc) const

Declared at: clang/include/clang/AST/Type.h:3844

Parameters

clang::CallingConv cc

clang::FunctionType::ExtInfo withCmseNSCall(
    bool cmseNSCall) const

Declared at: clang/include/clang/AST/Type.h:3817

Parameters

bool cmseNSCall

clang::FunctionType::ExtInfo
withNoCallerSavedRegs(
    bool noCallerSavedRegs) const

Declared at: clang/include/clang/AST/Type.h:3824

Parameters

bool noCallerSavedRegs

clang::FunctionType::ExtInfo withNoCfCheck(
    bool noCfCheck) const

Declared at: clang/include/clang/AST/Type.h:3831

Parameters

bool noCfCheck

clang::FunctionType::ExtInfo withNoReturn(
    bool noReturn) const

Declared at: clang/include/clang/AST/Type.h:3803

Parameters

bool noReturn

clang::FunctionType::ExtInfo withProducesResult(
    bool producesResult) const

Declared at: clang/include/clang/AST/Type.h:3810

Parameters

bool producesResult

clang::FunctionType::ExtInfo withRegParm(
    unsigned int RegParm) const

Declared at: clang/include/clang/AST/Type.h:3838

Parameters

unsigned int RegParm