Home
last modified time | relevance | path

Searched refs:HiLUI (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp46 bool detectAndFoldOffset(MachineInstr &HiLUI, MachineInstr &LoADDI);
47 void foldOffset(MachineInstr &HiLUI, MachineInstr &LoADDI, MachineInstr &Tail,
81 bool RISCVMergeBaseOffsetOpt::detectLuiAddiGlobal(MachineInstr &HiLUI, in detectLuiAddiGlobal() argument
83 if (HiLUI.getOpcode() != RISCV::LUI || in detectLuiAddiGlobal()
84 HiLUI.getOperand(1).getTargetFlags() != RISCVII::MO_HI || in detectLuiAddiGlobal()
85 HiLUI.getOperand(1).getType() != MachineOperand::MO_GlobalAddress || in detectLuiAddiGlobal()
86 HiLUI.getOperand(1).getOffset() != 0 || in detectLuiAddiGlobal()
87 !MRI->hasOneUse(HiLUI.getOperand(0).getReg())) in detectLuiAddiGlobal()
89 unsigned HiLuiDestReg = HiLUI.getOperand(0).getReg(); in detectLuiAddiGlobal()
103 void RISCVMergeBaseOffsetOpt::foldOffset(MachineInstr &HiLUI, in foldOffset() argument
[all …]