Searched refs:isShift (Results 1 – 14 of 14) sorted by relevance
133 bool isShift() { return isShift(getOpcode()); }158 static inline bool isShift(unsigned Opcode) {
897 bool isOpType(unsigned Opcode) { return Instruction::isShift(Opcode); } in isOpType()
2585 isShift = type === SHIFT,2590 tipAdjust = tip && tip.corner && tip.corner.precedance === side && !isShift ? tipLength : 0,2596 if(isShift) {
1264 if (FirstOffsetDef && FirstOffsetDef->isShift() && in isLegalToSwapOperand()
1337 if (!DefX || !DefX->isShift()) in detectShiftUntilZeroIdiom()
1322 (Instruction::isIntDivRem(BOpcode) || Instruction::isShift(BOpcode)); in foldSelectShuffleWith1Binop()1403 (Instruction::isIntDivRem(BOpc) || Instruction::isShift(BOpc)); in foldSelectShuffle()
386 if (TrOp && I.isLogicalShift() && TrOp->isShift() && in FoldShiftByConstant()
476 return Instruction::isBitwiseLogicOp(LOp) && Instruction::isShift(ROp); in rightDistributesOverLeft()1484 if (Inst.isIntDivRem() || (Inst.isShift() && ConstOp1)) in foldVectorBinop()
1655 if (match(I, m_BinOp(BO)) && !BO->isIntDivRem() && !BO->isShift()) { in SimplifyDemandedVectorElts()
1544 if (!Shift || !Shift->isShift()) in foldICmpAndShift()
277 bit isShift = 0;
322 let isShift = 1 in {796 let isShift = 1 in {
5934 if (!UI->isShift()) continue; in optimizeShuffleVectorInst()
6350 bool isShift = BinOpLHSVal->getOpcode() == ISD::SHL || in visitShiftByConstant() local6356 if ((!isShift || !isa<ConstantSDNode>(BinOpLHSVal->getOperand(1))) && in visitShiftByConstant()