llvm::PatternMatch::m_NegatedPower2OrZero

Match a zero or negated power-of-two constant and bind the APInt.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

api_pred_ty<is_negated_power2_or_zero>
m_NegatedPower2OrZero(APInt const*& V);

Return Value

A matcher for a zero or negated power-of-two constant and bind the APInt.

Parameters

NameDescription
VReference to the pointer that receives the matched APInt.