Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/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);
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp209 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr, in codegenCXXStructor()
212 setFunctionLinkage(GD, Fn); in codegenCXXStructor()
214 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor()
215 setNonAliasAttributes(GD, Fn); in codegenCXXStructor()
223 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getAddrAndTypeOfCXXStructor()
229 GD.getDtorType() == Dtor_Complete && in getAddrAndTypeOfCXXStructor()
231 GD = GD.getWithDtorType(Dtor_Base); in getAddrAndTypeOfCXXStructor()
236 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD); in getAddrAndTypeOfCXXStructor()
241 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrAndTypeOfCXXStructor()
247 GlobalDecl GD, in BuildAppleKextVirtualCall() argument
[all …]
H A DCGVTables.cpp43 GlobalDecl GD) { in setThunkProperties() argument
44 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties()
49 CGM.setGVProperties(ThunkFn, GD); in setThunkProperties()
245 CurGD = GD; in StartThunk()
254 else if (CGM.getCXXABI().HasThisReturn(GD)) in StartThunk()
256 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in StartThunk()
454 StartThunk(Fn, GD, FnInfo, IsUnprototyped); in generateThunk()
601 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() argument
610 VTContext->getThunkInfo(GD); in EmitThunks()
616 maybeEmitThunk(GD, Thunk, /*ForVTable=*/false); in EmitThunks()
[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
370 L = getFunctionLinkage(GD); in addEmittedDeferredDecl()
377 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
555 bool shouldEmitFunction(GlobalDecl GD);
1280 StringRef getMangledName(GlobalDecl GD);
1305 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage()
1625 void EmitAliasDefinition(GlobalDecl GD);
[all …]
H A DCodeGenModule.cpp905 GlobalDecl GD; in Release() local
909 GD = GlobalDecl(D); in Release()
2567 setGVProperties(GV, GD); in SetCommonAttributes()
2812 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F, in SetFunctionAttributes()
3547 GD->getAsAPValue(), GD->getType().getAddressSpace(), GD->getType()); in GetAddrOfMSGuidDecl()
3823 EmitGlobalDefinition(GD); in EmitGlobal()
4302 ResolverGD = GD; in emitCPUDispatchDefinition()
5839 setFunctionLinkage(GD, Fn); in EmitGlobalFunctionDefinition()
5842 setGVProperties(Fn, GD); in EmitGlobalFunctionDefinition()
5879 Aliases.push_back(GD); in EmitAliasDefinition()
[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
368 buildStructorSignature(GlobalDecl GD,
393 return cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getThisArgumentTypeForMethod()
506 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
588 virtual bool NeedsVTTParameter(GlobalDecl GD);
[all …]
H A DMicrosoftCXXABI.cpp70 switch (GD.getDtorType()) { in isThisCompleteObject()
231 buildStructorSignature(GlobalDecl GD,
254 GlobalDecl LookupGD = GD; in getThisArgumentTypeForMethod()
1107 return isDeletingDtor(GD); in hasMostDerivedReturn()
1431 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment()
1471 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall()
1651 GlobalDecl GD(DD, Type); in EmitDestructorCall() local
1652 CGCallee Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
1988 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
2003 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() local
[all …]
H A DCodeGenTypes.h134 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.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,
130 void EmitThunks(GlobalDecl GD);
H A DItaniumCXXABI.cpp82 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
83 switch (GD.getDtorType()) { in isThisCompleteObject()
97 switch (GD.getCtorType()) { in isThisCompleteObject()
253 buildStructorSignature(GlobalDecl GD,
337 CGM.setGVProperties(Thunk, GD); in setThunkLinkage()
1676 if ((isa<CXXConstructorDecl>(GD.getDecl()) ? GD.getCtorType() == Ctor_Base in buildStructorSignature()
1773 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam() local
1782 GlobalDecl GD(DD, Type); in EmitDestructorCall() local
1792 Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
2056 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
[all …]
H A DCGDebugInfo.h461 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
466 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD);
472 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
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,
H A DCGCUDANV.cpp179 llvm::GlobalValue *getKernelHandle(llvm::Function *F, GlobalDecl GD) override;
272 GlobalDecl GD; in getDeviceSideName() local
275 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in getDeviceSideName()
277 GD = GlobalDecl(ND); in getDeviceSideName()
287 MC->mangleName(GD, Out); in getDeviceSideName()
1197 GlobalDecl GD) { in getKernelHandle() argument
1227 GD.getWithKernelReferenceKind(KernelReferenceKind::Kernel))); in getKernelHandle()
1231 auto *FD = cast<FunctionDecl>(GD.getDecl()); in getKernelHandle()
/freebsd-14.2/contrib/unifdef/scripts/
H A Dreversion.sh17 GD="$(git show --pretty=format:%ai -s HEAD)"
19 GD="$(date +'%Y-%m-%d %H:%M:%S %z')"
24 GD="$D"
25 if [ "$GV $GD" != "$V $D" ]
28 echo " -> $GV $GD" 1>&2
30 D="$GD"
/freebsd-14.2/tests/sys/netgraph/
H A Dutil.c259 #define GD(x) void \ macro
268 GD(0)
269 GD(1)
270 GD(2)
271 GD(3)
272 GD(4)
273 GD(5)
274 GD(6)
275 GD(7)
276 GD(8)
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DMangle.cpp176 if (auto *GD = dyn_cast<MSGuidDecl>(D)) in mangleName() local
177 return mangleMSGuidDecl(GD, Out); in mangleName()
192 mangleCXXName(GD, Out); in mangleName()
213 mangleCXXName(GD, Out); in mangleName()
247 MSGuidDecl::Parts P = GD->getParts(); in mangleMSGuidDecl()
529 GlobalDecl GD; in writeFuncOrVarName() local
531 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName()
537 GD = GlobalDecl(D); in writeFuncOrVarName()
538 MC->mangleName(GD, OS); in writeFuncOrVarName()
558 GlobalDecl GD; in getMangledStructor() local
[all …]
H A DMicrosoftMangle.cpp48 GlobalDecl GD; in getGlobalDeclAsDeclContext() local
55 return GD; in getGlobalDeclAsDeclContext()
365 void mangleName(GlobalDecl GD);
408 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName()); in mangleUnqualifiedName()
566 mangleName(GD); in mangle()
849 mangleUnqualifiedName(GD); in mangleName()
851 mangleNestedName(GD); in mangleName()
1548 mangleUnqualifiedName(GD); in mangleUnscopedTemplateName()
3510 return mangler.mangle(GD); in mangleCXXName()
3516 return mangler.mangle(GD); in mangleCXXName()
[all …]
H A DItaniumMangle.cpp459 void mangle(GlobalDecl GD);
466 void mangleName(GlobalDecl GD);
517 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName(), DC, in mangleUnqualifiedName()
822 mangleFunctionEncoding(GD); in mangle()
825 mangleName(GD); in mangle()
839 mangleName(GD); in mangleFunctionEncoding()
854 mangleName(GD); in mangleFunctionEncoding()
1834 GlobalDecl GD; in getParentOfLocalEntity() local
1845 return GD; in getParentOfLocalEntity()
1850 const Decl *D = GD.getDecl(); in mangleLocalName()
[all …]
H A DVTableBuilder.cpp2185 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local
2186 assert(MethodVTableIndices.count(GD)); in dumpLayout()
2187 uint64_t VTableIndex = MethodVTableIndices[GD]; in dumpLayout()
2275 GD = GD.getCanonicalDecl(); in getMethodVTableIndex()
2284 I = MethodVTableIndices.find(GD); in getMethodVTableIndex()
3779 MicrosoftVTableContext::getMethodVFTableLocation(GlobalDecl GD) { in getMethodVFTableLocation() argument
3780 assert(hasVtableSlot(cast<CXXMethodDecl>(GD.getDecl())) && in getMethodVFTableLocation()
3782 if (isa<CXXDestructorDecl>(GD.getDecl())) in getMethodVFTableLocation()
3783 assert(GD.getDtorType() == Dtor_Deleting); in getMethodVFTableLocation()
3785 GD = GD.getCanonicalDecl(); in getMethodVFTableLocation()
[all …]
/freebsd-14.2/contrib/llvm-project/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);
589 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD);
591 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo() argument
593 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
594 GD.getDtorType() == Dtor_Complete) in getThunkInfo()
596 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;
146 virtual void mangleMSGuidDecl(const MSGuidDecl *GD, raw_ostream&);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp814 GraphDiff<BasicBlock *> GD(RevDeleteUpdates); in applyUpdates() local
815 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
826 GraphDiff<BasicBlock *> GD; in applyUpdates() local
827 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
837 GraphDiff<BasicBlock *> GD; in applyInsertUpdates() local
838 applyInsertUpdates(Updates, DT, &GD); in applyInsertUpdates()
843 const GraphDiff<BasicBlock *> *GD) { in applyInsertUpdates() argument
855 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
949 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
1076 ForwardIDFCalculator IDFs(DT, GD); in applyInsertUpdates()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/
H A DModuleBuilder.h84 llvm::StringRef GetMangledName(GlobalDecl GD);
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.h83 llvm::StringRef GetMangledName(GlobalDecl GD) const;

123