Lines Matching refs:Bitwidth
292 static unsigned CarmichaelShift(unsigned Bitwidth) { in CarmichaelShift() argument
293 if (Bitwidth < 3) in CarmichaelShift()
294 return Bitwidth - 1; in CarmichaelShift()
295 return Bitwidth - 2; in CarmichaelShift()
344 unsigned Bitwidth = LHS.getBitWidth(); in IncorporateWeight() local
354 if (Bitwidth > 3) { in IncorporateWeight()
356 APInt CM = APInt::getOneBitSet(Bitwidth, CarmichaelShift(Bitwidth)); in IncorporateWeight()
358 APInt Threshold = CM + Bitwidth; in IncorporateWeight()
367 unsigned CM = 1U << CarmichaelShift(Bitwidth); in IncorporateWeight()
368 unsigned Threshold = CM + Bitwidth; in IncorporateWeight()
458 unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits(); in LinearizeExprTree() local
474 Worklist.push_back(std::make_pair(I, APInt(Bitwidth, 1))); in LinearizeExprTree()
628 Ops.emplace_back(Identity, APInt(Bitwidth, 1)); in LinearizeExprTree()