Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAPInt.h908 APInt concat(const APInt &NewLSB) const { in concat() argument
910 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth(); in concat()
912 return APInt(NewWidth, (U.VAL << NewLSB.getBitWidth()) | NewLSB.U.VAL); in concat()
913 return concatSlowCase(NewLSB); in concat()
1968 APInt concatSlowCase(const APInt &NewLSB) const;
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPInt.cpp344 APInt APInt::concatSlowCase(const APInt &NewLSB) const { in concatSlowCase()
345 unsigned NewWidth = getBitWidth() + NewLSB.getBitWidth(); in concatSlowCase()
346 APInt Result = NewLSB.zext(NewWidth); in concatSlowCase()
347 Result.insertBits(*this, NewLSB.getBitWidth()); in concatSlowCase()