Lines Matching refs:Bitwidth
405 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
406 if (Bitwidth < 3) in CarmichaelShift()
407 return Bitwidth - 1; in CarmichaelShift()
408 return Bitwidth - 2; in CarmichaelShift()
457 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
467 if (Bitwidth > 3) { in IncorporateWeight()
469 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
471 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
480 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
481 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
570 unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits(); in LinearizeExprTree() local
586 Worklist.push_back(std::make_pair(I, APInt(Bitwidth, 1))); in LinearizeExprTree()
737 Ops.push_back(std::make_pair(Identity, APInt(Bitwidth, 1))); in LinearizeExprTree()