retdec
Classes | Namespaces | Functions
loop_optimizer.h File Reference

Utilities for optimizers. More...

#include "retdec/llvmir2hll/support/smart_ptr.h"
#include "retdec/llvmir2hll/support/visitors/ordered_all_visitor.h"

Go to the source code of this file.

Classes

struct  retdec::llvmir2hll::SplittedWhileTrueLoop
 A representation of a "while true" loop. More...
 
struct  retdec::llvmir2hll::IndVarInfo
 Information about the induction variable of a "while true" loop. More...
 

Namespaces

 retdec
 
 retdec::llvmir2hll
 

Functions

bool retdec::llvmir2hll::isLoopEnd (ShPtr< Statement > stmt)
 Returns true if stmt is the ending statement of a loop, false otherwise. More...
 
ShPtr< Expression > retdec::llvmir2hll::getExitCondition (ShPtr< Statement > loopEnd)
 Returns the exit condition from the given loop end. More...
 
ShPtr< SplittedWhileTrueLoop > retdec::llvmir2hll::splitWhileTrueLoop (ShPtr< WhileLoopStmt > stmt, ShPtr< IndVarInfo > indVarInfo)
 Splits the given "while True" loop stmt into three parts. More...
 
ShPtr< IndVarInfo > retdec::llvmir2hll::getIndVarInfo (ShPtr< WhileLoopStmt > stmt)
 Returns information about the induction variable in the given "while true" loop. More...
 

Detailed Description

Utilities for optimizers.