Home
last modified time | relevance | path

Searched refs:GS (Results 1 – 25 of 75) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp87 if (!GS.AccessingFunction) in analyzeGlobalAux()
88 GS.AccessingFunction = F; in analyzeGlobalAux()
89 else if (GS.AccessingFunction != F) in analyzeGlobalAux()
93 GS.IsLoaded = true; in analyzeGlobalAux()
97 GS.Ordering = strongerOrdering(GS.Ordering, LI->getOrdering()); in analyzeGlobalAux()
107 ++GS.NumStores; in analyzeGlobalAux()
109 GS.Ordering = strongerOrdering(GS.Ordering, SI->getOrdering()); in analyzeGlobalAux()
135 GS.StoredOnceStore = SI; in analyzeGlobalAux()
161 GS.IsCompared = true; in analyzeGlobalAux()
168 GS.IsLoaded = true; in analyzeGlobalAux()
[all …]
/llvm-project-15.0.7/llvm/unittests/Support/DynamicLibrary/
H A DDynamicLibraryTest.cpp69 EXPECT_NE(GS, nullptr); in TEST()
70 EXPECT_NE(GS, &TestA); in TEST()
74 EXPECT_NE(GS, nullptr); in TEST()
75 EXPECT_NE(GS, &TestA); in TEST()
84 EXPECT_NE(GS, nullptr); in TEST()
85 EXPECT_EQ(GS, &TestA); in TEST()
89 EXPECT_NE(GS, nullptr); in TEST()
90 EXPECT_EQ(GS, &TestA); in TEST()
96 EXPECT_NE(GS, nullptr); in TEST()
97 EXPECT_NE(GS, &TestA); in TEST()
[all …]
/llvm-project-15.0.7/llvm/unittests/DebugInfo/PDB/
H A DNativeSymbolReuseTest.cpp66 auto GS = S->getGlobalScope(); in TEST() local
70 auto Compilands = GS->findAllChildren<PDBSymbolCompiland>(); in TEST()
87 auto Compilands = GS->findAllChildren<PDBSymbolCompiland>(); in TEST()
108 auto GS = S->getGlobalScope(); in TEST() local
114 auto Compilands = GS->findAllChildren<PDBSymbolCompiland>(); in TEST()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp97 void CheckGotoStmt(GotoStmt *GS);
367 if (auto *GS = dyn_cast<GCCAsmStmt>(S)) in BuildScopeInformation() local
368 if (GS->isAsmGoto()) { in BuildScopeInformation()
372 AsmJumps.push_back(GS); in BuildScopeInformation()
373 for (auto *E : GS->labels()) in BuildScopeInformation()
659 if (GS->getLabel()->getStmt()) { in VerifyJumps()
660 CheckJump(GS, GS->getLabel()->getStmt(), GS->getGotoLoc(), in VerifyJumps()
665 CheckGotoStmt(GS); in VerifyJumps()
992 if (GS->getLabel()->isMSAsmLabel()) { in CheckGotoStmt()
994 << GS->getLabel()->getIdentifier(); in CheckGotoStmt()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dstack-protector-3.ll15 ; RUN: llc -mtriple=x86_64-pc-linux-gnu -o - < %t/e2.ll | FileCheck --check-prefix=CHECK-GS %s
29 ; CHECK-GS: movq %gs:40, %rax
30 ; CHECK-GS: movq %gs:40, %rax
31 ; CHECK-GS-NEXT: cmpq 16(%rsp), %rax
32 ; CHECK-GS-NEXT: jne .LBB0_2
33 ; CHECK-GS: .LBB0_2:
34 ; CHECK-GS-NEXT: .cfi_def_cfa_offset 32
35 ; CHECK-GS-NEXT: callq __stack_chk_fail
/llvm-project-15.0.7/lld/test/COFF/
H A Dprecomp-ghash.test40 ; $ cl /c /Z7 /GS- precomp-ghash-precomp.cpp /Ycprecomp-ghash-obj.h
41 ; $ cl /c /Z7 /GS- precomp-ghash-obj1.cpp /Yuprecomp-ghash-obj.h
42 ; $ cl /c /Z7 /GS- precomp-ghash-obj2.cpp /Yuprecomp-ghash-obj.h
H A Dpdb-globals-dia-vfunc-simple.test20 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
H A Dpdb-globals-dia-vfunc-collision2.test18 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj
H A Dpdb-global-hashes.test38 ; $ clang-cl /Z7 /GS- obj1.cpp /c /o obj1.obj
39 ; $ clang-cl /Z7 /GS- obj2.cpp /c /o obj2.obj
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumGlobals.cpp28 GlobalsStream &GS = cantFail(Session.getPDBFile().getPDBGlobalsStream()); in NativeEnumGlobals() local
30 for (uint32_t Off : GS.getGlobalsTable()) { in NativeEnumGlobals()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp1056 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOFinalizeInModule() local
1057 if (GS == DefinedGlobals.end()) in thinLTOFinalizeInModule()
1078 auto NewLinkage = GS->second->linkage(); in thinLTOFinalizeInModule()
1093 GV.setVisibility(GS->second->getVisibility()); in thinLTOFinalizeInModule()
1117 GS->second->canAutoHide()) { in thinLTOFinalizeInModule()
1159 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule() local
1160 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1171 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId)); in thinLTOInternalizeModule()
1172 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1180 assert(GS != DefinedGlobals.end()); in thinLTOInternalizeModule()
[all …]
H A DGlobalOpt.cpp1498 if (!GS.HasMultipleAccessingFunctions && in processInternalGlobal()
1499 GS.AccessingFunction && in processInternalGlobal()
1504 GS.AccessingFunction->doesNotRecurse() && in processInternalGlobal()
1531 if (!GS.IsLoaded) { in processInternalGlobal()
1552 if (GS.StoredType <= GlobalStatus::InitializerStored) { in processInternalGlobal()
1558 if (GS.Ordering == AtomicOrdering::NotAtomic) { in processInternalGlobal()
1584 Value *StoredOnceValue = GS.getStoredOnceValue(); in processInternalGlobal()
1639 if (GS.NumStores == 1) in processInternalGlobal()
1668 GlobalStatus GS; in processGlobal() local
1670 if (GlobalStatus::analyzeGlobal(&GV, GS)) in processGlobal()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dload-cmp.ll15 @GS = internal constant %Foo { i32 1, i32 4, i32 9, i32 14 }
194 %p = getelementptr inbounds %Foo, %Foo* @GS, i32 %x, i32 0
202 ; CHECK-NEXT: [[P:%.*]] = getelementptr [[FOO:%.*]], %Foo* @GS, i32 [[X:%.*]], i32 0
207 %p = getelementptr %Foo, %Foo* @GS, i32 %x, i32 0
219 %p = getelementptr inbounds %Foo, %Foo* @GS, i16 %x, i32 0
231 %p = getelementptr inbounds %Foo, %Foo* @GS, i64 %x, i32 0
240 ; CHECK-NEXT: [[P:%.*]] = getelementptr [[FOO:%.*]], %Foo* @GS, i32 [[TMP1]], i32 0
245 %p = getelementptr %Foo, %Foo* @GS, i16 %x, i32 0
/llvm-project-15.0.7/clang/tools/scan-build-py/lib/libscanbuild/
H A Dintercept.py40 GS = chr(0x1d) variable
179 content = RS.join([pid, pid, 'wrapper', entry.cwd, command]) + GS
193 for group in filter(bool, content.split(GS)):
/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/grammar/
H A DLRTable.cpp58 if (auto GS = getGoToState(S, NontermID)) { in dumpForTests() local
60 G.symbolName(NontermID), *GS); in dumpForTests()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DVarBypassDetector.cpp140 if (const GotoStmt *GS = dyn_cast<GotoStmt>(St)) { in Detect() local
141 if (const LabelStmt *LS = GS->getLabel()->getStmt()) in Detect()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DTypeReferenceTracker.cpp80 GlobalsStream &GS = cantFail(File.pdb().getPDBGlobalsStream()); in mark() local
81 for (uint32_t PubSymOff : GS.getGlobalsTable()) { in mark()
/llvm-project-15.0.7/llvm/include/llvm/Support/Solaris/sys/
H A Dregset.h22 #undef GS
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DGlobalStatus.h87 static bool analyzeGlobal(const Value *V, GlobalStatus &GS);
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h103 [Instance, Method](const auto &Rel, const auto &Target, auto &GS) {
104 return (Instance->*Method)(Rel, Target, GS);
/llvm-project-15.0.7/llvm/lib/LTO/
H A DLTO.cpp208 auto AddUsedThings = [&](GlobalValueSummary *GS) { in computeLTOCacheKey() argument
209 if (!GS) return; in computeLTOCacheKey()
210 AddUnsigned(GS->getVisibility()); in computeLTOCacheKey()
211 AddUnsigned(GS->isLive()); in computeLTOCacheKey()
212 AddUnsigned(GS->canAutoHide()); in computeLTOCacheKey()
213 for (const ValueInfo &VI : GS->refs()) { in computeLTOCacheKey()
217 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey()
221 if (auto *FS = dyn_cast<FunctionSummary>(GS)) { in computeLTOCacheKey()
241 for (auto &GS : DefinedGlobals) { in computeLTOCacheKey() local
245 AddUsedCfiGlobal(GS.first); in computeLTOCacheKey()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dpartial_initializer.cl18 // CHECK: @GS ={{.*}} addrspace(1) global %struct.StrucTy { i32 1, i32 2, i32 0 }, align 4
19 StrucTy GS = {1, 2};
/llvm-project-15.0.7/lldb/test/Shell/Expr/
H A DTestIRMemoryMapWindows.test3 # RUN: %clang_cl_host /Zi /GS- %p/Inputs/call-function.cpp /c /o %t.obj
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dbarrier_removal.ll19 ; CHECK: @[[GS:[a-zA-Z0-9_$"\\.-]+]] = addrspace(3) global i32 0
125 @GS = addrspace(3) global i32 0
133 ; CHECK-NEXT: [[B:%.*]] = load i32, i32* addrspacecast (i32 addrspace(3)* @GS to i32*), align 4
145 %GSc = addrspacecast i32 addrspace(3)* @GS to i32*
/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DTypeIndexDiscoveryTest.cpp538 ProcSym GS(SymbolRecordKind::GlobalProcSym); in TEST_F() local
539 GS.FunctionType = TypeIndex::Float32(); in TEST_F()
542 writeSymbolRecords(GS, LS); in TEST_F()
543 checkTypeReferences(0, GS.FunctionType); in TEST_F()

123