Home
last modified time | relevance | path

Searched refs:OldBitWidth (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h162 unsigned OldBitWidth = getBitWidth(); in zext() local
164 NewZero.setBitsFrom(OldBitWidth); in zext()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp2980 unsigned OldBitWidth = A.getBitWidth(); in ScaleBitMask() local
2981 assert((((OldBitWidth % NewBitWidth) == 0) || in ScaleBitMask()
2982 ((NewBitWidth % OldBitWidth) == 0)) && in ScaleBitMask()
2987 if (OldBitWidth == NewBitWidth) in ScaleBitMask()
2996 if (NewBitWidth > OldBitWidth) { in ScaleBitMask()
2998 unsigned Scale = NewBitWidth / OldBitWidth; in ScaleBitMask()
2999 for (unsigned i = 0; i != OldBitWidth; ++i) in ScaleBitMask()
3003 unsigned Scale = OldBitWidth / NewBitWidth; in ScaleBitMask()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2762 unsigned OldBitWidth = Int.getBitWidth(); in truncateBitfieldValue() local
2764 if (NewBitWidth < OldBitWidth) in truncateBitfieldValue()
2765 Int = Int.trunc(NewBitWidth).extend(OldBitWidth); in truncateBitfieldValue()