Go to the documentation of this file.
14 #ifndef LLVM_SUPPORT_SMLOC_H
15 #define LLVM_SUPPORT_SMLOC_H
24 const char *Ptr =
nullptr;
29 bool isValid()
const {
return Ptr !=
nullptr; }
56 "Start and End should either both be valid or both be invalid!");
64 #endif // LLVM_SUPPORT_SMLOC_H
This is an optimization pass for GlobalISel generic memory operations.
SMRange(SMLoc St, SMLoc En)
Represents a location in source code.
NoneType
A simple null object to allow implicit construction of Optional<T> and similar types without having t...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool operator==(const SMLoc &RHS) const
const char * getPointer() const
Represents a range in source code.
static SMLoc getFromPointer(const char *Ptr)
bool operator!=(const SMLoc &RHS) const