mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
Forgot to commit the ValueTracking header file along with r52396.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2fbabf6e6d
commit
de9256ad2e
@ -62,6 +62,13 @@ namespace llvm {
|
|||||||
const unsigned *idx_begin,
|
const unsigned *idx_begin,
|
||||||
const unsigned *idx_end,
|
const unsigned *idx_end,
|
||||||
Instruction *InsertBefore = 0);
|
Instruction *InsertBefore = 0);
|
||||||
|
|
||||||
|
/// This is a convenience wrapper for finding values indexed by a single index
|
||||||
|
/// only.
|
||||||
|
inline Value *FindInsertedValue(Value *V, const unsigned Idx,
|
||||||
|
Instruction *InsertBefore = 0) {
|
||||||
|
return FindInsertedValue(V, &Idx, &Idx + 1, InsertBefore);
|
||||||
|
}
|
||||||
} // end namespace llvm
|
} // end namespace llvm
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user