Searched refs:DerivedT (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/ADT/ |
D | iterator.h | 35 template <typename DerivedT, typename IteratorCategoryT, typename T, 50 DerivedT operator+(DifferenceTypeT n) const { 54 DerivedT tmp = *static_cast<const DerivedT *>(this); 58 friend DerivedT operator+(DifferenceTypeT n, const DerivedT &i) { 64 DerivedT operator-(DifferenceTypeT n) const { 68 DerivedT tmp = *static_cast<const DerivedT *>(this); 73 DerivedT &operator++() { 74 return static_cast<DerivedT *>(this)->operator+=(1); 76 DerivedT operator++(int) { 77 DerivedT tmp = *static_cast<DerivedT *>(this); [all …]
|
D | DenseMap.h | 52 template <typename DerivedT, typename KeyT, typename ValueT, typename KeyInfoT, 362 return static_cast<const DerivedT *>(this)->getNumEntries(); in getNumEntries() 365 static_cast<DerivedT *>(this)->setNumEntries(Num); in setNumEntries() 374 return static_cast<const DerivedT *>(this)->getNumTombstones(); in getNumTombstones() 377 static_cast<DerivedT *>(this)->setNumTombstones(Num); in setNumTombstones() 386 return static_cast<const DerivedT *>(this)->getBuckets(); in getBuckets() 389 return static_cast<DerivedT *>(this)->getBuckets(); in getBuckets() 392 return static_cast<const DerivedT *>(this)->getNumBuckets(); in getNumBuckets() 402 static_cast<DerivedT *>(this)->grow(AtLeast); in grow() 406 static_cast<DerivedT *>(this)->shrink_and_clear(); in shrink_and_clear()
|
/external/clang/test/CXX/class.derived/class.member.lookup/ |
D | p8.cpp | 43 struct DerivedT : public Derived1T<T>, public Derived2T<T> { struct 48 void DerivedT<T>::Inner() { in Inner() 57 void Test(DerivedT<T> d) { in Test() 63 template void Test(DerivedT<int>);
|
/external/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 192 template <typename DerivedT> 193 class PtrUseVisitor : protected InstVisitor<DerivedT>, 195 friend class InstVisitor<DerivedT>; 196 typedef InstVisitor<DerivedT> Base; 225 static_cast<DerivedT*>(this)->visit(I); in visitPtr()
|
/external/llvm/include/llvm/Support/ |
D | Allocator.h | 42 template <typename DerivedT> class AllocatorBase { 50 static_cast<void *(DerivedT::*)(size_t, size_t)>( in Allocate() 51 &DerivedT::Allocate), in Allocate() 55 return static_cast<DerivedT *>(this)->Allocate(Size, Alignment); in Allocate() 64 static_cast<void (DerivedT::*)(const void *, size_t)>( in Deallocate() 65 &DerivedT::Deallocate), in Deallocate() 69 return static_cast<DerivedT *>(this)->Deallocate(Ptr, Size); in Deallocate()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-complete.cpp | 142 class DerivedT : public BaseT<T> {}; class 147 operator DerivedT<T>() const { return DerivedT<T>(); }
|
/external/llvm/include/llvm/IR/ |
D | PassManager.h | 279 template <typename DerivedT, typename IRUnitT> class AnalysisManagerBase { 280 DerivedT *derived_this() { return static_cast<DerivedT *>(this); } in derived_this() 281 const DerivedT *derived_this() const { in derived_this() 282 return static_cast<const DerivedT *>(this); in derived_this()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 366 template <typename BaseT, typename DerivedT> 368 ast_matchers::internal::VariadicDynCastAllOfMatcher<BaseT, DerivedT> Func, 371 DerivedKind(ast_type_traits::ASTNodeKind::getFromNodeKind<DerivedT>()) { 670 template <typename BaseT, typename DerivedT> 673 BaseT, DerivedT> VarFunc,
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 555 template <typename DerivedT, typename RetT = void> class BuilderBase;
|