Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/lld/test/ELF/
H A Dx86-64-tlsdesc-gd.s21 # GD-RELA: .rela.dyn {
25 # GD-RELA-NEXT: }
31 # GD-REL: .rel.dyn {
35 # GD-REL-NEXT: }
42 # GD: leaq 4297(%rip), %rax
43 # GD-NEXT: 12e7: callq *(%rax)
44 # GD-NEXT: movl %fs:(%rax), %eax
48 # GD-NEXT: 12f3: movq %rcx, %rax
49 # GD-NEXT: callq *(%rax)
54 # GD-NEXT: 1302: movq %r15, %rax
[all …]
H A Di386-tlsdesc-gd.s21 # GD-REL: .rel.dyn {
25 # GD-REL-NEXT: }
30 # GD-RELA: .rela.dyn {
34 # GD-RELA-NEXT: }
43 # GD: leal -24(%ebx), %eax
44 # GD-NEXT: calll *(%eax)
48 # GD-NEXT: leal -8(%ebx), %eax
49 # GD-NEXT: movl %edx, %ebx
50 # GD-NEXT: calll *(%eax)
54 # GD-NEXT: leal -16(%ebx), %eax
[all …]
H A Dppc32-tls-gd.s21 # GD-DYN: PPC_GOT 0x20358
30 # GD-REL-NEXT: }
33 # GD: addi 3, 31, 12
34 # GD-NEXT: bl 0x1028c
35 # GD-NEXT: lwz 3, 0(3)
38 # GD-NEXT: addi 3, 31, 20
39 # GD-NEXT: bl 0x1028c
40 # GD-NEXT: lwz 3, 0(3)
43 # GD-NEXT: addi 3, 9, 28
44 # GD-NEXT: bl 0x1028c
[all …]
H A Dppc64-tls-gd.s18 # GD-REL: .rela.dyn {
25 # GD-REL-NEXT: }
29 # GD: addis 3, 2, 0
31 # GD-NEXT: bl 0x10400
32 # GD-NEXT: ld 2, 24(1)
35 # GD-NEXT: addis 3, 2, 0
37 # GD-NEXT: bl 0x10400
38 # GD-NEXT: ld 2, 24(1)
41 # GD-NEXT: li 3, -32728
42 # GD-NEXT: bl 0x10400
[all …]
H A Dppc64-tls-pcrel-gd.s11 # RUN: llvm-readelf -r %t-gd.so | FileCheck %s --check-prefix=GD-RELOC
12 # RUN: llvm-readelf -s %t-gd.so | FileCheck %s --check-prefix=GD-SYM
24 ## GD - General Dynamic with no relaxation possible
50 # GD-SYM: Symbol table '.dynsym' contains 4 entries:
51 # GD-SYM: 0000000000000000 0 TLS GLOBAL DEFAULT UND x
70 # GD-LABEL: <GDTwoVal>:
71 # GD-NEXT: paddi 3, 0, 376, 1
72 # GD-NEXT: bl
73 # GD-NEXT: paddi 3, 0, 380, 1
74 # GD-NEXT: bl
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIteratedDominanceFrontier.h27 ChildrenGetterTy(const GraphDiff<BasicBlock *, IsPostDom> *GD) : GD(GD) {
28 assert(GD);
33 const GraphDiff<BasicBlock *, IsPostDom> *GD = nullptr;
49 const GraphDiff<BasicBlock *, IsPostDom> *GD)
50 : IDFCalculatorBase(DT, ChildrenGetterTy(GD)) {
51 assert(GD);
71 if (!GD) {
76 return GD->template getChildren<IsPostDom>(N);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCXX.cpp210 getAddrOfCXXStructor(GD, &FnInfo, /*FnType=*/nullptr, in codegenCXXStructor()
213 setFunctionLinkage(GD, Fn); in codegenCXXStructor()
215 CodeGenFunction(*this).GenerateCode(GD, Fn, FnInfo); in codegenCXXStructor()
216 setNonAliasAttributes(GD, Fn); in codegenCXXStructor()
224 auto *MD = cast<CXXMethodDecl>(GD.getDecl()); in getAddrAndTypeOfCXXStructor()
230 GD.getDtorType() == Dtor_Complete && in getAddrAndTypeOfCXXStructor()
232 GD = GD.getWithDtorType(Dtor_Base); in getAddrAndTypeOfCXXStructor()
237 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD); in getAddrAndTypeOfCXXStructor()
242 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrAndTypeOfCXXStructor()
248 GlobalDecl GD, in BuildAppleKextVirtualCall() argument
[all …]
H A DCGVTables.cpp42 GlobalDecl GD) { in setThunkProperties() argument
43 CGM.setFunctionLinkage(GD, ThunkFn); in setThunkProperties()
48 CGM.setGVProperties(ThunkFn, GD); in setThunkProperties()
244 CurGD = GD; in StartThunk()
253 else if (CGM.getCXXABI().HasThisReturn(GD)) in StartThunk()
255 else if (CGM.getCXXABI().hasMostDerivedReturn(GD)) in StartThunk()
453 StartThunk(Fn, GD, FnInfo, IsUnprototyped); in generateThunk()
607 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() argument
616 VTContext->getThunkInfo(GD); in EmitThunks()
622 maybeEmitThunk(GD, Thunk, /*ForVTable=*/false); in EmitThunks()
[all …]
H A DCodeGenModule.cpp613 GlobalDecl GD; in Release() local
617 GD = GlobalDecl(D); in Release()
2108 setGVProperties(GV, GD); in SetCommonAttributes()
2297 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F, in SetFunctionAttributes()
3015 GD->getAsAPValue(), GD->getType().getAddressSpace(), GD->getType()); in GetAddrOfMSGuidDecl()
3256 EmitGlobalDefinition(GD); in EmitGlobal()
3685 ResolverGD = GD; in emitCPUDispatchDefinition()
5226 setFunctionLinkage(GD, Fn); in EmitGlobalFunctionDefinition()
5229 setGVProperties(Fn, GD); in EmitGlobalFunctionDefinition()
5269 Aliases.push_back(GD); in EmitAliasDefinition()
[all …]
H A DCodeGenModule.h350 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() argument
351 DeferredDeclsToEmit.emplace_back(GD); in addDeferredDeclToEmit()
352 addEmittedDeferredDecl(GD); in addDeferredDeclToEmit()
358 void addEmittedDeferredDecl(GlobalDecl GD) { in addEmittedDeferredDecl() argument
359 if (!llvm::isa<FunctionDecl>(GD.getDecl())) in addEmittedDeferredDecl()
364 EmittedDeferredDecls[getMangledName(GD)] = GD; in addEmittedDeferredDecl()
539 bool shouldEmitFunction(GlobalDecl GD);
1265 StringRef getMangledName(GlobalDecl GD);
1290 F->setLinkage(getFunctionLinkage(GD)); in setFunctionLinkage()
1570 void EmitAliasDefinition(GlobalDecl GD);
[all …]
H A DCGCXXABI.h106 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
123 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() argument
125 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() argument
348 buildStructorSignature(GlobalDecl GD,
381 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() argument
401 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() argument
472 GlobalDecl GD, Address This,
487 GlobalDecl GD, in adjustCallArgsForDestructorThunk() argument
497 GlobalDecl GD, bool ReturnAdjustment) = 0;
569 virtual bool NeedsVTTParameter(GlobalDecl GD);
[all …]
H A DCodeGenTypes.h138 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
154 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
186 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
236 const CGFunctionInfo &arrangeCXXStructorDeclaration(GlobalDecl GD);
H A DMicrosoftCXXABI.cpp68 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
69 switch (GD.getDtorType()) { in isThisCompleteObject()
219 buildStructorSignature(GlobalDecl GD,
1086 return isDeletingDtor(GD); in hasMostDerivedReturn()
1404 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment()
1444 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall()
1632 GlobalDecl GD(DD, Type); in EmitDestructorCall() local
1633 CGCallee Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
1965 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
1980 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() local
[all …]
H A DItaniumCXXABI.cpp80 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject()
81 switch (GD.getDtorType()) { in isThisCompleteObject()
95 switch (GD.getCtorType()) { in isThisCompleteObject()
207 buildStructorSignature(GlobalDecl GD,
291 CGM.setGVProperties(Thunk, GD); in setThunkLinkage()
1602 if ((isa<CXXConstructorDecl>(GD.getDecl()) ? GD.getCtorType() == Ctor_Base in buildStructorSignature()
1691 GlobalDecl GD(DD, Type); in getCXXDestructorImplicitParam() local
1700 GlobalDecl GD(DD, Type); in EmitDestructorCall() local
1710 Callee = CGCallee::forDirect(CGM.getAddrOfCXXStructor(GD), GD); in EmitDestructorCall()
1974 CGCallee Callee(GD, VFunc); in getVirtualFunctionPointer()
[all …]
H A DModuleBuilder.cpp128 llvm::StringRef GetMangledName(GlobalDecl GD) { in GetMangledName() argument
129 return Builder->getMangledName(GD); in GetMangledName()
347 llvm::StringRef CodeGenerator::GetMangledName(GlobalDecl GD) { in GetMangledName() argument
348 return static_cast<CodeGeneratorImpl *>(this)->GetMangledName(GD); in GetMangledName()
H A DCGVTables.h60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
136 void EmitThunks(GlobalDecl GD);
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp176 if (auto *GD = dyn_cast<MSGuidDecl>(D)) in mangleName() local
177 return mangleMSGuidDecl(GD, Out); in mangleName()
192 mangleCXXName(GD, Out); in mangleName()
209 mangleCXXName(GD, Out); in mangleName()
243 MSGuidDecl::Parts P = GD->getParts(); in mangleMSGuidDecl()
525 GlobalDecl GD; in writeFuncOrVarName() local
527 GD = GlobalDecl(CtorD, Ctor_Complete); in writeFuncOrVarName()
533 GD = GlobalDecl(D); in writeFuncOrVarName()
534 MC->mangleName(GD, OS); in writeFuncOrVarName()
554 GlobalDecl GD; in getMangledStructor() local
[all …]
H A DItaniumMangle.cpp432 void mangle(GlobalDecl GD);
439 void mangleName(GlobalDecl GD);
491 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName(), DC, in mangleUnqualifiedName()
779 mangleFunctionEncoding(GD); in mangle()
782 mangleName(GD); in mangle()
796 mangleName(GD); in mangleFunctionEncoding()
803 mangleName(GD); in mangleFunctionEncoding()
1763 GlobalDecl GD; in getParentOfLocalEntity() local
1774 return GD; in getParentOfLocalEntity()
1779 const Decl *D = GD.getDecl(); in mangleLocalName()
[all …]
H A DMicrosoftMangle.cpp45 GlobalDecl GD; in getGlobalDeclAsDeclContext() local
52 return GD; in getGlobalDeclAsDeclContext()
363 void mangleName(GlobalDecl GD);
402 mangleUnqualifiedName(GD, cast<NamedDecl>(GD.getDecl())->getDeclName()); in mangleUnqualifiedName()
561 mangleName(GD); in mangle()
794 mangleUnqualifiedName(GD); in mangleName()
796 mangleNestedName(GD); in mangleName()
1481 mangleUnqualifiedName(GD); in mangleUnscopedTemplateName()
3362 return mangler.mangle(GD); in mangleCXXName()
3368 return mangler.mangle(GD); in mangleCXXName()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DVTableBuilder.h342 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() argument
343 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl()); in getThunkInfo()
418 uint64_t getMethodVTableIndex(GlobalDecl GD);
591 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD);
593 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo() argument
595 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
596 GD.getDtorType() == Dtor_Complete) in getThunkInfo()
598 return VTableContextBase::getThunkInfo(GD); in getThunkInfo()
H A DGlobalDecl.h153 GlobalDecl GD; in getFromOpaquePtr() local
154 GD.Value.setFromOpaqueValue(P); in getFromOpaquePtr()
155 return GD; in getFromOpaquePtr()
218 static unsigned getHashValue(clang::GlobalDecl GD) {
219 return DenseMapInfo<void*>::getHashValue(GD.getAsOpaquePtr());
/llvm-project-15.0.7/lld/test/ELF/invalid/
H A Di386-tlsdesc-gd.s6 ## GD to LE relaxation.
8 ## GD to IE relaxation.
H A Dx86-64-tlsdesc-gd.s6 ## GD to LE relaxation.
8 ## GD to IE relaxation.
/llvm-project-15.0.7/clang/test/Layout/
H A Dms-x86-vtordisp.cpp301 struct GD: public virtual GC, public virtual GB {}; struct
388 sizeof(GD)+
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp839 GraphDiff<BasicBlock *> GD(RevDeleteUpdates); in applyUpdates() local
840 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
851 GraphDiff<BasicBlock *> GD; in applyUpdates() local
852 applyInsertUpdates(InsertUpdates, DT, &GD); in applyUpdates()
862 GraphDiff<BasicBlock *> GD; in applyInsertUpdates() local
863 applyInsertUpdates(Updates, DT, &GD); in applyInsertUpdates()
868 const GraphDiff<BasicBlock *> *GD) { in applyInsertUpdates() argument
880 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
974 for (auto *Pi : GD->template getChildren</*InverseEdge=*/true>(BB)) { in applyInsertUpdates()
1101 ForwardIDFCalculator IDFs(DT, GD); in applyInsertUpdates()
[all …]

123