Searched refs:ShiftInst (Results 1 – 2 of 2) sorted by relevance
732 BinaryOperator *ShiftInst = dyn_cast<BinaryOperator>(inst->getOperand(0)); in optimizeBitExtract() local735 if (!ShiftInst || !ShiftInst->isShift()) { in optimizeBitExtract()739 if (ShiftInst->getOpcode() == Instruction::Shl) { in optimizeBitExtract()742 bool isSigned = ShiftInst->isArithmeticShift(); in optimizeBitExtract()744 Constant *ShrVal = dyn_cast<Constant>(ShiftInst->getOperand(1)); in optimizeBitExtract()829 ShiftInst->getOperand(0), in optimizeBitExtract()
1188 assert((Opcode == Shl || Opcode == Shr) && "ShiftInst Opcode invalid!");