LLVM 22.0.0git
IntegerInclusiveInterval.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::IntegerInclusiveIntervalUtils

Functions

Expected< IntervalListllvm::IntegerInclusiveIntervalUtils::parseIntervals (StringRef IntervalStr, char Separator=',')
 Parse a interval specification string like "1-10,20-30,45" or "1-10:20-30:45".
bool llvm::IntegerInclusiveIntervalUtils::contains (ArrayRef< IntegerInclusiveInterval > Intervals, int64_t Value)
 Check if a value is contained in any of the intervals.
void llvm::IntegerInclusiveIntervalUtils::printIntervals (raw_ostream &OS, ArrayRef< IntegerInclusiveInterval > Intervals, char Separator=',')
 Print intervals to output stream.
IntervalList llvm::IntegerInclusiveIntervalUtils::mergeAdjacentIntervals (ArrayRef< IntegerInclusiveInterval > Intervals)
 Merge adjacent/consecutive intervals into single intervals.