ΒΆllvm::Constant*
ConstantFoldShuffleVectorInstruction(
    llvm::Constant* V1,
    llvm::Constant* V2,
    ArrayRef<int> Mask)

Description

Attempt to constant fold a shufflevector instruction with the specified operands and mask. See class ShuffleVectorInst for a description of the mask representation. The constant result is returned if successful; if not, null is returned.

Declared at: llvm/include/llvm/Analysis/ConstantFolding.h:144

Parameters

llvm::Constant* V1
llvm::Constant* V2
ArrayRef<int> Mask