mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
Make the InsertBefore argument to FindInsertedValue optional, so you can find an inserted value without modifying the code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,10 +55,13 @@ namespace llvm {
|
||||
/// FindScalarValue - Given an aggregrate and an sequence of indices, see if the
|
||||
/// scalar value indexed is already around as a register, for example if it were
|
||||
/// inserted directly into the aggregrate.
|
||||
///
|
||||
/// If InsertBefore is not null, this function will duplicate (modified)
|
||||
/// insertvalues when a part of a nested struct is extracted.
|
||||
Value *FindInsertedValue(Value *V,
|
||||
const unsigned *idx_begin,
|
||||
const unsigned *idx_end,
|
||||
Instruction *InsertBefore);
|
||||
Instruction *InsertBefore = 0);
|
||||
} // end namespace llvm
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user