reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2694 if (I->getOpcode() == Instruction::Or) { 2695 auto &A = collectBitParts(I->getOperand(0), MatchBSwaps, 2697 auto &B = collectBitParts(I->getOperand(1), MatchBSwaps, 2723 if (I->isLogicalShift() && isa<ConstantInt>(I->getOperand(1))) { 2723 if (I->isLogicalShift() && isa<ConstantInt>(I->getOperand(1))) { 2725 cast<ConstantInt>(I->getOperand(1))->getLimitedValue(~0U); 2730 auto &Res = collectBitParts(I->getOperand(0), MatchBSwaps, 2738 if (I->getOpcode() == Instruction::Shl) { 2751 if (I->getOpcode() == Instruction::And && 2752 isa<ConstantInt>(I->getOperand(1))) { 2753 APInt Bit(I->getType()->getPrimitiveSizeInBits(), 1); 2754 const APInt &AndMask = cast<ConstantInt>(I->getOperand(1))->getValue(); 2762 auto &Res = collectBitParts(I->getOperand(0), MatchBSwaps, 2776 if (I->getOpcode() == Instruction::ZExt) { 2777 auto &Res = collectBitParts(I->getOperand(0), MatchBSwaps, 2784 cast<IntegerType>(cast<ZExtInst>(I)->getSrcTy())->getBitWidth();