struct api_pred_ty

Declaration

template <typename Predicate>
struct api_pred_ty { /* full declaration omitted */ };

Description

This helper class is used to match scalar and vector constants that satisfy a specified predicate, and bind them to an APInt.

Declared at: llvm/include/llvm/IR/PatternMatch.h:257

Templates

Predicate

Member Variables

public const llvm::APInt*& Res

Method Overview

Methods

api_pred_ty<Predicate>(const llvm::APInt*& R)

Declared at: llvm/include/llvm/IR/PatternMatch.h:260

Parameters

const llvm::APInt*& R

template <typename ITy>
bool match(ITy* V)

Declared at: llvm/include/llvm/IR/PatternMatch.h:262

Templates

ITy

Parameters

ITy* V