61 assert(ExtName.size() >= 1);
66 assert(ExtName.size() >= 2);
73 if (ExtName.size() == 1)
82 const std::string &RHS) {
87 if (LHSRank != RHSRank)
88 return LHSRank < RHSRank;
@ RF_UNKNOWN_MULTILETTER_EXTENSION
static unsigned getExtensionRank(const std::string &ExtName)
static unsigned singleLetterExtensionRank(char Ext)
static bool isLower(const char C)
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.