Home
last modified time | relevance | path

Searched refs:GD (Results 1 – 25 of 75) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DIteratedDominanceFrontier.h27 ChildrenGetterTy(const GraphDiff<BasicBlock *, IsPostDom> *GD) : GD(GD) {
28 assert(GD);
33 const GraphDiff<BasicBlock *, IsPostDom> *GD = nullptr;
49 const GraphDiff<BasicBlock *, IsPostDom> *GD)
50 : IDFCalculatorBase(DT, ChildrenGetterTy(GD)) {
51 assert(GD);
71 if (!GD) {
76 return GD->template getChildren<IsPostDom>(N);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCXX.cpp207 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) { in codegenCXXStructor() argument
208 const CGFunctionInfo &FnInfo = getTypes().arrangeCXXStructorDeclaration(GD); in codegenCXXStructor()
210 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr, in codegenCXXStructor()
213 setFunctionLinkage(GD, Fn); in codegenCXXStructor()
215 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor()
216 setNonAliasAttributes(GD, Fn); in codegenCXXStructor()
217 SetLLVMFunctionAttributesForDefinition(cast<CXXMethodDecl>(GD.getDecl()), Fn); in codegenCXXStructor()
222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, in getAddrAndTypeOfCXXStructor() argument
224 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getAddrAndTypeOfCXXStructor()
230 GD.getDtorType() == Dtor_Complete && in getAddrAndTypeOfCXXStructor()
[all …]
H A DCGVTables.cpp35 GlobalDecl GD) { in GetAddrOfThunk() argument
36 return GetOrCreateLLVMFunction(Name, FnTy, GD, /*ForVTable=*/true, in GetAddrOfThunk()
42 GlobalDecl GD) { in setThunkProperties() argument
43 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties()
44 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in setThunkProperties()
48 CGM.setGVProperties(ThunkFn, GD); in setThunkProperties()
161 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() argument
162 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk()
169 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); in GenerateVarArgsThunk()
240 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() argument
[all …]
H A DCodeGenModule.cpp380 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
381 const auto *D = cast<ValueDecl>(GD.getDecl()); in checkAliases()
389 StringRef MangledName = getMangledName(GD); in checkAliases()
436 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
437 StringRef MangledName = getMangledName(GD); in checkAliases()
613 GlobalDecl GD; in Release() local
615 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in Release()
617 GD = GlobalDecl(D); in Release()
619 GetAddrOfGlobal(GD), Int8PtrTy)); in Release()
1248 GlobalDecl GD) const { in setDLLImportDLLExport()
[all …]
H A DCodeGenModule.h354 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() argument
355 DeferredDeclsToEmit.emplace_back(GD); in addDeferredDeclToEmit()
356 addEmittedDeferredDecl(GD); in addDeferredDeclToEmit()
362 void addEmittedDeferredDecl(GlobalDecl GD) { in addEmittedDeferredDecl() argument
363 if (!llvm::isa<FunctionDecl>(GD.getDecl())) in addEmittedDeferredDecl()
365 llvm::GlobalVariable::LinkageTypes L = getFunctionLinkage(GD); in addEmittedDeferredDecl()
368 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
543 bool shouldEmitFunction(GlobalDecl GD);
852 void setGVProperties(llvm::GlobalValue *GV, GlobalDecl GD) const;
873 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD,
[all …]
H A DCGCXXABI.h106 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
127 virtual bool HasThisReturn(GlobalDecl GD) const { in HasThisReturn() argument
128 if (isa<CXXConstructorDecl>(GD.getDecl()) || in HasThisReturn()
129 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn()
130 GD.getDtorType() != Dtor_Deleting)) in HasThisReturn()
135 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument
358 buildStructorSignature(GlobalDecl GD,
382 virtual const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) { in getThisArgumentTypeForMethod() argument
383 return cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getThisArgumentTypeForMethod()
390 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument
[all …]
H A DMicrosoftCXXABI.cpp56 bool HasThisReturn(GlobalDecl GD) const override;
57 bool hasMostDerivedReturn(GlobalDecl GD) const override;
65 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
68 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
69 switch (GD.getDtorType()) { in isThisCompleteObject()
219 buildStructorSignature(GlobalDecl GD,
238 const CXXRecordDecl *getThisArgumentTypeForMethod(GlobalDecl GD) override { in getThisArgumentTypeForMethod() argument
239 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getThisArgumentTypeForMethod()
242 GlobalDecl LookupGD = GD; in getThisArgumentTypeForMethod()
246 if (GD.getDtorType() == Dtor_Complete) in getThisArgumentTypeForMethod()
[all …]
H A DCodeGenTypes.h139 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.cpp128 llvm::StringRef GetMangledName(GlobalDecl GD) { in GetMangledName() argument
129 return Builder->getMangledName(GD); in GetMangledName()
348 llvm::StringRef CodeGenerator::GetMangledName(GlobalDecl GD) { in GetMangledName() argument
349 return static_cast<CodeGeneratorImpl *>(this)->GetMangledName(GD); in GetMangledName()
H A DCGVTables.h60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
140 void EmitThunks(GlobalDecl GD);
H A DItaniumCXXABI.cpp77 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
80 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
81 switch (GD.getDtorType()) { in isThisCompleteObject()
94 if (isa<CXXConstructorDecl>(GD.getDecl())) { in isThisCompleteObject()
95 switch (GD.getCtorType()) { 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() argument
291 CGM.setGVProperties(Thunk, GD); in setThunkLinkage()
344 bool NeedsVTTParameter(GlobalDecl GD) override;
[all …]
H A DCGDebugInfo.h439 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
444 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD);
450 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
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,
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMangle.cpp139 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) { in mangleName() argument
141 const NamedDecl *D = cast<NamedDecl>(GD.getDecl()); in mangleName()
176 if (auto *GD = dyn_cast<MSGuidDecl>(D)) in mangleName() local
177 return mangleMSGuidDecl(GD, Out); in mangleName()
192 mangleCXXName(GD, Out); in mangleName()
209 mangleCXXName(GD, Out); in mangleName()
240 void MangleContext::mangleMSGuidDecl(const MSGuidDecl *GD, raw_ostream &Out) { in mangleMSGuidDecl() argument
243 MSGuidDecl::Parts P = GD->getParts(); in mangleMSGuidDecl()
525 GlobalDecl GD; in writeFuncOrVarName() local
527 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName()
[all …]
H A DItaniumMangle.cpp99 void mangleCXXName(GlobalDecl GD, raw_ostream &) override;
433 void mangle(GlobalDecl GD);
438 void mangleFunctionEncoding(GlobalDecl GD);
440 void mangleName(GlobalDecl GD);
484 void mangleNameWithAbiTags(GlobalDecl GD,
489 void mangleUnqualifiedName(GlobalDecl GD, const DeclContext *DC, in mangleUnqualifiedName() argument
491 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName(), DC, in mangleUnqualifiedName()
494 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name,
497 void mangleUnscopedName(GlobalDecl GD, const DeclContext *DC,
499 void mangleUnscopedTemplateName(GlobalDecl GD, const DeclContext *DC,
[all …]
H A DMicrosoftMangle.cpp46 GlobalDecl GD; in getGlobalDeclAsDeclContext() local
48 GD = GlobalDecl(CD, Ctor_Complete); in getGlobalDeclAsDeclContext()
50 GD = GlobalDecl(DD, Dtor_Complete); in getGlobalDeclAsDeclContext()
52 GD = GlobalDecl(cast<FunctionDecl>(DC)); in getGlobalDeclAsDeclContext()
53 return GD; in getGlobalDeclAsDeclContext()
155 void mangleCXXName(GlobalDecl GD, raw_ostream &Out) override;
363 void mangle(GlobalDecl GD, StringRef Prefix = "?");
364 void mangleName(GlobalDecl GD);
365 void mangleFunctionEncoding(GlobalDecl GD, bool ShouldMangle);
388 void mangleNestedName(GlobalDecl GD);
[all …]
H A DVTableBuilder.cpp2182 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local
2183 assert(MethodVTableIndices.count(GD)); in dumpLayout()
2184 uint64_t VTableIndex = MethodVTableIndices[GD]; in dumpLayout()
2271 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() argument
2272 GD = GD.getCanonicalDecl(); in getMethodVTableIndex()
2273 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD); in getMethodVTableIndex()
2277 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getMethodVTableIndex()
2281 I = MethodVTableIndices.find(GD); in getMethodVTableIndex()
3776 MicrosoftVTableContext::getMethodVFTableLocation(GlobalDecl GD) { in getMethodVFTableLocation() argument
3777 assert(hasVtableSlot(cast<CXXMethodDecl>(GD.getDecl())) && in getMethodVFTableLocation()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DVTableBuilder.h342 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() argument
343 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
418 uint64_t getMethodVTableIndex(GlobalDecl GD);
591 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD);
593 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo() argument
595 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
596 GD.getDtorType() == Dtor_Complete) in getThunkInfo()
598 return VTableContextBase::getThunkInfo(GD); in getThunkInfo()
H A DGlobalDecl.h153 GlobalDecl GD; in getFromOpaquePtr() local
154 GD.Value.setFromOpaqueValue(P); in getFromOpaquePtr()
155 return GD; in getFromOpaquePtr()
218 static unsigned getHashValue(clang::GlobalDecl GD) {
219 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DMangle.h131 void mangleName(GlobalDecl GD, raw_ostream &);
132 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
145 virtual void mangleMSGuidDecl(const MSGuidDecl *GD, raw_ostream&);
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp839 GraphDiff<BasicBlock *> GD(RevDeleteUpdates); in applyUpdates() local
840 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
851 GraphDiff<BasicBlock *> GD; in applyUpdates() local
852 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
862 GraphDiff<BasicBlock *> GD; in applyInsertUpdates() local
863 applyInsertUpdates(Updates, DT, &GD); in applyInsertUpdates()
868 const GraphDiff<BasicBlock *> *GD) { in applyInsertUpdates() argument
880 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
974 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
1101 ForwardIDFCalculator IDFs(DT, GD); in applyInsertUpdates()
[all …]
/openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/
H A D930.crt15 VZt0sz+TJ6w2GFGVAXgBRSinq+CogS98jUi/fBGXL5g/NNr7H/GD++gUYuVcbwID
H A D2259.key14 HCGdCwya7h4dxC5Ohrm29XaBHBSvzXg+GD/lqF4CGczdR6QLf9z47+xuHictt+hy
H A D844.key4 GD+ff+vTptNu6s5Kx3TuF8NTyDOdG1IGKIFpms5F3KRKDtHHORnPXaKmddwSGOub
H A D930.key7 q+CogS98jUi/fBGXL5g/NNr7H/GD++gUYuVcbwIDAQABAoIBAHM5vdoX5TWtLsVg
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalParser.h73 llvm::StringRef GetMangledName(GlobalDecl GD) const;

123