Lines Matching refs:ShiftI
886 SinkShiftAndTruncate(BinaryOperator *ShiftI, Instruction *User, ConstantInt *CI,
932 if (ShiftI->getOpcode() == Instruction::AShr)
934 BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, "", InsertPt);
937 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt);
971 static bool OptimizeExtractBits(BinaryOperator *ShiftI, ConstantInt *CI,
973 BasicBlock *DefBB = ShiftI->getParent();
978 bool shiftIsLegal = TLI.isTypeLegal(TLI.getValueType(ShiftI->getType()));
981 for (Value::user_iterator UI = ShiftI->user_begin(), E = ShiftI->user_end();
1017 SinkShiftAndTruncate(ShiftI, User, CI, InsertedShifts, TLI);
1027 if (ShiftI->getOpcode() == Instruction::AShr)
1029 BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, "", InsertPt);
1032 BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, "", InsertPt);
1042 if (ShiftI->use_empty())
1043 ShiftI->eraseFromParent();