LLVM: lib/Target/RISCV/RISCVMoveMerger.cpp File Reference (original) (raw)

#include "[RISCVInstrInfo.h](RISCVInstrInfo%5F8h%5Fsource.html)"
#include "[RISCVSubtarget.h](RISCVSubtarget%5F8h%5Fsource.html)"

Go to the source code of this file.

Macros
#define RISCV_MOVE_MERGE_NAME "RISC-V Zcmp move merging pass"
Functions
INITIALIZE_PASS (RISCVMoveMerge, "riscv-move-merge", RISCV_MOVE_MERGE_NAME, false, false) static unsigned getMoveFromSToAOpcode(const RISCVSubtarget &ST)
static unsigned getMoveFromAToSOpcode (const RISCVSubtarget &ST)

Macro Definition Documentation

RISCV_MOVE_MERGE_NAME

#define RISCV_MOVE_MERGE_NAME "RISC-V Zcmp move merging pass"

Definition at line 21 of file RISCVMoveMerger.cpp.

Referenced by INITIALIZE_PASS().

Function Documentation

getMoveFromAToSOpcode()

unsigned getMoveFromAToSOpcode ( const RISCVSubtarget & ST) static

Definition at line 72 of file RISCVMoveMerger.cpp.

References llvm_unreachable.

INITIALIZE_PASS()

INITIALIZE_PASS ( RISCVMoveMerge ,
"riscv-move-merge" ,
RISCV_MOVE_MERGE_NAME ,
false ,
false ) const &

Definition at line 59 of file RISCVMoveMerger.cpp.

References const, if(), llvm_unreachable, and RISCV_MOVE_MERGE_NAME.