mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
implement SSAUpdater::RewriteUseAfterInsertions, a helpful form of RewriteUse.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -94,6 +94,12 @@ public:
|
||||
/// for the use's block will be considered to be below it.
|
||||
void RewriteUse(Use &U);
|
||||
|
||||
/// RewriteUseAfterInsertions - Rewrite a use, just like RewriteUse. However,
|
||||
/// this version of the method can rewrite uses in the same block as a
|
||||
/// definition, because it assumes that all uses of a value are below any
|
||||
/// inserted values.
|
||||
void RewriteUseAfterInsertions(Use &U);
|
||||
|
||||
private:
|
||||
Value *GetValueAtEndOfBlockInternal(BasicBlock *BB);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user