Searched defs:GD (Results 1 - 18 of 18) sorted by relevance

/external/clang/include/clang/AST/
H A DGlobalDecl.h79 GlobalDecl GD; local
80 GD.Value.setFromOpaqueValue(P);
81 return GD;
106 static unsigned getHashValue(clang::GlobalDecl GD) { argument
107 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
H A DVTableBuilder.h291 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { argument
292 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl());
355 uint64_t getMethodVTableIndex(GlobalDecl GD);
521 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD);
523 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override {
525 if (isa<CXXDestructorDecl>(GD.getDecl()) &&
526 GD.getDtorType() == Dtor_Complete)
528 return VTableContextBase::getThunkInfo(GD);
/external/clang/lib/CodeGen/
H A DCGCXXABI.h94 virtual bool HasThisReturn(GlobalDecl GD) const { return false; }
297 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, argument
319 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) {
366 GlobalDecl GD,
378 GlobalDecl GD,
387 GlobalDecl GD, bool ReturnAdjustment) = 0;
457 virtual bool NeedsVTTParameter(GlobalDecl GD);
318 adjustThisParameterInVirtualFunctionPrologue( CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) argument
377 adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, CallArgList &CallArgs) argument
H A DCGCXX.cpp233 GlobalDecl GD(ctor, ctorType);
235 StringRef name = getMangledName(GD);
243 return cast<llvm::Function>(GetOrCreateLLVMFunction(name, fnType, GD,
291 GlobalDecl GD(dtor, dtorType);
293 StringRef name = getMangledName(GD);
301 return cast<llvm::Function>(GetOrCreateLLVMFunction(name, fnType, GD,
307 GlobalDecl GD,
312 GD = GD.getCanonicalDecl();
318 uint64_t VTableIndex = CGM.getItaniumVTableContext().getMethodVTableIndex(GD);
306 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument
[all...]
H A DCGCXXABI.cpp325 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { argument
H A DCGVTables.cpp35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, argument
37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
43 getCXXABI().getMangleContext().mangleCXXDtorThunk(DD, GD.getDtorType(),
49 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD);
50 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true,
129 GlobalDecl GD, const ThunkInfo &Thunk) {
130 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
137 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true);
193 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, argument
196 CurGD = GD;
126 GenerateVarArgsThunk( llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
227 EmitCallAndReturnForThunk(GlobalDecl GD, llvm::Value *Callee, const ThunkInfo *Thunk) argument
298 GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
319 emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable) argument
396 maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk) argument
415 EmitThunks(GlobalDecl GD) argument
476 GlobalDecl GD; local
[all...]
H A DCGBlocks.cpp1083 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, argument
1089 CurGD = GD;
1130 StringRef name = CGM.getBlockMangledName(GD, blockDecl);
H A DCodeGenFunction.cpp521 void CodeGenFunction::StartFunction(GlobalDecl GD, argument
528 const Decl *D = GD.getDecl();
602 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
757 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, argument
759 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
768 CurGD = GD;
771 if (CGM.getCXXABI().HasThisReturn(GD))
800 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin());
803 PGO.assignRegionCounters(GD.getDecl(), CurFn);
H A DCodeGenModule.h319 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} argument
321 GlobalDecl GD; member in struct:clang::CodeGen::CodeGenModule::DeferredGlobal
324 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { argument
325 DeferredDeclsToEmit.push_back(DeferredGlobal(GV, GD));
450 bool shouldEmitFunction(GlobalDecl GD);
650 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD) { argument
651 if (isa<CXXConstructorDecl>(GD.getDecl()))
652 return GetAddrOfCXXConstructor(cast<CXXConstructorDecl>(GD
964 setFunctionLinkage(GlobalDecl GD, llvm::Function *F) argument
[all...]
H A DCGClass.cpp288 llvm::Value *CodeGenFunction::GetVTTParameter(GlobalDecl GD, argument
291 if (!CGM.getCXXABI().NeedsVTTParameter(GD)) {
297 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent();
H A DCGCall.cpp227 GlobalDecl GD(D, ctorKind);
229 TheCXXABI.HasThisReturn(GD) ? argTypes.front() : Context.VoidTy;
260 GlobalDecl GD(D, CtorKind);
262 TheCXXABI.HasThisReturn(GD) ? ArgTypes.front() : Context.VoidTy;
277 GlobalDecl GD(D, dtorKind);
279 TheCXXABI.HasThisReturn(GD) ? argTypes.front() : Context.VoidTy;
358 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { argument
360 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
363 return arrangeCXXConstructorDeclaration(CD, GD.getCtorType());
366 return arrangeCXXDestructor(DD, GD
932 GetFunctionType(GlobalDecl GD) argument
1050 GetFunctionTypeForVTable(GlobalDecl GD) argument
[all...]
H A DCGDebugInfo.cpp2445 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, argument
2457 const Decl *D = GD.getDecl();
2484 LinkageName = CGM.getMangledName(GD);
H A DCodeGenModule.cpp252 const GlobalDecl &GD = *I; local
253 const auto *D = cast<ValueDecl>(GD.getDecl());
255 StringRef MangledName = getMangledName(GD);
301 const GlobalDecl &GD = *I; local
302 StringRef MangledName = getMangledName(GD);
528 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { argument
529 StringRef &FoundStr = MangledDeclNames[GD.getCanonicalDecl()];
533 const auto *ND = cast<NamedDecl>(GD.getDecl());
539 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out);
541 getCXXABI().getMangleContext().mangleCXXDtor(D, GD
556 getBlockMangledName(GlobalDecl GD, const BlockDecl *BD) argument
629 getFunctionLinkage(GlobalDecl GD) argument
821 SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, bool IsIncompleteFunction) argument
1209 EmitGlobal(GlobalDecl GD) argument
1348 shouldEmitFunction(GlobalDecl GD) argument
1378 EmitGlobalDefinition(GlobalDecl GD, llvm::GlobalValue *GV) argument
1425 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, bool DontDefer, llvm::AttributeSet ExtraAttrs) argument
1548 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable, bool DontDefer) argument
2246 EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV) argument
2338 EmitAliasDefinition(GlobalDecl GD) argument
3319 GlobalDecl GD = GlobalDecl(cast<VarDecl>(D)); local
[all...]
H A DItaniumCXXABI.cpp191 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
202 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
244 bool NeedsVTTParameter(GlobalDecl GD) override;
284 bool HasThisReturn(GlobalDecl GD) const override {
285 return (isa<CXXConstructorDecl>(GD.getDecl()) || (
286 isa<CXXDestructorDecl>(GD.getDecl()) &&
287 GD.getDtorType() != Dtor_Deleting));
1195 GlobalDecl GD(DD, Type);
1196 llvm::Value *VTT = CGF.GetVTTParameter(GD, ForVirtualBase, Delegating);
1329 GlobalDecl GD,
1328 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This, llvm::Type *Ty) argument
1965 NeedsVTTParameter(GlobalDecl GD) argument
[all...]
H A DMicrosoftCXXABI.cpp45 bool HasThisReturn(GlobalDecl GD) const override;
171 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
179 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override;
208 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
217 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD,
219 assert(GD.getDtorType() == Dtor_Deleting &&
235 GlobalDecl GD, bool ReturnAdjustment) override {
240 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl()));
425 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD);
762 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) cons
933 getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) argument
969 adjustThisArgumentForVirtualFunctionCall( CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This, bool VirtualCall) argument
1035 IsDeletingDtor(GlobalDecl GD) argument
1074 adjustThisParameterInVirtualFunctionPrologue( CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) argument
1360 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This, llvm::Type *Ty) argument
[all...]
/external/clang/test/Layout/
H A Dms-x86-vtordisp.cpp349 struct GD: public virtual GC, public virtual GB {}; struct in inherits:GC,GB
355 // CHECK-NEXT: 0 | struct GD
356 // CHECK-NEXT: 0 | (GD vbtable pointer)
371 // CHECK-X64-NEXT: 0 | struct GD
372 // CHECK-X64-NEXT: 0 | (GD vbtable pointer)
429 sizeof(GD)+
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
H A DRegionDataConstants.java402 GD(new String[]{ enum constant in enum:RegionDataConstants.RegionDataEnum
/external/clang/lib/AST/
H A DVTableBuilder.cpp2204 GlobalDecl GD(DD, Dtor_Complete);
2205 assert(MethodVTableIndices.count(GD));
2206 uint64_t VTableIndex = MethodVTableIndices[GD];
2270 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { argument
2271 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD);
2275 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent();
2279 I = MethodVTableIndices.find(GD);
3324 GlobalDecl GD = Loc.first; local
3326 auto M = NewMethodLocations.find(GD);
3328 NewMethodLocations[GD]
3470 getMethodVFTableLocation(GlobalDecl GD) argument
[all...]

Completed in 297 milliseconds