llvm::APInt::setBitVal

Set the bit at BitPosition to BitValue.

Synopsis

Declared in <llvm/ADT/APInt.h>

void
setBitVal(
    unsigned int BitPosition,
    bool BitValue);

Parameters

NameDescription
BitPositionZero-based bit index
BitValueValue to store (true = 1, false = 0)