Home
last modified time | relevance | path

Searched refs:Ptr2 (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/clang/test/SemaCXX/
Dmatrix-type-builtins.cpp28 void test_transpose_template(unsigned *Ptr1, float *Ptr2) { in test_transpose_template() argument
55 void test_column_major_loads_template(unsigned *Ptr1, float *Ptr2) { in test_column_major_loads_template() argument
63 Mat1.value = column_major_load<float, 2, 3, unsigned, 2, 3>(Mat2, Ptr2); in test_column_major_loads_template()
117 …es_template(MyMatrix<unsigned, 2, 3> &M1, unsigned *Ptr1, MyMatrix<float, 3, 4> &M2, float *Ptr2) { in test_column_major_stores_template() argument
118 column_major_store(M1, Ptr2, 10); in test_column_major_stores_template()
121 column_major_store<decltype(M2), float *, 1>(M2, Ptr2); in test_column_major_stores_template()
139 void test_column_major_store_template(unsigned *Ptr1, float *Ptr2) { in test_column_major_store_template() argument
143 column_major_store<unsigned, 2, 3, float>(Mat1, Ptr2); in test_column_major_store_template()
Dmatrix-type-operators.cpp24 void test_add_template(unsigned *Ptr1, float *Ptr2) { in test_add_template() argument
52 void test_subtract_template(unsigned *Ptr1, float *Ptr2) { in test_subtract_template() argument
86 void test_multiply_template(unsigned *Ptr1, float *Ptr2) { in test_multiply_template() argument
Dunaddressable-functions.cpp64 auto Ptr2 = bar; in test() local
/external/llvm-project/clang/test/OpenMP/
Dnvptx_target_codegen.cpp44 void targetBar(int *Ptr1, int *Ptr2) { in targetBar() argument
45 #pragma omp target map(Ptr1[:0], Ptr2) in targetBar()
47 *Ptr1 = *Ptr2; in targetBar()
/external/llvm-project/compiler-rt/test/ubsan/TestCases/TypeCheck/
Dvptr-ptrauth-unauthenticated.cpp29 S *Ptr2 = reinterpret_cast<S *>(Ptr); in main() local
30 return Ptr2->v(); in main()
Dvptr-corrupted-vtable-itanium.cpp50 S* Ptr2 = reinterpret_cast<S*>(Ptr); in main() local
51 return Ptr2->v(); in main()
/external/compiler-rt/test/ubsan/TestCases/TypeCheck/
Dvptr-corrupted-vtable-itanium.cpp39 S* Ptr2 = reinterpret_cast<S*>(Ptr); in main() local
40 return Ptr2->v(); in main()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h70 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
109 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
113 Value *emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B,
117 Value *emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h71 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
106 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
110 Value *emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
114 Value *emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len,
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-unhandled-self-assignment.cpp528 Uy *Ptr2; member in NotACopyAssignmentOperator
533 Ptr2 = RHS.getTy(); in operator =()
538 Uy *getUy() const { return Ptr2; } in getUy()
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h54 Value *emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
79 Value *emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B,
/external/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp277 Value *Ptr2 = in needsChecking() local
279 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
280 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DMemCpyOptimizer.cpp72 static bool IsPointerOffset(Value *Ptr1, Value *Ptr2, int64_t &Offset, in IsPointerOffset() argument
75 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset()
78 if (Ptr1 == Ptr2) { in IsPointerOffset()
84 GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in IsPointerOffset()
90 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp315 Value *Ptr2 = in needsChecking() local
317 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
318 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp316 Value *Ptr2 = in needsChecking() local
318 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
319 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp1053 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitStrNCmp() argument
1059 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitStrNCmp()
1132 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitMemCmp() argument
1138 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitMemCmp()
1141 Value *llvm::emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilderBase &B, in emitBCmp() argument
1147 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitBCmp()
1150 Value *llvm::emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len, in emitMemCCpy() argument
1155 {Ptr1, Ptr2, Val, Len}, B, TLI); in emitMemCCpy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp868 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
874 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitStrNCmp()
938 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
944 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitMemCmp()
947 Value *llvm::emitBCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitBCmp() argument
953 {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, B, TLI); in emitBCmp()
956 Value *llvm::emitMemCCpy(Value *Ptr1, Value *Ptr2, Value *Val, Value *Len, in emitMemCCpy() argument
961 {Ptr1, Ptr2, Val, Len}, B, TLI); in emitMemCCpy()
/external/clang/test/SemaCXX/
Dunaddressable-functions.cpp64 auto Ptr2 = bar; in test() local
/external/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp752 Value *llvm::emitStrNCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitStrNCmp() argument
764 StrNCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "strncmp"); in emitStrNCmp()
847 Value *llvm::emitMemCmp(Value *Ptr1, Value *Ptr2, Value *Len, IRBuilder<> &B, in emitMemCmp() argument
859 MemCmp, {castToCStr(Ptr1, B), castToCStr(Ptr2, B), Len}, "memcmp"); in emitMemCmp()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DValueTracking.h686 Optional<int64_t> isPointerOffset(const Value *Ptr1, const Value *Ptr2,
/external/clang/include/clang/Analysis/
DCFG.h75 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
77 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) {
/external/llvm-project/llvm/include/llvm/Analysis/
DValueTracking.h771 Optional<int64_t> isPointerOffset(const Value *Ptr1, const Value *Ptr2,
/external/llvm-project/clang/include/clang/Analysis/
DCFG.h86 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
88 Data2(const_cast<void*>(Ptr2), (((unsigned) kind) >> 2) & 0x3) {
/external/llvm-project/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h78 template<typename U, typename Ptr2, typename Ref2>
79 difference_type operator-(const __vector_iterator<U, Ptr2, Ref2> &rhs);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp5922 Optional<int64_t> llvm::isPointerOffset(const Value *Ptr1, const Value *Ptr2, in isPointerOffset() argument
5925 Ptr2 = Ptr2->stripPointerCasts(); in isPointerOffset()
5928 if (Ptr1 == Ptr2) { in isPointerOffset()
5933 const GEPOperator *GEP2 = dyn_cast<GEPOperator>(Ptr2); in isPointerOffset()
5968 auto Offset = getOffsetFromBase(GEP1, Ptr2); in isPointerOffset()

12