/external/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 78 GlobalDecl GD; local 79 GD.Value.setFromOpaqueValue(P); 80 return GD; 105 static unsigned getHashValue(clang::GlobalDecl GD) { argument 106 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
/external/clang/lib/CodeGen/ |
H A D | CGVTT.cpp | 123 bool CodeGenVTables::needsVTTParameter(GlobalDecl GD) { argument 124 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 131 if (isa<CXXConstructorDecl>(MD) && GD.getCtorType() == Ctor_Base) 135 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base)
|
H A D | CGVTables.cpp | 61 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, argument 63 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 69 getCXXABI().getMangleContext().mangleCXXDtorThunk(DD, GD.getDtorType(), 75 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); 76 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true); 239 GlobalDecl GD, const ThunkInfo &Thunk) { 240 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 247 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty, /*ForVTable=*/true); 305 GlobalDecl GD, const ThunkInfo &Thunk) { 306 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD 236 GenerateVarArgsThunk( llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument 303 GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument 398 EmitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool UseAvailableExternallyLinkage) argument 471 MaybeEmitThunkAvailableExternally(GlobalDecl GD, const ThunkInfo &Thunk) argument 486 EmitThunks(GlobalDecl GD) argument 552 GlobalDecl GD; local [all...] |
H A D | CodeGenFunction.cpp | 254 void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, argument 259 const Decl *D = GD.getDecl(); 322 DI->EmitFunctionStart(GD, FnType, CurFn, Builder); 422 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, argument 424 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); 433 CurGD = GD; 444 StartFunction(GD, ResTy, Fn, FnInfo, Args, BodyRange.getBegin());
|
H A D | ItaniumCXXABI.cpp | 165 static bool HasThisReturn(GlobalDecl GD) { argument 166 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 167 return ((isa<CXXDestructorDecl>(MD) && GD.getDtorType() != Dtor_Deleting) ||
|
H A D | CGBlocks.cpp | 992 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, argument 1045 CGM.getBlockMangledName(GD, name, blockDecl);
|
H A D | CGCall.cpp | 269 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { argument 271 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()); 274 return arrangeCXXConstructorDeclaration(CD, GD.getCtorType()); 277 return arrangeCXXDestructor(DD, GD.getDtorType()); 773 llvm::FunctionType *CodeGenTypes::GetFunctionType(GlobalDecl GD) { argument 774 const CGFunctionInfo &FI = arrangeGlobalDeclaration(GD); 858 llvm::Type *CodeGenTypes::GetFunctionTypeForVTable(GlobalDecl GD) { argument 859 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 867 Info = &arrangeCXXDestructor(cast<CXXDestructorDecl>(MD), GD.getDtorType());
|
H A D | CGClass.cpp | 277 static llvm::Value *GetVTTParameter(CodeGenFunction &CGF, GlobalDecl GD, argument 279 if (!CodeGenVTables::needsVTTParameter(GD)) { 285 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent(); 1757 GlobalDecl GD(CallOperator); 1762 llvm::Value *Callee = CGM.GetAddrOfFunction(GD, Ty);
|
H A D | CodeGenModule.h | 498 llvm::Constant *GetAddrOfGlobal(GlobalDecl GD) { argument 499 if (isa<CXXConstructorDecl>(GD.getDecl())) 500 return GetAddrOfCXXConstructor(cast<CXXConstructorDecl>(GD.getDecl()), 501 GD.getCtorType()); 502 else if (isa<CXXDestructorDecl>(GD.getDecl())) 503 return GetAddrOfCXXDestructor(cast<CXXDestructorDecl>(GD.getDecl()), 504 GD.getDtorType()); 505 else if (isa<FunctionDecl>(GD.getDecl())) 506 return GetAddrOfFunction(GD); 508 return GetAddrOfGlobalVar(cast<VarDecl>(GD [all...] |
H A D | CGDebugInfo.cpp | 1980 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType, argument 1989 const Decl *D = GD.getDecl(); 2013 LinkageName = CGM.getMangledName(GD);
|
H A D | CodeGenModule.cpp | 315 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { argument 316 const NamedDecl *ND = cast<NamedDecl>(GD.getDecl()); 318 StringRef &Str = MangledDeclNames[GD.getCanonicalDecl()]; 333 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out); 335 getCXXABI().getMangleContext().mangleCXXDtor(D, GD.getDtorType(), Out); 352 void CodeGenModule::getBlockMangledName(GlobalDecl GD, MangleBuffer &Buffer, argument 355 const Decl *D = GD.getDecl(); 360 MangleCtx.mangleCtorBlock(CD, GD.getCtorType(), BD, Out); 362 MangleCtx.mangleDtorBlock(DD, GD.getDtorType(), BD, Out); 575 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, argument 792 EmitGlobal(GlobalDecl GD) argument 943 EmitGlobalDefinition(GlobalDecl GD) argument 1085 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable) argument 1736 EmitGlobalFunctionDefinition(GlobalDecl GD) argument 1815 EmitAliasDefinition(GlobalDecl GD) argument 2646 GlobalDecl GD = GlobalDecl(cast<VarDecl>(D)); local [all...] |
/external/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 2302 uint64_t VTableContext::getMethodVTableIndex(GlobalDecl GD) { argument 2303 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD); 2307 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent(); 2311 I = MethodVTableIndices.find(GD);
|