Given operands for an ExtractValueInst, fold the result or return null.
Synopsis
Declared in <llvm/Analysis/InstructionSimplify.h>
Value*
simplifyExtractValueInst(
Value* Agg,
ArrayRef<unsigned int> Idxs,
SimplifyQuery const& Q);
Return Value
The folded value, or null if no simplification was found.
Parameters
Name |
Description |
Agg |
Aggregate value being extracted from. |
Idxs |
Indices locating the extracted value. |
Q |
Simplification query providing analyses and flags. |
Created with MrDocs