clang 22.0.0git
|
A class which abstracts out some details necessary for making a call. More...
#include "clang/AST/TypeBase.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.
Definition at line 4571 of file TypeBase.h.
|
inline |
Definition at line 4596 of file TypeBase.h.
|
default |
|
inline |
Definition at line 4614 of file TypeBase.h.
|
inline |
Definition at line 4630 of file TypeBase.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::areMultiversionVariantFunctionsCompatible(), clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), checkExtParameterInfos(), clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 4618 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsInvalidCmseNSCallConversion(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 4621 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 4619 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 4620 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
|
inline |
Definition at line 4616 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::FindCompositePointerType(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 4617 of file TypeBase.h.
Referenced by clang::Sema::BuildFunctionType(), clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
|
inline |
Definition at line 4623 of file TypeBase.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), IsStructurallyEquivalent(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::JSONNodeDumper::VisitFunctionType().
Definition at line 4635 of file TypeBase.h.
References clang::Other.
Definition at line 4632 of file TypeBase.h.
References clang::Other.
|
inline |
Definition at line 4687 of file TypeBase.h.
Referenced by clang::FunctionNoProtoType::Profile().
|
inline |
Definition at line 4683 of file TypeBase.h.
Referenced by clang::Sema::adjustMemberFunctionCC(), clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), clang::Sema::CheckMain(), clang::Sema::CheckMSVCRTEntryPoint(), clang::Sema::DeclareGlobalAllocationFunction(), getImplicitMethodEPI(), clang::Sema::getLambdaConversionFunctionResultType(), LookupDirect(), clang::Sema::MergeFunctionDecl(), and clang::CodeGen::TargetCodeGenInfo::setOCLKernelStubCallingConvention().
Definition at line 4656 of file TypeBase.h.
Definition at line 4663 of file TypeBase.h.
Referenced by clang::Sema::MergeFunctionDecl().
Definition at line 4670 of file TypeBase.h.
Definition at line 4642 of file TypeBase.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), clang::Sema::FindCompositePointerType(), clang::ASTContext::GetBuiltinType(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), and clang::ASTContext::mergeFunctionTypes().
Definition at line 4649 of file TypeBase.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), and clang::Sema::MergeFunctionDecl().
Definition at line 4677 of file TypeBase.h.
Referenced by clang::Sema::MergeFunctionDecl().
|
friend |