LLVM 22.0.0git
llvm::CastInfoVPPhiAccessors< SrcTy > Struct Template Reference

Support casting from VPRecipeBase -> VPPhiAccessors, by down-casting to the recipe types implementing VPPhiAccessors. More...

#include "Transforms/Vectorize/VPlan.h"

Inheritance diagram for llvm::CastInfoVPPhiAccessors< SrcTy >:
[legend]

Public Types

using Self = CastInfo<VPPhiAccessors, SrcTy>

Static Public Member Functions

static VPPhiAccessorsdoCast (SrcTy R)
 doCast is used by cast<>.
static VPPhiAccessorsdoCastIfPossible (SrcTy f)
 doCastIfPossible is used by dyn_cast<>.
Static Public Member Functions inherited from llvm::CastIsPossible< VPPhiAccessors, SrcTy >
static bool isPossible (const SrcTy &f)

Detailed Description

template<typename SrcTy>
struct llvm::CastInfoVPPhiAccessors< SrcTy >

Support casting from VPRecipeBase -> VPPhiAccessors, by down-casting to the recipe types implementing VPPhiAccessors.

Used by cast<>, dyn_cast<> & co.

Definition at line 3717 of file VPlan.h.

Member Typedef Documentation

◆ Self

template<typename SrcTy>
using llvm::CastInfoVPPhiAccessors< SrcTy >::Self = CastInfo<VPPhiAccessors, SrcTy>

Definition at line 3719 of file VPlan.h.

Member Function Documentation

◆ doCast()

template<typename SrcTy>
VPPhiAccessors * llvm::CastInfoVPPhiAccessors< SrcTy >::doCast ( SrcTy R)
inlinestatic

doCast is used by cast<>.

Definition at line 3722 of file VPlan.h.

References llvm::cast().

Referenced by doCastIfPossible().

◆ doCastIfPossible()

template<typename SrcTy>
VPPhiAccessors * llvm::CastInfoVPPhiAccessors< SrcTy >::doCastIfPossible ( SrcTy f)
inlinestatic

doCastIfPossible is used by dyn_cast<>.

Definition at line 3738 of file VPlan.h.

References doCast(), and llvm::CastIsPossible< VPPhiAccessors, SrcTy >::isPossible().


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