| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | InterpBlock.cpp | 24 if (Pointers) in addPointer() 25 Pointers->Prev = P; in addPointer() 26 P->Next = Pointers; in addPointer() 28 Pointers = P; in addPointer() 34 if (Pointers == P) in removePointer() 35 Pointers = P->Next; in removePointer() 43 if (Pointers == nullptr && IsDead) in cleanup() 56 if (Pointers == From) in movePointer() 57 Pointers = To; in movePointer() 74 B.Pointers = Blk->Pointers; in DeadBlock() [all …]
|
| H A D | InterpBlock.h | 49 bool hasPointers() const { return Pointers; } in hasPointers() 93 Pointer *Pointers = nullptr; variable
|
| /llvm-project-15.0.7/llvm/test/Analysis/AliasSet/ |
| H A D | memtransfer.ll | 9 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, LocationSize::prec… 10 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %s, LocationSize::prec… 19 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, unknown after) 20 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %s, unknown after) 30 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 33 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 46 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 49 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 62 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 65 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… [all …]
|
| H A D | saturation.ll | 5 ; CHECK: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %a, LocationSize::precise(4)) 6 ; CHECK: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %b, LocationSize::precise(4)) 7 ; CHECK: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %c, LocationSize::precise(4)) 8 ; CHECK: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %d, LocationSize::precise(4)) 22 ; NOSAT: AliasSet[{{.*}}, 2] may alias, Mod Pointers: (i32* %a, LocationSize::precise(4)), (i32* %a… 23 ; NOSAT: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %b, LocationSize::precise(4)) 26 ; SAT: AliasSet[0x[[FWD]], 2] may alias, Mod/Ref Pointers: (i32* %a, LocationSize::precise(4)), (i3… 38 ; NOSAT: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %a, LocationSize::precise(4)) 39 ; NOSAT: AliasSet[{{.*}}, 1] must alias, Mod Pointers: (i32* %b, LocationSize::precise(4)) 40 ; NOSAT: AliasSet[{{.*}}, 2] may alias, Mod Pointers: (i32* %c, LocationSize::precise(4)), (i32* %… [all …]
|
| H A D | guards.ll | 7 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %a, LocationSize::prec… 10 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %b, LocationSize::prec… 23 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %a, LocationSize::prec… 26 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 39 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 42 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %b, LocationSize::prec… 55 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 58 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 73 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %a, LocationSize::prec… 74 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %b, LocationSize::prec… [all …]
|
| H A D | argmemonly.ll | 8 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::p… 20 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, unknown before-… 21 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Ref Pointers: (i8* %s, unknown before-… 42 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod/Ref Pointers: (i8* %a, unknown before-or… 43 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, unknown before-or-aft… 54 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod/Ref Pointers: (i8* %a, unknown before-or… 55 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod/Ref Pointers: (i8* %b, unknown before-or… 77 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, unknown before-or-aft… 87 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, unknown before-or-aft… 108 ; CHECK-NEXT: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, unknown before-or-aft… [all …]
|
| H A D | intrinsics.ll | 5 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 7 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 21 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 24 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 38 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 3] may alias, Mod/Ref Pointers: (i8* %a, LocationSize::preci… 51 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 2] may alias, Mod/Ref Pointers: (i8* %a, LocationSize::preci… 53 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec… 66 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %a, LocationSize::prec… 68 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %b, LocationSize::prec…
|
| H A D | memset.ll | 8 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, LocationSize::prec… 17 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, unknown after) 27 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, LocationSize::prec… 36 ; CHECK: AliasSet[0x{{[0-9a-f]+}}, 1] must alias, Mod Pointers: (i8* %d, unknown after)
|
| /llvm-project-15.0.7/compiler-rt/test/gwp_asan/ |
| H A D | repeated_alloc.cpp | 15 void* Pointers[16]; in main() local 18 Pointers[i] = Ptr; in main() 24 free(Pointers[i]); in main()
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | allocation.bench.cpp | 100 std::vector<void*> Pointers(NumAllocs); in BM_DeallocateOnly() local 101 for (auto& p : Pointers) { in BM_DeallocateOnly() 105 void** Data = Pointers.data(); in BM_DeallocateOnly() 106 void** const End = Pointers.data() + Pointers.size(); in BM_DeallocateOnly()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | tsd_test.cpp | 184 static std::set<void *> Pointers; variable 205 Pointers.insert(Set.begin(), Set.end()); in stressSharedRegistry() 211 Pointers.clear(); in TEST() 235 EXPECT_LE(Pointers.size(), 8U); in TEST() 236 Pointers.clear(); in TEST() 251 EXPECT_EQ(Pointers.size(), 16U); in TEST()
|
| H A D | primary_test.cpp | 130 void *Pointers[NumberOfAllocations]; in SCUDO_TYPED_TEST() local 134 Pointers[J] = P; in SCUDO_TYPED_TEST() 137 Cache.deallocate(ClassId, Pointers[J]); in SCUDO_TYPED_TEST()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 112 SetVector<std::pair<const Value *, Type *>> Pointers; in runInternal() local 119 Pointers.insert({LI->getPointerOperand(), LI->getType()}); in runInternal() 122 Pointers.insert({SI->getPointerOperand(), in runInternal() 131 errs() << "Function: " << F.getName() << ": " << Pointers.size() in runInternal() 135 for (auto I1 = Pointers.begin(), E = Pointers.end(); I1 != E; ++I1) { in runInternal() 137 for (auto I2 = Pointers.begin(); I2 != I1; ++I2) { in runInternal() 219 for (const auto &Pointer : Pointers) { in runInternal()
|
| H A D | LoopAccessAnalysis.cpp | 178 : High(RtCheck.Pointers[Index].End), Low(RtCheck.Pointers[Index].Start), in RuntimeCheckingPtrGroup() 179 AddressSpace(RtCheck.Pointers[Index] in RuntimeCheckingPtrGroup() 256 PointerInfo *Src = &Pointers[CGI.Members[0]]; in tryToCreateDiffCheck() 257 PointerInfo *Sink = &Pointers[CGJ.Members[0]]; in tryToCreateDiffCheck() 382 Index, RtCheck.Pointers[Index].Start, RtCheck.Pointers[Index].End, in addPointer() 552 const PointerInfo &PointerI = Pointers[I]; in needsChecking() 553 const PointerInfo &PointerJ = Pointers[J]; in needsChecking() 1102 if (RtCheck.Pointers[i].DependencySetId == in canCheckPtrAtRT() 1103 RtCheck.Pointers[j].DependencySetId) in canCheckPtrAtRT() 1106 if (RtCheck.Pointers[i].AliasSetId != RtCheck.Pointers[j].AliasSetId) in canCheckPtrAtRT() [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 550 Alignments == Other.Alignments && Pointers == Other.Pointers; in operator ==() 594 auto I = lower_bound(Pointers, AddressSpace, in getPointerAlignElem() 598 if (I != Pointers.end() && I->AddressSpace == AddressSpace) in getPointerAlignElem() 602 assert(Pointers[0].AddressSpace == 0); in getPointerAlignElem() 603 return Pointers[0]; in getPointerAlignElem() 614 auto I = lower_bound(Pointers, AddrSpace, in setPointerAlignmentInBits() 618 if (I == Pointers.end() || I->AddressSpace != AddrSpace) { in setPointerAlignmentInBits() 619 Pointers.insert(I, in setPointerAlignmentInBits() 669 Pointers.clear(); in clear() 714 for (auto &P : Pointers) in getMaxIndexSize()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | AliasAnalysisTest.cpp | 48 SetVector<Value *> Pointers; in runOnFunction() local 51 Pointers.insert(&A); in runOnFunction() 54 Pointers.insert(&I); in runOnFunction() 56 for (Value *P1 : Pointers) in runOnFunction() 57 for (Value *P2 : Pointers) in runOnFunction()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/ |
| H A D | global-classes.cpp | 117 struct Pointers { struct 238 constexpr Pointers PointersInstance;
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | LoopAccessAnalysis.h | 423 Pointers.clear(); in reset() 437 bool empty() const { return Pointers.empty(); } in empty() 482 SmallVector<PointerInfo, 2> Pointers; variable 501 return Pointers[PtrIdx]; in getPointerInfo()
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | AddConstTest.cpp | 263 TEST(Arrays, Pointers) { in TEST() argument 392 TEST(Pointers, SingleBuiltin) { in TEST() argument 405 TEST(Pointers, MultiBuiltin) { in TEST() argument 418 TEST(Pointers, ToArray) { in TEST() argument 433 TEST(Pointers, Parens) { in TEST() argument 446 TEST(Pointers, Auto) { in TEST() argument 461 TEST(Pointers, AutoParens) { in TEST() argument 476 TEST(Pointers, FunctionPointer) { in TEST() argument 493 TEST(Pointers, MemberFunctionPointer) { in TEST() argument 512 TEST(Pointers, MemberDataPointer) { in TEST() argument
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/ |
| H A D | pro-bounds-array-to-pointer-decay.rst | 8 Pointers should not be used as arrays. ``span<T>`` is a bounds-checked, safe
|
| H A D | pro-bounds-pointer-arithmetic.rst | 9 Pointers should only refer to single objects, and pointer arithmetic is fragile
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | DataLayout.h | 165 PointersTy Pointers; variable 226 Pointers = DL.Pointers;
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | ptr-int-ptr-icmp.ll | 64 ; Negative test - Pointers in different address space 79 ; Negative test - Pointers in different address space
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopDetectionDiagnostic.cpp | 642 Pointers.push_back(I.getValue()); in ReportAlias() 652 for (PointerSnapshotTy::const_iterator PI = Pointers.begin(), in formatInvalidAlias() 653 PE = Pointers.end(); in formatInvalidAlias()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | qualified-auto.rst | 35 ``volatile`` qualifiers. Pointers to pointers will not be fully qualified.
|