| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | GlobalStatus.cpp | 87 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 D | DynamicLibraryTest.cpp | 69 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 D | NativeSymbolReuseTest.cpp | 66 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 D | JumpDiagnostics.cpp | 97 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 D | stack-protector-3.ll | 15 ; 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 D | precomp-ghash.test | 40 ; $ 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 D | pdb-globals-dia-vfunc-simple.test | 20 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-simple.obj
|
| H A D | pdb-globals-dia-vfunc-collision2.test | 18 clang-cl /Z7 /GS- /GR- /c main.cpp /Foglobals-dia-vfunc-collision2.obj
|
| H A D | pdb-global-hashes.test | 38 ; $ 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 D | NativeEnumGlobals.cpp | 28 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 D | FunctionImport.cpp | 1056 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 D | GlobalOpt.cpp | 1498 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 D | load-cmp.ll | 15 @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 D | intercept.py | 40 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 D | LRTable.cpp | 58 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 D | VarBypassDetector.cpp | 140 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 D | TypeReferenceTracker.cpp | 80 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 D | regset.h | 22 #undef GS
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | GlobalStatus.h | 87 static bool analyzeGlobal(const Value *V, GlobalStatus &GS);
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | COFFLinkGraphBuilder.h | 103 [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 D | LTO.cpp | 208 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 D | partial_initializer.cl | 18 // 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 D | TestIRMemoryMapWindows.test | 3 # 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 D | barrier_removal.ll | 19 ; 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 D | TypeIndexDiscoveryTest.cpp | 538 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()
|