clang
10.0.0git
|
GlobalDecl - represents a global declaration. More...
#include "clang/AST/GlobalDecl.h"
Public Member Functions | |
GlobalDecl ()=default | |
GlobalDecl (const VarDecl *D) | |
GlobalDecl (const FunctionDecl *D, unsigned MVIndex=0) | |
GlobalDecl (const BlockDecl *D) | |
GlobalDecl (const CapturedDecl *D) | |
GlobalDecl (const ObjCMethodDecl *D) | |
GlobalDecl (const OMPDeclareReductionDecl *D) | |
GlobalDecl (const OMPDeclareMapperDecl *D) | |
GlobalDecl (const CXXConstructorDecl *D, CXXCtorType Type) | |
GlobalDecl (const CXXDestructorDecl *D, CXXDtorType Type) | |
GlobalDecl (const VarDecl *D, DynamicInitKind StubKind) | |
GlobalDecl | getCanonicalDecl () const |
const Decl * | getDecl () const |
CXXCtorType | getCtorType () const |
CXXDtorType | getDtorType () const |
DynamicInitKind | getDynamicInitKind () const |
unsigned | getMultiVersionIndex () const |
void * | getAsOpaquePtr () const |
GlobalDecl | getWithDecl (const Decl *D) |
GlobalDecl | getWithCtorType (CXXCtorType Type) |
GlobalDecl | getWithDtorType (CXXDtorType Type) |
GlobalDecl | getWithMultiVersionIndex (unsigned Index) |
Static Public Member Functions | |
static GlobalDecl | getFromOpaquePtr (void *P) |
Friends | |
bool | operator== (const GlobalDecl &LHS, const GlobalDecl &RHS) |
GlobalDecl - represents a global declaration.
This can either be a CXXConstructorDecl and the constructor type (Base, Complete). a CXXDestructorDecl and the destructor type (Base, Complete) or a VarDecl, a FunctionDecl or a BlockDecl.
Definition at line 40 of file GlobalDecl.h.
|
default |
|
inline |
Definition at line 53 of file GlobalDecl.h.
|
inline |
Definition at line 54 of file GlobalDecl.h.
|
inline |
Definition at line 58 of file GlobalDecl.h.
|
inline |
Definition at line 59 of file GlobalDecl.h.
|
inline |
Definition at line 60 of file GlobalDecl.h.
|
inline |
Definition at line 61 of file GlobalDecl.h.
|
inline |
Definition at line 62 of file GlobalDecl.h.
|
inline |
Definition at line 63 of file GlobalDecl.h.
|
inline |
Definition at line 64 of file GlobalDecl.h.
|
inline |
Definition at line 65 of file GlobalDecl.h.
|
inline |
Definition at line 109 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::GlobalDecl >::getHashValue().
|
inline |
|
inline |
Definition at line 79 of file GlobalDecl.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeCXXStructorDeclaration(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::CodeGen::CodeGenFunction::BuildFunctionArgList(), emitConstructorDestructorAlias(), EmitMemberInitializer(), clang::CodeGen::CodeGenModule::getBlockMangledName(), clang::CodeGen::CodeGenModule::getMangledName(), and getMangledNameImpl().
|
inline |
Definition at line 77 of file GlobalDecl.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeCXXStructorDeclaration(), clang::CodeGen::CodeGenTypes::arrangeGlobalDeclaration(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::CodeGen::CodeGenFunction::BuildFunctionArgList(), clang::CodeGen::CGCXXABI::buildThisParam(), clang::CodeGen::CodeGenModule::codegenCXXStructor(), clang::CodeGen::CodeGenModule::ConstructAttributeList(), clang::CodeGen::CodeGenModule::CreateFunctionTypeMetadataForIcall(), decomposeTypeForEH(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), emitConstructorDestructorAlias(), clang::CodeGen::CodeGenFunction::EmitCXXDestructorCall(), clang::CodeGen::emitDeclareVariant(), clang::CodeGen::CodeGenModule::EmitGlobal(), EmitGlobalDeclMetadata(), clang::CodeGen::CodeGenModule::emitOpenMPDeviceFunctionRedefinition(), emitRTtypeidCall(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::CodeGen::CodeGenFunction::GenerateCode(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), clang::CodeGen::CodeGenModule::getAddrAndTypeOfCXXStructor(), clang::CodeGen::CodeGenModule::GetAddrOfFunction(), clang::CodeGen::CodeGenModule::GetAddrOfGlobal(), clang::CodeGen::CodeGenModule::getBlockMangledName(), clang::ASTContext::getFunctionFeatureMap(), clang::CodeGen::CodeGenModule::getFunctionLinkage(), clang::CodeGen::CodeGenTypes::GetFunctionTypeForVTable(), clang::CodeGen::CodeGenModule::getMangledName(), getMangledNameImpl(), clang::MicrosoftVTableContext::getMethodVFTableLocation(), clang::ItaniumVTableContext::getMethodVTableIndex(), clang::VTableContextBase::getThunkInfo(), clang::MicrosoftVTableContext::getThunkInfo(), clang::CodeGen::CodeGenFunction::GetVTTParameter(), clang::CodeGen::CodeGenModule::HandleCXXStaticMemberVarInstantiation(), hasDefaultCXXMethodCC(), clang::CodeGen::CodeGenFunction::InlinedInheritingConstructorScope::InlinedInheritingConstructorScope(), isDeletingDtor(), clang::CodeGen::CodeGenModule::isTypeConstant(), clang::CodeGen::markAsGlobalTarget(), performTypeAdjustment(), clang::CodeGen::registerTargetGlobalVariable(), clang::CodeGen::CodeGenModule::SetCommonAttributes(), clang::CodeGen::CodeGenModule::setDLLImportDLLExport(), clang::CodeGen::CodeGenModule::setGVProperties(), clang::CodeGen::CodeGenModule::SetInternalFunctionAttributes(), shouldEmitVTableThunk(), clang::CodeGen::CodeGenFunction::StartFunction(), clang::CodeGen::CodeGenFunction::StartThunk(), clang::CodeGen::CGOpenMPRuntimeNVPTX::tryEmitDeclareVariant(), and clang::CodeGen::CGOpenMPRuntime::tryEmitDeclareVariant().
|
inline |
Definition at line 84 of file GlobalDecl.h.
Referenced by clang::CodeGen::CodeGenPGO::assignRegionCounters(), decomposeTypeForEH(), emitConstructorDestructorAlias(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::CodeGen::CodeGenModule::getAddrAndTypeOfCXXStructor(), clang::CodeGen::CodeGenModule::GetAddrOfFunction(), clang::CodeGen::CodeGenModule::getBlockMangledName(), clang::CodeGen::CodeGenModule::getFunctionLinkage(), getMangledNameImpl(), clang::MicrosoftVTableContext::getMethodVFTableLocation(), clang::MicrosoftVTableContext::getThunkInfo(), hasDefaultCXXMethodCC(), isDeletingDtor(), and clang::CodeGen::CodeGenModule::setDLLImportDLLExport().
|
inline |
Definition at line 89 of file GlobalDecl.h.
|
inlinestatic |
Definition at line 111 of file GlobalDecl.h.
Referenced by llvm::DenseMapInfo< clang::GlobalDecl >::getTombstoneKey().
|
inline |
Definition at line 96 of file GlobalDecl.h.
Referenced by clang::ASTContext::getFunctionFeatureMap(), and getMangledNameImpl().
|
inline |
Definition at line 123 of file GlobalDecl.h.
References clang::Result.
Referenced by decomposeTypeForEH(), and emitConstructorDestructorAlias().
|
inline |
Definition at line 117 of file GlobalDecl.h.
References clang::Result.
Referenced by clang::CodeGen::emitDeclareVariant().
|
inline |
Definition at line 130 of file GlobalDecl.h.
References clang::Result.
Referenced by decomposeTypeForEH(), emitConstructorDestructorAlias(), and clang::CodeGen::CodeGenModule::getAddrAndTypeOfCXXStructor().
|
inline |
Definition at line 137 of file GlobalDecl.h.
|
friend |
Definition at line 104 of file GlobalDecl.h.