| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IteratedDominanceFrontier.h | 27 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-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXX.cpp | 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() 224 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getAddrAndTypeOfCXXStructor() 230 GD.getDtorType() == Dtor_Complete && in getAddrAndTypeOfCXXStructor() 232 GD = GD.getWithDtorType(Dtor_Base); in getAddrAndTypeOfCXXStructor() 237 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD); in getAddrAndTypeOfCXXStructor() 242 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrAndTypeOfCXXStructor() 248 GlobalDecl GD, in BuildAppleKextVirtualCall() argument [all …]
|
| H A D | CGVTables.cpp | 42 GlobalDecl GD) { in setThunkProperties() argument 43 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties() 48 CGM.setGVProperties(ThunkFn, GD); in setThunkProperties() 240 CurGD = GD; in StartThunk() 249 else if (CGM.getCXXABI().HasThisReturn(GD)) in StartThunk() 251 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in StartThunk() 451 StartThunk(Fn, GD, FnInfo, IsUnprototyped); in generateThunk() 605 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() argument 614 VTContext->getThunkInfo(GD); in EmitThunks() 620 maybeEmitThunk(GD, Thunk, /*ForVTable=*/false); in EmitThunks() [all …]
|
| H A D | CodeGenModule.cpp | 1233 const Decl *D = GD.getDecl(); in isUniqueInternalLinkageDecl() 1928 setGVProperties(GV, GD); in SetCommonAttributes() 2005 SetCommonAttributes(GD, GO); in setNonAliasAttributes() 2109 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F, in SetFunctionAttributes() 2773 GD->getAsAPValue(), GD->getType().getAddressSpace(), GD->getType()); in GetAddrOfMSGuidDecl() 2982 EmitGlobalDefinition(GD); in EmitGlobal() 3348 ResolverGD = GD; in emitCPUDispatchDefinition() 4849 setFunctionLinkage(GD, Fn); in EmitGlobalFunctionDefinition() 4852 setGVProperties(Fn, GD); in EmitGlobalFunctionDefinition() 4892 Aliases.push_back(GD); in EmitAliasDefinition() [all …]
|
| H A D | CodeGenModule.h | 353 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() argument 354 DeferredDeclsToEmit.emplace_back(GD); in addDeferredDeclToEmit() 531 bool shouldEmitFunction(GlobalDecl GD); 831 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD, 896 GlobalDecl GD); 1228 StringRef getMangledName(GlobalDecl GD); 1252 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage() 1485 bool GetCPUAndFeaturesAttributes(GlobalDecl GD, 1500 void EmitAliasDefinition(GlobalDecl GD); 1501 void emitIFuncDefinition(GlobalDecl GD); [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() argument 109 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument 332 buildStructorSignature(GlobalDecl GD, 365 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument 385 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() argument 456 GlobalDecl GD, Address This, 471 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument 481 GlobalDecl GD, bool ReturnAdjustment) = 0; 553 virtual bool NeedsVTTParameter(GlobalDecl GD); [all …]
|
| H A D | MicrosoftCXXABI.cpp | 64 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject() 65 switch (GD.getDtorType()) { in isThisCompleteObject() 215 buildStructorSignature(GlobalDecl GD, 1079 return isDeletingDtor(GD); in hasMostDerivedReturn() 1397 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment() 1437 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall() 1625 GlobalDecl GD(DD, Type); in EmitDestructorCall() local 1626 CGCallee Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall() 1958 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer() 1973 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() local [all …]
|
| H A D | CodeGenTypes.h | 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 | ItaniumCXXABI.cpp | 80 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject() 81 switch (GD.getDtorType()) { in isThisCompleteObject() 95 switch (GD.getCtorType()) { in isThisCompleteObject() 207 buildStructorSignature(GlobalDecl GD, 291 CGM.setGVProperties(Thunk, GD); in setThunkLinkage() 1635 if ((isa<CXXConstructorDecl>(GD.getDecl()) ? GD.getCtorType() == Ctor_Base in buildStructorSignature() 1724 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam() local 1733 GlobalDecl GD(DD, Type); in EmitDestructorCall() local 1743 Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall() 2007 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer() [all …]
|
| H A D | CGVTables.h | 60 llvm::Constant *maybeEmitThunk(GlobalDecl GD, 136 void EmitThunks(GlobalDecl GD);
|
| H A D | CGDebugInfo.h | 424 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc, 429 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD); 435 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, 664 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub); 668 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD); 672 llvm::DISubprogram *getFunctionStub(GlobalDecl GD); 735 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
|
| H A D | CodeGenFunction.cpp | 700 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, in StartFunction() argument 709 const Decl *D = GD.getDecl(); in StartFunction() 1247 QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, in BuildFunctionArgList() argument 1249 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in BuildFunctionArgList() 1254 if (CGM.getCXXABI().HasThisReturn(GD)) in BuildFunctionArgList() 1256 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in BuildFunctionArgList() 1290 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode() argument 1292 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode() 1293 CurGD = GD; in GenerateCode() 1296 QualType ResTy = BuildFunctionArgList(GD, Args); in GenerateCode() [all …]
|
| H A D | CGCUDANV.cpp | 164 llvm::GlobalValue *getKernelHandle(llvm::Function *F, GlobalDecl GD) override; 264 GlobalDecl GD; in getDeviceSideName() local 267 GD = GlobalDecl(FD, KernelReferenceKind::Kernel); in getDeviceSideName() 269 GD = GlobalDecl(ND); in getDeviceSideName() 279 MC->mangleName(GD, Out); in getDeviceSideName() 1132 GlobalDecl GD) { in getKernelHandle() argument 1147 GD.getWithKernelReferenceKind(KernelReferenceKind::Kernel))); in getKernelHandle()
|
| H A D | CGCUDARuntime.h | 100 GlobalDecl GD) = 0;
|
| H A D | CGDebugInfo.cpp | 1962 } else if (const auto *GD = dyn_cast<MSGuidDecl>(D)) { in CollectTemplateParams() local 1963 V = CGM.GetAddrOfMSGuidDecl(GD).getPointer(); in CollectTemplateParams() 3522 LinkageName = CGM.getMangledName(GD); in collectFunctionDeclProps() 3619 SourceLocation Loc = GD.getDecl()->getLocation(); in getFunctionFwdDeclOrStub() 3625 auto *FD = cast<FunctionDecl>(GD.getDecl()); in getFunctionFwdDeclOrStub() 3661 return getFunctionFwdDeclOrStub(GD, /* Stub = */ false); in getFunctionForwardDeclaration() 3665 return getFunctionFwdDeclOrStub(GD, /* Stub = */ true); in getFunctionStub() 3872 const Decl *D = GD.getDecl(); in emitFunctionStart() 3970 const Decl *D = GD.getDecl(); in EmitFunctionDecl() 4051 const auto *FD = cast<FunctionDecl>(GD.getDecl()); in EmitInlineFunctionStart() [all …]
|
| H A D | CodeGenPGO.h | 82 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
|
| H A D | CGOpenMPRuntime.h | 1607 virtual bool emitTargetFunctions(GlobalDecl GD); 1612 virtual bool emitTargetGlobalVariable(GlobalDecl GD); 1622 virtual bool emitTargetGlobal(GlobalDecl GD); 1805 bool markAsGlobalTarget(GlobalDecl GD); 2442 bool emitTargetFunctions(GlobalDecl GD) override; 2447 bool emitTargetGlobalVariable(GlobalDecl GD) override; 2452 bool emitTargetGlobal(GlobalDecl GD) override;
|
| /freebsd-13.1/tests/sys/netgraph/ |
| H A D | util.c | 259 #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-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Mangle.cpp | 178 if (auto *GD = dyn_cast<MSGuidDecl>(D)) in mangleName() local 179 return mangleMSGuidDecl(GD, Out); in mangleName() 194 mangleCXXName(GD, Out); in mangleName() 211 mangleCXXName(GD, Out); in mangleName() 239 MSGuidDecl::Parts P = GD->getParts(); in mangleMSGuidDecl() 521 GlobalDecl GD; in writeFuncOrVarName() local 523 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName() 529 GD = GlobalDecl(D); in writeFuncOrVarName() 530 MC->mangleName(GD, OS); in writeFuncOrVarName() 550 GlobalDecl GD; in getMangledStructor() local [all …]
|
| H A D | ItaniumMangle.cpp | 465 void mangle(GlobalDecl GD); 518 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName(), UnknownArity, in mangleUnqualifiedName() 738 mangleFunctionEncoding(GD); in mangle() 741 mangleName(GD); in mangle() 755 mangleName(GD); in mangleFunctionEncoding() 762 mangleName(GD); in mangleFunctionEncoding() 897 return GD.getWithDecl(TD); in isTemplate() 1715 GlobalDecl GD; in getParentOfLocalEntity() local 1726 return GD; in getParentOfLocalEntity() 1731 const Decl *D = GD.getDecl(); in mangleLocalName() [all …]
|
| H A D | VTableBuilder.cpp | 2181 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local 2182 assert(MethodVTableIndices.count(GD)); in dumpLayout() 2183 uint64_t VTableIndex = MethodVTableIndices[GD]; in dumpLayout() 2271 GD = GD.getCanonicalDecl(); in getMethodVTableIndex() 2280 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-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | VTableBuilder.h | 342 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 D | GlobalDecl.h | 148 GlobalDecl GD; in getFromOpaquePtr() local 149 GD.Value.setFromOpaqueValue(P); in getFromOpaquePtr() 150 return GD; in getFromOpaquePtr() 213 static unsigned getHashValue(clang::GlobalDecl GD) { 214 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
| H A D | Mangle.h | 117 void mangleName(GlobalDecl GD, raw_ostream &); 118 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0; 131 virtual void mangleMSGuidDecl(const MSGuidDecl *GD, raw_ostream&);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemorySSAUpdater.cpp | 839 GraphDiff<BasicBlock *> GD(RevDeleteUpdates); in applyUpdates() local 840 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates() 847 GraphDiff<BasicBlock *> GD; in applyUpdates() local 848 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates() 858 GraphDiff<BasicBlock *> GD; in applyInsertUpdates() local 859 applyInsertUpdates(Updates, DT, &GD); in applyInsertUpdates() 864 const GraphDiff<BasicBlock *> *GD) { in applyInsertUpdates() argument 876 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates() 970 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates() 1097 ForwardIDFCalculator IDFs(DT, GD); in applyInsertUpdates() [all …]
|