|
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_EXPAND_PSEUDO_POST_RA_NAME "RISC-V Pseudo Instruction Expansion - Post-RA" |
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 (RISCVExpandPseudoPostRALegacy, "riscv-expand-pseudo-post-ra", RISCV_EXPAND_PSEUDO_POST_RA_NAME, false, false) FunctionPass *llvm | |
| #define RISCV_EXPAND_PSEUDO_POST_RA_NAME "RISC-V Pseudo Instruction Expansion - Post-RA" |
Definition at line 24 of file RISCVExpandPseudoPostRA.cpp.
Referenced by INITIALIZE_PASS().
| INITIALIZE_PASS | ( | RISCVExpandPseudoPostRALegacy | , |
| "riscv-expand-pseudo-post-ra" | , | ||
| RISCV_EXPAND_PSEUDO_POST_RA_NAME | , | ||
| false | , | ||
| false | ) |
Definition at line 215 of file RISCVExpandPseudoPostRA.cpp.
References llvm::createRISCVExpandPseudoPostRALegacyPass(), and RISCV_EXPAND_PSEUDO_POST_RA_NAME.
|
static |
Transfer implicit operands on the pseudo instruction to the instructions created from the expansion.
Definition at line 148 of file RISCVExpandPseudoPostRA.cpp.
References assert(), llvm::drop_begin(), llvm::MachineInstr::getDesc(), MI, and llvm::MachineInstr::operands().