Home
last modified time | relevance | path

Searched refs:PtrT (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DTinyPtrVectorTest.cpp37 typedef typename VectorT::value_type PtrT; typedef in __anon7f0b6eb10111::TinyPtrVectorTest
38 typedef typename RemovePointer<PtrT>::type ValueT;
39 using PtrTraits = PointerLikeTypeTraits<PtrT>;
45 std::vector<PtrT> TestPtrs;
49 TestPtrs.push_back(PtrT(&TestValues[i])); in TinyPtrVectorTest()
54 PtrT makePtr(ValueT *V) { return PtrT(V); } in makePtr()
56 ArrayRef<PtrT> testArray(size_t N) { in testArray()
60 void appendValues(VectorT &V, ArrayRef<PtrT> Values) { in appendValues()
65 void setVectors(ArrayRef<PtrT> Values1, ArrayRef<PtrT> Values2) { in setVectors()
72 void expectValues(const VectorT &V, ArrayRef<PtrT> Values) { in expectValues()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmatrix-type-builtins.cpp181 template <typename PtrT, unsigned R, unsigned C, unsigned S>
182 matrix_t<typename remove_pointer<PtrT>::type, R, C> column_major_load_with_stride2(PtrT Ptr) { in column_major_load_with_stride2()
/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h147 if (const auto *PtrT = dyn_cast<PointerType>(V->getType())) in sizedPtrType() local
148 return PtrT->isOpaque() || in sizedPtrType()
149 PtrT->getNonOpaquePointerElementType()->isSized(); in sizedPtrType()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/
H A Diterator_difference_type.pass.cpp18 template <class Map, class ValueTp, class PtrT, class CPtrT>
25 static_assert((std::is_same<typename It::pointer, PtrT>::value), ""); in testUnorderedMap()
39 static_assert((std::is_same<typename It::pointer, PtrT>::value), ""); in testUnorderedMap()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/
H A Diterator_types.pass.cpp18 template <class Map, class ValueTp, class PtrT, class CPtrT>
25 static_assert((std::is_same<typename It::pointer, PtrT>::value), ""); in testMap()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DOwnership.h76 template <typename PtrT> PtrT getPtrAs() const { in getPtrAs()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprObjC.cpp844 const PointerType *PtrT = T->getAs<PointerType>(); in BuildObjCArrayLiteral() local
845 if (!PtrT || in BuildObjCArrayLiteral()
846 !Context.hasSameUnqualifiedType(PtrT->getPointeeType(), IdT)) { in BuildObjCArrayLiteral()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExpr.cpp3735 const auto *PtrT = VarDef->getType()->getAs<PointerType>(); in IsPreserveAIArrayBase() local
3736 if (!PtrT) in IsPreserveAIArrayBase()
3739 const auto *PointeeT = PtrT->getPointeeType() in IsPreserveAIArrayBase()