/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/ |
D | builder_gfx_mem.cpp | 129 Value* BuilderGfxMem::GEP(Value* Ptr, Value* Idx, Type* Ty, bool isReadOnly, const Twine& Name) in GEP() argument 131 bool xlate = (Ptr->getType() == mInt64Ty); in GEP() 134 Ptr = INT_TO_PTR(Ptr, Ty); in GEP() 135 Ptr = Builder::GEP(Ptr, Idx, nullptr, isReadOnly, Name); in GEP() 136 Ptr = PTR_TO_INT(Ptr, mInt64Ty); in GEP() 139 Ptr = TranslationHelper(Ptr, Ty, mpfnTranslateGfxAddressForRead); in GEP() 143 Ptr = TranslationHelper(Ptr, Ty, mpfnTranslateGfxAddressForWrite); in GEP() 148 Ptr = Builder::GEP(Ptr, Idx, nullptr, isReadOnly, Name); in GEP() 150 return Ptr; in GEP() 153 Value* BuilderGfxMem::GEP(Type* Ty, Value* Ptr, Value* Idx, const Twine& Name) in GEP() argument [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | matrix-type-builtins.c | 104 void column_major_load_with_const_stride_double(double *Ptr) { in column_major_load_with_const_stride_double() argument 109 dx5x5_t m_a1 = __builtin_matrix_column_major_load(Ptr, 5, 5, 5); in column_major_load_with_const_stride_double() 112 void column_major_load_with_const_stride2_double(double *Ptr) { in column_major_load_with_const_stride2_double() argument 117 dx5x5_t m_a2 = __builtin_matrix_column_major_load(Ptr, 5, 5, 2 * 3 + 9); in column_major_load_with_const_stride2_double() 120 void column_major_load_with_variable_stride_ull_float(float *Ptr, unsigned long long S) { in column_major_load_with_variable_stride_ull_float() argument 126 fx2x3_t m_b = __builtin_matrix_column_major_load(Ptr, 2, 3, S); in column_major_load_with_variable_stride_ull_float() 129 void column_major_load_with_stride_math_int(int *Ptr, int S) { in column_major_load_with_stride_math_int() argument 137 ix4x20_t m_c = __builtin_matrix_column_major_load(Ptr, 4, 20, S + 32); in column_major_load_with_stride_math_int() 140 void column_major_load_with_stride_math_s_int(int *Ptr, short S) { in column_major_load_with_stride_math_s_int() argument 149 ix4x20_t m_c = __builtin_matrix_column_major_load(Ptr, 4, 20, S + 32); in column_major_load_with_stride_math_s_int() [all …]
|
/external/llvm-project/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
D | rv_value.pass.cpp | 60 typedef std::unique_ptr<int, do_nothing> Ptr; in main() typedef 61 typedef std::vector<Ptr> C; in main() 65 c1.push_back(Ptr(x+i)); in main() 68 c2.push_back(Ptr(x+i)); in main() 69 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main() 70 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main() 73 c1.push_back(Ptr(x+i)); in main() 76 c2.push_back(Ptr(x+i)); in main() 77 insert3at(c2, c2.begin()+1, Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main() 78 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main() [all …]
|
/external/libcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/ |
D | rv_value.pass.cpp | 59 typedef std::unique_ptr<int, do_nothing> Ptr; in main() typedef 60 typedef std::vector<Ptr> C; in main() 64 c1.push_back(Ptr(x+i)); in main() 67 c2.push_back(Ptr(x+i)); in main() 68 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main() 69 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main() 72 c1.push_back(Ptr(x+i)); in main() 75 c2.push_back(Ptr(x+i)); in main() 76 insert3at(c2, c2.begin()+1, Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main() 77 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main() [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | matrix-type-builtins.cpp | 86 matrix_t<T, R, C> column_major_load_with_stride(T *Ptr) { in column_major_load_with_stride() argument 87 return __builtin_matrix_column_major_load(Ptr, R, C, S); in column_major_load_with_stride() 90 void test_column_major_load_with_stride_template_double(double *Ptr) { in test_column_major_load_with_stride_template_double() argument 99 matrix_t<double, 10, 4> M1 = column_major_load_with_stride<double, 10, 4, 15>(Ptr); in test_column_major_load_with_stride_template_double() 102 void test_column_major_load_with_stride_template_int(int *Ptr) { in test_column_major_load_with_stride_template_int() argument 111 matrix_t<int, 3, 2> M1 = column_major_load_with_stride<int, 3, 2, 12>(Ptr); in test_column_major_load_with_stride_template_int() 121 void test_column_major_load_stride_wrapper(int *Ptr, UnsignedWrapper &W) { in test_column_major_load_stride_wrapper() argument 128 matrix_t<int, 2, 2> M1 = __builtin_matrix_column_major_load(Ptr, 2, 2, W); in test_column_major_load_stride_wrapper() 133 void test_column_major_load_constexpr_num_rows(int *Ptr) { in test_column_major_load_constexpr_num_rows() argument 138 matrix_t<int, 3, 2> M1 = __builtin_matrix_column_major_load(Ptr, constexpr3(), 2, 3); in test_column_major_load_constexpr_num_rows() [all …]
|
/external/scudo/standalone/ |
D | memtag.h | 34 inline uptr untagPointer(uptr Ptr) { return Ptr & ((1ULL << 56) - 1); } in untagPointer() argument 36 inline uint8_t extractTag(uptr Ptr) { return (Ptr >> 56) & 0xf; } in extractTag() argument 46 inline uptr untagPointer(uptr Ptr) { 47 (void)Ptr; 51 inline uint8_t extractTag(uptr Ptr) { 52 (void)Ptr; 136 inline uptr selectRandomTag(uptr Ptr, uptr ExcludeMask) { in selectRandomTag() argument 144 : [Ptr] "r"(Ptr), [ExcludeMask] "r"(ExcludeMask)); in selectRandomTag() 148 inline uptr addFixedTag(uptr Ptr, uptr Tag) { return Ptr | (Tag << 56); } in addFixedTag() argument 214 inline void storeTag(uptr Ptr) { in storeTag() argument [all …]
|
/external/bcc/src/cc/frontends/b/ |
D | node.h | 102 typedef unique_ptr<type> Ptr; \ in EXPAND_NODES() 107 typedef unique_ptr<Node> Ptr; typedef 133 typedef unique_ptr<StmtNode> Ptr; typedef 137 typedef vector<StmtNode::Ptr> StmtNodeList; 141 typedef unique_ptr<ExprNode> Ptr; typedef 162 typedef vector<ExprNode::Ptr> ExprNodeList; 180 IdentExprNode::Ptr copy() const { in copy() 181 return IdentExprNode::Ptr(new IdentExprNode(*this)); in copy() 226 ExprNode::Ptr expr_; 233 typedef vector<IdentExprNode::Ptr> IdentExprNodeList; [all …]
|
D | parser.yy | 139 { $$ = new BlockStmtNode; $$->stmts_.push_back(StmtNode::Ptr($1)); } 141 { $1->stmts_.push_back(StmtNode::Ptr($2)); } 169 { $$ = new StmtNodeList; $$->push_back(StmtNode::Ptr($1)); } 171 { $1->push_back(StmtNode::Ptr($2)); } 176 { $$ = new ExprStmtNode(ExprNode::Ptr($1)); 179 { $$ = new ExprStmtNode(ExprNode::Ptr($1)); 182 { $$ = new ExprStmtNode(ExprNode::Ptr($1)); 185 { $$ = new ExprStmtNode(ExprNode::Ptr($1)); 190 { $$ = new ExprStmtNode(ExprNode::Ptr($1)); 202 { $$ = new MethodCallExprNode(IdentExprNode::Ptr($1), move(*$3), lexer.lineno()); delete $3; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 63 Ptr.twine->print(OS); in printOneChild() 66 OS << Ptr.cString; in printOneChild() 69 OS << *Ptr.stdString; in printOneChild() 72 OS << *Ptr.stringRef; in printOneChild() 75 OS << *Ptr.smallString; in printOneChild() 78 OS << *Ptr.formatvObject; in printOneChild() 81 OS << Ptr.character; in printOneChild() 84 OS << Ptr.decUI; in printOneChild() 87 OS << Ptr.decI; in printOneChild() [all …]
|
D | FormattedStream.cpp | 23 static void UpdatePosition(std::pair<unsigned, unsigned> &Position, const char *Ptr, size_t Size) { in UpdatePosition() argument 29 for (const char *End = Ptr + Size; Ptr != End; ++Ptr) { in UpdatePosition() 31 switch (*Ptr) { in UpdatePosition() 48 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { in ComputePosition() argument 52 if (Ptr <= Scanned && Scanned <= Ptr + Size) in ComputePosition() 55 UpdatePosition(Position, Scanned, Size - (Scanned - Ptr)); in ComputePosition() 57 UpdatePosition(Position, Ptr, Size); in ComputePosition() 60 Scanned = Ptr + Size; in ComputePosition() 76 void formatted_raw_ostream::write_impl(const char *Ptr, size_t Size) { in write_impl() argument 78 ComputePosition(Ptr, Size); in write_impl() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 63 Ptr.twine->print(OS); in printOneChild() 66 OS << Ptr.cString; in printOneChild() 69 OS << *Ptr.stdString; in printOneChild() 72 OS << *Ptr.stringRef; in printOneChild() 75 OS << *Ptr.smallString; in printOneChild() 78 OS << *Ptr.formatvObject; in printOneChild() 81 OS << Ptr.character; in printOneChild() 84 OS << Ptr.decUI; in printOneChild() 87 OS << Ptr.decI; in printOneChild() [all …]
|
D | FormattedStream.cpp | 26 void formatted_raw_ostream::UpdatePosition(const char *Ptr, size_t Size) { in UpdatePosition() argument 61 PartialUTF8Char.append(StringRef(Ptr, Size)); in UpdatePosition() 67 PartialUTF8Char.append(StringRef(Ptr, BytesFromBuffer)); in UpdatePosition() 70 Ptr += BytesFromBuffer; in UpdatePosition() 77 for (const char *End = Ptr + Size; Ptr < End; Ptr += NumBytes) { in UpdatePosition() 78 NumBytes = getNumBytesForUTF8(*Ptr); in UpdatePosition() 85 if ((unsigned)(End - Ptr) < NumBytes) { in UpdatePosition() 86 PartialUTF8Char = StringRef(Ptr, End - Ptr); in UpdatePosition() 90 ProcessUTF8CodePoint(StringRef(Ptr, NumBytes)); in UpdatePosition() 96 void formatted_raw_ostream::ComputePosition(const char *Ptr, size_t Size) { in ComputePosition() argument [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Twine.cpp | 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 63 Ptr.twine->print(OS); in printOneChild() 66 OS << Ptr.cString; in printOneChild() 69 OS << *Ptr.stdString; in printOneChild() 72 OS << *Ptr.stringRef; in printOneChild() 75 OS << *Ptr.smallString; in printOneChild() 78 OS << *Ptr.formatvObject; in printOneChild() 81 OS << Ptr.character; in printOneChild() 84 OS << Ptr.decUI; in printOneChild() 87 OS << Ptr.decI; in printOneChild() [all …]
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Interp.cpp | 101 static bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckInitialized() argument 103 if (Ptr.isInitialized()) in CheckInitialized() 112 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive() argument 114 if (Ptr.isActive()) in CheckActive() 118 const FieldDecl *InactiveField = Ptr.getField(); in CheckActive() 121 Pointer U = Ptr.getBase(); in CheckActive() 144 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary() argument 146 if (auto ID = Ptr.getDeclID()) { in CheckTemporary() 147 if (!Ptr.isStaticTemporary()) in CheckTemporary() 150 if (Ptr.getDeclDesc()->getType().isConstQualified()) in CheckTemporary() [all …]
|
D | Source.h | 27 CodePtr() : Ptr(nullptr) {} in CodePtr() 30 Ptr += Offset; 35 assert(Ptr != nullptr && RHS.Ptr != nullptr && "Invalid code pointer"); 36 return Ptr - RHS.Ptr; 40 assert(Ptr != nullptr && "Invalid code pointer"); 41 return CodePtr(Ptr - RHS); 44 bool operator!=(const CodePtr &RHS) const { return Ptr != RHS.Ptr; } 48 T Value = ReadHelper<T>(Ptr); in read() 49 Ptr += sizeof(T); in read() 55 CodePtr(const char *Ptr) : Ptr(Ptr) {} in CodePtr() argument [all …]
|
/external/llvm/lib/Support/ |
D | Twine.cpp | 51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, in printOneChild() argument 57 Ptr.twine->print(OS); in printOneChild() 60 OS << Ptr.cString; in printOneChild() 63 OS << *Ptr.stdString; in printOneChild() 66 OS << *Ptr.stringRef; in printOneChild() 69 OS << *Ptr.smallString; in printOneChild() 72 OS << Ptr.character; in printOneChild() 75 OS << Ptr.decUI; in printOneChild() 78 OS << Ptr.decI; in printOneChild() 81 OS << *Ptr.decUL; in printOneChild() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 74 static inline AtomicPackedHeader *getAtomicHeader(void *Ptr) { in getAtomicHeader() argument 75 return reinterpret_cast<AtomicPackedHeader *>(reinterpret_cast<uptr>(Ptr) - in getAtomicHeader() 79 const AtomicPackedHeader *getConstAtomicHeader(const void *Ptr) { in getConstAtomicHeader() argument 81 reinterpret_cast<uptr>(Ptr) - getHeaderSize()); in getConstAtomicHeader() 84 static inline bool isAligned(const void *Ptr) { in isAligned() argument 85 return IsAligned(reinterpret_cast<uptr>(Ptr), MinAlignment); in isAligned() 91 static inline void *getBackendPtr(const void *Ptr, UnpackedHeader *Header) { in getBackendPtr() argument 92 return reinterpret_cast<void *>(reinterpret_cast<uptr>(Ptr) - in getBackendPtr() 98 static inline uptr getUsableSize(const void *Ptr, UnpackedHeader *Header) { in getUsableSize() argument 104 getBackendPtr(Ptr, Header)) - getHeaderSize(); in getUsableSize() [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | matrix-type-builtins.cpp | 44 …me MyMatrix<EltTy1, R1, C1>::matrix_t column_major_load(MyMatrix<EltTy0, R0, C0> &A, EltTy0 *Ptr) { in column_major_load() argument 45 char *v1 = __builtin_matrix_column_major_load(Ptr, 9, 4, 10); in column_major_load() 50 return __builtin_matrix_column_major_load(Ptr, R0, C0, R0); in column_major_load() 70 void test_column_major_load_constexpr(unsigned *Ptr) { in test_column_major_load_constexpr() argument 71 (void)__builtin_matrix_column_major_load(Ptr, 2, 2, constexpr1()); in test_column_major_load_constexpr() 73 (void)__builtin_matrix_column_major_load(Ptr, constexpr_neg1(), 2, 4); in test_column_major_load_constexpr() 75 (void)__builtin_matrix_column_major_load(Ptr, 2, constexpr_neg1(), 4); in test_column_major_load_constexpr() 85 void test_column_major_load_wrapper(unsigned *Ptr, IntWrapper &W) { in test_column_major_load_wrapper() argument 86 (void)__builtin_matrix_column_major_load(Ptr, W, 2, 2); in test_column_major_load_wrapper() 88 (void)__builtin_matrix_column_major_load(Ptr, 2, W, 2); in test_column_major_load_wrapper() [all …]
|
/external/llvm-project/llvm/test/Analysis/BasicAA/ |
D | args-rets-allocas-loads.ll | 171 ; CHECK-NEXT: Both ModRef: Ptr: double* %arg_a0 <-> %normal_ret_a0 = call double* @normal_returne… 172 ; CHECK-NEXT: Both ModRef: Ptr: double* %arg_a1 <-> %normal_ret_a0 = call double* @normal_returne… 173 ; CHECK-NEXT: NoModRef: Ptr: double* %noalias_arg_a0 <-> %normal_ret_a0 = call double* @normal_… 174 ; CHECK-NEXT: NoModRef: Ptr: double* %noalias_arg_a1 <-> %normal_ret_a0 = call double* @normal_… 175 ; CHECK-NEXT: Both ModRef: Ptr: double** %indirect_a0 <-> %normal_ret_a0 = call double* @normal_r… 176 ; CHECK-NEXT: Both ModRef: Ptr: double** %indirect_a1 <-> %normal_ret_a0 = call double* @normal_r… 177 ; CHECK-NEXT: Both ModRef: Ptr: double* %escape_alloca_a0 <-> %normal_ret_a0 = call double* @norm… 178 ; CHECK-NEXT: Both ModRef: Ptr: double* %escape_alloca_a1 <-> %normal_ret_a0 = call double* @norm… 179 ; CHECK-NEXT: NoModRef: Ptr: double* %noescape_alloca_a0 <-> %normal_ret_a0 = call double* @nor… 180 ; CHECK-NEXT: NoModRef: Ptr: double* %noescape_alloca_a1 <-> %normal_ret_a0 = call double* @nor… [all …]
|
/external/llvm/test/Analysis/BasicAA/ |
D | args-rets-allocas-loads.ll | 171 ; CHECK-NEXT: Both ModRef: Ptr: double* %arg_a0 <-> %normal_ret_a0 = call double* @normal_returne… 172 ; CHECK-NEXT: Both ModRef: Ptr: double* %arg_a1 <-> %normal_ret_a0 = call double* @normal_returne… 173 ; CHECK-NEXT: NoModRef: Ptr: double* %noalias_arg_a0 <-> %normal_ret_a0 = call double* @normal_… 174 ; CHECK-NEXT: NoModRef: Ptr: double* %noalias_arg_a1 <-> %normal_ret_a0 = call double* @normal_… 175 ; CHECK-NEXT: Both ModRef: Ptr: double** %indirect_a0 <-> %normal_ret_a0 = call double* @normal_r… 176 ; CHECK-NEXT: Both ModRef: Ptr: double** %indirect_a1 <-> %normal_ret_a0 = call double* @normal_r… 177 ; CHECK-NEXT: Both ModRef: Ptr: double* %escape_alloca_a0 <-> %normal_ret_a0 = call double* @norm… 178 ; CHECK-NEXT: Both ModRef: Ptr: double* %escape_alloca_a1 <-> %normal_ret_a0 = call double* @norm… 179 ; CHECK-NEXT: NoModRef: Ptr: double* %noescape_alloca_a0 <-> %normal_ret_a0 = call double* @nor… 180 ; CHECK-NEXT: NoModRef: Ptr: double* %noescape_alloca_a1 <-> %normal_ret_a0 = call double* @nor… [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | memtag.h | 29 inline uptr untagPointer(uptr Ptr) { return Ptr & ((1ULL << 56) - 1); } in untagPointer() argument 31 inline uint8_t extractTag(uptr Ptr) { return (Ptr >> 56) & 0xf; } in extractTag() argument 41 inline uptr untagPointer(uptr Ptr) { 42 (void)Ptr; 46 inline uint8_t extractTag(uptr Ptr) { 47 (void)Ptr; 94 inline void setRandomTag(void *Ptr, uptr Size, uptr ExcludeMask, in setRandomTag() argument 123 : [Ptr] "r"(Ptr), [Size] "r"(Size), [ExcludeMask] "r"(ExcludeMask) in setRandomTag() 127 inline void *prepareTaggedChunk(void *Ptr, uptr Size, uptr ExcludeMask, in prepareTaggedChunk() argument 136 : "r"(Ptr) in prepareTaggedChunk() [all …]
|
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_posix.cpp | 47 void *Ptr = mmap(nullptr, Size, PROT_READ | PROT_WRITE, in map() local 49 Check(Ptr != MAP_FAILED, "Failed to map guarded pool allocator memory"); in map() 50 MaybeSetMappingName(Ptr, Size, Name); in map() 51 return Ptr; in map() 54 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() argument 55 assert((reinterpret_cast<uintptr_t>(Ptr) % State.PageSize) == 0); in unmap() 57 Check(munmap(Ptr, Size) == 0, in unmap() 63 void *Ptr = in reserveGuardedPool() local 65 Check(Ptr != MAP_FAILED, "Failed to reserve guarded pool allocator memory"); in reserveGuardedPool() 66 MaybeSetMappingName(Ptr, Size, kGwpAsanGuardPageName); in reserveGuardedPool() [all …]
|
/external/gwp_asan/gwp_asan/platform_specific/ |
D | guarded_pool_allocator_posix.cpp | 47 void *Ptr = mmap(nullptr, Size, PROT_READ | PROT_WRITE, in map() local 49 Check(Ptr != MAP_FAILED, "Failed to map guarded pool allocator memory"); in map() 50 MaybeSetMappingName(Ptr, Size, Name); in map() 51 return Ptr; in map() 54 void GuardedPoolAllocator::unmap(void *Ptr, size_t Size) const { in unmap() argument 55 assert((reinterpret_cast<uintptr_t>(Ptr) % State.PageSize) == 0); in unmap() 57 Check(munmap(Ptr, Size) == 0, in unmap() 63 void *Ptr = in reserveGuardedPool() local 65 Check(Ptr != MAP_FAILED, "Failed to reserve guarded pool allocator memory"); in reserveGuardedPool() 66 MaybeSetMappingName(Ptr, Size, kGwpAsanGuardPageName); in reserveGuardedPool() [all …]
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | map_tools.h | 27 template <typename Ptr> 28 struct LessAtPtr : std::binary_function<Ptr, Ptr, bool> { 29 bool operator()(const Ptr& x, const Ptr& y) const { return *x < *y; } in operator() 32 template <typename Ptr> 33 struct EqAtPtr : std::binary_function<Ptr, Ptr, bool> { 34 bool operator()(const Ptr& x, const Ptr& y) const { return *x == *y; } in operator() 37 template <typename Ptr> 38 struct HashAtPtr : std::unary_function<Ptr, size_t> { 39 size_t operator()(const Ptr& x) const { return x->Hash(); } in operator()
|
/external/clang/include/clang/Sema/ |
D | IdentifierResolver.h | 82 uintptr_t Ptr; variable 87 Ptr = reinterpret_cast<uintptr_t>(D); in iterator() 88 assert((Ptr & 0x1) == 0 && "Invalid Ptr!"); in iterator() 93 Ptr = reinterpret_cast<uintptr_t>(I) | 0x1; in iterator() 96 bool isIterator() const { return (Ptr & 0x1); } in isIterator() 100 return reinterpret_cast<BaseIter>(Ptr & ~0x3); in getIterator() 107 iterator() : Ptr(0) {} in iterator() 113 return reinterpret_cast<NamedDecl*>(Ptr); 117 return Ptr == RHS.Ptr; 120 return Ptr != RHS.Ptr; [all …]
|