llvm::PatternMatch::m_Value

Match against the nested pattern, and capture the value if we match.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<typename Pattern>
auto
m_Value(
    Value const*& V,
    Pattern const& P);

Return Value

A matcher for against the nested pattern, and capture the value if we match.

Parameters

NameDescription
VReference that receives the matched Value.
PThe nested pattern to match.