Searched refs:GD (Results 1 - 25 of 28) sorted by relevance

12

/external/clang/lib/CodeGen/
H A DCGCXX.cpp225 GlobalDecl GD; local
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; local
247 GD = GlobalDecl(CD, toCXXCtorType(Type));
249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type));
259 getMangledName(GD), FnTyp
263 BuildAppleKextVirtualCall(CodeGenFunction &CGF, GlobalDecl GD, llvm::Type *Ty, const CXXRecordDecl *RD) argument
[all...]
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(),
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, cons
58 setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, llvm::Function *ThunkFn, bool ForVTable, GlobalDecl GD) argument
144 GenerateVarArgsThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
210 StartThunk(llvm::Function *Fn, GlobalDecl GD, const CGFunctionInfo &FnInfo) argument
399 generateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, GlobalDecl GD, const ThunkInfo &Thunk) argument
413 emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable) argument
488 maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk) argument
507 EmitThunks(GlobalDecl GD) argument
568 GlobalDecl GD; local
[all...]
H A DCGVTables.h53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable);
57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk);
106 void EmitThunks(GlobalDecl GD);
H A DCodeGenModule.cpp285 for (const GlobalDecl &GD : Aliases) {
286 const auto *D = cast<ValueDecl>(GD.getDecl());
288 StringRef MangledName = getMangledName(GD);
332 for (const GlobalDecl &GD : Aliases) {
333 StringRef MangledName = getMangledName(GD);
613 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { argument
614 StringRef &FoundStr = MangledDeclNames[GD.getCanonicalDecl()];
618 const auto *ND = cast<NamedDecl>(GD.getDecl());
624 getCXXABI().getMangleContext().mangleCXXCtor(D, GD.getCtorType(), Out);
626 getCXXABI().getMangleContext().mangleCXXDtor(D, GD
641 getBlockMangledName(GlobalDecl GD, const BlockDecl *BD) argument
712 getFunctionLinkage(GlobalDecl GD) argument
729 setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F) argument
998 SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, bool IsIncompleteFunction, bool IsThunk) argument
1464 EmitGlobal(GlobalDecl GD) argument
1637 shouldEmitFunction(GlobalDecl GD) argument
1676 EmitGlobalDefinition(GlobalDecl GD, llvm::GlobalValue *GV) argument
1726 GetOrCreateLLVMFunction(StringRef MangledName, llvm::Type *Ty, GlobalDecl GD, bool ForVTable, bool DontDefer, bool IsThunk, llvm::AttributeSet ExtraAttrs, bool IsForDefinition) argument
1887 GetAddrOfFunction(GlobalDecl GD, llvm::Type *Ty, bool ForVTable, bool DontDefer, bool IsForDefinition) argument
2042 GetAddrOfGlobal(GlobalDecl GD, bool IsForDefinition) argument
2683 EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV) argument
2729 EmitAliasDefinition(GlobalDecl GD) argument
3809 GlobalDecl GD = GlobalDecl(cast<VarDecl>(D)); local
[all...]
H A DCGCXXABI.h88 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; }
311 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, argument
332 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) {
391 GlobalDecl GD,
403 GlobalDecl GD,
412 GlobalDecl GD, bool ReturnAdjustment) = 0;
484 virtual bool NeedsVTTParameter(GlobalDecl GD);
331 adjustThisParameterInVirtualFunctionPrologue( CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) argument
402 adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD, CallArgList &CallArgs) argument
H A DCodeGenModule.h307 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {} argument
309 GlobalDecl GD; member in struct:clang::CodeGen::CodeGenModule::DeferredGlobal
312 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) { argument
313 DeferredDeclsToEmit.emplace_back(GV, GD);
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, cons
1002 setFunctionLinkage(GlobalDecl GD, llvm::Function *F) argument
[all...]
H A DCodeGenPGO.h85 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
H A DCodeGenTypes.h198 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
209 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
241 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
H A DMicrosoftCXXABI.cpp51 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
1070 isDeletingDtor(GlobalDecl GD) argument
1263 getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) argument
1299 adjustThisArgumentForVirtualFunctionCall( CodeGenFunction &CGF, GlobalDecl GD, Address This, bool VirtualCall) argument
1400 adjustThisParameterInVirtualFunctionPrologue( CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) argument
1790 getClassAtVTableLocation(ASTContext &Ctx, GlobalDecl GD, MicrosoftVTableContext::MethodVFTableLocation &ML) argument
1799 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, Address This, llvm::Type *Ty, SourceLocation Loc) argument
[all...]
H A DItaniumCXXABI.cpp72 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()) {
272 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
286 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
338 bool NeedsVTTParameter(GlobalDecl GD) override;
415 bool HasThisReturn(GlobalDecl GD) const override {
416 return (isa<CXXConstructorDecl>(GD
1594 getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD, Address This, llvm::Type *Ty, SourceLocation Loc) argument
2329 NeedsVTTParameter(GlobalDecl GD) argument
[all...]
H A DCodeGenPGO.cpp608 void CodeGenPGO::assignRegionCounters(GlobalDecl GD, llvm::Function *Fn) { argument
609 const Decl *D = GD.getDecl();
620 ((isa<CXXConstructorDecl>(GD.getDecl()) &&
621 GD.getCtorType() != Ctor_Base) ||
622 (isa<CXXDestructorDecl>(GD.getDecl()) &&
623 GD.getDtorType() != Dtor_Base))) {
H A DCGDebugInfo.h298 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
303 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
503 /// \param GD A GlobalDecl whose getDecl() must return a FunctionDecl.
504 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
H A DCGCall.cpp229 GlobalDecl GD; local
231 GD = GlobalDecl(CD, toCXXCtorType(Type));
234 GD = GlobalDecl(DD, toCXXDtorType(Type));
248 CanQualType resultType = TheCXXABI.HasThisReturn(GD)
250 : TheCXXABI.hasMostDerivedReturn(GD)
271 GlobalDecl GD(D, CtorKind);
272 CanQualType ResultType = TheCXXABI.HasThisReturn(GD)
274 : TheCXXABI.hasMostDerivedReturn(GD)
352 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) { argument
354 const FunctionDecl *FD = cast<FunctionDecl>(GD
[all...]
H A DCodeGenFunction.cpp644 void CodeGenFunction::StartFunction(GlobalDecl GD, argument
654 const Decl *D = GD.getDecl();
752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
902 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn, argument
904 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
913 CurGD = GD;
916 if (CGM.getCXXABI().HasThisReturn(GD))
918 else if (CGM.getCXXABI().hasMostDerivedReturn(GD))
957 StartFunction(GD, ResTy, Fn, FnInfo, Args, Loc, BodyRange.getBegin());
960 PGO.assignRegionCounters(GD, CurF
[all...]
H A DCGDecl.cpp252 GlobalDecl GD; local
254 GD = GlobalDecl(CD, Ctor_Base);
256 GD = GlobalDecl(DD, Dtor_Base);
258 GD = GlobalDecl(FD);
264 if (GD.getDecl())
265 (void)GetAddrOfGlobal(GD);
H A DCGCXXABI.cpp315 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { argument
H A DCodeGenFunction.h1258 llvm::Function *GenerateBlockFunction(GlobalDecl GD,
1295 void GenerateCode(GlobalDecl GD, llvm::Function *Fn,
1300 void StartFunction(GlobalDecl GD,
1332 void StartThunk(llvm::Function *Fn, GlobalDecl GD,
1345 GlobalDecl GD, const ThunkInfo &Thunk);
1349 GlobalDecl GD, const ThunkInfo &Thunk);
1834 llvm::Value *GetVTTParameter(GlobalDecl GD, bool ForVirtualBase,
H A DCGDebugInfo.cpp2409 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, argument
2415 const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
2419 LinkageName = CGM.getMangledName(GD);
2667 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, argument
2676 const Decl *D = GD.getDecl();
2697 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
2743 void CGDebugInfo::EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, argument
2748 const Decl *D = GD.getDecl();
2758 collectFunctionDeclProps(GD, Unit, Name, LinkageName, FDContext,
H A DCGBlocks.cpp1137 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, argument
1143 CurGD = GD;
1185 StringRef name = CGM.getBlockMangledName(GD, blockDecl);
H A DCGClass.cpp424 llvm::Value *CodeGenFunction::GetVTTParameter(GlobalDecl GD, argument
427 if (!CGM.getCXXABI().NeedsVTTParameter(GD)) {
433 const CXXRecordDecl *Base = cast<CXXMethodDecl>(GD.getDecl())->getParent();
/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.h316 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { argument
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/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)
454 sizeof(GD)+
/external/clang/lib/AST/
H A DVTableBuilder.cpp2176 GlobalDecl GD(DD, Dtor_Complete);
2177 assert(MethodVTableIndices.count(GD));
2178 uint64_t VTableIndex = MethodVTableIndices[GD];
2241 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { argument
2242 MethodVTableIndicesTy::iterator I = MethodVTableIndices.find(GD);
2246 const CXXRecordDecl *RD = cast<CXXMethodDecl>(GD.getDecl())->getParent();
2250 I = MethodVTableIndices.find(GD);
3599 GlobalDecl GD = Loc.first; local
3601 auto M = NewMethodLocations.find(GD);
3603 NewMethodLocations[GD]
3741 getMethodVFTableLocation(GlobalDecl GD) argument
[all...]
/external/webrtc/data/voice_engine/stereo_rtp_files/
H A Dhrtf_g722_1C_48.rtp3817 �,��*��T�(�zH� bea��68�}���EI��X�č��2`���* ����QVg�mZ�w�Y�XM� ��@� ��Y����V$P���^hQ@�P,_�%�>����C��x�B��"��TT��-#v0a���PAfr" ���b�o����;.� Z�8A�Q��V;��U�s��0GD�S?�� mv�@4�}݋���\�ڍ�2�6 P&gy�d�b�j�+4 S�v���D������

Completed in 757 milliseconds

12