Home
last modified time | relevance | path

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

12345678910>>...15

/external/clang/lib/CodeGen/
DCGVTables.cpp35 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()
48 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); in GetAddrOfThunk()
49 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true, in GetAddrOfThunk()
60 GlobalDecl GD) { in setThunkProperties() argument
61 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties()
62 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in setThunkProperties()
66 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in setThunkProperties()
146 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() argument
[all …]
DCGCXX.cpp225 GlobalDecl GD; in codegenCXXStructor() local
227 GD = GlobalDecl(DD, toCXXDtorType(Type)); in codegenCXXStructor()
230 GD = GlobalDecl(CD, toCXXCtorType(Type)); in codegenCXXStructor()
233 setFunctionLinkage(GD, Fn); in codegenCXXStructor()
234 setFunctionDLLStorageClass(GD, Fn); in codegenCXXStructor()
236 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor()
245 GlobalDecl GD; in getAddrOfCXXStructor() local
247 GD = GlobalDecl(CD, toCXXCtorType(Type)); in getAddrOfCXXStructor()
249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor()
259 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrOfCXXStructor()
[all …]
DCodeGenModule.cpp285 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
286 const auto *D = cast<ValueDecl>(GD.getDecl()); in checkAliases()
288 StringRef MangledName = getMangledName(GD); in checkAliases()
332 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
333 StringRef MangledName = getMangledName(GD); in checkAliases()
613 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() argument
614 StringRef &FoundStr = MangledDeclNames[GD.getCanonicalDecl()]; in getMangledName()
618 const auto *ND = cast<NamedDecl>(GD.getDecl()); in getMangledName()
624 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out); in getMangledName()
626 getCXXABI().getMangleContext().mangleCXXDtor(D, GD.getDtorType(), Out); in getMangledName()
[all …]
DCodeGenModule.h307 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} in DeferredGlobal()
309 GlobalDecl GD; member
312 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { in addDeferredDeclToEmit() argument
313 DeferredDeclsToEmit.emplace_back(GV, GD); in addDeferredDeclToEmit()
448 bool shouldEmitFunction(GlobalDecl GD);
676 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD, bool IsForDefinition = false);
707 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
719 llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk);
984 StringRef getMangledName(GlobalDecl GD);
985 StringRef getBlockMangledName(GlobalDecl GD, const BlockDecl *BD);
[all …]
DCGCXXABI.h88 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
105 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() argument
107 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument
311 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument
332 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() argument
391 GlobalDecl GD,
403 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
412 GlobalDecl GD, bool ReturnAdjustment) = 0;
484 virtual bool NeedsVTTParameter(GlobalDecl GD);
DCGVTables.h53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable);
57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk);
106 void EmitThunks(GlobalDecl GD);
DMicrosoftCXXABI.cpp51 bool HasThisReturn(GlobalDecl GD) const override;
52 bool hasMostDerivedReturn(GlobalDecl GD) const override;
60 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
63 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
64 switch (GD.getDtorType()) { in isThisCompleteObject()
235 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
243 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override;
287 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
297 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
299 assert(GD.getDtorType() == Dtor_Deleting && in adjustCallArgsForDestructorThunk()
[all …]
DCodeGenTypes.h198 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
209 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
241 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
DItaniumCXXABI.cpp72 bool isThisCompleteObject(GlobalDecl GD) const override { in isThisCompleteObject()
75 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
76 switch (GD.getDtorType()) { in isThisCompleteObject()
89 if (isa<CXXConstructorDecl>(GD.getDecl())) { in isThisCompleteObject()
90 switch (GD.getCtorType()) { in isThisCompleteObject()
272 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
286 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument
338 bool NeedsVTTParameter(GlobalDecl GD) override;
415 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn()
416 return (isa<CXXConstructorDecl>(GD.getDecl()) || ( in HasThisReturn()
[all …]
DCodeGenPGO.cpp608 void CodeGenPGO::assignRegionCounters(GlobalDecl GD, llvm::Function *Fn) { in assignRegionCounters() argument
609 const Decl *D = GD.getDecl(); in assignRegionCounters()
620 ((isa<CXXConstructorDecl>(GD.getDecl()) && in assignRegionCounters()
621 GD.getCtorType() != Ctor_Base) || in assignRegionCounters()
622 (isa<CXXDestructorDecl>(GD.getDecl()) && in assignRegionCounters()
623 GD.getDtorType() != Dtor_Base))) { in assignRegionCounters()
DCodeGenPGO.h85 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
DCodeGenFunction.cpp644 void CodeGenFunction::StartFunction(GlobalDecl GD, in StartFunction() argument
654 const Decl *D = GD.getDecl(); in StartFunction()
752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
902 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode() argument
904 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode()
913 CurGD = GD; in GenerateCode()
916 if (CGM.getCXXABI().HasThisReturn(GD)) in GenerateCode()
918 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in GenerateCode()
957 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin()); in GenerateCode()
960 PGO.assignRegionCounters(GD, CurFn); in GenerateCode()
DCGDebugInfo.h298 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
303 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
504 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
DCGCall.cpp229 GlobalDecl GD; in arrangeCXXStructorDeclaration() local
231 GD = GlobalDecl(CD, toCXXCtorType(Type)); in arrangeCXXStructorDeclaration()
234 GD = GlobalDecl(DD, toCXXDtorType(Type)); in arrangeCXXStructorDeclaration()
248 CanQualType resultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXStructorDeclaration()
250 : TheCXXABI.hasMostDerivedReturn(GD) in arrangeCXXStructorDeclaration()
271 GlobalDecl GD(D, CtorKind); in arrangeCXXConstructorCall() local
272 CanQualType ResultType = TheCXXABI.HasThisReturn(GD) in arrangeCXXConstructorCall()
274 : TheCXXABI.hasMostDerivedReturn(GD) in arrangeCXXConstructorCall()
352 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { in arrangeGlobalDeclaration() argument
354 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in arrangeGlobalDeclaration()
[all …]
/external/clang/include/clang/AST/
DGlobalDecl.h79 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());
DVTableBuilder.h316 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() argument
317 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
380 uint64_t getMethodVTableIndex(GlobalDecl GD);
542 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD);
544 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo() argument
546 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
547 GD.getDtorType() == Dtor_Complete) in getThunkInfo()
549 return VTableContextBase::getThunkInfo(GD); in getThunkInfo()
/external/clang/test/Layout/
Dms-x86-vtordisp.cpp349 struct GD: public virtual GC, public virtual GB {}; struct
454 sizeof(GD)+
/external/clang/lib/AST/
DVTableBuilder.cpp2176 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() local
2177 assert(MethodVTableIndices.count(GD)); in dumpLayout()
2178 uint64_t VTableIndex = MethodVTableIndices[GD]; in dumpLayout()
2241 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() argument
2242 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD); in getMethodVTableIndex()
2246 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent(); in getMethodVTableIndex()
2250 I = MethodVTableIndices.find(GD); in getMethodVTableIndex()
3599 GlobalDecl GD = Loc.first; in computeVTableRelatedInformation() local
3601 auto M = NewMethodLocations.find(GD); in computeVTableRelatedInformation()
3603 NewMethodLocations[GD] = NewLoc; in computeVTableRelatedInformation()
[all …]
/external/ImageMagick/PerlMagick/t/reference/write/filter/
DOilPaint.miff43GD;G?8F=/F=/F=/63.52):9.:9.:9.P@/P@/K;1K;1P@/>=1G70G70A50C54C54�>,�=2�:+�@2�@2�A1�A1A5A5u>.u>.y:…
/external/icu/icu4c/source/data/region/
Dfa_AF.txt40 GD{"گرینادا"}
Dzh_Hant_HK.txt41 GD{"格林納達"}
/external/llvm/test/Transforms/InstCombine/
Dload-cmp.ll9 @GD = internal constant [6 x double]
75 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X
123 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X
134 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X
/external/ImageMagick/PerlMagick/t/reference/filter/
DScale.miff15GD=������������kzc01.22.52/5/,0,,,,.-(--)*.-*/.,1-*80*>5/<2.=0.@3.@0,X3*�>1�=1�@3�>/�=-�;,x:,}>2�J…
DSwirl.miff15GD;OK8NL6[Z\ss�a[nJBF>84<60<71?;7H@5O@.K<0E82:=0oB9�?C�7(�=(�7*�>2�@2�>2�6*�4,�0*�2%�5!�6%�;0�IB�O…
DOilPaint.miff15GD;IA6GD;RJ9E;+:9.:9.:9.:9.:9.:9.�?F�>A�>A�>A�>A�>AK81�?0�?0�4.�4.�4.�7)�9"�9%�5+�5+�5/�7+�7+�7+�7…

12345678910>>...15