Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.cpp2432 for (auto &CompareUseMI : MRI->use_instructions(DefReg)) { in convertToImmediateForm() local
2433 unsigned UseOpc = CompareUseMI.getOpcode(); in convertToImmediateForm()
2436 unsigned CRSubReg = CompareUseMI.getOperand(3).getSubReg(); in convertToImmediateForm()
2437 unsigned TrueReg = CompareUseMI.getOperand(1).getReg(); in convertToImmediateForm()
2438 unsigned FalseReg = CompareUseMI.getOperand(2).getReg(); in convertToImmediateForm()
2445 CompareUseMI.setDesc(get(UseOpc == PPC::ISEL8 ? PPC::LI8 : PPC::LI)); in convertToImmediateForm()
2446 CompareUseMI.getOperand(1).ChangeToImmediate(0); in convertToImmediateForm()
2447 CompareUseMI.RemoveOperand(3); in convertToImmediateForm()
2448 CompareUseMI.RemoveOperand(2); in convertToImmediateForm()
2453 LLVM_DEBUG(DefMI->dump(); MI.dump(); CompareUseMI.dump()); in convertToImmediateForm()
[all …]