Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVMergeBaseOffset.cpp147 MachineInstr &OffsetTail = *MRI->getVRegDef(Reg); in matchLargeOffset() local
148 if (OffsetTail.getOpcode() == RISCV::ADDI) { in matchLargeOffset()
151 MachineOperand &AddiImmOp = OffsetTail.getOperand(2); in matchLargeOffset()
156 *MRI->getVRegDef(OffsetTail.getOperand(1).getReg()); in matchLargeOffset()
164 LLVM_DEBUG(dbgs() << " Offset Instrs: " << OffsetTail in matchLargeOffset()
166 DeadInstrs.insert(&OffsetTail); in matchLargeOffset()
169 } else if (OffsetTail.getOpcode() == RISCV::LUI) { in matchLargeOffset()
172 LLVM_DEBUG(dbgs() << " Offset Instr: " << OffsetTail); in matchLargeOffset()
173 Offset = OffsetTail.getOperand(1).getImm() << 12; in matchLargeOffset()
174 DeadInstrs.insert(&OffsetTail); in matchLargeOffset()