Searched refs:DerivedT (Results 1 – 10 of 10) 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, 352 return static_cast<const DerivedT *>(this)->getNumEntries(); in getNumEntries() 355 static_cast<DerivedT *>(this)->setNumEntries(Num); in setNumEntries() 364 return static_cast<const DerivedT *>(this)->getNumTombstones(); in getNumTombstones() 367 static_cast<DerivedT *>(this)->setNumTombstones(Num); in setNumTombstones() 376 return static_cast<const DerivedT *>(this)->getBuckets(); in getBuckets() 379 return static_cast<DerivedT *>(this)->getBuckets(); in getBuckets() 382 return static_cast<const DerivedT *>(this)->getNumBuckets(); in getNumBuckets() 392 static_cast<DerivedT *>(this)->grow(AtLeast); in grow() 396 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()
|
D | AliasAnalysis.h | 696 template <typename DerivedT> class AAResultBase { 700 friend class AAResults::Model<DerivedT>; 707 DerivedT &derived() { return static_cast<DerivedT &>(*this); } in derived() 719 DerivedT &CurrentResult; 722 AAResultsProxy(AAResults *AAR, DerivedT &CurrentResult) in AAResultsProxy() 811 template <typename DerivedT> 812 ModRefInfo AAResultBase<DerivedT>::getModRefInfo(ImmutableCallSite CS, in getModRefInfo() 861 template <typename DerivedT> 862 ModRefInfo AAResultBase<DerivedT>::getModRefInfo(ImmutableCallSite CS1, in getModRefInfo()
|
/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 | 280 template <typename DerivedT, typename IRUnitT> class AnalysisManagerBase { 281 DerivedT *derived_this() { return static_cast<DerivedT *>(this); } in derived_this() 282 const DerivedT *derived_this() const { in derived_this() 283 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 | 277 template <typename DerivedT, typename RetT = void> class BuilderBase;
|