14#ifndef LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVRANGE_H
15#define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVRANGE_H
21namespace logicalview {
35 : Lower(LowerAddress),
Upper(UpperAddress), Scope(Scope) {}
81 bool empty()
const {
return RangeEntries.empty(); }
90#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Allocate memory in an ever growing pool, as if by bump-pointer.
BumpPtrAllocator Allocator
LVRangeEntry(LVAddress LowerAddress, LVAddress UpperAddress, LVScope *Scope)
LVAddressRange addressRange() const
LVScope * getEntry(LVAddress Address) const
bool hasEntry(LVAddress Low, LVAddress High) const
void printExtra(raw_ostream &OS, bool Full=true) const override
void print(raw_ostream &OS, bool Full=true) const override
const LVRangeEntries & getEntries() const
LVRange & operator=(const LVRange &)=delete
void dump() const override
LVAddress getLower() const
LVRange(const LVRange &)=delete
void addEntry(LVScope *Scope, LVAddress LowerAddress, LVAddress UpperAddress)
LVAddress getUpper() const
This class implements an extremely fast bulk output stream that can only output to a stream.
const LVAddress MaxAddress
std::pair< LVAddress, LVAddress > LVAddressRange
std::vector< LVRangeEntry > LVRangeEntries
This is an optimization pass for GlobalISel generic memory operations.
@ Low
Lower the current thread's priority such that it does not affect foreground tasks significantly.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.