3 * File name: ir/clone functions./proc_cloning.h
4 * Purpose: procedure cloning
5 * Author: Beyhan Veliev
8 * Copyright: (c) 1998-2005 Universität Karlsruhe
9 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
11 #ifndef PROC_CLONING_H
12 #define PROC_CLONING_H
14 #include "firm_types.h"
17 * Do the procedure cloning. Evaluate a heuristic weight for every
18 * call(..., Const, ...). If the weight is bigger than threshold,
19 * clone the entity and fix the calls.
21 * @param threshold the threshold for cloning
23 void proc_cloning(float threshold);
25 #endif /* PROC_CLONING_H */