Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:ShiftI

938 SinkShiftAndTruncate(BinaryOperator *ShiftI, Instruction *User, ConstantInt *CI,
985 if (ShiftI->getOpcode() == Instruction::AShr)
986 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI,
989 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI,
1025 static bool OptimizeExtractBits(BinaryOperator *ShiftI, ConstantInt *CI,
1028 BasicBlock *DefBB = ShiftI->getParent();
1033 bool shiftIsLegal = TLI.isTypeLegal(TLI.getValueType(DL, ShiftI->getType()));
1036 for (Value::user_iterator UI = ShiftI->user_begin(), E = ShiftI->user_end();
1073 SinkShiftAndTruncate(ShiftI, User, CI, InsertedShifts, TLI, DL);
1084 if (ShiftI->getOpcode() == Instruction::AShr)
1085 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI,
1088 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI,
1099 if (ShiftI->use_empty())
1100 ShiftI->eraseFromParent();