llvm::getDebugRegState

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

Synopsis

Declared in <llvm/CodeGen/MachineInstrBuilder.h>

constexpr
RegState
getDebugRegState(bool B);

Return Value

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

Parameters

NameDescription
BTrue to include the debug flag.