| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGVTables.cpp | 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, in GetAddrOfThunk() argument 37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GetAddrOfThunk() 43 getCXXABI().getMangleContext().mangleCXXDtorThunk(DD, GD.getDtorType(), in GetAddrOfThunk() 49 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); in GetAddrOfThunk() 50 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true, in GetAddrOfThunk() 61 GlobalDecl GD) { in setThunkProperties() argument 62 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties() 63 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in setThunkProperties() 67 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in setThunkProperties() 144 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() argument [all …]
|
| HD | CGCXX.cpp | 212 GlobalDecl GD; in codegenCXXStructor() local 214 GD = GlobalDecl(DD, toCXXDtorType(Type)); in codegenCXXStructor() 217 GD = GlobalDecl(CD, toCXXCtorType(Type)); in codegenCXXStructor() 220 setFunctionLinkage(GD, Fn); in codegenCXXStructor() 221 setFunctionDLLStorageClass(GD, Fn); in codegenCXXStructor() 223 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor() 232 GlobalDecl GD; in getAddrOfCXXStructor() local 234 GD = GlobalDecl(CD, toCXXCtorType(Type)); in getAddrOfCXXStructor() 236 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() 239 StringRef Name = getMangledName(GD); in getAddrOfCXXStructor() [all …]
|
| HD | CodeGenModule.h | 330 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} in DeferredGlobal() 332 GlobalDecl GD; member 335 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { in addDeferredDeclToEmit() argument 336 DeferredDeclsToEmit.emplace_back(GV, GD); in addDeferredDeclToEmit() 461 bool shouldEmitFunction(GlobalDecl GD); 686 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD) { in GetAddrOfGlobal() argument 687 if (isa<CXXConstructorDecl>(GD.getDecl())) in GetAddrOfGlobal() 688 return getAddrOfCXXStructor(cast<CXXConstructorDecl>(GD.getDecl()), in GetAddrOfGlobal() 689 getFromCtorType(GD.getCtorType())); in GetAddrOfGlobal() 690 else if (isa<CXXDestructorDecl>(GD.getDecl())) in GetAddrOfGlobal() [all …]
|
| HD | CodeGenModule.cpp | 266 for (const GlobalDecl &GD : Aliases) { in checkAliases() local 267 const auto *D = cast<ValueDecl>(GD.getDecl()); in checkAliases() 269 StringRef MangledName = getMangledName(GD); in checkAliases() 313 for (const GlobalDecl &GD : Aliases) { in checkAliases() local 314 StringRef MangledName = getMangledName(GD); in checkAliases() 560 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() argument 561 StringRef &FoundStr = MangledDeclNames[GD.getCanonicalDecl()]; in getMangledName() 565 const auto *ND = cast<NamedDecl>(GD.getDecl()); in getMangledName() 571 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out); in getMangledName() 573 getCXXABI().getMangleContext().mangleCXXDtor(D, GD.getDtorType(), Out); in getMangledName() [all …]
|
| HD | CGCXXABI.h | 95 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() argument 97 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument 298 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument 320 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() argument 367 GlobalDecl GD, 379 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument 388 GlobalDecl GD, bool ReturnAdjustment) = 0; 457 virtual bool NeedsVTTParameter(GlobalDecl GD);
|
| HD | CGVTables.h | 53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable); 57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk); 110 void EmitThunks(GlobalDecl GD);
|
| HD | MicrosoftCXXABI.cpp | 50 bool HasThisReturn(GlobalDecl GD) const override; 51 bool hasMostDerivedReturn(GlobalDecl GD) const override; 186 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, 194 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override; 226 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 236 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument 238 assert(GD.getDtorType() == Dtor_Deleting && in adjustCallArgsForDestructorThunk() 298 GlobalDecl GD, bool ReturnAdjustment) override { in setThunkLinkage() argument 303 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl())); in setThunkLinkage() 504 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD); [all …]
|
| HD | CodeGenTypes.h | 190 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 201 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 233 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
|
| HD | CodeGenFunction.cpp | 588 void CodeGenFunction::StartFunction(GlobalDecl GD, in StartFunction() argument 598 const Decl *D = GD.getDecl(); in StartFunction() 688 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction() 841 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode() argument 843 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode() 852 CurGD = GD; in GenerateCode() 855 if (CGM.getCXXABI().HasThisReturn(GD)) in GenerateCode() 857 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in GenerateCode() 885 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode() 888 PGO.checkGlobalDecl(GD); in GenerateCode() [all …]
|
| HD | CodeGenPGO.cpp | 646 void CodeGenPGO::checkGlobalDecl(GlobalDecl GD) { in checkGlobalDecl() argument 652 if ((isa<CXXConstructorDecl>(GD.getDecl()) && in checkGlobalDecl() 653 GD.getCtorType() != Ctor_Base) || in checkGlobalDecl() 654 (isa<CXXDestructorDecl>(GD.getDecl()) && in checkGlobalDecl() 655 GD.getDtorType() != Dtor_Base)) { in checkGlobalDecl()
|
| HD | ItaniumCXXABI.cpp | 205 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 218 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument 271 bool NeedsVTTParameter(GlobalDecl GD) override; 313 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn() 314 return (isa<CXXConstructorDecl>(GD.getDecl()) || ( in HasThisReturn() 315 isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn() 316 GD.getDtorType() != Dtor_Deleting)); in HasThisReturn() 1297 GlobalDecl GD(DD, Type); in EmitDestructorCall() local 1298 llvm::Value *VTT = CGF.GetVTTParameter(GD, ForVirtualBase, Delegating); in EmitDestructorCall() 1442 GlobalDecl GD, in getVirtualFunctionPointer() argument [all …]
|
| HD | CodeGenPGO.h | 82 void checkGlobalDecl(GlobalDecl GD);
|
| HD | CGCall.cpp | 199 GlobalDecl GD; in arrangeCXXStructorDeclaration() local 201 GD = GlobalDecl(CD, toCXXCtorType(Type)); in arrangeCXXStructorDeclaration() 204 GD = GlobalDecl(DD, toCXXDtorType(Type)); in arrangeCXXStructorDeclaration() 218 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration() 220 : TheCXXABI.hasMostDerivedReturn(GD) in arrangeCXXStructorDeclaration() 241 GlobalDecl GD(D, CtorKind); in arrangeCXXConstructorCall() local 242 CanQualType ResultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXConstructorCall() 244 : TheCXXABI.hasMostDerivedReturn(GD) in arrangeCXXConstructorCall() 322 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { in arrangeGlobalDeclaration() argument 324 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in arrangeGlobalDeclaration() [all …]
|
| HD | CGDecl.cpp | 250 GlobalDecl GD; in getOrCreateStaticVarDecl() local 252 GD = GlobalDecl(CD, Ctor_Base); in getOrCreateStaticVarDecl() 254 GD = GlobalDecl(DD, Dtor_Base); in getOrCreateStaticVarDecl() 256 GD = GlobalDecl(FD); in getOrCreateStaticVarDecl() 262 if (GD.getDecl()) in getOrCreateStaticVarDecl() 263 (void)GetAddrOfGlobal(GD); in getOrCreateStaticVarDecl()
|
| HD | CGDebugInfo.h | 277 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 471 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
|
| HD | CodeGenFunction.h | 1221 llvm::Function *GenerateBlockFunction(GlobalDecl GD, 1251 void GenerateCode(GlobalDecl GD, llvm::Function *Fn, 1256 void StartFunction(GlobalDecl GD, 1288 void StartThunk(llvm::Function *Fn, GlobalDecl GD, 1299 GlobalDecl GD, const ThunkInfo &Thunk); 1303 GlobalDecl GD, const ThunkInfo &Thunk); 1741 llvm::Value *GetVTTParameter(GlobalDecl GD, bool ForVirtualBase,
|
| HD | CGCXXABI.cpp | 301 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter() argument
|
| HD | CGDebugInfo.cpp | 2282 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, in collectFunctionDeclProps() argument 2288 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in collectFunctionDeclProps() 2292 LinkageName = CGM.getMangledName(GD); in collectFunctionDeclProps() 2531 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, in EmitFunctionStart() argument 2540 const Decl *D = GD.getDecl(); in EmitFunctionStart() 2561 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext, in EmitFunctionStart()
|
| HD | CGBlocks.cpp | 1107 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, in GenerateBlockFunction() argument 1113 CurGD = GD; in GenerateBlockFunction() 1155 StringRef name = CGM.getBlockMangledName(GD, blockDecl); in GenerateBlockFunction()
|
| HD | CGClass.cpp | 297 llvm::Value *CodeGenFunction::GetVTTParameter(GlobalDecl GD, in GetVTTParameter() argument 300 if (!CGM.getCXXABI().NeedsVTTParameter(GD)) { in GetVTTParameter() 306 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in GetVTTParameter()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | GlobalDecl.h | 79 GlobalDecl GD; in getFromOpaquePtr() local 80 GD.Value.setFromOpaqueValue(P); in getFromOpaquePtr() 81 return GD; in getFromOpaquePtr() 106 static unsigned getHashValue(clang::GlobalDecl GD) { 107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
| HD | VTableBuilder.h | 291 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() argument 292 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo() 355 uint64_t getMethodVTableIndex(GlobalDecl GD); 521 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD); 523 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo() argument 525 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo() 526 GD.getDtorType() == Dtor_Complete) in getThunkInfo() 528 return VTableContextBase::getThunkInfo(GD); in getThunkInfo()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | VTableBuilder.cpp | 2211 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local 2212 assert(MethodVTableIndices.count(GD)); in dumpLayout() 2213 uint64_t VTableIndex = MethodVTableIndices[GD]; in dumpLayout() 2277 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() argument 2278 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD); in getMethodVTableIndex() 2282 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getMethodVTableIndex() 2286 I = MethodVTableIndices.find(GD); in getMethodVTableIndex() 3653 GlobalDecl GD = Loc.first; in computeVTableRelatedInformation() local 3655 auto M = NewMethodLocations.find(GD); in computeVTableRelatedInformation() 3657 NewMethodLocations[GD] = NewLoc; in computeVTableRelatedInformation() [all …]
|
| /NextBSD/share/misc/ |
| HD | iso3166 | 110 GD GRD 308 Grenada
|
| /NextBSD/contrib/tzdata/ |
| HD | zone.tab | 184 GD +1203-06145 America/Grenada
|