clang 18.0.0git
|
A class which abstracts out some details necessary for making a call. More...
#include "clang/AST/Type.h"
Public Member Functions | |
ExtInfo (bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc, bool producesResult, bool noCallerSavedRegs, bool NoCfCheck, bool cmseNSCall) | |
ExtInfo ()=default | |
ExtInfo (CallingConv CC) | |
bool | getNoReturn () const |
bool | getProducesResult () const |
bool | getCmseNSCall () const |
bool | getNoCallerSavedRegs () const |
bool | getNoCfCheck () const |
bool | getHasRegParm () const |
unsigned | getRegParm () const |
CallingConv | getCC () const |
bool | operator== (ExtInfo Other) const |
bool | operator!= (ExtInfo Other) const |
ExtInfo | withNoReturn (bool noReturn) const |
ExtInfo | withProducesResult (bool producesResult) const |
ExtInfo | withCmseNSCall (bool cmseNSCall) const |
ExtInfo | withNoCallerSavedRegs (bool noCallerSavedRegs) const |
ExtInfo | withNoCfCheck (bool noCfCheck) const |
ExtInfo | withRegParm (unsigned RegParm) const |
ExtInfo | withCallingConv (CallingConv cc) const |
void | Profile (llvm::FoldingSetNodeID &ID) const |
Friends | |
class | FunctionType |
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.
|
default |
Referenced by withCallingConv(), withCmseNSCall(), withNoCallerSavedRegs(), withNoCfCheck(), withNoReturn(), withProducesResult(), and withRegParm().
|
inline |
|
inline |
Definition at line 3924 of file Type.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::areMultiversionVariantFunctionsCompatible(), clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), checkExtParameterInfos(), clang::CodeGen::CGFunctionInfo::create(), clang::FunctionType::getCallConv(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 3912 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::FunctionType::getCmseNSCallAttr(), IsInvalidCmseNSCallConversion(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 3915 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::FunctionType::getHasRegParm(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 3913 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 3914 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 3910 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::FindCompositePointerType(), clang::FunctionType::getNoReturnAttr(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 3911 of file Type.h.
Referenced by clang::Sema::BuildFunctionType(), clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MaybeBindToTemporary(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 3917 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::FunctionType::getRegParmType(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 3981 of file Type.h.
References ID.
Referenced by clang::FunctionNoProtoType::Profile().
|
inline |
Definition at line 3977 of file Type.h.
References ExtInfo().
Referenced by clang::Sema::adjustMemberFunctionCC(), clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), clang::Sema::CheckMain(), clang::Sema::CheckMSVCRTEntryPoint(), getImplicitMethodEPI(), clang::Sema::getLambdaConversionFunctionResultType(), LookupDirect(), and clang::Sema::MergeFunctionDecl().
Definition at line 3957 of file Type.h.
References ExtInfo().
Referenced by clang::Sema::MergeFunctionDecl().
Definition at line 3936 of file Type.h.
References ExtInfo().
Referenced by clang::Sema::ActOnBlockStmtExpr(), clang::Sema::FindCompositePointerType(), clang::ASTContext::GetBuiltinType(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), and clang::ASTContext::mergeFunctionTypes().
Definition at line 3943 of file Type.h.
References ExtInfo().
Referenced by clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), and clang::Sema::MergeFunctionDecl().
Definition at line 3971 of file Type.h.
References ExtInfo().
Referenced by clang::Sema::MergeFunctionDecl().
|
friend |