reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
585 EVT VT = EVT::getEVT(I->getType(), /*HandleUnknown=*/true); 599 VT = TLI.getTypeToTransformTo(I->getContext(), VT); 606 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0))) 607 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { 607 if (isa<Instruction>(I) && cast<Instruction>(I)->isCommutative()) { 608 unsigned Op1 = getRegForValue(I->getOperand(1)); 611 bool Op1IsKill = hasTrivialKill(I->getOperand(1)); 620 updateValueMap(I, ResultReg); 624 unsigned Op0 = getRegForValue(I->getOperand(0)); 627 bool Op0IsKill = hasTrivialKill(I->getOperand(0)); 630 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) { 634 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && 635 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { 641 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && 653 updateValueMap(I, ResultReg); 657 unsigned Op1 = getRegForValue(I->getOperand(1)); 660 bool Op1IsKill = hasTrivialKill(I->getOperand(1)); 671 updateValueMap(I, ResultReg);