LLVM 22.0.0git
|
#include "RISCVRegisterInfo.h"
#include "RISCV.h"
#include "RISCVSubtarget.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/Support/ErrorHandling.h"
#include "RISCVGenRegisterInfo.inc"
Go to the source code of this file.
Macros | |
#define | GET_REGINFO_TARGET_DESC |
Functions | |
static std::tuple< RISCVVType::VLMUL, const TargetRegisterClass &, unsigned > | getSpillReloadInfo (unsigned NumRemaining, uint16_t RegEncoding, bool IsSpill) |
Variables | |
static cl::opt< bool > | DisableCostPerUse ("riscv-disable-cost-per-use", cl::init(false), cl::Hidden) |
static cl::opt< bool > | DisableRegAllocHints ("riscv-disable-regalloc-hints", cl::Hidden, cl::init(false), cl::desc("Disable two address hints for register " "allocation")) |
#define GET_REGINFO_TARGET_DESC |
Definition at line 27 of file RISCVRegisterInfo.cpp.
|
static |
Definition at line 393 of file RISCVRegisterInfo.cpp.
References llvm::RISCVVType::LMUL_1, llvm::RISCVVType::LMUL_2, llvm::RISCVVType::LMUL_4, and llvm::RISCVVType::LMUL_8.
Referenced by llvm::RISCVRegisterInfo::lowerSegmentSpillReload().
|
static |
Referenced by llvm::RISCVRegisterInfo::getRegisterCostTableIndex().
|
static |
Referenced by llvm::RISCVRegisterInfo::getRegAllocationHints().