LLVM 22.0.0git
|
This file implements methods from the RISCVCustomBehaviour class. More...
#include "RISCVCustomBehaviour.h"
#include "MCTargetDesc/RISCVMCTargetDesc.h"
#include "RISCV.h"
#include "TargetInfo/RISCVTargetInfo.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DebugLog.h"
#include "RISCVGenSearchableTables.inc"
Go to the source code of this file.
Classes | |
struct | llvm::RISCV::VXMemOpInfo |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::RISCV |
namespace | llvm::mca |
Macros | |
#define | DEBUG_TYPE "llvm-mca-riscv-custombehaviour" |
#define | GET_RISCVBaseVXMemOpTable_IMPL |
Functions | |
static std::pair< uint8_t, uint8_t > | llvm::mca::getEEWAndEMUL (unsigned Opcode, RISCVVType::VLMUL LMUL, uint8_t SEW) |
static bool | llvm::mca::opcodeHasEEWAndEMULInfo (unsigned short Opcode) |
static InstrumentManager * | createRISCVInstrumentManager (const MCSubtargetInfo &STI, const MCInstrInfo &MCII) |
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void | LLVMInitializeRISCVTargetMCA () |
Extern function to initialize the targets for the RISC-V backend. |
This file implements methods from the RISCVCustomBehaviour class.
Definition in file RISCVCustomBehaviour.cpp.
#define DEBUG_TYPE "llvm-mca-riscv-custombehaviour" |
Definition at line 23 of file RISCVCustomBehaviour.cpp.
#define GET_RISCVBaseVXMemOpTable_IMPL |
Definition at line 34 of file RISCVCustomBehaviour.cpp.
|
static |
Definition at line 342 of file RISCVCustomBehaviour.cpp.
Referenced by LLVMInitializeRISCVTargetMCA().
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeRISCVTargetMCA | ( | ) |
Extern function to initialize the targets for the RISC-V backend.
Definition at line 349 of file RISCVCustomBehaviour.cpp.
References createRISCVInstrumentManager(), llvm::getTheRISCV32Target(), llvm::getTheRISCV64Target(), and llvm::TargetRegistry::RegisterInstrumentManager().