Home
last modified time | relevance | path

Searched refs:NewLSB (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h927 APInt concat(const APInt &NewLSB) const { in concat() argument
929 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth(); in concat()
931 return APInt(NewWidth, (U.VAL << NewLSB.getBitWidth()) | NewLSB.U.VAL); in concat()
932 return concatSlowCase(NewLSB); in concat()
2038 APInt concatSlowCase(const APInt &NewLSB) const;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp353 APInt APInt::concatSlowCase(const APInt &NewLSB) const { in concatSlowCase()
354 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth(); in concatSlowCase()
355 APInt Result = NewLSB.zext(NewWidth); in concatSlowCase()
356 Result.insertBits(*this, NewLSB.getBitWidth()); in concatSlowCase()