llvm::APInt::concat

Concatenate the bits from NewLSB onto the bottom of *this.

Synopsis

Declared in <llvm/ADT/APInt.h>

APInt
concat(APInt const& NewLSB) const;

Description

This is equivalent to: (this->zext(NewWidth) << NewLSB.getBitWidth()) | NewLSB.zext(NewWidth)

Return Value

*this concatenated with NewLSB in the low bits.

Parameters

NameDescription
NewLSBBits placed in the low part of the result