Searched refs:isPresent (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DCasting.h604 static inline bool isPresent(const T &t) { return true; } function in struct:llvm::ValueIsPresent
611 static inline bool isPresent(const std::optional<T> &t) { function in struct:llvm::ValueIsPresent
622 static inline bool isPresent(const T &t) { return t != T(nullptr); } function in struct:llvm::ValueIsPresent
629 template <typename T> inline bool isPresent(const T &t) { function in namespace:llvm::detail
630 return ValueIsPresent<typename simplify_type<T>::SimpleType>::isPresent(
650 assert(detail::isPresent(Val) && "dyn_cast on a non-existent value");
656 assert(detail::isPresent(Val) && "dyn_cast on a non-existent value");
662 assert(detail::isPresent(Val) && "dyn_cast on a non-existent value");
668 assert(detail::isPresent(Val) && "dyn_cast on a non-existent value");
676 if (!detail::isPresent(Va
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h223 if (isPresent(I)) {
262 bool isPresent(uint32_t K) const { return Present.test(K); } function in class:llvm::pdb::HashTable
277 assert(isPresent(Entry.index()));
285 assert(!isPresent(Entry.index()));

Completed in 169 milliseconds