[#llvm-PatternMatch-m_NegatedPower2-0b] = xref:llvm.adoc[llvm]::xref:llvm/PatternMatch.adoc[PatternMatch]::m_NegatedPower2 :relfileprefix: ../../ :mrdocs: `m_NegatedPower2` overloads == Synopses Declared in `<llvm/IR/PatternMatch.h>` Match a integer or vector negated power‐of‐2. For vectors, this includes constants with undefined elements. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/PatternMatch/cst_pred_ty.adoc[cst_pred_ty<is_negated_power2>] xref:llvm/PatternMatch/m_NegatedPower2-07.adoc[m_NegatedPower2](); ---- [.small]#xref:llvm/PatternMatch/m_NegatedPower2-07.adoc[_» more..._]# Match a negated power‐of‐two constant and bind the APInt. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/PatternMatch/api_pred_ty.adoc[api_pred_ty<is_negated_power2>] xref:llvm/PatternMatch/m_NegatedPower2-09.adoc[m_NegatedPower2](xref:llvm/APInt.adoc[APInt] const*& V); ---- [.small]#xref:llvm/PatternMatch/m_NegatedPower2-09.adoc[_» more..._]# == Return Value * A matcher for a integer or vector negated power‐of‐2. For vectors, this includes constants with undefined elements. * A matcher for a negated power‐of‐two constant and bind the APInt. == Parameters [cols="1,4"] |=== | Name| Description | *V* | Reference to the pointer that receives the matched APInt. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#