summaryrefslogtreecommitdiffhomepage
path: root/ir/common
Commit message (Collapse)AuthorAge
* Unify indentation of function parametersSebastian Buchwald2017-03-31
|
* Rework target initialization and queryMatthias Braun2017-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | - Moves machine triple handling code form cparser into libfirm - Create new APIs to set the target and query information about it - Move backend_params into the new target API - Backends initialize ir_target instead of backend_params now - Add new API to get information about the target platform: - Mangle a name for the target platform (and remove compilerlib mangling callback) - Can query size and alignment of basic C types for the platform - Move some constant target information into arch_isa_if_t (we move it to target_info_t later when we realize it needs to be dynamic) - Redo backend initialization. Examples: Simple case: Initialize for host: ir_init(); Complex case: cross-compile to sparc with PIC enabled: ir_init_library(); ir_target_set("sparc-leon-linux-gnu"); ir_target_option("pic"); ir_target_init();
* Reorganize include directivesMatthias Braun2017-02-17
|
* irarch: Leave setup to backendsMatthias Braun2017-01-28
| | | | | | Let backends perform the irarch setup in lower_for_target(). Frontends do not need to explicitely enable it any longer and there is no need to keep the settings around in backend_params.
* panic: Also print the name of the function in TODO.Christoph Mallon2017-01-22
|
* panic: Add the macro TODO(node).Christoph Mallon2017-01-22
| | | | | It prints the given node along the word TODO as panic message. This is useful for unfinished development work.
* Use ir_printf("%F") instead of printf("%s",get_entity_name())Matthias Braun2016-02-29
|
* Add a function to return the libfirm micro version numberMatthias Braun2016-01-07
|
* Prepare for 1.22.1Matthias Braun2016-01-06
|
* debugger: Remove 'firm_strncaseequal()' from debug keyword recognition.Christoph Mallon2015-12-07
| | | | | Now only e.g. 'setmask' works, but 'SetMAsK' does not anymore. I think, the loss is acceptable.
* adt: Add and use 'streq()'.Christoph Mallon2015-12-07
|
* Remove the whole type op conceptMatthias Braun2015-12-07
| | | | | The simple tp_opcode enum is enough, no need to have dispatch tables and information structs behind each type kind.
* Update for release, add simple make_release.sh scriptMatthias Braun2015-12-06
|
* Avoid unnecessary inclusion of strings.hMatthias Braun2015-12-06
|
* irhooks: Remove hook_free_graphMatthias Braun2015-09-19
|
* Remove firmstatMatthias Braun2015-09-19
| | | | | | | It is barely used but cross cuts into most libfirm components and therefore isn't maintenance free. The statev framework stays obviously.
* Move ir/common/irtools.* to ir/irMatthias Braun2015-09-10
| | | | | The functions were all dealing with graphs so ir/ir is a more logical place to be.
* Move ir_prog struct from irtypes.h to irprog_t.h, cleanupMatthias Braun2015-09-10
| | | | Also move ir_nodemap struct into a new irnodemap_t.h file.
* ir, be: The backend does not need to be initialized early anymore, so do it ↵Christoph Mallon2015-07-27
| | | | | | later. Now we can use things, which get initialized for the middle end, e.g. modes.
* Move stuff from ir/debug to ir/ir and ir/commonMatthias Braun2015-07-25
|
* ident: Replace id_mangle*() by new_id_fmt().Christoph Mallon2015-01-28
|
* ir: Remove dependency edges.Christoph Mallon2015-01-12
|
* debug: Remove the unused macros DBG_RETAIL() and DB_RETAIL().Christoph Mallon2015-01-04
|
* remove unused firm_pset_dump()Matthias Braun2014-12-31
|
* move questionable copy_irn_to_irg() function to its only userMatthias Braun2014-12-31
|
* ir: Remove redundant and/or wrong comments from ir_init().Christoph Mallon2014-12-02
|
* tv: set maximum int tarval size to 128bitsMatthias Braun2014-12-02
|
* all: Remove unnecessary #include.Christoph Mallon2014-11-30
|
* Do not rely on timeradd, timersub, and timerclear.Sebastian Buchwald2014-11-27
|
* Undef __USE_BSD if it was not defined before.Sebastian Buchwald2014-11-26
|
* ir: Use add_irn_deps().Christoph Mallon2014-11-17
|
* ir: Remove special case for oparity_dynamic from irn_copy_into_irg().Christoph Mallon2014-10-31
| | | | new_ir_node() handles oparity_dynamic correctly.
* The start block is not special anymoreMatthias Braun2014-09-25
| | | | | | | | | | | | | | | The start block is not special block without any "real" instructions anymore. In particular this means: - There is no X_initial_exec Proj from the Start node anymore, "normal" cfopts are used for jumping out of the start block. - The backend never had the special convention of the start block not containing actual code and used to fixup this discrpancy, no more fixup code needed now. - The part_block() code got a bit more complicated because splitting the start block is tricky (previously part_block() simply failed in this case but was never used in the Start block because of its special convention)
* put irg link directly into node attributsMatthias Braun2014-09-17
| | | | | | | | | The previous approach put the irg link into the block attributes, so while saving memory an extra indirection was necessary. Some testing with valgrind massif+callgrind revealed that a direct link increses peak memory usage by ~1% while also increasing runtime by ~1%. More importantly the code gets a bit simpler and some strange corner cases can be removed with the direct link.
* irgraph: cleanup, use C99Matthias Braun2014-07-30
|
* rename error.h to panic.hMatthias Braun2014-05-28
|
* reorganize noreturn,printf,nothrow attributes in funcattr.hMatthias Braun2014-05-28
|
* Add and use foreach_irn_pred{,_r}().Christoph Mallon2014-02-17
|
* irn_copy_into_irg: Fix irg attributes after copying.Andreas Seltenreich2014-02-10
|
* Remove the unimplemented macro POINTER_READ().Christoph Mallon2014-01-14
|
* rename get_irn_deps to get_irn_n_depsMatthias Braun2013-11-29
|
* remove convept of a NULL bitpatternMatthias Braun2013-11-28
|
* increase default tarval precision and reenable 128bit float on sparcMatthias Braun2013-11-28
|
* remove ir_get_heap_used_bytes() APIMatthias Braun2013-11-11
| | | | | The API is not really used, has nothing to do with compilers and uses glibc/linux/windows specific extensions.
* cleanup, use C99Matthias Braun2013-07-31
|
* remove overly complicate pass management codeMatthias Braun2013-05-15
| | | | | Nobody uses it currently, and it is a burden for everyone writing a new pass.
* do not include config.h anymoreMatthias Braun2013-05-04
| | | | | | It has been empty for nearly all systems. People who used to put stuff in config.h can still create a config.h on their own and inject -include (gcc) or /FI (msvc) into their CPPFLAGS.
* move firm version from config.h to version.hMatthias Braun2013-05-04
|
* remove xfree(), bitset_free() and use free() insteadMatthias Braun2013-01-29
|
* cleanup: Remove unnecessary #include "irgraph.h".Christoph Mallon2013-01-05
|