llvm::PatternMatch::m_StrictlyPositive

m_StrictlyPositive overloads

Synopses

Declared in <llvm/IR/PatternMatch.h>

Match an integer or vector of strictly positive values. For vectors, this includes constants with undefined elements.

cst_pred_ty<is_strictlypositive>
m_StrictlyPositive();
» more...

Match a strictly positive constant and bind the APInt.

api_pred_ty<is_strictlypositive>
m_StrictlyPositive(APInt const*& V);
» more...

Return Value

  • A matcher for an integer or vector of strictly positive values. For vectors, this includes constants with undefined elements.
  • A matcher for a strictly positive constant and bind the APInt.

Parameters

NameDescription
VReference to the pointer that receives the matched APInt.