| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 55 class GlobalDecl { 68 GlobalDecl() = default; 69 GlobalDecl(const VarDecl *D) { Init(D);} in GlobalDecl() function 70 GlobalDecl(const FunctionDecl *D, unsigned MVIndex = 0) 78 GlobalDecl(const FunctionDecl *D, KernelReferenceKind Kind) in GlobalDecl() function 82 GlobalDecl(const NamedDecl *D) { Init(D); } in GlobalDecl() function 83 GlobalDecl(const BlockDecl *D) { Init(D); } in GlobalDecl() function 84 GlobalDecl(const CapturedDecl *D) { Init(D); } in GlobalDecl() function 85 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } in GlobalDecl() function 86 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } in GlobalDecl() function [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 | 120 void mangleName(GlobalDecl GD, raw_ostream &); 121 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
|
| /netbsd-src/external/apache2/llvm/dist/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; 381 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions; 404 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames; 405 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings; 409 llvm::MapVector<std::pair<GlobalDecl, unsigned>, StringRef> 411 llvm::StringMap<std::pair<GlobalDecl, unsigned>, llvm::BumpPtrAllocator> [all …]
|
| 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 | 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 | 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, 656 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub); 660 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD); 664 llvm::DISubprogram *getFunctionStub(GlobalDecl GD); 727 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, 818 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
|
| H A D | CodeGenModule.cpp | 342 for (const GlobalDecl &GD : Aliases) { in checkAliases() 402 for (const GlobalDecl &GD : Aliases) { in checkAliases() 1073 GlobalDecl GD) const { in setDLLImportDLLExport() 1094 GlobalDecl GD) const { in setGVProperties() 1201 static bool isUniqueInternalLinkageDecl(GlobalDecl GD, in isUniqueInternalLinkageDecl() 1208 static std::string getMangledNameImpl(CodeGenModule &CGM, GlobalDecl GD, in getMangledNameImpl() 1274 void CodeGenModule::UpdateMultiVersionNames(GlobalDecl GD, in UpdateMultiVersionNames() 1284 GlobalDecl OtherGD; in UpdateMultiVersionNames() 1314 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() 1315 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); in getMangledName() [all …]
|
| H A D | CGVTables.h | 60 llvm::Constant *maybeEmitThunk(GlobalDecl GD, 136 void EmitThunks(GlobalDecl GD);
|
| H A D | ItaniumCXXABI.cpp | 77 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject() 207 buildStructorSignature(GlobalDecl GD, 271 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 285 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() 378 bool NeedsVTTParameter(GlobalDecl GD) override; 411 void emitCXXStructor(GlobalDecl GD) override; 470 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 505 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 523 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 1339 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete)); in emitThrow() [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() 383 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrCleanUpFunction() 723 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer), in GenerateCXXGlobalVarDeclInitFunc() 753 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 813 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalCleanUpFunc() 862 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor), in generateDestroyHelper()
|
| 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; 53 bool hasMostDerivedReturn(GlobalDecl GD) const override; 61 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject() 215 buildStructorSignature(GlobalDecl GD, 252 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, 308 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 317 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() 378 GlobalDecl GD, bool ReturnAdjustment) override { in setThunkLinkage() 578 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) override; 695 void emitCXXStructor(GlobalDecl GD) override; [all …]
|
| 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 | CGOpenMPRuntime.h | 1582 virtual bool emitTargetFunctions(GlobalDecl GD); 1587 virtual bool emitTargetGlobalVariable(GlobalDecl GD); 1602 virtual bool emitTargetGlobal(GlobalDecl GD); 1785 bool markAsGlobalTarget(GlobalDecl GD); 2422 bool emitTargetFunctions(GlobalDecl GD) override; 2427 bool emitTargetGlobalVariable(GlobalDecl GD) override; 2432 bool emitTargetGlobal(GlobalDecl GD) override;
|
| 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 | CGCUDANV.cpp | 164 llvm::GlobalValue *getKernelHandle(llvm::Function *F, GlobalDecl GD) override; 257 GlobalDecl GD; in getDeviceSideName() 260 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in getDeviceSideName() 262 GD = GlobalDecl(ND); in getDeviceSideName() 1124 GlobalDecl GD) { in getKernelHandle()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 609 CGM.SetInternalFunctionAttributes(GlobalDecl(), WorkerFn, CGFI); in createWorkerFunction() 1329 CGF.StartFunction(GlobalDecl(), Ctx.VoidTy, WST.WorkerFn, WST.CGFI, {}, in emitWorkerFunction() 2662 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitInterWarpCopyFunction() 2665 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitInterWarpCopyFunction() 2963 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitShuffleAndReduceFunction() 2967 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitShuffleAndReduceFunction() 3119 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitListToGlobalCopyFunction() 3122 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitListToGlobalCopyFunction() 3228 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitListToGlobalReduceFunction() 3231 CGF.StartFunction(GlobalDecl(), C.VoidTy, Fn, CGFI, Args, Loc, Loc); in emitListToGlobalReduceFunction() [all …]
|
| H A D | CodeGenFunction.h | 346 GlobalDecl CurGD; 1625 InlinedInheritingConstructorScope(CodeGenFunction &CGF, GlobalDecl GD) 1665 GlobalDecl OldCurGD; 2074 llvm::Function *GenerateBlockFunction(GlobalDecl GD, 2134 QualType BuildFunctionArgList(GlobalDecl GD, FunctionArgList &Args); 2136 void GenerateCode(GlobalDecl GD, llvm::Function *Fn, 2146 void StartFunction(GlobalDecl GD, 2182 void StartThunk(llvm::Function *Fn, GlobalDecl GD, 2191 void EmitMustTailThunk(GlobalDecl GD, llvm::Value *AdjustedThisPtr, 2196 GlobalDecl GD, const ThunkInfo &Thunk, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 | 153 void mangleCXXName(GlobalDecl GD, raw_ostream &) override; 462 void mangle(GlobalDecl GD); 467 void mangleFunctionEncoding(GlobalDecl GD); 469 void mangleName(GlobalDecl GD); 506 void mangleNameWithAbiTags(GlobalDecl GD, 513 void mangleUnqualifiedName(GlobalDecl GD, in mangleUnqualifiedName() 518 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name, 521 void mangleUnscopedName(GlobalDecl GD, 523 void mangleUnscopedTemplateName(GlobalDecl GD, 530 void mangleLocalName(GlobalDecl GD, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/CodeGen/ |
| H A D | ModuleBuilder.h | 30 class GlobalDecl; variable 85 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|