Searched refs:Bitwidth (Results 1 – 8 of 8) sorted by relevance
291 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument292 if (Bitwidth < 3) in CarmichaelShift()293 return Bitwidth - 1; in CarmichaelShift()294 return Bitwidth - 2; in CarmichaelShift()343 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local353 if (Bitwidth > 3) { in IncorporateWeight()355 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()357 APInt Threshold = CM + Bitwidth; in IncorporateWeight()366 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()367 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()[all …]
57 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy()58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
200 bool isIntegerTy(unsigned Bitwidth) const;
198 bool isIntegerTy(unsigned Bitwidth) const;
3336 unsigned Bitwidth) { in matchBitExtract() argument3348 if (!V0 || V0->getZExtValue() != Bitwidth) in matchBitExtract()3359 unsigned Bitwidth = Mask.getSimpleValueType().getSizeInBits(); in matchBitExtract() local3370 return matchShiftAmt(M1, Bitwidth); in matchBitExtract()3383 unsigned Bitwidth = N0.getSimpleValueType().getSizeInBits(); in matchBitExtract() local3390 if (!matchShiftAmt(N1, Bitwidth)) in matchBitExtract()
549 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits(); in foldSelectICmpLshrAshr() local552 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, -1)))) && in foldSelectICmpLshrAshr()555 m_SpecificInt_ICMP(ICmpInst::ICMP_SGE, APInt(Bitwidth, 0))))) in foldSelectICmpLshrAshr()
742 template <unsigned Bitwidth>1847 template <unsigned Bitwidth>1853 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()1859 FPLiteral.convert(*getFltSemantics(Bitwidth / 8), in addKImmFPOperands()
2146 unsigned Bitwidth = Op.getScalarValueSizeInBits(); in getUsefulBits() local2148 UsefulBits = APInt(Bitwidth, 0); in getUsefulBits()