llvm::PatternMatch::m_LowBitMask

m_LowBitMask overloads

Synopses

Declared in <llvm/IR/PatternMatch.h>

Match an integer or vector with only the low bit(s) set. For vectors, this includes constants with undefined elements.

cst_pred_ty<is_lowbit_mask>
m_LowBitMask();
» more...

Match a low-bit-mask constant and bind the APInt.

api_pred_ty<is_lowbit_mask>
m_LowBitMask(APInt const*& V);
» more...

Return Value

  • A matcher for an integer or vector with only the low bit(s) set. For vectors, this includes constants with undefined elements.
  • A matcher for a low-bit-mask constant and bind the APInt.

Parameters

NameDescription
VReference to the pointer that receives the matched APInt.