Home
last modified time | relevance | path

Searched refs:Ptr1 (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
31 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_transpose_template()
55 void test_column_major_loads_template(unsigned *Ptr1, float *Ptr2) { in test_column_major_loads_template() argument
57 Mat1.value = column_major_load<unsigned, 2, 3, unsigned, 2, 3>(Mat1, Ptr1); in test_column_major_loads_template()
59 column_major_load<unsigned, 2, 3, unsigned, 5, 5>(Mat1, Ptr1); in test_column_major_loads_template()
117 void test_column_major_stores_template(MyMatrix<unsigned, 2, 3> &M1, unsigned *Ptr1, MyMatrix<float… in test_column_major_stores_template() argument
139 void test_column_major_store_template(unsigned *Ptr1, float *Ptr2) { in test_column_major_store_template() argument
141 column_major_store<unsigned, 2, 3, unsigned>(Mat1, Ptr1); in test_column_major_store_template()
147 column_major_store<float, 2, 3, unsigned>(Mat2, Ptr1); in test_column_major_store_template()
Dmatrix-type-operators.cpp24 void test_add_template(unsigned *Ptr1, float *Ptr2) { in test_add_template() argument
28 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_add_template()
52 void test_subtract_template(unsigned *Ptr1, float *Ptr2) { in test_subtract_template() argument
56 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_subtract_template()
86 void test_multiply_template(unsigned *Ptr1, float *Ptr2) { in test_multiply_template() argument
90 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_multiply_template()
Dunaddressable-functions.cpp63 auto Ptr1 = foo; // expected-error{{cannot take address of function 'foo'}} 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/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.cpp527 Ty *Ptr1; member in NotACopyAssignmentOperator
532 Ptr1 = RHS.getUy(); in operator =()
537 Ty *getTy() const { return Ptr1; } in getTy()
/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.cpp275 Value *Ptr1 = 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
74 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset()
78 if (Ptr1 == Ptr2) { in IsPointerOffset()
83 GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in IsPointerOffset()
95 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp313 Value *Ptr1 = in needsChecking() local
317 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
318 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DLoopFuse.cpp874 Value *Ptr1 = getLoadStorePointerOperand(&I1); in accessDiffIsPositive() local
875 if (!Ptr0 || !Ptr1) in accessDiffIsPositive()
879 const SCEV *SCEVPtr1 = SE.getSCEVAtScope(Ptr1, &L1); in accessDiffIsPositive()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp314 Value *Ptr1 = in needsChecking() local
318 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking()
319 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
DLoopFuse.cpp1055 Value *Ptr1 = getLoadStorePointerOperand(&I1); in accessDiffIsPositive() local
1056 if (!Ptr0 || !Ptr1) in accessDiffIsPositive()
1060 const SCEV *SCEVPtr1 = SE.getSCEVAtScope(Ptr1, &L1); in accessDiffIsPositive()
/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.cpp63 auto Ptr1 = foo; // expected-error{{cannot take address of function 'foo'}} 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/llvm/lib/Transforms/Vectorize/
DLoadStoreVectorizer.cpp479 Value *Ptr1 = getPointerOperand(M1); in getVectorizablePrefixEndIdx()
485 << *ChainInstrValue << " aliases " << *Ptr1 << '\n'; in getVectorizablePrefixEndIdx()
/external/clang/include/clang/Analysis/
DCFG.h75 CFGElement(Kind kind, const void *Ptr1, const void *Ptr2 = nullptr)
76 : Data1(const_cast<void*>(Ptr1), ((unsigned) kind) & 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)
87 : Data1(const_cast<void*>(Ptr1), ((unsigned) kind) & 0x3),
/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
5924 Ptr1 = Ptr1->stripPointerCasts(); in isPointerOffset()
5928 if (Ptr1 == Ptr2) { in isPointerOffset()
5932 const GEPOperator *GEP1 = dyn_cast<GEPOperator>(Ptr1); in isPointerOffset()
5973 auto Offset = getOffsetFromBase(GEP2, Ptr1); in isPointerOffset()
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp1170 const auto *Ptr1 = cast<ObjCObjectPointerType>(T1); in IsStructurallyEquivalent() local
1172 if (!IsStructurallyEquivalent(Context, Ptr1->getPointeeType(), in IsStructurallyEquivalent()

12