/external/clang/lib/CodeGen/ |
CGCXX.cpp | 225 GlobalDecl GD; 227 GD = GlobalDecl(DD, toCXXDtorType(Type)); 230 GD = GlobalDecl(CD, toCXXCtorType(Type)); 233 setFunctionLinkage(GD, Fn); 234 setFunctionDLLStorageClass(GD, Fn); 236 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); 245 GlobalDecl GD; 247 GD = GlobalDecl(CD, toCXXCtorType(Type)); 249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); 259 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer [all...] |
CGVTables.cpp | 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD, 37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 43 getCXXABI().getMangleContext().mangleCXXDtorThunk(DD, GD.getDtorType(), 48 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); 49 return GetOrCreateLLVMFunction(Name, Ty, GD, /*ForVTable=*/true, 60 GlobalDecl GD) { 61 CGM.setFunctionLinkage(GD, ThunkFn); 62 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, 66 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 146 GlobalDecl GD, const ThunkInfo &Thunk) [all...] |
CGVTables.h | 53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable); 57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk); 106 void EmitThunks(GlobalDecl GD);
|
CGCXXABI.h | 88 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0; 105 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } 107 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } 321 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, 341 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { 348 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) { 407 GlobalDecl GD, 419 GlobalDecl GD, 428 GlobalDecl GD, bool ReturnAdjustment) = 0; 500 virtual bool NeedsVTTParameter(GlobalDecl GD); [all...] |
CodeGenModule.cpp | 283 for (const GlobalDecl &GD : Aliases) { 284 const auto *D = cast<ValueDecl>(GD.getDecl()); 291 StringRef MangledName = getMangledName(GD); 345 for (const GlobalDecl &GD : Aliases) { 346 StringRef MangledName = getMangledName(GD); 642 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { 643 GlobalDecl CanonicalGD = GD.getCanonicalDecl(); 649 CXXCtorType OrigCtorType = GD.getCtorType(); 660 const auto *ND = cast<NamedDecl>(GD.getDecl()); 666 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out) [all...] |
CodeGenModule.h | 313 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} 315 GlobalDecl GD; 318 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { 319 DeferredDeclsToEmit.emplace_back(GV, GD); 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) [all...] |
CodeGenTypes.h | 202 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 218 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 250 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
|
MicrosoftCXXABI.cpp | 51 bool HasThisReturn(GlobalDecl GD) const override; 52 bool hasMostDerivedReturn(GlobalDecl GD) const override; 60 bool isThisCompleteObject(GlobalDecl GD) const override { 63 if (isa<CXXDestructorDecl>(GD.getDecl())) { 64 switch (GD.getDtorType()) { 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, 299 assert(GD.getDtorType() == Dtor_Deleting & [all...] |
CodeGenPGO.h | 89 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
|
ItaniumCXXABI.cpp | 72 bool isThisCompleteObject(GlobalDecl GD) const override { 75 if (isa<CXXDestructorDecl>(GD.getDecl())) { 76 switch (GD.getDtorType()) { 89 if (isa<CXXConstructorDecl>(GD.getDecl())) { 90 switch (GD.getCtorType()) { 264 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, 278 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD, 330 bool NeedsVTTParameter(GlobalDecl GD) override; 407 bool HasThisReturn(GlobalDecl GD) const override { 408 return (isa<CXXConstructorDecl>(GD.getDecl()) || [all...] |
CodeGenPGO.cpp | 614 void CodeGenPGO::assignRegionCounters(GlobalDecl GD, llvm::Function *Fn) { 615 const Decl *D = GD.getDecl(); 626 ((isa<CXXConstructorDecl>(GD.getDecl()) && 627 GD.getCtorType() != Ctor_Base) || 628 (isa<CXXDestructorDecl>(GD.getDecl()) && 629 GD.getDtorType() != Dtor_Base))) {
|
CodeGenFunction.cpp | 653 void CodeGenFunction::StartFunction(GlobalDecl GD, 663 const Decl *D = GD.getDecl(); 791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); [all...] |
CGDebugInfo.h | 307 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 312 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType); 512 /// \param GD A GlobalDecl whose getDecl() must return a FunctionDecl. 513 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
|
CGOpenMPRuntime.h | [all...] |
CGDecl.cpp | 261 GlobalDecl GD; 263 GD = GlobalDecl(CD, Ctor_Base); 265 GD = GlobalDecl(DD, Dtor_Base); 267 GD = GlobalDecl(FD); 273 if (GD.getDecl()) 274 (void)GetAddrOfGlobal(GD); [all...] |
CGCall.cpp | 267 GlobalDecl GD; 269 GD = GlobalDecl(CD, toCXXCtorType(Type)); 277 GD = GlobalDecl(DD, toCXXDtorType(Type)); 293 CanQualType resultType = TheCXXABI.HasThisReturn(GD) 295 : TheCXXABI.hasMostDerivedReturn(GD) 362 GlobalDecl GD(D, CtorKind); 363 CanQualType ResultType = TheCXXABI.HasThisReturn(GD) 365 : TheCXXABI.hasMostDerivedReturn(GD) 456 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { 458 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl()) [all...] |
CGCXXABI.cpp | 315 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) {
|
/external/clang/include/clang/AST/ |
GlobalDecl.h | 81 GlobalDecl GD; 82 GD.Value.setFromOpaqueValue(P); 83 return GD; 108 static unsigned getHashValue(clang::GlobalDecl GD) { 109 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
|
VTableBuilder.h | 316 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { 317 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); 380 uint64_t getMethodVTableIndex(GlobalDecl GD); 542 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD); 544 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { 546 if (isa<CXXDestructorDecl>(GD.getDecl()) && 547 GD.getDtorType() == Dtor_Complete) 549 return VTableContextBase::getThunkInfo(GD);
|
/external/u-boot/arch/arc/lib/ |
start.S | 88 /* Make sure we don't lose GD overwritten by zero new GD */
|
/external/clang/test/Layout/ |
ms-x86-vtordisp.cpp | 349 struct GD: public virtual GC, public virtual 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) 454 sizeof(GD)+
|
/external/clang/lib/AST/ |
VTableBuilder.cpp | [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
GdbStubInternal.h | 181 UINT32 GD:1; // Global detect enable
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/ |
GdbDebugAgent.h | 149 UINT32 GD:1; // Global detect enable
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
SPIRVModule.cpp | 429 auto GD = new SPIRVGroupDecorate(G, Targets); 431 GroupDecVec.push_back(GD); [all...] |