Searched refs:Bitwidth (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DReassociate.cpp252 /// CarmichaelShift - Returns k such that lambda(2^Bitwidth) = 2^k, where lambda
253 /// is the Carmichael function. This means that x^(2^k) === 1 mod 2^Bitwidth for
254 /// every odd x, i.e. x^(2^k) = 1 for every odd x in Bitwidth-bit arithmetic.
255 /// Note that 0 <= k < Bitwidth, and if Bitwidth > 3 then x^(2^k) = 0 for every
256 /// even x in Bitwidth-bit arithmetic.
257 static unsigned CarmichaelShift(unsigned Bitwidth) { argument
258 if (Bitwidth < 3)
259 return Bitwidth - 1;
260 return Bitwidth
308 unsigned Bitwidth = LHS.getBitWidth(); local
453 unsigned Bitwidth = I->getType()->getScalarType()->getPrimitiveSizeInBits(); local
[all...]
/macosx-10.10/llvmCore-3425.0.34/include/llvm/
H A DType.h183 bool isIntegerTy(unsigned Bitwidth) const;
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/
H A DType.cpp51 bool Type::isIntegerTy(unsigned Bitwidth) const {
52 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;

Completed in 143 milliseconds