Searched refs:isShift (Results 1 – 12 of 12) sorted by relevance
116 bool isShift() { return isShift(getOpcode()); } in isShift() function131 static inline bool isShift(unsigned Opcode) { in isShift() function
132 bool isShift() const { return isShift(getOpcode()); }160 static inline bool isShift(unsigned Opcode) {
1047 bool isOpType(unsigned Opcode) { return Instruction::isShift(Opcode); } in isOpType()
325 assert(I.isShift() && "Expected a shift as input"); in foldShiftOfShiftedLogic()721 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
1489 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()1616 (Instruction::isIntDivRem(BOpc) || Instruction::isShift(BOpc)); in foldSelectShuffle()
515 return Instruction::isBitwiseLogicOp(LOp) && Instruction::isShift(ROp); in rightDistributesOverLeft()1582 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()
1769 if (match(I, m_BinOp(BO)) && !BO->isIntDivRem() && !BO->isShift()) { in SimplifyDemandedVectorElts()
1636 if (!Shift || !Shift->isShift()) in foldICmpAndShift()
1264 if (FirstOffsetDef && FirstOffsetDef->isShift() && in isLegalToSwapOperand()
1380 if (!DefX || !DefX->isShift()) in detectShiftUntilZeroIdiom()
749 if (!CxtI || !CxtI->hasOneUse() || !CxtI->isShift()) in getArithmeticInstrCost()
6015 assert(Shift->isShift() && "Expected a shift"); in optimizeShiftInst()6259 if (!UI->isShift()) continue; in optimizeShuffleVectorInst()