Coverage Report

Created: 2025-12-12 07:27

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/hermes/external/llvh/include/llvh/Support/ReverseIteration.h
Line
Count
Source
1
#ifndef LLVM_SUPPORT_REVERSEITERATION_H
2
#define LLVM_SUPPORT_REVERSEITERATION_H
3
4
#include "llvh/Config/abi-breaking.h"
5
#include "llvh/Support/PointerLikeTypeTraits.h"
6
7
namespace llvh {
8
9
template<class T = void *>
10
62.6M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
62.6M
  return false;
15
62.6M
#endif
16
62.6M
}
bool llvh::shouldReverseIterate<std::__1::pair<llvh::StringRef, llvh::StringRef> >()
Line
Count
Source
10
4.19k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
4.19k
  return false;
15
4.19k
#endif
16
4.19k
}
bool llvh::shouldReverseIterate<llvh::ArrayRef<unsigned char> >()
Line
Count
Source
10
258
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
258
  return false;
15
258
#endif
16
258
}
bool llvh::shouldReverseIterate<llvh::StringRef>()
Line
Count
Source
10
20.0M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
20.0M
  return false;
15
20.0M
#endif
16
20.0M
}
bool llvh::shouldReverseIterate<unsigned int>()
Line
Count
Source
10
4.83M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
4.83M
  return false;
15
4.83M
#endif
16
4.83M
}
bool llvh::shouldReverseIterate<void*>()
Line
Count
Source
10
1.00M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
1.00M
  return false;
15
1.00M
#endif
16
1.00M
}
bool llvh::shouldReverseIterate<hermes::Identifier>()
Line
Count
Source
10
1.34M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
1.34M
  return false;
15
1.34M
#endif
16
1.34M
}
bool llvh::shouldReverseIterate<hermes::Function*>()
Line
Count
Source
10
256k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
256k
  return false;
15
256k
#endif
16
256k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::inst::Inst const*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<unsigned long>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::SymbolID>()
bool llvh::shouldReverseIterate<hermes::vm::detail::Transition>()
Line
Count
Source
10
1.50M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
1.50M
  return false;
15
1.50M
#endif
16
1.50M
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::detail::WeakRefKey>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<double>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<void const*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::StackTracesTreeNode::SourceLoc>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::CodeBlock const*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<llvh::ArrayRef<char16_t> >()
bool llvh::shouldReverseIterate<hermes::vm::Domain*>()
Line
Count
Source
10
316
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
316
  return false;
15
316
#endif
16
316
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::RuntimeModule*>()
bool llvh::shouldReverseIterate<hermes::vm::Runtime*>()
Line
Count
Source
10
791
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
791
  return false;
15
791
#endif
16
791
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::vm::CodeBlock*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<std::__1::pair<hermes::vm::RuntimeModule*, unsigned int> >()
bool llvh::shouldReverseIterate<hermes::BasicBlock*>()
Line
Count
Source
10
1.47M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
1.47M
  return false;
15
1.47M
#endif
16
1.47M
}
bool llvh::shouldReverseIterate<hermes::BasicBlock const*>()
Line
Count
Source
10
119k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
119k
  return false;
15
119k
#endif
16
119k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::SwitchImmInst*>()
bool llvh::shouldReverseIterate<hermes::ScopeDesc*>()
Line
Count
Source
10
10.8M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
10.8M
  return false;
15
10.8M
#endif
16
10.8M
}
Unexecuted instantiation: ConsecutiveStringStorage.cpp:bool llvh::shouldReverseIterate<(anonymous namespace)::StringPacker<unsigned char>::HashedSuffix>()
Unexecuted instantiation: ConsecutiveStringStorage.cpp:bool llvh::shouldReverseIterate<(anonymous namespace)::StringPacker<unsigned char>::StringEntry const*>()
Unexecuted instantiation: ConsecutiveStringStorage.cpp:bool llvh::shouldReverseIterate<(anonymous namespace)::StringPacker<char16_t>::HashedSuffix>()
Unexecuted instantiation: ConsecutiveStringStorage.cpp:bool llvh::shouldReverseIterate<(anonymous namespace)::StringPacker<char16_t>::StringEntry const*>()
bool llvh::shouldReverseIterate<hermes::UniqueString*>()
Line
Count
Source
10
113k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
113k
  return false;
15
113k
#endif
16
113k
}
bool llvh::shouldReverseIterate<hermes::Instruction*>()
Line
Count
Source
10
20.4M
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
20.4M
  return false;
15
20.4M
#endif
16
20.4M
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<std::__1::pair<int, hermes::Identifier> >()
bool llvh::shouldReverseIterate<hermes::Value*>()
Line
Count
Source
10
226k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
226k
  return false;
15
226k
#endif
16
226k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::AllocObjectInst*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::CondBranchInst*>()
bool llvh::shouldReverseIterate<hermes::CatchInst*>()
Line
Count
Source
10
3.33k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
3.33k
  return false;
15
3.33k
#endif
16
3.33k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::Literal*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::ESTree::FunctionDeclarationNode*>()
bool llvh::shouldReverseIterate<hermes::ESTree::Node*>()
Line
Count
Source
10
348k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
348k
  return false;
15
348k
#endif
16
348k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<std::__1::pair<hermes::BasicBlock*, hermes::BasicBlock*> >()
Unexecuted instantiation: bool llvh::shouldReverseIterate<llvh::DomTreeNodeBase<hermes::BasicBlock>*>()
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::Value const*>()
Unexecuted instantiation: CSE.cpp:bool llvh::shouldReverseIterate<(anonymous namespace)::CSEValue>()
bool llvh::shouldReverseIterate<hermes::ScopeDesc const*>()
Line
Count
Source
10
5.37k
bool shouldReverseIterate() {
11
#if LLVM_ENABLE_REVERSE_ITERATION
12
  return detail::IsPointerLike<T>::value;
13
#else
14
5.37k
  return false;
15
5.37k
#endif
16
5.37k
}
Unexecuted instantiation: bool llvh::shouldReverseIterate<hermes::UniqueString const*>()
17
18
}
19
#endif