class VPBranchOnMaskRecipe

Declaration

class VPBranchOnMaskRecipe : public VPRecipeBase { /* full declaration omitted */ };

Description

A recipe for generating conditional branches on the bits of a mask.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:960

Inherits from: VPRecipeBase

Method Overview

  • public VPBranchOnMaskRecipe(llvm::VPValue * BlockInMask)
  • public static inline bool classof(const llvm::VPRecipeBase * V)
  • public void execute(llvm::VPTransformState & State)
  • public void print(llvm::raw_ostream & O, const llvm::Twine & Indent) const

Inherited from VPRecipeBase:

Methods

VPBranchOnMaskRecipe(llvm::VPValue* BlockInMask)

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:965

Parameters

llvm::VPValue* BlockInMask

static inline bool classof(
    const llvm::VPRecipeBase* V)

Description

Method to support type inquiry through isa, cast, and dyn_cast.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:971

Parameters

const llvm::VPRecipeBase* V

void execute(llvm::VPTransformState& State)

Description

Generate the extraction of the appropriate bit from the block mask and the conditional branch.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:977

Parameters

llvm::VPTransformState& State

void print(llvm::raw_ostream& O,
           const llvm::Twine& Indent) const

Description

Print the recipe.

Declared at: llvm/lib/Transforms/Vectorize/VPlan.h:980

Parameters

llvm::raw_ostream& O
const llvm::Twine& Indent