Home
last modified time | relevance | path

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

12345678910>>...16

/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.cpp283 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
284 const auto *D = cast<ValueDecl>(GD.getDecl()); in checkAliases()
291 StringRef MangledName = getMangledName(GD); in checkAliases()
345 for (const GlobalDecl &GD : Aliases) { in checkAliases() local
346 StringRef MangledName = getMangledName(GD); in checkAliases()
642 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName() argument
643 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); in getMangledName()
649 CXXCtorType OrigCtorType = GD.getCtorType(); in getMangledName()
660 const auto *ND = cast<NamedDecl>(GD.getDecl()); in getMangledName()
666 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out); in getMangledName()
[all …]
DCodeGenModule.h313 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} in DeferredGlobal()
315 GlobalDecl GD; member
318 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { in addDeferredDeclToEmit() argument
319 DeferredDeclsToEmit.emplace_back(GV, GD); in addDeferredDeclToEmit()
454 bool shouldEmitFunction(GlobalDecl GD);
682 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD, bool IsForDefinition = false);
716 llvm::Constant *GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty = nullptr,
728 llvm::Constant *GetAddrOfThunk(GlobalDecl GD, const ThunkInfo &Thunk);
994 StringRef getMangledName(GlobalDecl GD);
995 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
321 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument
341 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() argument
348 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { in adjustThisParameterInVirtualFunctionPrologue() argument
407 GlobalDecl GD,
419 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
428 GlobalDecl GD, bool ReturnAdjustment) = 0;
500 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.h202 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
218 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
250 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
DCodeGenFunction.cpp653 void CodeGenFunction::StartFunction(GlobalDecl GD, in StartFunction() argument
663 const Decl *D = GD.getDecl(); in StartFunction()
791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
953 QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, in BuildFunctionArgList() argument
955 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in BuildFunctionArgList()
960 if (CGM.getCXXABI().HasThisReturn(GD)) in BuildFunctionArgList()
962 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in BuildFunctionArgList()
974 getTypes().inheritingCtorHasParams(Inherited, GD.getCtorType()); in BuildFunctionArgList()
997 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, in GenerateCode() argument
999 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); in GenerateCode()
[all …]
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()
264 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
278 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, in setThunkLinkage() argument
330 bool NeedsVTTParameter(GlobalDecl GD) override;
407 bool HasThisReturn(GlobalDecl GD) const override { in HasThisReturn()
408 return (isa<CXXConstructorDecl>(GD.getDecl()) || ( in HasThisReturn()
[all …]
DCodeGenPGO.cpp614 void CodeGenPGO::assignRegionCounters(GlobalDecl GD, llvm::Function *Fn) { in assignRegionCounters() argument
615 const Decl *D = GD.getDecl(); in assignRegionCounters()
626 ((isa<CXXConstructorDecl>(GD.getDecl()) && in assignRegionCounters()
627 GD.getCtorType() != Ctor_Base) || in assignRegionCounters()
628 (isa<CXXDestructorDecl>(GD.getDecl()) && in assignRegionCounters()
629 GD.getDtorType() != Dtor_Base))) { in assignRegionCounters()
DCodeGenPGO.h89 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
DCGDebugInfo.h307 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
312 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
513 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
DCGOpenMPRuntime.h962 virtual bool emitTargetFunctions(GlobalDecl GD);
967 virtual bool emitTargetGlobalVariable(GlobalDecl GD);
972 virtual bool emitTargetGlobal(GlobalDecl GD);
/external/clang/include/clang/AST/
DGlobalDecl.h81 GlobalDecl GD; in getFromOpaquePtr() local
82 GD.Value.setFromOpaqueValue(P); in getFromOpaquePtr()
83 return GD; in getFromOpaquePtr()
108 static unsigned getHashValue(clang::GlobalDecl GD) {
109 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/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dload-cmp.ll5 @GD = internal constant [6 x double]
29 %P = getelementptr inbounds [6 x double]* @GD, i32 0, i32 %X
63 %P = getelementptr inbounds [6 x double]* @GD, i32 0, i32 %X
74 %P = getelementptr inbounds [6 x double]* @GD, i32 0, i32 %X
/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()
3600 GlobalDecl GD = Loc.first; in computeVTableRelatedInformation() local
3602 auto M = NewMethodLocations.find(GD); in computeVTableRelatedInformation()
3604 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/
Dzh_Hant_HK.txt32 GD{"格林納達"}
Dfa_AF.txt35 GD{"گرینادا"}
/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…
/external/llvm/test/Transforms/InstCombine/
Dload-cmp.ll10 @GD = internal constant [6 x double]
86 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X
139 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X
151 %P = getelementptr inbounds [6 x double], [6 x double]* @GD, i32 0, i32 %X

12345678910>>...16