/external/llvm-project/clang/test/SemaCXX/ |
D | matrix-type-builtins.cpp | 28 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()
|
D | matrix-type-operators.cpp | 24 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()
|
D | unaddressable-functions.cpp | 63 auto Ptr1 = foo; // expected-error{{cannot take address of function 'foo'}} in test() local
|
/external/llvm-project/clang/test/OpenMP/ |
D | nvptx_target_codegen.cpp | 44 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/ |
D | BuildLibCalls.h | 70 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/ |
D | BuildLibCalls.h | 71 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/ |
D | bugprone-unhandled-self-assignment.cpp | 527 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/ |
D | BuildLibCalls.h | 54 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/ |
D | LoopLoadElimination.cpp | 275 Value *Ptr1 = in needsChecking() local 279 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking() 280 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
|
D | MemCpyOptimizer.cpp | 72 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/ |
D | LoopLoadElimination.cpp | 313 Value *Ptr1 = in needsChecking() local 317 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking() 318 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
|
D | LoopFuse.cpp | 874 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/ |
D | LoopLoadElimination.cpp | 314 Value *Ptr1 = in needsChecking() local 318 return ((PtrsWrittenOnFwdingPath.count(Ptr1) && CandLoadPtrs.count(Ptr2)) || in needsChecking() 319 (PtrsWrittenOnFwdingPath.count(Ptr2) && CandLoadPtrs.count(Ptr1))); in needsChecking()
|
D | LoopFuse.cpp | 1055 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/ |
D | BuildLibCalls.cpp | 1053 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/ |
D | BuildLibCalls.cpp | 868 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/ |
D | unaddressable-functions.cpp | 63 auto Ptr1 = foo; // expected-error{{cannot take address of function 'foo'}} in test() local
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 752 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/ |
D | ValueTracking.h | 686 Optional<int64_t> isPointerOffset(const Value *Ptr1, const Value *Ptr2,
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 479 Value *Ptr1 = getPointerOperand(M1); in getVectorizablePrefixEndIdx() 485 << *ChainInstrValue << " aliases " << *Ptr1 << '\n'; in getVectorizablePrefixEndIdx()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 75 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/ |
D | ValueTracking.h | 771 Optional<int64_t> isPointerOffset(const Value *Ptr1, const Value *Ptr2,
|
/external/llvm-project/clang/include/clang/Analysis/ |
D | CFG.h | 86 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/ |
D | ValueTracking.cpp | 5922 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/ |
D | ASTStructuralEquivalence.cpp | 1170 const auto *Ptr1 = cast<ObjCObjectPointerType>(T1); in IsStructurallyEquivalent() local 1172 if (!IsStructurallyEquivalent(Context, Ptr1->getPointeeType(), in IsStructurallyEquivalent()
|