| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | GlobalDecl.h | 28 class GlobalDecl { 39 GlobalDecl() {} in GlobalDecl() function 41 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl() function 42 GlobalDecl(const FunctionDecl *D) { Init(D); } in GlobalDecl() function 43 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl() function 44 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl() function 45 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl() function 47 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) in GlobalDecl() function 49 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) in GlobalDecl() function 52 GlobalDecl getCanonicalDecl() const { in getCanonicalDecl() [all …]
|
| HD | VTableBuilder.h | 291 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 314 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 355 uint64_t getMethodVTableIndex(GlobalDecl GD); 482 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 521 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD); 523 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGCXX.cpp | 105 return TryEmitDefinitionAsAlias(GlobalDecl(D, Dtor_Base), in TryEmitBaseDestructorAsAlias() 106 GlobalDecl(BaseD, Dtor_Base), in TryEmitBaseDestructorAsAlias() 113 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl, in TryEmitDefinitionAsAlias() 114 GlobalDecl TargetDecl, in TryEmitDefinitionAsAlias() 212 GlobalDecl GD; in codegenCXXStructor() 214 GD = GlobalDecl(DD, toCXXDtorType(Type)); in codegenCXXStructor() 217 GD = GlobalDecl(CD, toCXXCtorType(Type)); in codegenCXXStructor() 232 GlobalDecl GD; in getAddrOfCXXStructor() 234 GD = GlobalDecl(CD, toCXXCtorType(Type)); in getAddrOfCXXStructor() 236 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() [all …]
|
| HD | CodeGenModule.h | 325 std::map<StringRef, GlobalDecl> DeferredDecls; 330 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} in DeferredGlobal() 332 GlobalDecl GD; 335 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { in addDeferredDeclToEmit() 341 std::vector<GlobalDecl> Aliases; 364 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames; 365 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings; 461 bool shouldEmitFunction(GlobalDecl GD); 485 GlobalDecl initializedGlobalDecl; 575 GlobalDecl &Result) const; [all …]
|
| HD | CGCXXABI.h | 95 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() 97 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() 298 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() 320 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() 367 GlobalDecl GD, 379 GlobalDecl GD, in adjustCallArgsForDestructorThunk() 388 GlobalDecl GD, bool ReturnAdjustment) = 0; 457 virtual bool NeedsVTTParameter(GlobalDecl GD);
|
| HD | CGVTables.h | 53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable); 57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk); 110 void EmitThunks(GlobalDecl GD);
|
| HD | CGVTables.cpp | 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk() 61 GlobalDecl GD) { in setThunkProperties() 144 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() 206 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() 233 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 384 GlobalDecl GD, const ThunkInfo &Thunk) { in generateThunk() 396 void CodeGenVTables::emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, in emitThunk() 471 void CodeGenVTables::maybeEmitThunkForVTable(GlobalDecl GD, in maybeEmitThunkForVTable() 490 void CodeGenVTables::EmitThunks(GlobalDecl GD) in EmitThunks() 551 GlobalDecl GD; in CreateVTableInitializer() [all …]
|
| HD | CodeGenTypes.h | 190 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 201 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 233 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
|
| HD | ItaniumCXXABI.cpp | 205 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 218 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() 271 bool NeedsVTTParameter(GlobalDecl GD) override; 313 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 1196 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors() 1202 CGM.EmitGlobal(GlobalDecl(D, Ctor_Complete)); in EmitCXXConstructors() 1223 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1227 CGM.EmitGlobal(GlobalDecl(D, Dtor_Complete)); in EmitCXXDestructors() 1233 CGM.EmitGlobal(GlobalDecl(D, Dtor_Deleting)); in EmitCXXDestructors() 1281 if (!NeedsVTTParameter(GlobalDecl(D, Type))) in addImplicitConstructorArgs() [all …]
|
| HD | CodeGenModule.cpp | 266 for (const GlobalDecl &GD : Aliases) { in checkAliases() 313 for (const GlobalDecl &GD : Aliases) { in checkAliases() 560 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() 588 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD, in getBlockMangledName() 659 CodeGenModule::getFunctionLinkage(GlobalDecl GD) { in getFunctionLinkage() 676 void CodeGenModule::setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F) { in setFunctionDLLStorageClass() 875 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, in SetFunctionAttributes() 1103 GlobalDecl D = G.GD; in EmitDeferred() 1313 GlobalDecl(cast<FunctionDecl>(VD)), in GetWeakRefReference() 1327 void CodeGenModule::EmitGlobal(GlobalDecl GD) { in EmitGlobal() [all …]
|
| HD | MicrosoftCXXABI.cpp | 50 bool HasThisReturn(GlobalDecl GD) const override; 51 bool hasMostDerivedReturn(GlobalDecl GD) const override; 186 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, 194 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override; 226 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 236 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() 298 GlobalDecl GD, bool ReturnAdjustment) override { in setThunkLinkage() 504 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD); 1025 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const { in HasThisReturn() 1029 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor() [all …]
|
| HD | CodeGenPGO.h | 82 void checkGlobalDecl(GlobalDecl GD);
|
| HD | CGDebugInfo.h | 38 class GlobalDecl; variable 277 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 471 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
|
| HD | CGDeclCXX.cpp | 481 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc() 504 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 555 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()
|
| HD | ModuleBuilder.cpp | 82 GlobalDecl Result; in GetDeclForMangledName()
|
| HD | CGDecl.cpp | 165 ContextName = CGM.getBlockMangledName(GlobalDecl(), BD); in getStaticDeclName() 250 GlobalDecl GD; in getOrCreateStaticVarDecl() 252 GD = GlobalDecl(CD, Ctor_Base); in getOrCreateStaticVarDecl() 254 GD = GlobalDecl(DD, Dtor_Base); in getOrCreateStaticVarDecl() 256 GD = GlobalDecl(FD); in getOrCreateStaticVarDecl()
|
| HD | CodeGenFunction.h | 153 GlobalDecl CurGD; 1221 llvm::Function *GenerateBlockFunction(GlobalDecl GD, 1251 void GenerateCode(GlobalDecl GD, llvm::Function *Fn, 1256 void StartFunction(GlobalDecl GD, 1288 void StartThunk(llvm::Function *Fn, GlobalDecl GD, 1299 GlobalDecl GD, const ThunkInfo &Thunk); 1303 GlobalDecl GD, const ThunkInfo &Thunk); 1741 llvm::Value *GetVTTParameter(GlobalDecl GD, bool ForVirtualBase,
|
| HD | CGOpenMPRuntime.cpp | 1005 CtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidPtrTy, Fn, FI, in emitThreadPrivateVarDefinition() 1039 DtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, Fn, FI, Args, in emitThreadPrivateVarDefinition() 1080 InitCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidTy, InitFunction, in emitThreadPrivateVarDefinition() 1376 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args); in emitCopyprivateCopyFunction() 1917 CGF.StartFunction(GlobalDecl(), KmpInt32Ty, TaskEntry, TaskEntryFnInfo, Args); in emitProxyTaskFunction() 1986 CGF.StartFunction(GlobalDecl(), KmpInt32Ty, DestructorFn, DestructorFnInfo, in emitDestructorsFunction() 2066 CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap, in emitTaskPrivateMappingFunction() 2463 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args); in emitReductionFunction()
|
| HD | CGCXXABI.cpp | 301 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter()
|
| HD | CGCall.cpp | 199 GlobalDecl GD; in arrangeCXXStructorDeclaration() 201 GD = GlobalDecl(CD, toCXXCtorType(Type)); in arrangeCXXStructorDeclaration() 204 GD = GlobalDecl(DD, toCXXDtorType(Type)); in arrangeCXXStructorDeclaration() 241 GlobalDecl GD(D, CtorKind); in arrangeCXXConstructorCall() 322 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { in arrangeGlobalDeclaration() 1247 llvm::FunctionType *CodeGenTypes::GetFunctionType(GlobalDecl GD) { in GetFunctionType() 1367 llvm::Type *CodeGenTypes::GetFunctionTypeForVTable(GlobalDecl GD) { in GetFunctionTypeForVTable()
|
| HD | CGClass.cpp | 297 llvm::Value *CodeGenFunction::GetVTTParameter(GlobalDecl GD, in GetVTTParameter() 1878 if (llvm::Value *VTT = GetVTTParameter(GlobalDecl(Ctor, CtorType), in EmitDelegateCXXConstructorCall() 2371 CGM.GetAddrOfFunction(GlobalDecl(callOperator), in EmitForwardingCallToLambda()
|
| HD | CodeGenFunction.cpp | 588 void CodeGenFunction::StartFunction(GlobalDecl GD, in StartFunction() 841 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode()
|
| HD | CodeGenPGO.cpp | 646 void CodeGenPGO::checkGlobalDecl(GlobalDecl GD) { in checkGlobalDecl()
|
| HD | CGExprCXX.cpp | 246 Callee = CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty); in EmitCXXMemberOrOperatorMemberCallExpr() 255 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | VTableBuilder.cpp | 790 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 1708 MethodVTableIndices[GlobalDecl(DD, Dtor_Complete)] in LayoutPrimaryAndSecondaryVTables() 1710 MethodVTableIndices[GlobalDecl(DD, Dtor_Deleting)] in LayoutPrimaryAndSecondaryVTables() 2211 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() 2277 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() 2431 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 2575 MethodVFTableLocations[GlobalDecl(DD, Dtor_Deleting)] = Loc; in LayoutVFTable() 3653 GlobalDecl GD = Loc.first; in computeVTableRelatedInformation() 3799 MicrosoftVTableContext::getMethodVFTableLocation(GlobalDecl GD) { in getMethodVFTableLocation()
|