38 assert(Ext >=
'a' && Ext <=
'z');
58 assert(ExtName.size() >= 1);
63 assert(ExtName.size() >= 2);
70 assert(ExtName.size() == 1);
78 const std::string &RHS) {
83 if (LHSRank != RHSRank)
84 return LHSRank < RHSRank;
static unsigned getExtensionRank(const std::string &ExtName)
static unsigned singleLetterExtensionRank(char Ext)
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
constexpr size_t size() const
size - Get the string size.
size_t find(char C, size_t From=0) const
Search for the first character C in the string.
static constexpr size_t npos
constexpr StringLiteral AllStdExts
bool compareExtension(const std::string &LHS, const std::string &RHS)
This is an optimization pass for GlobalISel generic memory operations.