LLVM 22.0.0git
ReverseIteration.h
Go to the documentation of this file.
1#ifndef LLVM_SUPPORT_REVERSEITERATION_H
2#define LLVM_SUPPORT_REVERSEITERATION_H
3
4#include "llvm/Config/abi-breaking.h"
6
7namespace llvm {
8
9template <class T = void *> constexpr bool shouldReverseIterate() {
10#if LLVM_ENABLE_REVERSE_ITERATION
12#else
13 return false;
14#endif
15}
16
17} // namespace llvm
18#endif
This is an optimization pass for GlobalISel generic memory operations.
constexpr bool shouldReverseIterate()