9#ifndef LLVM_DEBUGINFO_GSYM_EXTRACTRANGES_H
10#define LLVM_DEBUGINFO_GSYM_EXTRACTRANGES_H
17#define HEX8(v) llvm::format_hex(v, 4)
18#define HEX16(v) llvm::format_hex(v, 6)
19#define HEX32(v) llvm::format_hex(v, 10)
20#define HEX64(v) llvm::format_hex(v, 18)
58void encodeRanges(
const AddressRanges &Ranges, FileWriter &O,
74raw_ostream &
operator<<(raw_ostream &
OS,
const AddressRange &R);
76raw_ostream &
operator<<(raw_ostream &
OS,
const AddressRanges &AR);
ConstantRange Range(APInt(BitWidth, Low), APInt(BitWidth, High))
AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset)
AddressRange objects are encoded and decoded to be relative to a base address.
void encodeRanges(const AddressRanges &Ranges, FileWriter &O, uint64_t BaseAddr)
void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset)
Address ranges are decoded and encoded to be relative to a base address.
uint64_t skipRanges(DataExtractor &Data, uint64_t &Offset)
Skip an address range object in the specified data a the specified offset.
void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr)
void skipRange(DataExtractor &Data, uint64_t &Offset)
Skip an address range object in the specified data a the specified offset.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)