Searched defs:LazyOffsetPtr (Results 1 – 5 of 5) sorted by relevance
321 struct LazyOffsetPtr { struct330 LazyOffsetPtr() : Ptr(0) { } in LazyOffsetPtr() function332 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) { } in LazyOffsetPtr() argument333 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() function362 bool isValid() const { return Ptr != 0; } in isValid()365 bool isOffset() const { return Ptr & 0x01; } in isOffset()372 T* get(ExternalASTSource *Source) const { in get()
323 struct LazyOffsetPtr { struct332 LazyOffsetPtr() = default; argument333 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) {} in LazyOffsetPtr() argument335 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() argument364 bool isValid() const { return Ptr != 0; } in isValid()367 bool isOffset() const { return Ptr & 0x01; } in isOffset()374 T *get(ExternalASTSource *Source) const { in get()385 T **getAddressOfPointer(ExternalASTSource *Source) const { in getAddressOfPointer()
323 struct LazyOffsetPtr { struct332 LazyOffsetPtr() = default; argument333 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) {} in LazyOffsetPtr() function335 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() argument364 bool isValid() const { return Ptr != 0; } in isValid()367 bool isOffset() const { return Ptr & 0x01; } in isOffset()374 T *get(ExternalASTSource *Source) const { in get()385 T **getAddressOfPointer(ExternalASTSource *Source) const { in getAddressOfPointer()
323 struct LazyOffsetPtr { struct332 LazyOffsetPtr() = default; argument333 explicit LazyOffsetPtr(T *Ptr) : Ptr(reinterpret_cast<uint64_t>(Ptr)) {} in LazyOffsetPtr() argument335 explicit LazyOffsetPtr(uint64_t Offset) : Ptr((Offset << 1) | 0x01) { in LazyOffsetPtr() function364 bool isValid() const { return Ptr != 0; } in isValid()367 bool isOffset() const { return Ptr & 0x01; } in isOffset()374 T *get(ExternalASTSource *Source) const { in get()385 T **getAddressOfPointer(ExternalASTSource *Source) const { in getAddressOfPointer()