Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp978 BinaryOperator *&InsertedShift = InsertedShifts[TruncUserBB]; in SinkShiftAndTruncate() local
981 if (!InsertedShift && !InsertedTrunc) { in SinkShiftAndTruncate()
986 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
989 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
997 InsertedTrunc = CastInst::Create(TruncI->getOpcode(), InsertedShift, in SinkShiftAndTruncate()
1078 BinaryOperator *&InsertedShift = InsertedShifts[UserBB]; in OptimizeExtractBits() local
1080 if (!InsertedShift) { in OptimizeExtractBits()
1085 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in OptimizeExtractBits()
1088 InsertedShift = BinaryOperator::CreateLShr(ShiftI->getOperand(0), CI, in OptimizeExtractBits()
1095 TheUse = InsertedShift; in OptimizeExtractBits()