LLVM  13.0.0git
Classes | Namespaces | Functions
Sequence.h File Reference
#include <cassert>
#include <iterator>
#include <limits>
#include <type_traits>
#include "llvm/Support/MathExtras.h"
Include dependency graph for Sequence.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::detail::CheckedInt
 
struct  llvm::detail::SafeIntIterator< T, IsReverse >
 
struct  llvm::iota_range< T >
 

Namespaces

 llvm
 ---------------------— PointerInfo ------------------------------------—
 
 llvm::detail
 

Functions

template<typename T , typename U >
bool llvm::detail::canTypeFitValue (const U Value)
 
template<typename T >
auto llvm::seq (T Begin, T End)
 Iterate over an integral/enum type from Begin up to - but not including - End. More...
 
template<typename T >
auto llvm::seq_inclusive (T Begin, T End)
 Iterate over an integral/enum type from Begin to End inclusive. More...
 

Detailed Description

This routine provides some synthesis utilities to produce sequences of values. The names are intentionally kept very short as they tend to occur in common and widely used contexts.

Definition in file Sequence.h.