Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp489 auto removeFRSPIfPossible = [&](MachineInstr *RoundInstr) { in simplifyCode() argument
490 if (RoundInstr->getOpcode() == PPC::FRSP && in simplifyCode()
491 MRI->hasOneNonDBGUse(RoundInstr->getOperand(0).getReg())) { in simplifyCode()
493 unsigned ConvReg1 = RoundInstr->getOperand(1).getReg(); in simplifyCode()
494 unsigned FRSPDefines = RoundInstr->getOperand(0).getReg(); in simplifyCode()
501 LLVM_DEBUG(RoundInstr->dump()); in simplifyCode()
506 RoundInstr->eraseFromParent(); in simplifyCode()