LLVM 20.0.0git
Namespaces | Macros | Variables
RISCVSubtarget.cpp File Reference
#include "RISCVSubtarget.h"
#include "GISel/RISCVCallLowering.h"
#include "GISel/RISCVLegalizerInfo.h"
#include "RISCV.h"
#include "RISCVFrameLowering.h"
#include "RISCVTargetMachine.h"
#include "llvm/CodeGen/MacroFusion.h"
#include "llvm/CodeGen/ScheduleDAGMutation.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/ErrorHandling.h"
#include "RISCVGenSubtargetInfo.inc"
#include "RISCVGenMacroFusion.inc"
#include "RISCVGenSearchableTables.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::RISCVTuneInfoTable
 

Macros

#define DEBUG_TYPE   "riscv-subtarget"
 
#define GET_SUBTARGETINFO_TARGET_DESC
 
#define GET_SUBTARGETINFO_CTOR
 
#define GET_RISCV_MACRO_FUSION_PRED_IMPL
 
#define GET_RISCVTuneInfoTable_IMPL
 

Variables

static cl::opt< unsignedRVVVectorLMULMax ("riscv-v-fixed-length-vector-lmul-max", cl::desc("The maximum LMUL value to use for fixed length vectors. " "Fractional LMUL values are not supported."), cl::init(8), cl::Hidden)
 
static cl::opt< boolRISCVDisableUsingConstantPoolForLargeInts ("riscv-disable-using-constant-pool-for-large-ints", cl::desc("Disable using constant pool for large integers."), cl::init(false), cl::Hidden)
 
static cl::opt< unsignedRISCVMaxBuildIntsCost ("riscv-max-build-ints-cost", cl::desc("The maximum cost used for building integers."), cl::init(0), cl::Hidden)
 
static cl::opt< boolUseAA ("riscv-use-aa", cl::init(true), cl::desc("Enable the use of AA during codegen."))
 
static cl::opt< unsignedRISCVMinimumJumpTableEntries ("riscv-min-jump-table-entries", cl::Hidden, cl::desc("Set minimum number of entries to use a jump table on RISCV"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "riscv-subtarget"

Definition at line 26 of file RISCVSubtarget.cpp.

◆ GET_RISCV_MACRO_FUSION_PRED_IMPL

#define GET_RISCV_MACRO_FUSION_PRED_IMPL

Definition at line 32 of file RISCVSubtarget.cpp.

◆ GET_RISCVTuneInfoTable_IMPL

#define GET_RISCVTuneInfoTable_IMPL

Definition at line 37 of file RISCVSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 29 of file RISCVSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 28 of file RISCVSubtarget.cpp.

Variable Documentation

◆ RISCVDisableUsingConstantPoolForLargeInts

cl::opt< bool > RISCVDisableUsingConstantPoolForLargeInts("riscv-disable-using-constant-pool-for-large-ints", cl::desc("Disable using constant pool for large integers."), cl::init(false), cl::Hidden) ( "riscv-disable-using-constant-pool-for-large-ints"  ,
cl::desc("Disable using constant pool for large integers.")  ,
cl::init(false)  ,
cl::Hidden   
)
static

◆ RISCVMaxBuildIntsCost

cl::opt< unsigned > RISCVMaxBuildIntsCost("riscv-max-build-ints-cost", cl::desc("The maximum cost used for building integers."), cl::init(0), cl::Hidden) ( "riscv-max-build-ints-cost"  ,
cl::desc("The maximum cost used for building integers.")  ,
cl::init(0)  ,
cl::Hidden   
)
static

◆ RISCVMinimumJumpTableEntries

cl::opt< unsigned > RISCVMinimumJumpTableEntries("riscv-min-jump-table-entries", cl::Hidden, cl::desc("Set minimum number of entries to use a jump table on RISCV")) ( "riscv-min-jump-table-entries"  ,
cl::Hidden  ,
cl::desc("Set minimum number of entries to use a jump table on RISCV")   
)
static

◆ RVVVectorLMULMax

cl::opt< unsigned > RVVVectorLMULMax("riscv-v-fixed-length-vector-lmul-max", cl::desc("The maximum LMUL value to use for fixed length vectors. " "Fractional LMUL values are not supported."), cl::init(8), cl::Hidden) ( "riscv-v-fixed-length-vector-lmul-max"  ,
cl::desc("The maximum LMUL value to use for fixed length vectors. " "Fractional LMUL values are not supported.")  ,
cl::init(8)  ,
cl::Hidden   
)
static

◆ UseAA

cl::opt< bool > UseAA("riscv-use-aa", cl::init(true), cl::desc("Enable the use of AA during codegen.")) ( "riscv-use-aa"  ,
cl::init(true ,
cl::desc("Enable the use of AA during codegen.")   
)
static