Searched refs:globalPtr (Results 1 – 10 of 10) sorted by relevance
/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() 63 …*globalPtr = 1; // expected-warning {{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() 73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in Dereferencer() 78 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =() 83 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =() 88 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in ~Dereferencer() 110 globalPtr = 0; in testDefaultConstruction() [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() 63 …*globalPtr = 1; // expected-warning {{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() 73 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in Dereferencer() 78 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =() 83 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in operator =() 88 …*globalPtr = 1; // expected-warning {{Dereference of null pointer (loaded from variable 'globalPtr… in ~Dereferencer() 110 globalPtr = 0; in testDefaultConstruction() [all …]
|
/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/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/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-project/mlir/examples/toy/Ch6/mlir/ |
D | LowerToLLVM.cpp | 144 Value globalPtr = builder.create<LLVM::AddressOfOp>(loc, global); in getOrCreateGlobalString() local 149 loc, LLVM::LLVMType::getInt8PtrTy(builder.getContext()), globalPtr, in getOrCreateGlobalString()
|
/external/llvm-project/mlir/examples/toy/Ch7/mlir/ |
D | LowerToLLVM.cpp | 144 Value globalPtr = builder.create<LLVM::AddressOfOp>(loc, global); in getOrCreateGlobalString() local 149 loc, LLVM::LLVMType::getInt8PtrTy(builder.getContext()), globalPtr, in getOrCreateGlobalString()
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | tf_framework_legalize_to_llvm.cc | 303 Value globalPtr = builder.create<LLVM::AddressOfOp>( in GenerateErrorMessageConstant() local 311 loc, LLVM::LLVMPointerType::get(IntegerType::get(ctx, 8)), globalPtr, in GenerateErrorMessageConstant()
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | LLVMDialect.cpp | 1878 Value globalPtr = builder.create<LLVM::AddressOfOp>(loc, global); in createGlobalString() local 1883 globalPtr, ValueRange{cst0, cst0}); in createGlobalString()
|