LLVM 20.0.0git
Classes | Namespaces | Macros | Enumerations | Functions | Variables
RISCVInstrInfo.h File Reference
#include "RISCV.h"
#include "RISCVRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "RISCVGenInstrInfo.inc"
#include "RISCVGenRegisterInfo.inc"
#include "RISCVGenSearchableTables.inc"

Go to the source code of this file.

Classes

class  llvm::RISCVInstrInfo
 
struct  llvm::RISCVVPseudosTable::PseudoInfo
 
struct  llvm::RISCV::RISCVMaskedPseudoInfo
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::RISCVCC
 
namespace  llvm::RISCV
 
namespace  llvm::RISCVVPseudosTable
 

Macros

#define GET_INSTRINFO_HEADER
 
#define GET_INSTRINFO_OPERAND_ENUM
 
#define GET_RISCVVPseudosTable_DECL
 
#define GET_RISCVMaskedPseudosTable_DECL
 

Enumerations

enum  llvm::RISCVCC::CondCode {
  llvm::RISCVCC::COND_EQ , llvm::RISCVCC::COND_NE , llvm::RISCVCC::COND_LT , llvm::RISCVCC::COND_GE ,
  llvm::RISCVCC::COND_LTU , llvm::RISCVCC::COND_GEU , llvm::RISCVCC::COND_INVALID
}
 
enum  llvm::RISCVMachineCombinerPattern : unsigned {
  llvm::FMADD_AX = MachineCombinerPattern::TARGET_PATTERN_START , llvm::FMADD_XA , llvm::FMSUB , llvm::FNMSUB ,
  llvm::SHXADD_ADD_SLLI_OP1 , llvm::SHXADD_ADD_SLLI_OP2
}
 

Functions

CondCode llvm::RISCVCC::getOppositeBranchCondition (CondCode)
 
unsigned llvm::RISCVCC::getBrCond (CondCode CC, bool Imm=false)
 
bool llvm::RISCV::isSEXT_W (const MachineInstr &MI)
 
bool llvm::RISCV::isZEXT_W (const MachineInstr &MI)
 
bool llvm::RISCV::isZEXT_B (const MachineInstr &MI)
 
bool llvm::RISCV::isRVVSpill (const MachineInstr &MI)
 
std::optional< std::pair< unsigned, unsigned > > llvm::RISCV::isRVVSpillForZvlsseg (unsigned Opcode)
 
bool llvm::RISCV::isFaultFirstLoad (const MachineInstr &MI)
 
int16_t llvm::RISCV::getNamedOperandIdx (uint16_t Opcode, uint16_t NamedIndex)
 
bool llvm::RISCV::hasEqualFRM (const MachineInstr &MI1, const MachineInstr &MI2)
 
std::optional< unsignedllvm::RISCV::getVectorLowDemandedScalarBits (uint16_t Opcode, unsigned Log2SEW)
 
unsigned llvm::RISCV::getRVVMCOpcode (unsigned RVVPseudoOpcode)
 

Variables

static const MachineMemOperand::Flags llvm::MONontemporalBit0
 
static const MachineMemOperand::Flags llvm::MONontemporalBit1
 
static constexpr int64_t llvm::RISCV::VLMaxSentinel = -1LL
 
static constexpr unsigned llvm::RISCV::FPMASK_Negative_Infinity = 0x001
 
static constexpr unsigned llvm::RISCV::FPMASK_Negative_Normal = 0x002
 
static constexpr unsigned llvm::RISCV::FPMASK_Negative_Subnormal = 0x004
 
static constexpr unsigned llvm::RISCV::FPMASK_Negative_Zero = 0x008
 
static constexpr unsigned llvm::RISCV::FPMASK_Positive_Zero = 0x010
 
static constexpr unsigned llvm::RISCV::FPMASK_Positive_Subnormal = 0x020
 
static constexpr unsigned llvm::RISCV::FPMASK_Positive_Normal = 0x040
 
static constexpr unsigned llvm::RISCV::FPMASK_Positive_Infinity = 0x080
 
static constexpr unsigned llvm::RISCV::FPMASK_Signaling_NaN = 0x100
 
static constexpr unsigned llvm::RISCV::FPMASK_Quiet_NaN = 0x200
 

Macro Definition Documentation

◆ GET_INSTRINFO_HEADER

#define GET_INSTRINFO_HEADER

Definition at line 21 of file RISCVInstrInfo.h.

◆ GET_INSTRINFO_OPERAND_ENUM

#define GET_INSTRINFO_OPERAND_ENUM

Definition at line 22 of file RISCVInstrInfo.h.

◆ GET_RISCVMaskedPseudosTable_DECL

#define GET_RISCVMaskedPseudosTable_DECL

Definition at line 389 of file RISCVInstrInfo.h.

◆ GET_RISCVVPseudosTable_DECL

#define GET_RISCVVPseudosTable_DECL

Definition at line 377 of file RISCVInstrInfo.h.