ΒΆllvm::Constant*
ConstantFoldShuffleVectorInstruction(
    llvm::Constant* V1,
    llvm::Constant* V2,
    llvm::Constant* Mask)

Description

Attempt to constant fold a shufflevector instruction with the specified operands and indices. The constant result is returned if successful; if not, null is returned.

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

Parameters

llvm::Constant* V1
llvm::Constant* V2
llvm::Constant* Mask