Home
last modified time | relevance | path

Searched refs:globalPtr (Results 1 – 10 of 10) sorted by relevance

/external/clang/test/Analysis/inlining/
Dpath-notes.cpp19 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/inlining/
Dpath-notes.cpp19 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/
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/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/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/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-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp144 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/Ch6/mlir/
DLowerToLLVM.cpp144 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/
Dtf_framework_legalize_to_llvm.cc303 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/
DLLVMDialect.cpp1878 Value globalPtr = builder.create<LLVM::AddressOfOp>(loc, global); in createGlobalString() local
1883 globalPtr, ValueRange{cst0, cst0}); in createGlobalString()