Home
last modified time | relevance | path

Searched full:globalptr (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/clang/test/Analysis/inlining/
Dpath-notes.cpp19 static int *globalPtr; variable
24 Foo f(globalPtr); in ~Bar()
32 globalPtr = 0; in test()
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in test()
63 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
64 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
68 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
69 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
74 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
[all …]
/external/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll19 @globalptr.align1 = external global i8, align 1
20 @globalptr.align16 = external global i8, align 16
29 ; CHECK: %globalptr{{.*}}(aligned)
30 %globalptr = getelementptr inbounds [6 x i8], [6 x i8]* @globalstr, i32 0, i32 0
31 %load1 = load i8, i8* %globalptr
86 ; CHECK: @globalptr.align1{{.*}}(unaligned)
87 ; CHECK: @globalptr.align16{{.*}}(aligned)
88 %load13 = load i8, i8* @globalptr.align1, align 16
89 %load14 = load i8, i8* @globalptr.align16, align 16
/external/llvm-project/llvm/test/Analysis/ValueTracking/
Dmemory-dereferenceable.ll20 @globalptr.align1 = external global i8, align 1
21 @globalptr.align16 = external global i8, align 16
33 ; CHECK: %globalptr{{.*}}(aligned)
34 %globalptr = getelementptr inbounds [6 x i8], [6 x i8]* @globalstr, i32 0, i32 0
35 %load1 = load i8, i8* %globalptr
104 ; CHECK: @globalptr.align1{{.*}}(unaligned)
105 ; CHECK: @globalptr.align16{{.*}}(aligned)
106 %load13 = load i8, i8* @globalptr.align1, align 16
107 %load14 = load i8, i8* @globalptr.align16, align 16
/external/llvm-project/llvm/unittests/Analysis/
DBasicAliasAnalysisTest.cpp82 auto *GlobalPtr = in TEST_F() local
87 GlobalPtr->setLinkage(GlobalValue::LinkageTypes::InternalLinkage); in TEST_F()
88 GlobalPtr->setInitializer(B.getInt8(0)); in TEST_F()
95 MemoryLocation(GlobalPtr, LocationSize::precise(1)), AAQI), in TEST_F()
100 MemoryLocation(GlobalPtr, LocationSize::precise(1)), AAQI), in TEST_F()
/external/compiler-rt/test/asan/TestCases/Linux/
Dmalloc-in-qsort.cc17 int *GlobalPtr; variable
24 GlobalPtr = new int[10]; in QsortCallback()
39 return GlobalPtr[10]; in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dmalloc-in-qsort.cpp17 int *GlobalPtr; variable
24 GlobalPtr = new int[10]; in QsortCallback()
39 return GlobalPtr[10]; in main()
/external/llvm-project/clang/test/Analysis/
DMalloc+MismatchedDeallocator+NewDelete.cpp79 static int *globalPtr; variable
96 globalPtr = p; in testShouldReportDoubleFreeNotMismatched()
98 delete globalPtr; // expected-warning {{Attempt to free released memory}} in testShouldReportDoubleFreeNotMismatched()
105 globalPtr = arr; in testMismatchedChangePointeeThroughAssignment()
/external/clang/test/Analysis/
DMalloc+MismatchedDeallocator+NewDelete.cpp79 static int *globalPtr; variable
96 globalPtr = p; in testShouldReportDoubleFreeNotMismatched()
98 delete globalPtr; // expected-warning {{Attempt to free released memory}} in testShouldReportDoubleFreeNotMismatched()
105 globalPtr = arr; in testMismatchedChangePointeeThroughAssignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp217 const LLT GlobalPtr = GetAddrSpacePtr(AMDGPUAS::GLOBAL_ADDRESS); in AMDGPULegalizerInfo() local
228 GlobalPtr, ConstantPtr, FlatPtr in AMDGPULegalizerInfo()
318 .legalFor({S1, S32, S64, S16, V2S32, V4S32, V2S16, V4S16, GlobalPtr, in AMDGPULegalizerInfo()
331 .legalFor({S1, S32, S64, S16, GlobalPtr, in AMDGPULegalizerInfo()
339 .customFor({LocalPtr, GlobalPtr, ConstantPtr, Constant32Ptr}); in AMDGPULegalizerInfo()
521 {S1}, {S32, S64, GlobalPtr, LocalPtr, ConstantPtr, PrivatePtr, FlatPtr}) in AMDGPULegalizerInfo()
523 {S32}, {S32, S64, GlobalPtr, LocalPtr, ConstantPtr, PrivatePtr, FlatPtr}); in AMDGPULegalizerInfo()
713 Actions.legalForTypesWithMemDesc({{S32, GlobalPtr, 32, GlobalAlign32}, in AMDGPULegalizerInfo()
714 {V2S32, GlobalPtr, 64, GlobalAlign32}, in AMDGPULegalizerInfo()
715 {V3S32, GlobalPtr, 96, GlobalAlign32}, in AMDGPULegalizerInfo()
[all …]
/external/clang/test/Analysis/inlining/
Dpath-notes.cpp19 static int *globalPtr; variable
24 Foo f(globalPtr); in ~Bar()
32 globalPtr = 0; in test()
33 // expected-note@-1 {{Null pointer value stored to 'globalPtr'}} in test()
63 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
64 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
68 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
69 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr in Dereferencer()
74 // expected-note@-1 {{Dereference of null pointer (loaded from variable 'globalPtr')}} in Dereferencer()
[all …]
/external/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp52 void *globalPtr = TheJIT->getPointerToGlobal(Global); in TEST_F() local
53 EXPECT_TRUE(nullptr != globalPtr) in TEST_F()
56 EXPECT_EQ(initialValue, *(int32_t*)globalPtr) in TEST_F()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp54 void *globalPtr = TheJIT->getPointerToGlobal(Global); in TEST_F() local
55 EXPECT_TRUE(nullptr != globalPtr) in TEST_F()
58 EXPECT_EQ(initialValue, *(int32_t*)globalPtr) in TEST_F()
/external/llvm-project/llvm/test/tools/llvm-objcopy/COFF/Inputs/
Di386-exe.yaml43 GlobalPtr:
Dx86_64-exe.yaml43 GlobalPtr:
/external/llvm-project/lldb/test/Shell/Minidump/Windows/Inputs/
Darm-fp-unwind.exe.yaml43 GlobalPtr:
Dbroken-unwind.exe.yaml46 GlobalPtr:
/external/llvm-project/lldb/test/Shell/ObjectFile/PECOFF/
Dbasic-info-arm64.yaml55 GlobalPtr:
Dbasic-info.yaml55 GlobalPtr:
Dinvalid-export-table.yaml50 GlobalPtr:
Dbasic-info-arm.yaml55 GlobalPtr:
Duuid.yaml49 GlobalPtr:
Dsection-types.yaml51 GlobalPtr:
/external/llvm-project/lldb/test/Shell/Process/Windows/
Dlaunch_failure.yaml54 GlobalPtr:
/external/llvm-project/clang/test/Analysis/inlining/Inputs/expected-plists/
Dpath-notes.cpp.plist70 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
72 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
776 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
778 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1047 <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1049 <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
1052 …<key>description</key><string>Dereference of null pointer (loaded from variable &apos;globalPtr&ap…
1106 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1108 <string>Null pointer value stored to &apos;globalPtr&apos;</string>
1377 <string>Dereference of null pointer (loaded from variable &apos;globalPtr&apos;)</string>
[all …]
/external/llvm-project/llvm/test/tools/yaml2obj/COFF/
Dbasic-arm64.yaml55 GlobalPtr:

12