|
LLVM 24.0.0git
|
#include "RISCV.h"#include "RISCVExpandPseudoBase.h"#include "RISCVInstrInfo.h"#include "RISCVSubtarget.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"Go to the source code of this file.
Macros | |
| #define | RISCV_POST_RA_EXPAND_PSEUDO_NAME "RISC-V post-regalloc pseudo instruction expansion pass" |
Functions | |
| static void | transferImpOps (const MachineInstr &OldMI, MachineInstrBuilder &MI) |
| Transfer implicit operands on the pseudo instruction to the instructions created from the expansion. | |
| INITIALIZE_PASS (RISCVPostRAExpandPseudoLegacy, "riscv-post-ra-expand-pseudo", RISCV_POST_RA_EXPAND_PSEUDO_NAME, false, false) FunctionPass *llvm | |
| #define RISCV_POST_RA_EXPAND_PSEUDO_NAME "RISC-V post-regalloc pseudo instruction expansion pass" |
Definition at line 24 of file RISCVPostRAExpandPseudoInsts.cpp.
Referenced by INITIALIZE_PASS().
| INITIALIZE_PASS | ( | RISCVPostRAExpandPseudoLegacy | , |
| "riscv-post-ra-expand-pseudo" | , | ||
| RISCV_POST_RA_EXPAND_PSEUDO_NAME | , | ||
| false | , | ||
| false | ) |
Definition at line 215 of file RISCVPostRAExpandPseudoInsts.cpp.
References llvm::createRISCVPostRAExpandPseudoLegacyPass(), and RISCV_POST_RA_EXPAND_PSEUDO_NAME.
|
static |
Transfer implicit operands on the pseudo instruction to the instructions created from the expansion.
Definition at line 148 of file RISCVPostRAExpandPseudoInsts.cpp.
References assert(), llvm::drop_begin(), llvm::MachineInstr::getDesc(), MI, and llvm::MachineInstr::operands().