1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Forgot to commit the ValueTracking header file along with r52396.

llvm-svn: 52401
This commit is contained in:
Matthijs Kooijman 2008-06-17 13:54:33 +00:00
parent dd32cb58b5
commit 44440c3722

View File

@ -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