#include "RISCV.h"
#include "../Clang.h"
#include "clang/Driver/CommonArgs.h"
#include "clang/Driver/Driver.h"
#include "clang/Driver/Options.h"
#include "llvm/Option/ArgList.h"
#include "llvm/Support/Error.h"
#include "llvm/TargetParser/Host.h"
#include "llvm/TargetParser/RISCVISAInfo.h"
#include "llvm/TargetParser/RISCVTargetParser.h"
Go to the source code of this file.
◆ RESERVE_REG
      
        
          | #define RESERVE_REG | ( |  | REG | ) |  | 
      
 
Value:  if (Args.hasArg(options::OPT_ffixed_##REG))                                  \
    Features.push_back("+reserve-" #REG);
 
 
◆ getArchFeatures()
  
  | 
        
          | bool getArchFeatures | ( | const Driver & | D, |  
          |  |  | StringRef | Arch, |  
          |  |  | std::vector< StringRef > & | Features, |  
          |  |  | const ArgList & | Args ) |  | static | 
 
 
◆ isValidRISCVCPU()
  
  | 
        
          | bool isValidRISCVCPU | ( | const Driver & | D, |  
          |  |  | const Arg * | A, |  
          |  |  | const llvm::Triple & | Triple, |  
          |  |  | StringRef | Mcpu ) |  | static |