llvm::getKillRegState

Return RegState::Kill when B is true, else RegState::NoFlags.

Synopsis

Declared in <llvm/CodeGen/MachineInstrBuilder.h>

constexpr
RegState
getKillRegState(bool B);

Return Value

RegState::Kill when B is true, otherwise RegState::NoFlags.

Parameters

NameDescription
BTrue to include the kill flag.