9#ifndef LLVM_ASMPARSER_FILELOC_H
10#define LLVM_ASMPARSER_FILELOC_H
38 FileLoc(std::pair<unsigned, unsigned> LC) :
Line(LC.first),
Col(LC.second) {}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
static GCRegistry::Add< ShadowStackGC > C("shadow-stack", "Very portable GC for uncooperative code generators")
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This is an optimization pass for GlobalISel generic memory operations.
bool contains(FileLoc L) const
bool contains(FileLocRange LR) const
FileLocRange(FileLoc S, FileLoc E)
Struct holding Line:Column location.
FileLoc(std::pair< unsigned, unsigned > LC)
unsigned Col
0-based column number
FileLoc(unsigned L, unsigned C)
bool operator<=(const FileLoc &RHS) const
bool operator<(const FileLoc &RHS) const
bool operator==(const FileLoc &RHS) const
unsigned Line
0-based line number