LLVM 24.0.0git
RISCVISAUtils.cpp File Reference
#include "llvm/Support/RISCVISAUtils.h"
#include "llvm/ADT/StringExtras.h"
#include <cassert>

Go to the source code of this file.

Enumerations

enum  RankFlags {
  RF_BASE_I = 0 , RF_BASE_E = 1 , RF_BASE_Y = 2 , RF_NUM_BASES = 3 ,
  RF_Z_EXTENSION = 1 << 6 , RF_S_EXTENSION = 2 << 6 , RF_X_EXTENSION = 3 << 6 , RF_UNKNOWN_MULTILETTER_EXTENSION = 4 << 6
}

Functions

static unsigned singleLetterExtensionRank (char Ext)
static unsigned getExtensionRank (const std::string &ExtName)

Enumeration Type Documentation

◆ RankFlags

enum RankFlags
Enumerator
RF_BASE_I 
RF_BASE_E 
RF_BASE_Y 
RF_NUM_BASES 
RF_Z_EXTENSION 
RF_S_EXTENSION 
RF_X_EXTENSION 
RF_UNKNOWN_MULTILETTER_EXTENSION 

Definition at line 31 of file RISCVISAUtils.cpp.

Function Documentation

◆ getExtensionRank()

◆ singleLetterExtensionRank()

unsigned singleLetterExtensionRank ( char Ext)
static