Given operands for an ExtractElementInst, fold the result or return null.
Declared in <llvm/Analysis/InstructionSimplify.h>
Value*
simplifyExtractElementInst(
Value* Vec,
Value* Idx,
SimplifyQuery const& Q);
The folded value, or null if no simplification was found.
| Name | Description |
|---|---|
| Vec | Vector value being extracted from. |
| Idx | Index of the extracted element. |
| Q | Simplification query providing analyses and flags. |