/llvm-project/clang/test/Analysis/ |
H A D | hangs.c | 14 int g(void); 17 return y + g(); in f() 26 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 27 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 28 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 29 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 30 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 31 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 32 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() 33 x += y; y += x + g(); in produce_an_exponentially_exploding_symbol() [all …]
|
/llvm-project/flang/module/ |
H A D | ieee_arithmetic.f90 | 163 ! generic G. 169 #define SPECIFICS_I(G) \ 170 G(1) G(2) G(4) G(8) G(16) 171 #define SPECIFICS_L(G) \ 172 G(1) G( [all...] |
/llvm-project/llvm/unittests/XRay/ |
H A D | GraphTest.cpp | 37 std::remove_const_t<T> G; in getTestGraph() local 38 G.insert(make_pair(1u, VAttr({3u}))); in getTestGraph() 39 G.insert(make_pair(2u, VAttr({5u}))); in getTestGraph() 40 G.insert(make_pair(3u, VAttr({7u}))); in getTestGraph() 41 G.insert(make_pair(4u, VAttr({11u}))); in getTestGraph() 42 G.insert(make_pair(5u, VAttr({13u}))); in getTestGraph() 43 G.insert(make_pair(6u, VAttr({17u}))); in getTestGraph() 45 G.insert(std::make_pair(EI(1u, 2u), EAttr({3u * 5u}))); in getTestGraph() 46 G.insert(std::make_pair(EI(2u, 3u), EAttr({5u * 7u}))); in getTestGraph() 47 G.insert(std::make_pair(EI(6u, 3u), EAttr({2u * 7u * 17u}))); in getTestGraph() [all …]
|
/llvm-project/polly/lib/External/isl/ |
H A D | isl_tarjan.c | 17 struct isl_tarjan_graph *isl_tarjan_graph_free(struct isl_tarjan_graph *g) in isl_tarjan_graph_free() argument 19 if (!g) in isl_tarjan_graph_free() 21 free(g->node); in isl_tarjan_graph_free() 22 free(g->stack); in isl_tarjan_graph_free() 23 free(g->order); in isl_tarjan_graph_free() 24 free(g); in isl_tarjan_graph_free() 30 struct isl_tarjan_graph *g; in isl_tarjan_graph_alloc() local 33 g = isl_calloc_type(ctx, struct isl_tarjan_graph); in isl_tarjan_graph_alloc() 34 if (!g) in isl_tarjan_graph_alloc() 36 g->len = len; in isl_tarjan_graph_alloc() [all …]
|
H A D | isl_factorization.c | 147 static int init_groups(struct isl_factor_groups *g, __isl_keep isl_mat *H) in init_groups() argument 154 g->pos = isl_alloc_array(H->ctx, int, H->n_col); in init_groups() 155 g->group = isl_alloc_array(H->ctx, int, H->n_col); in init_groups() 156 g->cnt = isl_alloc_array(H->ctx, int, H->n_col); in init_groups() 157 g->rowgroup = isl_alloc_array(H->ctx, int, H->n_row); in init_groups() 159 if (!g->pos || !g->group || !g->cnt || !g->rowgroup) in init_groups() 163 g->rowgroup[i] = -1; in init_groups() 168 g->pos[i] = j; in init_groups() 171 g->group[i] = i; in init_groups() 172 g->cnt[i] = 1; in init_groups() [all …]
|
/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_bvgraph_test.cpp | 31 template<class G> 32 void PrintGraph(const G &g) { in PrintGraph() argument 33 for (uptr i = 0; i < g.size(); i++) { in PrintGraph() 34 for (uptr j = 0; j < g.size(); j++) { in PrintGraph() 35 fprintf(stderr, "%d", g.hasEdge(i, j)); in PrintGraph() 51 template <class G> 52 void checkSameAs(G *g) { in checkSameAs() argument 56 EXPECT_TRUE(g->removeEdge(from, to)); in checkSameAs() 58 EXPECT_TRUE(g->empty()); in checkSameAs() 70 BVGraph<BV> g; in BasicTest() local [all …]
|
/llvm-project/llvm/test/CodeGen/AMDGPU/ |
H A D | div_i128.ll | 5 ; RUN: llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -o - %s | FileCheck -check-prefixes=GFX9-G %s 6 ; RUN: llc -O0 -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -o - %s | FileCheck -check-prefixes=GFX9-G-O0 %s 1224 ; GFX9-G-LABEL: v_sdiv_i128_vv: 1225 ; GFX9-G: ; %bb.0: ; %_udiv-special-cases 1226 ; GFX9-G-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 1227 ; GFX9-G-NEXT: v_ashrrev_i32_e32 v16, 31, v3 1228 ; GFX9-G-NEXT: v_xor_b32_e32 v0, v16, v0 1229 ; GFX9-G-NEXT: v_xor_b32_e32 v1, v16, v1 1230 ; GFX9-G-NEXT: v_sub_co_u32_e32 v8, vcc, v0, v16 1231 ; GFX9-G [all...] |
/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_globals.cpp | 37 const Global *g = nullptr; 46 Global g = {}; 92 ALWAYS_INLINE void PoisonShadowForGlobal(const Global *g, u8 value) { in ReportGlobal() 93 FastPoisonShadow(g->beg, g->size_with_redzone, value); in ReportGlobal() 96 ALWAYS_INLINE void PoisonRedZones(const Global &g) { in ReportGlobal() 97 uptr aligned_size = RoundUpTo(g.size, ASAN_SHADOW_GRANULARITY); in ReportGlobal() 98 FastPoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size, in ReportGlobal() 100 if (g in ReportGlobal() 34 const Global *g; global() member 43 Global g; global() member 58 PoisonShadowForGlobal(const Global * g,u8 value) PoisonShadowForGlobal() argument 62 PoisonRedZones(const Global & g) PoisonRedZones() argument 76 IsAddressNearGlobal(uptr addr,const __asan_global & g) IsAddressNearGlobal() argument 82 ReportGlobal(const Global & g,const char * prefix) ReportGlobal() argument 101 FindRegistrationSite(const Global * g) FindRegistrationSite() argument 118 const Global &g = *l->g; GetGlobalsForAddress() local 141 CheckODRViolationViaIndicator(const Global * g) CheckODRViolationViaIndicator() argument 164 CheckODRViolationViaPoisoning(const Global * g) CheckODRViolationViaPoisoning() argument 194 UseODRIndicator(const Global * g) UseODRIndicator() argument 201 RegisterGlobal(const Global * g) RegisterGlobal() argument 242 UnregisterGlobal(const Global * g) UnregisterGlobal() argument 270 const Global *g = &dyn_g.g; StopInitOrderChecking() local 293 PrintGlobalNameIfASCII(InternalScopedString * str,const __asan_global & g) PrintGlobalNameIfASCII() argument 303 PrintGlobalLocation(InternalScopedString * str,const __asan_global & g,bool print_module_name) PrintGlobalLocation() argument 442 const Global *g = &dyn_g.g; __asan_before_dynamic_init() local 465 const Global *g = &dyn_g.g; __asan_after_dynamic_init() local [all...] |
/llvm-project/llvm/test/Transforms/SimplifyCFG/ |
H A D | poison-merge.ll | 10 ; CHECK-NEXT: i32 4, label [[G:%.*]] 11 ; CHECK-NEXT: i32 12, label [[G]] 13 ; CHECK: g: 14 ; CHECK-NEXT: [[K3:%.*]] = phi i64 [ undef, [[ENTRY:%.*]] ], [ [[K3]], [[G]] ], [ undef, [[ENTRY… 15 ; CHECK-NEXT: br label [[G]] 22 i32 12, label %g 26 %k2 = phi i64 [ %k3, %g ], [ undef, %entry ] 27 br label %g 29 g: 43 ; CHECK-NEXT: i32 4, label [[G:%.*]] [all …]
|
/llvm-project/compiler-rt/test/msan/ |
H A D | dtor-base-access.cpp | 34 Derived *g; variable 38 assert(__msan_test_shadow(&g->tb0, sizeof(g->tb0)) == -1); in ~Base() 39 assert(__msan_test_shadow(&g->b, sizeof(g->b)) == -1); in ~Base() 41 assert(__msan_test_shadow(&g->tb1, sizeof(g->tb1)) == 0); in ~Base() 42 assert(__msan_test_shadow(&g->d, sizeof(g->d)) == 0); in ~Base() 47 assert(__msan_test_shadow(&g->tb0, sizeof(g->tb0)) == -1); in ~Derived() 48 assert(__msan_test_shadow(&g->b, sizeof(g->b)) == -1); in ~Derived() 49 assert(__msan_test_shadow(&g->tb1, sizeof(g->tb1)) == -1); in ~Derived() 50 assert(__msan_test_shadow(&g->d, sizeof(g->d)) == -1); in ~Derived() 54 g = new Derived(); in main() [all …]
|
/llvm-project/flang/test/Semantics/ |
H A D | resolve17.f90 | 35 interface g interface 43 interface g interface 50 ! Generic g should merge the two use-associated ones 54 call g(123) 55 call g(1.2) 59 interface g interface 74 ! Generic g should merge the two use-associated ones 77 use m5b, g => gg 78 call g(123) 79 call g(1.2) [all …]
|
/llvm-project/clang/test/Driver/ |
H A D | clang-g-opts.c | 1 // RUN: %clang -### -S %s 2>&1 | FileCheck --check-prefix=CHECK-WITHOUT-G %s 2 // RUN: %clang -### -S %s -g -target x86_64-linux-gnu 2>&1 \ 3 // RUN: | FileCheck --check-prefix=CHECK-WITH-G %s 6 // RUN: %clang -### -S %s -g -target x86_64-apple-darwin8 2>&1 \ 7 // RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF2 %s 8 // RUN: %clang -### -S %s -g -target i686-pc-openbsd 2>&1 \ 9 // RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF2 %s 10 // RUN: %clang -### -S %s -g -target x86_64-pc-freebsd 2>&1 \ 11 // RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF4 %s 12 // RUN: %clang -### -S %s -g --target=x86_64-unknown-haiku 2>&1 \ [all …]
|
/llvm-project/clang/utils/VtableTest/ |
H A D | gen.cc | 20 void g(const char *c) { in g() function 24 void g(int i) { in g() function 82 g("struct s"); in gs() 84 g("class s"); in gs() 85 g(s); in gs() 97 g(": "); in gs() 99 g(", "); in gs() 103 g("virtual "); in gs() 115 g("public "); break; in gs() 122 g("private "); break; in gs() [all …]
|
/llvm-project/llvm/unittests/ExecutionEngine/JITLink/ |
H A D | LinkGraphTests.cpp | 24 LinkGraph G("foo", std::make_shared<orc::SymbolStringPool>(), 27 EXPECT_EQ(G.getName(), "foo"); 28 EXPECT_EQ(G.getTargetTriple().str(), "x86_64-apple-darwin"); 29 EXPECT_EQ(G.getPointerSize(), 8U); 30 EXPECT_EQ(G.getEndianness(), llvm::endianness::little); 31 EXPECT_TRUE(G.external_symbols().empty()); 32 EXPECT_TRUE(G.absolute_symbols().empty()); 33 EXPECT_TRUE(G.defined_symbols().empty()); 34 EXPECT_TRUE(G.blocks().empty()); 39 LinkGraph G("fo 63 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 77 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 96 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 114 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 167 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 256 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 326 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 395 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 443 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 478 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 512 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 560 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 646 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 742 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 763 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local 788 LinkGraph G("foo", Triple("x86_64-apple-darwin"), 8, llvm::endianness::little, TEST() local [all...] |
/llvm-project/llvm/test/Transforms/InstSimplify/ |
H A D | opaque-ptr.ll | 32 ; CHECK-NEXT: [[G:%.*]] = getelementptr { i64, i64 }, ptr [[P:%.*]], <2 x i64> zeroinitializer, … 33 ; CHECK-NEXT: ret <2 x ptr> [[G]] 35 %g = getelementptr { i64, i64 }, ptr %p, <2 x i64> zeroinitializer, i32 0 36 ret <2 x ptr> %g 43 %g = getelementptr { i64, i64 }, <2 x ptr> %p, <2 x i64> zeroinitializer, i32 0 44 ret <2 x ptr> %g 51 %g = getelementptr { i64, i64 }, <2 x ptr> %p, i64 0, i32 0 52 ret <2 x ptr> %g 55 @g = external global [2 x i32] 59 ; CHECK-NEXT: ret ptr @g [all …]
|
/llvm-project/llvm/test/Transforms/SCCP/ |
H A D | ipscp-drop-argmemonly.ll | 9 @g = internal global i32 0 14 ; CHECK: @[[G:[a-zA-Z0-9_$"\\.-]+]] = internal global i32 0 19 ; CHECK-NEXT: store i32 10, ptr @g, align 4 28 ; CHECK-NEXT: store i32 1, ptr @g, align 4 29 ; CHECK-NEXT: tail call void @ptrarg.1(ptr @g, i32 10) 30 ; CHECK-NEXT: [[G_VAL:%.*]] = load i32, ptr @g, align 4 33 store i32 1, ptr @g 34 tail call void @ptrarg.1(ptr @g, i32 10) 35 %g.val = load i32, ptr @g 36 ret i32 %g.val [all …]
|
/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ |
H A D | prelegalizercombiner-not-really-equiv-insts.mir | 5 @g = external hidden unnamed_addr global i32, align 4 27 ; CHECK: %ptr:_(p0) = G_GLOBAL_VALUE @g 28 ; CHECK-NEXT: %load1:_(s32) = G_LOAD %ptr(p0) :: (load (s32) from @g) 29 ; CHECK-NEXT: %load2:_(s32) = G_LOAD %ptr(p0) :: (load (s32) from @g) 31 ; CHECK-NEXT: G_STORE %or(s32), %ptr(p0) :: (store (s32) into @g) 33 %ptr:_(p0) = G_GLOBAL_VALUE @g 34 %load1:_(s32) = G_LOAD %ptr(p0) :: (load (s32) from @g) 35 %load2:_(s32) = G_LOAD %ptr(p0) :: (load (s32) from @g) 37 G_STORE %or(s32), %ptr(p0) :: (store (s32) into @g) 52 ; CHECK: %ptr:_(p0) = G_GLOBAL_VALUE @g [all …]
|
/llvm-project/llvm/unittests/ADT/ |
H A D | BreadthFirstIteratorTest.cpp | 26 Graph<4> G; in TEST() 27 G.AddEdge(0, 1); in TEST() 28 G.AddEdge(0, 2); in TEST() 29 G.AddEdge(1, 3); in TEST() 31 auto It = BFIter::begin(G); in TEST() 32 auto End = BFIter::end(G); in TEST() 34 EXPECT_EQ(*It, G.AccessNode(0)); in TEST() 37 EXPECT_EQ(*It, G.AccessNode(1)); in TEST() 40 EXPECT_EQ(*It, G.AccessNode(2)); in TEST() 43 EXPECT_EQ(*It, G in TEST() 20 Graph<4> G; TEST() local 45 Graph<4> G; TEST() local [all...] |
/llvm-project/llvm/test/CodeGen/SPARC/ |
H A D | reserved-regs.ll | 12 @g = common global [32 x i32] zeroinitializer, align 16 35 %0 = load volatile i32, ptr @g, align 16 36 %1 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 1), align 4 37 %2 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 2), align 8 38 %3 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 3), align 4 39 %4 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 4), align 16 40 %5 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 5), align 4 41 %6 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 6), align 8 42 %7 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i64 0, i64 7), align 4 43 %8 = load volatile i32, ptr getelementptr inbounds ([32 x i32], ptr @g, i6 [all...] |
/llvm-project/lld/docs/ |
H A D | partitions.svg | 6 <!-- Title: G Pages: 1 --> 9 <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 184)"> 10 <title>G</title> 13 <g id="node1" class="node"><title>part_main</title> 15 </g> 17 <g id="node4" class="node"><title>main</title> 20 </g> 22 <g id="edge1" class="edge"><title>part_main->main</title> 25 </g> 27 <g id="node2" class="node"><title>part1</title> [all …]
|
/llvm-project/llvm/test/Transforms/Inline/ |
H A D | inline-funclets.ll | 4 declare void @g() 10 define void @test1() personality ptr @g { 17 call void @g() [ "funclet"(token %pad) ] 23 define void @test1_inlinee() alwaysinline personality ptr @g { 25 invoke void @g() 27 ; CHECK-NEXT: invoke void @g() 32 call void @g() [ "funclet"(token %pad.inner) ] 38 ; CHECK-NEXT: call void @g() [ "funclet"(token %[[pad_inner]]) ] 43 call void @g() [ "funclet"(token %pad.outer) ] 48 ; CHECK-NEXT: invoke void @g() [ "funclet"(token %[[pad_outer]]) ] [all …]
|
/llvm-project/compiler-rt/test/cfi/ |
H A D | simple-pass.cpp | 17 void g(); 21 void A::g() {} in g() function in A 25 void g(); 29 void A2::g() {} in g() function in A2 33 void g() {} in g() function 38 void g() {} in g() function 45 void g(); 49 void C::g() {} in g() function in __anon56084e2e0111::C 53 void g(); 57 void C2::g() {} in g() function in __anon56084e2e0111::C2 [all …]
|
/llvm-project/libclc/generic/lib/math/ |
H A D | tgamma.cl | 32 float g = exp(lg); 36 g = g * ax * z; 37 g = pi / g; 38 g = g == 0 ? as_float(PINFBITPATT_SP32) : g; 39 g = z == 0 ? as_float(QNANBITPATT_SP32) : g; [all...] |
/llvm-project/llvm/test/CodeGen/Mips/msa/ |
H A D | emergency-spill.mir | 15 %g = alloca ptr, align 8 34 store ptr %7, ptr %g, align 8 35 %8 = load ptr, ptr %g, align 8 37 %9 = load ptr, ptr %g, align 8 122 - { id: 6, name: g, type: default, offset: 0, size: 8, alignment: 8, 146 SD killed $at_64, %stack.6.g, 0 :: (store (s64) into %ir.g) 147 $a1_64 = LD %stack.6.g, 0 :: (dereferenceable load (s64) from %ir.g) 152 $at_64 = LD %stack.6.g, [all...] |
/llvm-project/llvm/lib/Support/ |
H A D | SHA256.cpp | 43 #define F_EXPAND(A, B, C, D, E, F, G, H, M1, M2, M3, M4, k) \ argument 45 H += SIGMA_1(E) + CH(E, F, G) + M1 + k; \ 71 uint32_t G = InternalState.State[6]; in hashBlock() local 91 F_EXPAND(A, B, C, D, E, F, G, H, W00, W14, W09, W01, 0x428A2F98); in hashBlock() 92 F_EXPAND(H, A, B, C, D, E, F, G, W01, W15, W10, W02, 0x71374491); in hashBlock() 93 F_EXPAND(G, H, A, B, C, D, E, F, W02, W00, W11, W03, 0xB5C0FBCF); in hashBlock() 94 F_EXPAND(F, G, H, A, B, C, D, E, W03, W01, W12, W04, 0xE9B5DBA5); in hashBlock() 95 F_EXPAND(E, F, G, H, A, B, C, D, W04, W02, W13, W05, 0x3956C25B); in hashBlock() 96 F_EXPAND(D, E, F, G, H, A, B, C, W05, W03, W14, W06, 0x59F111F1); in hashBlock() 97 F_EXPAND(C, D, E, F, G, H, A, B, W06, W04, W15, W07, 0x923F82A4); in hashBlock() [all …]
|