Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/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>
591 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD);
593 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;
170 virtual void mangleSEHFilterExpression(GlobalDecl EnclosingDecl,
173 virtual void mangleSEHFinallyBlock(GlobalDecl EnclosingDecl,
/openbsd/gnu/llvm/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()
374 std::vector<GlobalDecl> Aliases;
379 std::vector<GlobalDecl> MultiVersionFuncs;
543 bool shouldEmitFunction(GlobalDecl GD);
569 GlobalDecl initializedGlobalDecl;
1280 StringRef getMangledName(GlobalDecl GD);
1388 void EmitGlobal(GlobalDecl D);
1598 void EmitAliasDefinition(GlobalDecl GD);
[all …]
H A DCGCXX.cpp112 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 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()
358 buildStructorSignature(GlobalDecl GD,
382 virtual const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) { in getThisArgumentTypeForMethod()
410 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment()
481 GlobalDecl GD, Address This,
496 GlobalDecl GD, in adjustCallArgsForDestructorThunk()
506 GlobalDecl GD, bool ReturnAdjustment) = 0;
578 virtual bool NeedsVTTParameter(GlobalDecl GD);
[all …]
H A DCGCall.h42 GlobalDecl CalleeDecl;
46 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo()
50 CGCalleeInfo(GlobalDecl calleeDecl) in CGCalleeInfo()
56 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl()
79 GlobalDecl MD;
140 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual()
196 GlobalDecl getVirtualMethodDecl() const { in getVirtualMethodDecl()
H A DCodeGenTypes.h43 class GlobalDecl; variable
139 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
155 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
187 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
237 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
439 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
444 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD);
450 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
512 void EmitGlobalAlias(const llvm::GlobalValue *GV, const GlobalDecl Decl);
698 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub);
702 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD);
706 llvm::DISubprogram *getFunctionStub(GlobalDecl GD);
769 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
860 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
H A DCodeGenModule.cpp613 GlobalDecl GD; in Release()
617 GD = GlobalDecl(D); in Release()
1511 GlobalDecl OtherGD; in UpdateMultiVersionNames()
1625 return GlobalDecl(); in getMangledNameDecl()
3701 GlobalDecl CurGD{ in emitMultiVersionFunctions()
3828 GlobalDecl ResolverGD; in emitCPUDispatchDefinition()
4014 GlobalDecl GDDef; in GetOrCreateLLVMFunction()
4051 GlobalDecl OtherGD; in GetOrCreateLLVMFunction()
4371 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal()
5518 GlobalDecl OtherGD; in emitIFuncDefinition()
[all …]
H A DCGVTables.h60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
140 void EmitThunks(GlobalDecl GD);
H A DMicrosoftCXXABI.cpp56 bool HasThisReturn(GlobalDecl GD) const override;
219 buildStructorSignature(GlobalDecl GD,
242 GlobalDecl LookupGD = GD; in getThisArgumentTypeForMethod()
1093 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor()
1387 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors()
1409 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment()
1449 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall()
1458 LookupGD = GlobalDecl(DD, Dtor_Deleting); in adjustThisArgumentForVirtualFunctionCall()
1637 GlobalDecl GD(DD, Type); in EmitDestructorCall()
1987 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall()
[all …]
H A DCGVTables.cpp35 GlobalDecl GD) { in GetAddrOfThunk()
42 GlobalDecl GD) { in setThunkProperties()
161 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk()
240 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk()
275 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk()
396 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD, in EmitMustTailThunk()
450 const CGFunctionInfo &FnInfo, GlobalDecl GD, in generateThunk()
494 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD, in maybeEmitThunk()
607 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks()
747 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()
439 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrCleanUpFunction()
989 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer), in GenerateCXXGlobalVarDeclInitFunc()
1022 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc()
1082 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalCleanUpFunc()
1131 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor), in generateDestroyHelper()
H A DItaniumCXXABI.cpp207 buildStructorSignature(GlobalDecl GD,
344 bool NeedsVTTParameter(GlobalDecl GD) override;
377 void emitCXXStructor(GlobalDecl GD) override;
1572 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors()
1604 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors()
1667 if (!NeedsVTTParameter(GlobalDecl(D, Type))) in getImplicitConstructorArgs()
1680 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam()
1689 GlobalDecl GD(DD, Type); in EmitDestructorCall()
1981 GlobalDecl GD(Dtor, DtorType); in EmitVirtualDestructorCall()
4264 GlobalDecl AliasDecl; in getCodegenToUse()
[all …]
H A DCGOpenMPRuntime.h1389 virtual bool emitTargetFunctions(GlobalDecl GD);
1394 virtual bool emitTargetGlobalVariable(GlobalDecl GD);
1404 virtual bool emitTargetGlobal(GlobalDecl GD);
1538 bool markAsGlobalTarget(GlobalDecl GD);
2178 bool emitTargetFunctions(GlobalDecl GD) override;
2183 bool emitTargetGlobalVariable(GlobalDecl GD) override;
2188 bool emitTargetGlobal(GlobalDecl GD) override;
H A DCGCUDARuntime.h113 GlobalDecl GD) = 0;
H A DCodeGenPGO.h83 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/clang/lib/AST/
H A DMangle.cpp139 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) { in mangleName()
276 mangleName(GlobalDecl(CD, CT), Out); in mangleCtorBlock()
285 mangleName(GlobalDecl(DD, DT), Out); in mangleDtorBlock()
525 GlobalDecl GD; in writeFuncOrVarName()
527 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName()
529 GD = GlobalDecl(DtorD, Dtor_Complete); in writeFuncOrVarName()
531 GD = GlobalDecl(cast<FunctionDecl>(D)); in writeFuncOrVarName()
533 GD = GlobalDecl(D); in writeFuncOrVarName()
554 GlobalDecl GD; in getMangledStructor()
556 GD = GlobalDecl(CD, static_cast<CXXCtorType>(StructorType)); in getMangledStructor()
[all …]
H A DMicrosoftMangle.cpp46 GlobalDecl GD; in getGlobalDeclAsDeclContext()
48 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext()
50 GD = GlobalDecl(DD, Dtor_Complete); in getGlobalDeclAsDeclContext()
52 GD = GlobalDecl(cast<FunctionDecl>(DC)); in getGlobalDeclAsDeclContext()
364 void mangleName(GlobalDecl GD);
388 void mangleNestedName(GlobalDecl GD);
402 void mangleUnqualifiedName(GlobalDecl GD) { in mangleUnqualifiedName()
416 mangleTemplateInstantiationName(GlobalDecl GD,
868 static GlobalDecl isTemplate(GlobalDecl GD, in isTemplate()
893 return GlobalDecl(); in isTemplate()
[all …]
H A DItaniumMangle.cpp433 void mangle(GlobalDecl GD);
440 void mangleName(GlobalDecl GD);
484 void mangleNameWithAbiTags(GlobalDecl GD,
506 void mangleLocalName(GlobalDecl GD,
771 void CXXNameMangler::mangle(GlobalDecl GD) { in mangle()
920 static const GlobalDecl
945 return GlobalDecl(); in isTemplate()
1760 GlobalDecl GD; in getParentOfLocalEntity()
1766 GD = GlobalDecl(CD, Ctor_Complete); in getParentOfLocalEntity()
1768 GD = GlobalDecl(DD, Dtor_Complete); in getParentOfLocalEntity()
[all …]
/openbsd/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalParser.h73 llvm::StringRef GetMangledName(GlobalDecl GD) const;
/openbsd/gnu/llvm/clang/include/clang/Interpreter/
H A DInterpreter.h78 llvm::Expected<llvm::JITTargetAddress> getSymbolAddress(GlobalDecl GD) const;

123