Home
last modified time | relevance | path

Searched refs:global_var (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/
Dmain.c3 int global_var = 10; variable
8 printf("Set a breakpoint here: %d.\n", global_var); in main()
9 global_var = 20; in main()
10 printf("We should have stopped on the previous line: %d.\n", global_var); in main()
11 global_var = 30; in main()
/external/llvm-project/lldb/source/Expression/
DExpressionVariable.cpp65 for (const IRExecutionUnit::JittedGlobalVariable &global_var : in RegisterExecutionUnit() local
67 if (global_var.m_remote_addr != LLDB_INVALID_ADDRESS) { in RegisterExecutionUnit()
71 Mangled mangler(global_var.m_name); in RegisterExecutionUnit()
73 m_symbol_map[global_var.m_name.GetCString()] = global_var.m_remote_addr; in RegisterExecutionUnit()
75 global_var.m_name.GetCString(), global_var.m_remote_addr); in RegisterExecutionUnit()
/external/compiler-rt/test/asan/TestCases/
Ddebug_locate.cc13 int global_var; variable
24 type = __asan_locate_address(&global_var, name, 100, in main()
28 assert(region_address == &global_var); in main()
29 assert(region_size == sizeof(global_var)); in main()
31 type = __asan_locate_address((char *)(&global_var)+1, name, 100, in main()
35 assert(region_address == &global_var); in main()
36 assert(region_size == sizeof(global_var)); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/
Ddebug_locate.cpp13 int global_var; variable
24 type = __asan_locate_address(&global_var, name, 100, in main()
28 assert(region_address == &global_var); in main()
29 assert(region_size == sizeof(global_var)); in main()
31 type = __asan_locate_address((char *)(&global_var)+1, name, 100, in main()
35 assert(region_address == &global_var); in main()
36 assert(region_size == sizeof(global_var)); in main()
/external/clang/test/Index/Inputs/
Dt2.c3 int global_var = 10; variable
6 global_var += 100; in bar_func()
7 foo_func(global_var); in bar_func()
Dt1.c4 int local_var = global_var; in foo_func()
28 int (^CP)(int) = ^(int x) { return x * global_var; };
Dfoo.h1 extern int global_var;
/external/llvm-project/clang/test/Index/Inputs/
Dt2.c3 int global_var = 10; variable
6 global_var += 100; in bar_func()
7 foo_func(global_var); in bar_func()
Dt1.c4 int local_var = global_var; in foo_func()
28 int (^CP)(int) = ^(int x) { return x * global_var; };
Dfoo.h1 extern int global_var;
/external/llvm-project/compiler-rt/test/tsan/
Ddebug_locate.cpp11 long global_var; variable
18 fprintf(stderr, "global_var = %p\n", &global_var); in main()
32 type = __tsan_locate_address(&global_var, name, 128, &start, &size); in main()
/external/llvm-project/llvm/test/DebugInfo/Generic/
Dinline-debug-info.ll7 ; 2 extern int global_var;
19 ; 14 test(global_var);
22 ; 17 global_var = 0;
24 ; 19 global_var = 1;
42 @global_var = external global i32
83 %0 = load i32, i32* @global_var, align 4, !dbg !21
112 store i32 0, i32* @global_var, align 4, !dbg !26
117 store i32 1, i32* @global_var, align 4, !dbg !29
Dinline-debug-info-multiret.ll21 @global_var = external global i32
65 %0 = load i32, i32* @global_var, align 4, !dbg !21
94 store i32 0, i32* @global_var, align 4, !dbg !26
99 store i32 1, i32* @global_var, align 4, !dbg !29
/external/llvm/test/DebugInfo/Generic/
Dinline-debug-info.ll7 ; 2 extern int global_var;
19 ; 14 test(global_var);
22 ; 17 global_var = 0;
24 ; 19 global_var = 1;
42 @global_var = external global i32
83 %0 = load i32, i32* @global_var, align 4, !dbg !21
112 store i32 0, i32* @global_var, align 4, !dbg !26
117 store i32 1, i32* @global_var, align 4, !dbg !29
Dinline-debug-info-multiret.ll21 @global_var = external global i32
65 %0 = load i32, i32* @global_var, align 4, !dbg !21
94 store i32 0, i32* @global_var, align 4, !dbg !26
99 store i32 1, i32* @global_var, align 4, !dbg !29
/external/llvm/test/MC/AMDGPU/
Dreloc.s12 s_mov_b32 s2, global_var@GOTPCREL
14 .globl global_var symbol
/external/llvm-project/clang/test/Analysis/
Dstack-addr-ps.cpp42 int global_var; variable
44 int &y = global_var; in f1()
/external/clang/test/Analysis/
Dstack-addr-ps.cpp42 int global_var; variable
44 int &y = global_var; in f1()
/external/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/
Dirtranslator-exceptions.ll104 ; CHECK: G_STORE [[PHI_ELEVEN]](s32), {{%[0-9]+}}(p0) :: (store 4 into @global_var)
110 @global_var = external global i32
114 store i32 42, i32* @global_var
122 store i32 %p, i32* @global_var
/external/llvm/test/DebugInfo/X86/
Ddwarf-linkage-names.ll11 ; int global_var;
12 ; int bar() { return global_var; }
65 !10 = !DIGlobalVariable(name: "global_var", linkageName: "_ZN4test10global_varE", scope: !5, file: …
/external/llvm-project/llvm/test/DebugInfo/X86/
Ddwarf-linkage-names.ll11 ; int global_var;
12 ; int bar() { return global_var; }
59 !1 = !DIGlobalVariable(name: "global_var", linkageName: "_ZN4test10global_varE", scope: !2, file: !…
/external/llvm-project/lld/test/wasm/
Dweak-undefined.s5 # Test that undefined weak externals (global_var) and (foo) don't cause
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DIRForTarget.cpp1432 for (GlobalVariable &global_var : m_module->globals()) { in ResolveExternals()
1433 llvm::StringRef global_name = global_var.getName(); in ResolveExternals()
1436 static_cast<void *>(DeclForGlobal(&global_var))); in ResolveExternals()
1439 if (!HandleSymbol(&global_var)) { in ResolveExternals()
1447 if (!HandleObjCClass(&global_var)) { in ResolveExternals()
1454 if (!HandleObjCClass(&global_var)) { in ResolveExternals()
1460 } else if (DeclForGlobal(&global_var)) { in ResolveExternals()
1461 if (!MaybeHandleVariable(&global_var)) { in ResolveExternals()
/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Dlower-em-sjlj.ll9 @global_var = global i32 0, align 4
152 %0 = load i32, i32* @global_var, align 4
155 store i32 %0, i32* @global_var, align 4
158 ; CHECK: %[[VAR0:.*]] = load i32, i32* @global_var, align 4
166 ; CHECK: store i32 %[[VAR1]], i32* @global_var, align 4
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc69 for (llvm::GlobalVariable& global_var : cloned_module->globals()) { in DropConstantInitializers()
70 global_var.setInitializer(nullptr); in DropConstantInitializers()
71 global_var.setLinkage(llvm::GlobalValue::LinkageTypes::ExternalLinkage); in DropConstantInitializers()

12