Fold an insertvalue if it can be simplified.
Synopsis
Declared in <llvm/IR/IRBuilderFolder.h>
virtual
Value*
FoldInsertValue(
Value* Agg,
Value* Val,
ArrayRef<unsigned int> IdxList) const = 0;
Return Value
The folded value, or nullptr if the operation cannot be simplified.
Parameters
Name |
Description |
Agg |
The aggregate value to insert into. |
Val |
The value to insert. |
IdxList |
Indices identifying the insertion position. |
Created with MrDocs