LLVM  15.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::PatternMatch::VScaleVal_match Struct Reference

Matches patterns for vscale. More...

#include "llvm/IR/PatternMatch.h"

Collaboration diagram for llvm::PatternMatch::VScaleVal_match:
Collaboration graph
[legend]

Public Member Functions

 VScaleVal_match (const DataLayout &DL)
 
template<typename ITy >
bool match (ITy *V)
 

Public Attributes

const DataLayoutDL
 

Detailed Description

Matches patterns for vscale.

This can either be a call to llvm.vscale or the constant expression ptrtoint(gep <vscale x 1 x i8>, <vscale x 1 x i8>* null, i32 1> under the right conditions determined by DataLayout.

Definition at line 2459 of file PatternMatch.h.

Constructor & Destructor Documentation

◆ VScaleVal_match()

llvm::PatternMatch::VScaleVal_match::VScaleVal_match ( const DataLayout DL)
inline

Definition at line 2461 of file PatternMatch.h.

Member Function Documentation

◆ match()

template<typename ITy >
bool llvm::PatternMatch::VScaleVal_match::match ( ITy *  V)
inline

Member Data Documentation

◆ DL

const DataLayout& llvm::PatternMatch::VScaleVal_match::DL

Definition at line 2460 of file PatternMatch.h.

Referenced by match().


The documentation for this struct was generated from the following file: