LLVM 22.0.0git
|
#include "MCTargetDesc/RISCVBaseInfo.h"
#include "MCTargetDesc/RISCVFixupKinds.h"
#include "MCTargetDesc/RISCVMCAsmInfo.h"
#include "MCTargetDesc/RISCVMCTargetDesc.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstBuilder.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/EndianStream.h"
#include "RISCVGenMCCodeEmitter.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "mccodeemitter" |
Functions | |
STATISTIC (MCNumEmitted, "Number of MC instructions emitted") | |
STATISTIC (MCNumFixups, "Number of MC fixups created") | |
static void | addFixup (SmallVectorImpl< MCFixup > &Fixups, uint32_t Offset, const MCExpr *Value, uint16_t Kind) |
static unsigned | getInvertedBranchOp (unsigned BrOp) |
#define DEBUG_TYPE "mccodeemitter" |
Definition at line 33 of file RISCVMCCodeEmitter.cpp.
|
static |
Definition at line 127 of file RISCVMCCodeEmitter.cpp.
References llvm::MCFixup::create(), llvm::RISCV::fixup_riscv_branch, llvm::RISCV::fixup_riscv_call, llvm::RISCV::fixup_riscv_call_plt, llvm::RISCV::fixup_riscv_jal, llvm::RISCV::fixup_riscv_nds_branch_10, llvm::RISCV::fixup_riscv_pcrel_hi20, llvm::RISCV::fixup_riscv_pcrel_lo12_i, llvm::RISCV::fixup_riscv_pcrel_lo12_s, llvm::RISCV::fixup_riscv_qc_e_branch, llvm::RISCV::fixup_riscv_qc_e_call_plt, llvm::RISCV::fixup_riscv_rvc_branch, llvm::RISCV::fixup_riscv_rvc_jump, and llvm::Offset.
Definition at line 250 of file RISCVMCCodeEmitter.cpp.
References llvm_unreachable.
STATISTIC | ( | MCNumEmitted | , |
"Number of MC instructions emitted" | ) |
STATISTIC | ( | MCNumFixups | , |
"Number of MC fixups created" | ) |