#include "be_t.h"
#include "beutil.h"
#include "bechordal_t.h"
-#include "bearch_t.h"
+#include "bearch.h"
#include "belive_t.h"
-#include "benode_t.h"
-#include "besched_t.h"
+#include "benode.h"
+#include "besched.h"
#include "bestatevent.h"
-#include "beirg_t.h"
+#include "beirg.h"
#include "beintlive_t.h"
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
* create one. The only restriction is, that the phi argument
* may not be live in at the current block, since this argument
* interferes with the phi and must thus not be member of a
- * Perm. A copy will be inserted for this argument alter on.
+ * Perm. A copy will be inserted for this argument later on.
*/
if(!pp && !be_is_live_in(lv, bl, arg)) {
templ.pos = n_projs++;
DBG((dbg, LEVEL_1, " for %+F(%s) -- %+F(%s)\n", phi, phi_reg->name, arg, arg_reg->name));
- if (values_interfere(chordal_env->birg, phi, arg)) {
+ if (be_values_interfere(lv, phi, arg)) {
/*
Insert a duplicate in arguments block,
make it the new phi arg,
DBG((dbg, LEVEL_1, "Setting regs and placing dupls...\n"));
irg_block_walk_graph(irg, set_regs_or_place_dupls_walker, NULL, chordal_env);
- /* TODO: unfortunaltely updating doesn't work yet. */
+ /* TODO: unfortunately updating doesn't work yet. */
be_liveness_invalidate(lv);
if (chordal_env->opts->dump_flags & BE_CH_DUMP_SSADESTR)