Given operands for a ShuffleVectorInst, fold the result or return null.
Synopsis
Declared in <llvm/Analysis/InstructionSimplify.h>
Value*
simplifyShuffleVectorInst(
Value* Op0,
Value* Op1,
ArrayRef<int> Mask,
Type* RetTy,
SimplifyQuery const& Q);
Description
See class ShuffleVectorInst for a description of the mask representation.
Return Value
The folded value, or null if no simplification was found.
Parameters
Name |
Description |
Op0 |
First vector operand. |
Op1 |
Second vector operand. |
Mask |
Shuffle mask. |
RetTy |
Result type of the shuffle. |
Q |
Simplification query providing analyses and flags. |
Created with MrDocs