llvm::PatternMatch::m_ZExtOrTruncOrSelf

Matches ZExt, Trunc, or the value itself.

Synopsis

Declared in <llvm/IR/PatternMatch.h>

template<typename OpTy>
auto
m_ZExtOrTruncOrSelf(OpTy const& Op);

Return Value

A matcher for ZExt, Trunc, or the value itself.

Parameters

NameDescription
OpOperand matcher.