retdec
inst_opt_rda.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_BIN2LLVMIR_OPTIMIZATIONS_INST_OPT_RDA_INST_OPT_RDA_H
8 #define RETDEC_BIN2LLVMIR_OPTIMIZATIONS_INST_OPT_RDA_INST_OPT_RDA_H
9 
10 #include <unordered_set>
11 
12 #include <llvm/IR/Instruction.h>
13 
14 namespace retdec {
15 namespace bin2llvmir {
16 
17 class ReachingDefinitionsAnalysis;
18 class Abi;
19 
20 namespace inst_opt_rda {
21 
22 bool optimize(
23  llvm::Instruction* insn,
25  Abi* abi,
26  std::unordered_set<llvm::Value*>* toRemove = nullptr);
27 
28 } // namespace inst_opt_rda
29 } // namespace bin2llvmir
30 } // namespace retdec
31 
32 #endif
Definition: abi.h:27
Definition: reaching_definitions.h:121
The frontend-end part of the decompiler.
bool optimize(llvm::Instruction *insn, ReachingDefinitionsAnalysis &RDA, Abi *abi, std::unordered_set< llvm::Value * > *toRemove=nullptr)
Definition: inst_opt_rda.cpp:204
Definition: archive_wrapper.h:19