15 #ifndef LLVM_SUPPORT_SMLOC_H 16 #define LLVM_SUPPORT_SMLOC_H 25 const char *Ptr =
nullptr;
30 bool isValid()
const {
return Ptr !=
nullptr; }
57 "Start and End should either both be valid or both be invalid!");
65 #endif // LLVM_SUPPORT_SMLOC_H Represents a range in source code.
This class represents lattice values for constants.
NoneType
A simple null object to allow implicit construction of Optional<T> and similar types without having t...
bool operator!=(const SMLoc &RHS) const
bool operator==(const SMLoc &RHS) const
const char * getPointer() const
SMRange(SMLoc St, SMLoc En)
static SMLoc getFromPointer(const char *Ptr)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Represents a location in source code.