Home
last modified time | relevance | path

Searched refs:GlobalDecl (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h56 class GlobalDecl {
69 GlobalDecl() = default;
95 GlobalDecl CanonGD; in getCanonicalDecl()
143 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) {
153 GlobalDecl GD; in getFromOpaquePtr()
164 GlobalDecl Result(*this); in getWithDecl()
171 GlobalDecl Result(*this); in getWithCtorType()
178 GlobalDecl Result(*this); in getWithDtorType()
189 GlobalDecl Result(*this); in getWithMultiVersionIndex()
198 GlobalDecl Result(*this); in getWithKernelReferenceKind()
[all …]
H A DVTableBuilder.h153 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>
589 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD);
591 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
H A DMangle.h131 void mangleName(GlobalDecl GD, raw_ostream &);
132 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
171 virtual void mangleSEHFilterExpression(GlobalDecl EnclosingDecl,
174 virtual void mangleSEHFinallyBlock(GlobalDecl EnclosingDecl,
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.h353 std::vector<GlobalDecl> DeferredDeclsToEmit;
354 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit()
362 void addEmittedDeferredDecl(GlobalDecl GD) { in addEmittedDeferredDecl()
383 std::vector<GlobalDecl> Aliases;
388 std::vector<GlobalDecl> MultiVersionFuncs;
555 bool shouldEmitFunction(GlobalDecl GD);
581 GlobalDecl initializedGlobalDecl;
1280 StringRef getMangledName(GlobalDecl GD);
1387 void EmitGlobal(GlobalDecl D);
1625 void EmitAliasDefinition(GlobalDecl GD);
[all …]
H A DCGCXX.cpp117 GlobalDecl AliasDecl(D, Dtor_Base); in TryEmitBaseDestructorAsAlias()
118 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias()
206 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) { in codegenCXXStructor()
221 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, in getAddrAndTypeOfCXXStructor()
247 GlobalDecl GD, in BuildAppleKextVirtualCall()
302 GlobalDecl(DD, Dtor_Complete)); in BuildAppleKextVirtualDestructorCall()
304 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); in BuildAppleKextVirtualDestructorCall()
H A DCGCXXABI.h106 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
127 virtual bool HasThisReturn(GlobalDecl GD) const { in HasThisReturn()
135 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn()
368 buildStructorSignature(GlobalDecl GD,
392 virtual const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) { in getThisArgumentTypeForMethod()
420 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment()
491 GlobalDecl GD, Address This,
506 GlobalDecl GD, in adjustCallArgsForDestructorThunk()
516 GlobalDecl GD, bool ReturnAdjustment) = 0;
588 virtual bool NeedsVTTParameter(GlobalDecl GD);
[all …]
H A DCGCall.h44 GlobalDecl CalleeDecl;
48 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo()
52 CGCalleeInfo(GlobalDecl calleeDecl) in CGCalleeInfo()
58 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl()
81 GlobalDecl MD;
139 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual()
195 GlobalDecl getVirtualMethodDecl() const { in getVirtualMethodDecl()
H A DCodeGenTypes.h43 class GlobalDecl; variable
134 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
150 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
182 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
232 const CGFunctionInfo &arrangeCXXStructorDeclaration(GlobalDecl GD);
H A DModuleBuilder.cpp114 GlobalDecl Result; in GetDeclForMangledName()
128 llvm::StringRef GetMangledName(GlobalDecl GD) { in GetMangledName()
132 llvm::Constant *GetAddrOfGlobal(GlobalDecl global, bool isForDefinition) { in GetAddrOfGlobal()
348 llvm::StringRef CodeGenerator::GetMangledName(GlobalDecl GD) { in GetMangledName()
352 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
H A DCGDebugInfo.h40 class GlobalDecl; variable
461 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
466 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD);
472 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
533 void EmitGlobalAlias(const llvm::GlobalValue *GV, const GlobalDecl Decl);
719 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub);
723 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD);
727 llvm::DISubprogram *getFunctionStub(GlobalDecl GD);
790 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
894 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
H A DCGVTables.h60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
130 void EmitThunks(GlobalDecl GD);
H A DCodeGenModule.cpp905 GlobalDecl GD; in Release()
909 GD = GlobalDecl(D); in Release()
1915 GlobalDecl OtherGD; in UpdateMultiVersionNames()
2029 return GlobalDecl(); in getMangledNameDecl()
4152 GlobalDecl CurGD{ in emitMultiVersionFunctions()
4293 GlobalDecl ResolverGD; in emitCPUDispatchDefinition()
4482 GlobalDecl GDDef; in GetOrCreateLLVMFunction()
4519 GlobalDecl OtherGD; in GetOrCreateLLVMFunction()
4814 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal()
5963 GlobalDecl OtherGD; in emitIFuncDefinition()
[all …]
H A DMicrosoftCXXABI.cpp57 bool HasThisReturn(GlobalDecl GD) const override;
231 buildStructorSignature(GlobalDecl GD,
254 GlobalDecl LookupGD = GD; in getThisArgumentTypeForMethod()
1101 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor()
1409 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors()
1431 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment()
1471 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall()
1480 LookupGD = GlobalDecl(DD, Dtor_Deleting); in adjustThisArgumentForVirtualFunctionCall()
1651 GlobalDecl GD(DD, Type); in EmitDestructorCall()
2003 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall()
[all …]
H A DCGVTables.cpp36 GlobalDecl GD) { in GetAddrOfThunk()
43 GlobalDecl GD) { in setThunkProperties()
162 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk()
241 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk()
276 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk()
397 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD, in EmitMustTailThunk()
451 const CGFunctionInfo &FnInfo, GlobalDecl GD, in generateThunk()
491 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD, in maybeEmitThunk()
601 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks()
749 GlobalDecl GD = component.getGlobalDecl(); in addVTableComponent()
H A DCGDeclCXX.cpp111 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy()
121 Func = CGM.getAddrAndTypeOfCXXStructor(GlobalDecl(Dtor, Dtor_Complete)); in EmitDeclDestroy()
251 CGF.StartFunction(GlobalDecl(&VD, DynamicInitKind::AtExit), in createAtExitStub()
299 CGF.StartFunction(GlobalDecl(&D, DynamicInitKind::AtExit), ResTy, DtorStub, in createTLSAtExitStub()
448 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrCleanUpFunction()
1015 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer), in GenerateCXXGlobalVarDeclInitFunc()
1048 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc()
1108 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalCleanUpFunc()
1157 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor), in generateDestroyHelper()
H A DItaniumCXXABI.cpp253 buildStructorSignature(GlobalDecl GD,
390 bool NeedsVTTParameter(GlobalDecl GD) override;
423 void emitCXXStructor(GlobalDecl GD) override;
1657 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors()
1691 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors()
1756 if (!NeedsVTTParameter(GlobalDecl(D, Type))) in getImplicitConstructorArgs()
1773 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam()
1782 GlobalDecl GD(DD, Type); in EmitDestructorCall()
2069 GlobalDecl GD(Dtor, DtorType); in EmitVirtualDestructorCall()
4338 GlobalDecl AliasDecl; in getCodegenToUse()
[all …]
H A DCGCUDARuntime.h101 GlobalDecl GD) = 0;
H A DCGOpenMPRuntime.h1393 virtual bool emitTargetFunctions(GlobalDecl GD);
1398 virtual bool emitTargetGlobalVariable(GlobalDecl GD);
1408 virtual bool emitTargetGlobal(GlobalDecl GD);
1555 bool markAsGlobalTarget(GlobalDecl GD);
2195 bool emitTargetFunctions(GlobalDecl GD) override;
2200 bool emitTargetGlobalVariable(GlobalDecl GD) override;
2205 bool emitTargetGlobal(GlobalDecl GD) override;
H A DCodeGenPGO.h87 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DModuleBuilder.h35 class GlobalDecl; variable
84 llvm::StringRef GetMangledName(GlobalDecl GD);
94 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp139 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) { in mangleName()
280 mangleName(GlobalDecl(CD, CT), Out); in mangleCtorBlock()
289 mangleName(GlobalDecl(DD, DT), Out); in mangleDtorBlock()
529 GlobalDecl GD; in writeFuncOrVarName()
531 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName()
533 GD = GlobalDecl(DtorD, Dtor_Complete); in writeFuncOrVarName()
535 GD = GlobalDecl(cast<FunctionDecl>(D)); in writeFuncOrVarName()
537 GD = GlobalDecl(D); in writeFuncOrVarName()
558 GlobalDecl GD; in getMangledStructor()
560 GD = GlobalDecl(CD, static_cast<CXXCtorType>(StructorType)); in getMangledStructor()
[all …]
H A DMicrosoftMangle.cpp48 GlobalDecl GD; in getGlobalDeclAsDeclContext()
50 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext()
52 GD = GlobalDecl(DD, Dtor_Complete); in getGlobalDeclAsDeclContext()
54 GD = GlobalDecl(cast<FunctionDecl>(DC)); in getGlobalDeclAsDeclContext()
365 void mangleName(GlobalDecl GD);
393 void mangleNestedName(GlobalDecl GD);
407 void mangleUnqualifiedName(GlobalDecl GD) { in mangleUnqualifiedName()
421 mangleTemplateInstantiationName(GlobalDecl GD,
926 static GlobalDecl isTemplate(GlobalDecl GD, in isTemplate()
951 return GlobalDecl(); in isTemplate()
[all …]
H A DItaniumMangle.cpp459 void mangle(GlobalDecl GD);
466 void mangleName(GlobalDecl GD);
510 void mangleNameWithAbiTags(GlobalDecl GD,
532 void mangleLocalName(GlobalDecl GD,
816 void CXXNameMangler::mangle(GlobalDecl GD) { in mangle()
978 static const GlobalDecl
1003 return GlobalDecl(); in isTemplate()
1834 GlobalDecl GD; in getParentOfLocalEntity()
1840 GD = GlobalDecl(CD, Ctor_Complete); in getParentOfLocalEntity()
1842 GD = GlobalDecl(DD, Dtor_Complete); in getParentOfLocalEntity()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.h83 llvm::StringRef GetMangledName(GlobalDecl GD) const;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/
H A DInterpreter.h121 llvm::Expected<llvm::orc::ExecutorAddr> getSymbolAddress(GlobalDecl GD) const;

123