mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
IRHelpers: refactor getPC
Dead code removal and various cleanup while refactoring `getPC`.
This commit is contained in:
@@ -942,6 +942,10 @@ inline llvm::User *getUniqueUser(llvm::Value *V) {
|
||||
return Result;
|
||||
}
|
||||
|
||||
/// \brief Find the first call to newpc starting from \p TheInstruction
|
||||
///
|
||||
llvm::CallInst *reverseNewPCTraversal(llvm::Instruction *TheInstruction);
|
||||
|
||||
/// \brief Find the PC which lead to generated \p TheInstruction
|
||||
///
|
||||
/// \return a pair of integers: the first element represents the PC and the
|
||||
|
||||
Reference in New Issue
Block a user