14#ifndef LLVM_LIB_TARGET_RISCV_RISCV_H
15#define LLVM_LIB_TARGET_RISCV_RISCV_H
23class InstructionSelector;
29class RISCVRegisterBankInfo;
31class RISCVTargetMachine;
const char LLVMTargetMachineRef TM
This class is intended to be used as a driving class for all asm writers.
FunctionPass class - This class is used to implement most global optimizations.
Provides the logic to select generic machine instructions.
Instances of this class represent a single low-level machine instruction.
Instances of this class represent operands of the MCInst class.
Representation of each machine instruction.
MachineOperand class - Representation of each machine instruction operand.
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
This class provides the information for the target register banks.
Level
Code generation optimization level.
This is an optimization pass for GlobalISel generic memory operations.
void initializeRISCVExpandPseudoPass(PassRegistry &)
FunctionPass * createRISCVExpandAtomicPseudoPass()
void initializeRISCVInsertVSETVLIPass(PassRegistry &)
void initializeRISCVInitUndefPass(PassRegistry &)
void initializeRISCVRedundantCopyEliminationPass(PassRegistry &)
FunctionPass * createRISCVGatherScatterLoweringPass()
FunctionPass * createRISCVMergeBaseOffsetOptPass()
Returns an instance of the Merge Base Offset Optimization pass.
void initializeRISCVDAGToDAGISelPass(PassRegistry &)
FunctionPass * createRISCVMakeCompressibleOptPass()
Returns an instance of the Make Compressible Optimization pass.
FunctionPass * createRISCVRedundantCopyEliminationPass()
void initializeRISCVExpandAtomicPseudoPass(PassRegistry &)
FunctionPass * createRISCVInsertVSETVLIPass()
Returns an instance of the Insert VSETVLI pass.
FunctionPass * createRISCVISelDag(RISCVTargetMachine &TM, CodeGenOpt::Level OptLevel)
FunctionPass * createRISCVOptWInstrsPass()
void initializeRISCVMakeCompressibleOptPass(PassRegistry &)
FunctionPass * createRISCVCodeGenPreparePass()
bool lowerRISCVMachineOperandToMCOperand(const MachineOperand &MO, MCOperand &MCOp, const AsmPrinter &AP)
bool lowerRISCVMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP)
void initializeRISCVOptWInstrsPass(PassRegistry &)
void initializeRISCVCodeGenPreparePass(PassRegistry &)
void initializeRISCVMergeBaseOffsetOptPass(PassRegistry &)
void initializeRISCVGatherScatterLoweringPass(PassRegistry &)
FunctionPass * createRISCVExpandPseudoPass()
FunctionPass * createRISCVPreRAExpandPseudoPass()
FunctionPass * createRISCVInitUndefPass()
InstructionSelector * createRISCVInstructionSelector(const RISCVTargetMachine &TM, RISCVSubtarget &Subtarget, RISCVRegisterBankInfo &RBI)
void initializeRISCVPreRAExpandPseudoPass(PassRegistry &)