Lines Matching refs:Bitwidth
271 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
272 if (Bitwidth < 3) in CarmichaelShift()
273 return Bitwidth - 1; in CarmichaelShift()
274 return Bitwidth - 2; in CarmichaelShift()
323 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
333 if (Bitwidth > 3) { in IncorporateWeight()
335 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
337 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
346 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
347 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
436 unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits(); in LinearizeExprTree() local
452 Worklist.push_back(std::make_pair(I, APInt(Bitwidth, 1))); in LinearizeExprTree()
603 Ops.emplace_back(Identity, APInt(Bitwidth, 1)); in LinearizeExprTree()