| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 55 class GlobalDecl { 68 GlobalDecl() = default; 94 GlobalDecl CanonGD; in getCanonicalDecl() 138 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) { 148 GlobalDecl GD; in getFromOpaquePtr() 159 GlobalDecl Result(*this); in getWithDecl() 166 GlobalDecl Result(*this); in getWithCtorType() 173 GlobalDecl Result(*this); in getWithDtorType() 184 GlobalDecl Result(*this); in getWithMultiVersionIndex() 193 GlobalDecl Result(*this); in getWithKernelReferenceKind() [all …]
|
| H A D | VTableBuilder.h | 153 GlobalDecl getGlobalDecl() const { in getGlobalDecl() 160 return GlobalDecl(getFunctionDecl()); in getGlobalDecl() 162 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Complete); in getGlobalDecl() 164 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Deleting); in getGlobalDecl() 342 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 368 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 418 uint64_t getMethodVTableIndex(GlobalDecl GD); 550 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 591 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD); 593 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
| H A D | Mangle.h | 117 void mangleName(GlobalDecl GD, raw_ostream &); 118 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.h | 348 std::map<StringRef, GlobalDecl> DeferredDecls; 352 std::vector<GlobalDecl> DeferredDeclsToEmit; 353 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() 359 std::vector<GlobalDecl> Aliases; 363 std::vector<GlobalDecl> MultiVersionFuncs; 531 bool shouldEmitFunction(GlobalDecl GD); 557 GlobalDecl initializedGlobalDecl; 1228 StringRef getMangledName(GlobalDecl GD); 1327 void EmitGlobal(GlobalDecl D); 1500 void EmitAliasDefinition(GlobalDecl GD); [all …]
|
| H A D | CGCXX.cpp | 112 GlobalDecl AliasDecl(D, Dtor_Base); in TryEmitBaseDestructorAsAlias() 113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() 207 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) { in codegenCXXStructor() 222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, in getAddrAndTypeOfCXXStructor() 248 GlobalDecl GD, in BuildAppleKextVirtualCall() 304 GlobalDecl(DD, Dtor_Complete)); in BuildAppleKextVirtualDestructorCall() 306 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); in BuildAppleKextVirtualDestructorCall()
|
| H A D | CGCXXABI.h | 90 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0; 107 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() 109 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() 332 buildStructorSignature(GlobalDecl GD, 365 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() 385 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() 456 GlobalDecl GD, Address This, 471 GlobalDecl GD, in adjustCallArgsForDestructorThunk() 481 GlobalDecl GD, bool ReturnAdjustment) = 0; 553 virtual bool NeedsVTTParameter(GlobalDecl GD); [all …]
|
| H A D | CGCall.h | 49 GlobalDecl CalleeDecl; 53 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo() 57 CGCalleeInfo(GlobalDecl calleeDecl) in CGCalleeInfo() 63 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl() 86 GlobalDecl MD; 145 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual() 201 GlobalDecl getVirtualMethodDecl() const { in getVirtualMethodDecl()
|
| H A D | CodeGenTypes.h | 48 class GlobalDecl; variable 142 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 158 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 190 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD); 240 const CGFunctionInfo &arrangeCXXStructorDeclaration(GlobalDecl GD);
|
| H A D | CGDebugInfo.h | 40 class GlobalDecl; variable 424 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc, 429 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD); 435 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, 664 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub); 668 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD); 672 llvm::DISubprogram *getFunctionStub(GlobalDecl GD); 735 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, 826 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
|
| H A D | CGVTables.h | 60 llvm::Constant *maybeEmitThunk(GlobalDecl GD, 136 void EmitThunks(GlobalDecl GD);
|
| H A D | CodeGenModule.cpp | 342 for (const GlobalDecl &GD : Aliases) { in checkAliases() 1314 GlobalDecl OtherGD; in UpdateMultiVersionNames() 3263 GlobalDecl CurGD{ in emitMultiVersionFunctions() 3340 GlobalDecl ResolverGD; in emitCPUDispatchDefinition() 3508 GlobalDecl GDDef; in GetOrCreateLLVMFunction() 3514 GDDef = GlobalDecl(FDDef); in GetOrCreateLLVMFunction() 3545 GlobalDecl OtherGD; in GetOrCreateLLVMFunction() 3699 GD = GlobalDecl(DD, Dtor_Base); in GetAddrOfFunction() 3853 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal() 4972 GlobalDecl OtherGD; in emitIFuncDefinition() [all …]
|
| H A D | CGDeclCXX.cpp | 110 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy() 120 Func = CGM.getAddrAndTypeOfCXXStructor(GlobalDecl(Dtor, Dtor_Complete)); in EmitDeclDestroy() 247 CGF.StartFunction(GlobalDecl(&VD, DynamicInitKind::AtExit), in createAtExitStub() 295 CGF.StartFunction(GlobalDecl(&D, DynamicInitKind::AtExit), ResTy, DtorStub, in createTLSAtExitStub() 435 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrCleanUpFunction() 777 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer), in GenerateCXXGlobalVarDeclInitFunc() 807 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 867 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalCleanUpFunc() 916 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor), in generateDestroyHelper()
|
| H A D | ModuleBuilder.cpp | 111 GlobalDecl Result; in GetDeclForMangledName() 125 llvm::Constant *GetAddrOfGlobal(GlobalDecl global, bool isForDefinition) { in GetAddrOfGlobal() 328 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
|
| H A D | CGVTables.cpp | 35 GlobalDecl GD) { in GetAddrOfThunk() 42 GlobalDecl GD) { in setThunkProperties() 159 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() 236 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() 271 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 392 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD, in EmitMustTailThunk() 448 const CGFunctionInfo &FnInfo, GlobalDecl GD, in generateThunk() 492 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD, in maybeEmitThunk() 605 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() 731 GlobalDecl GD = component.getGlobalDecl(); in addVTableComponent()
|
| H A D | MicrosoftCXXABI.cpp | 52 bool HasThisReturn(GlobalDecl GD) const override; 215 buildStructorSignature(GlobalDecl GD, 1073 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor() 1375 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1397 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment() 1437 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall() 1446 LookupGD = GlobalDecl(DD, Dtor_Deleting); in adjustThisArgumentForVirtualFunctionCall() 1625 GlobalDecl GD(DD, Type); in EmitDestructorCall() 1973 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() 2068 CGF.CurGD = GlobalDecl(MD); in EmitVirtualMemPtrThunk() [all …]
|
| H A D | ItaniumCXXABI.cpp | 207 buildStructorSignature(GlobalDecl GD, 384 bool NeedsVTTParameter(GlobalDecl GD) override; 417 void emitCXXStructor(GlobalDecl GD) override; 1616 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors() 1648 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1711 if (!NeedsVTTParameter(GlobalDecl(D, Type))) in getImplicitConstructorArgs() 1724 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam() 1733 GlobalDecl GD(DD, Type); in EmitDestructorCall() 2020 GlobalDecl GD(Dtor, DtorType); in EmitVirtualDestructorCall() 4271 GlobalDecl AliasDecl; in getCodegenToUse() [all …]
|
| H A D | CGCUDARuntime.h | 100 GlobalDecl GD) = 0;
|
| H A D | CodeGenPGO.h | 82 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
|
| H A D | CGOpenMPRuntime.h | 1607 virtual bool emitTargetFunctions(GlobalDecl GD); 1612 virtual bool emitTargetGlobalVariable(GlobalDecl GD); 1622 virtual bool emitTargetGlobal(GlobalDecl GD); 1805 bool markAsGlobalTarget(GlobalDecl GD); 2442 bool emitTargetFunctions(GlobalDecl GD) override; 2447 bool emitTargetGlobalVariable(GlobalDecl GD) override; 2452 bool emitTargetGlobal(GlobalDecl GD) override;
|
| H A D | CGCUDANV.cpp | 164 llvm::GlobalValue *getKernelHandle(llvm::Function *F, GlobalDecl GD) override; 264 GlobalDecl GD; in getDeviceSideName() 267 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in getDeviceSideName() 269 GD = GlobalDecl(ND); in getDeviceSideName() 1132 GlobalDecl GD) { in getKernelHandle()
|
| H A D | CGBlocks.cpp | 1302 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock() 1442 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, in GenerateBlockFunction() 1566 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn); in GenerateBlockFunction() 1901 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in setBlockHelperAttributesVisibility() 1905 CGM.SetLLVMFunctionAttributes(GlobalDecl(), FI, Fn, /*IsThunk=*/false); in setBlockHelperAttributesVisibility() 1957 StartFunction(GlobalDecl(), ReturnTy, Fn, FI, args); in GenerateCopyHelperFunction() 2143 StartFunction(GlobalDecl(), ReturnTy, Fn, FI, args); in GenerateDestroyHelperFunction() 2385 CGF.CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in generateByrefCopyHelper() 2387 CGF.StartFunction(GlobalDecl(), ReturnTy, Fn, FI, args); in generateByrefCopyHelper() 2454 CGF.CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in generateByrefDisposeHelper() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2074 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitInterWarpCopyFunction() 2077 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitInterWarpCopyFunction() 2377 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitShuffleAndReduceFunction() 2381 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitShuffleAndReduceFunction() 2533 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitListToGlobalCopyFunction() 2536 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitListToGlobalCopyFunction() 2642 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitListToGlobalReduceFunction() 2738 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitGlobalToListCopyFunction() 2848 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitGlobalToListReduceFunction() 3466 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in createParallelDataSharingWrapper() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Mangle.cpp | 141 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) { in mangleName() 272 mangleName(GlobalDecl(CD, CT), Out); in mangleCtorBlock() 281 mangleName(GlobalDecl(DD, DT), Out); in mangleDtorBlock() 521 GlobalDecl GD; in writeFuncOrVarName() 523 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName() 525 GD = GlobalDecl(DtorD, Dtor_Complete); in writeFuncOrVarName() 527 GD = GlobalDecl(cast<FunctionDecl>(D)); in writeFuncOrVarName() 529 GD = GlobalDecl(D); in writeFuncOrVarName() 550 GlobalDecl GD; in getMangledStructor() 552 GD = GlobalDecl(CD, static_cast<CXXCtorType>(StructorType)); in getMangledStructor() [all …]
|
| H A D | ItaniumMangle.cpp | 465 void mangle(GlobalDecl GD); 472 void mangleName(GlobalDecl GD); 509 void mangleNameWithAbiTags(GlobalDecl GD, 524 void mangleUnscopedName(GlobalDecl GD, 533 void mangleLocalName(GlobalDecl GD, 890 static const GlobalDecl 915 return GlobalDecl(); in isTemplate() 1715 GlobalDecl GD; in getParentOfLocalEntity() 1721 GD = GlobalDecl(CD, Ctor_Complete); in getParentOfLocalEntity() 1723 GD = GlobalDecl(DD, Dtor_Complete); in getParentOfLocalEntity() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | ModuleBuilder.h | 30 class GlobalDecl; variable 85 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|