/external/llvm-project/clang/test/Analysis/inlining/ |
D | path-notes.cpp | 19 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/ |
D | memory-dereferenceable.ll | 19 @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/ |
D | memory-dereferenceable.ll | 20 @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/ |
D | BasicAliasAnalysisTest.cpp | 82 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/ |
D | malloc-in-qsort.cc | 17 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/ |
D | malloc-in-qsort.cpp | 17 int *GlobalPtr; variable 24 GlobalPtr = new int[10]; in QsortCallback() 39 return GlobalPtr[10]; in main()
|
/external/llvm-project/clang/test/Analysis/ |
D | Malloc+MismatchedDeallocator+NewDelete.cpp | 79 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/ |
D | Malloc+MismatchedDeallocator+NewDelete.cpp | 79 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/ |
D | AMDGPULegalizerInfo.cpp | 217 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/ |
D | path-notes.cpp | 19 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/ |
D | MCJITTest.cpp | 52 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/ |
D | MCJITTest.cpp | 54 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/ |
D | i386-exe.yaml | 43 GlobalPtr:
|
D | x86_64-exe.yaml | 43 GlobalPtr:
|
/external/llvm-project/lldb/test/Shell/Minidump/Windows/Inputs/ |
D | arm-fp-unwind.exe.yaml | 43 GlobalPtr:
|
D | broken-unwind.exe.yaml | 46 GlobalPtr:
|
/external/llvm-project/lldb/test/Shell/ObjectFile/PECOFF/ |
D | basic-info-arm64.yaml | 55 GlobalPtr:
|
D | basic-info.yaml | 55 GlobalPtr:
|
D | invalid-export-table.yaml | 50 GlobalPtr:
|
D | basic-info-arm.yaml | 55 GlobalPtr:
|
D | uuid.yaml | 49 GlobalPtr:
|
D | section-types.yaml | 51 GlobalPtr:
|
/external/llvm-project/lldb/test/Shell/Process/Windows/ |
D | launch_failure.yaml | 54 GlobalPtr:
|
/external/llvm-project/clang/test/Analysis/inlining/Inputs/expected-plists/ |
D | path-notes.cpp.plist | 70 <string>Null pointer value stored to 'globalPtr'</string> 72 <string>Null pointer value stored to 'globalPtr'</string> 776 <string>Null pointer value stored to 'globalPtr'</string> 778 <string>Null pointer value stored to 'globalPtr'</string> 1047 <string>Dereference of null pointer (loaded from variable 'globalPtr')</string> 1049 <string>Dereference of null pointer (loaded from variable 'globalPtr')</string> 1052 …<key>description</key><string>Dereference of null pointer (loaded from variable 'globalPtr&ap… 1106 <string>Null pointer value stored to 'globalPtr'</string> 1108 <string>Null pointer value stored to 'globalPtr'</string> 1377 <string>Dereference of null pointer (loaded from variable 'globalPtr')</string> [all …]
|
/external/llvm-project/llvm/test/tools/yaml2obj/COFF/ |
D | basic-arm64.yaml | 55 GlobalPtr:
|