|
LLVM 24.0.0git
|
#include "LoongArch.h"#include "LoongArchInstrInfo.h"#include "LoongArchMachineFunctionInfo.h"#include "MCTargetDesc/LoongArchBaseInfo.h"#include "MCTargetDesc/LoongArchMCTargetDesc.h"#include "llvm/CodeGen/LivePhysRegs.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineOperand.h"#include "llvm/CodeGen/MachinePassManager.h"#include "llvm/CodeGen/Register.h"#include "llvm/IR/Analysis.h"#include "llvm/MC/MCContext.h"#include "llvm/Support/CodeGen.h"#include "llvm/Support/ErrorHandling.h"Go to the source code of this file.
Namespaces | |
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
| #define | LOONGARCH_PRERA_EXPAND_PSEUDO_NAME "LoongArch Pre-RA pseudo instruction expansion pass" |
| #define | LOONGARCH_EXPAND_PSEUDO_NAME "LoongArch pseudo instruction expansion pass" |
Variables | |
| cl::opt< bool > | LArchAnnotateTableJump |
| loongarch expand | pseudo |
| loongarch expand | LOONGARCH_EXPAND_PSEUDO_NAME |
| loongarch expand | false |
| #define LOONGARCH_EXPAND_PSEUDO_NAME "LoongArch pseudo instruction expansion pass" |
Definition at line 36 of file LoongArchExpandPseudoInsts.cpp.
Definition at line 34 of file LoongArchExpandPseudoInsts.cpp.
Referenced by INITIALIZE_PASS().
|
static |
Definition at line 869 of file LoongArchExpandPseudoInsts.cpp.
References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::Define, DL, llvm::getDeadRegState(), llvm::getRenamableRegState(), llvm::MachineFunction::getSubtarget(), llvm::Hi, llvm::Kill, MBB, MBBI, llvm::Renamable, and TII.
Referenced by expandMI().
|
static |
Definition at line 762 of file LoongArchExpandPseudoInsts.cpp.
References llvm::MachineInstrBuilder::addMBB(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), llvm::computeAndAddLiveIns(), llvm::MachineFunction::CreateMachineBasicBlock(), DL, llvm::MachineFunction::insert(), MBB, MBBI, MI, and TII.
Referenced by expandMI().
|
static |
Definition at line 816 of file LoongArchExpandPseudoInsts.cpp.
References llvm::MachineInstrBuilder::addDisp(), llvm::MachineInstrBuilder::addExternalSymbol(), llvm::BuildMI(), llvm::MachineOperand::CreateImm(), DL, llvm::TargetMachine::getCodeModel(), llvm::MachineFunction::getSubtarget(), llvm::MachineFunction::getTarget(), is64Bit(), llvm_unreachable, MBB, MBBI, llvm::CodeModel::Medium, MI, llvm::LoongArchII::MO_CALL30, llvm::LoongArchII::MO_CALL36, llvm::report_fatal_error(), and TII.
Referenced by expandMI().
|
static |
Definition at line 914 of file LoongArchExpandPseudoInsts.cpp.
|
static |
Definition at line 897 of file LoongArchExpandPseudoInsts.cpp.
References expandAddUpperImm(), expandCopyCFR(), expandFunctionCALL(), MBB, MBBI, and TII.
|
static |
Definition at line 927 of file LoongArchExpandPseudoInsts.cpp.
References expandMBB(), llvm::MachineFunction::getSubtarget(), MBB, Modified, and TII.
Referenced by llvm::LoongArchExpandPseudoPass::run().
| INITIALIZE_PASS | ( | LoongArchPreRAExpandPseudoLegacy | , |
| "loongarch-pre-ra-expand-pseudo" | , | ||
| LOONGARCH_PRERA_EXPAND_PSEUDO_NAME | , | ||
| false | , | ||
| false | ) |
References LOONGARCH_PRERA_EXPAND_PSEUDO_NAME.
| loongarch expand false |
Definition at line 962 of file LoongArchExpandPseudoInsts.cpp.
| loongarch expand LOONGARCH_EXPAND_PSEUDO_NAME |
Definition at line 962 of file LoongArchExpandPseudoInsts.cpp.
| loongarch expand pseudo |
Definition at line 961 of file LoongArchExpandPseudoInsts.cpp.