From 2d7fd3811bc7ff95d02592f1f3779f1108b20815 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 10 Jul 2007 14:58:44 +0000 Subject: [PATCH] missing Makefile [r15000] --- include/libfirm/Makefile.in | 87 +++++++++++++++++++++++++++++++++++++ include/libfirm/lowering.h | 13 ++++++ 2 files changed, 100 insertions(+) create mode 100644 include/libfirm/Makefile.in diff --git a/include/libfirm/Makefile.in b/include/libfirm/Makefile.in new file mode 100644 index 000000000..46e797bb7 --- /dev/null +++ b/include/libfirm/Makefile.in @@ -0,0 +1,87 @@ +# +# Project: libFIRM +# File name: ir/be/Makefile.in +# Purpose: +# Author: Boris Boesler, Till Riedel +# Modified by: +# Created: +# CVS-ID: $Id: Makefile.in 14222 2007-05-31 17:24:52Z beck $ +# Copyright: (c) 1999-2005 Universitaet Karlsruhe +# Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. +# + +top_srcdir := @top_srcdir@ +srcdir = @srcdir@ +topdir = ../.. +subdir := include/libfirm + +INSTALL_HEADERS = \ + absgraph.h\ + adt\ + analyze_irg_args.h\ + archop.h\ + be.h\ + callgraph.h\ + cdep.h\ + cgana.h\ + compute_loop_info.h\ + dbginfo.h\ + dfs.h\ + execfreq.h\ + execution_frequency.h\ + field_temperature.h\ + firm_common.h\ + firm.h\ + firmstat.h\ + firm_types.h\ + firm_ycomp.h\ + height.h\ + ident.h\ + interval_analysis.h\ + irarch.h\ + ircgcons.h\ + ircgopt.h\ + irconsconfirm.h\ + ircons.h\ + irdom.h\ + irdump.h\ + iredgekinds.h\ + iredges.h\ + irextbb.h\ + irflag.h\ + irgmod.h\ + irgopt.h\ + irgraph.h\ + irgwalk.h\ + irhooks.h\ + irlivechk.h\ + irloop.h\ + irmemory.h\ + irmode.h\ + irnode.h\ + irop.h\ + iropt_dbg.h\ + iropt.h\ + iroptimize.h\ + irouts.h\ + irprintf.h\ + irprog.h\ + irsimpletype.h\ + irtypeinfo.h\ + irvrfy.h\ + lowering.h\ + old_fctnames.h\ + phiclass.h\ + pseudo_irg.h\ + rta.h\ + seqnumbers.h\ + structure.h\ + trouts.h\ + tv.h\ + typerep.h + +include $(topdir)/MakeRules + +include $(top_srcdir)/MakeTargets + +all: subdir.o diff --git a/include/libfirm/lowering.h b/include/libfirm/lowering.h index 5c57e9558..668db044d 100644 --- a/include/libfirm/lowering.h +++ b/include/libfirm/lowering.h @@ -195,6 +195,19 @@ ir_entity *def_create_intrinsic_fkt(ir_type *method, const ir_op *op, */ void lower_highlevel(void); +/** + * Lowers mode_b operations to integer arithmetic. After the lowering the only + * operations with mode_b are the Projs of Cmps; the only nodes with mode_b + * inputs are Cond and Psi nodes. + * + * Example: Psi(a < 0, 1, 0) => a >> 31 + * + * @param the firm graph to lower + * @param the mode of the lowered operations + * @param if set to 1, psi nodes with only have cmp/=0 as input + */ +void ir_lower_mode_b(ir_graph *irg, ir_mode *mode, int lower_direct_cmp); + /** * An intrinsic mapper function. * -- 2.20.1