aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
Commit message (Collapse)AuthorAgeFilesLines
* Fix #include flavorChris Lattner2004-10-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16658 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a context for the callback so different compression scenarios can beReid Spencer2004-10-041-9/+11
| | | | | | | distinguished. Tidy up documentation. Thanks, Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16652 91177308-0d34-0410-b5e6-96231b3b80d8
* First version of a support utility to provide generalized compression inReid Spencer2004-10-041-0/+99
| | | | | | | LLVM that handles availability and unavailability of bzip2 and zlib. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16648 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated the last two header files so that they are configured withJohn Criswell2004-09-242-2/+6
| | | | | | | | AC_CONFIG_HEADERS. This should prevent LLVM from needlessly re-compiling on a re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16510 91177308-0d34-0410-b5e6-96231b3b80d8
* Configure Datatypes.h.in with AC_CONFIG_HEADERS. This should prevent itJohn Criswell2004-09-241-3/+15
| | | | | | | | from being re-generated if the new version is identical to the old version. Hence, it should save us some recompiling after re-configures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16506 91177308-0d34-0410-b5e6-96231b3b80d8
* I was actually wrong in my "simplification".Misha Brukman2004-09-031-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16156 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify check for uint64_t and u_int64_tMisha Brukman2004-09-031-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16155 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide correct definition of uint64_t for platforms that have onlyReid Spencer2004-09-031-0/+12
| | | | | | | u_int64_t defined. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16154 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes For Bug 352Reid Spencer2004-09-0127-72/+77
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an overloadChris Lattner2004-08-171-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15889 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow an arbitrary prefix.Chris Lattner2004-08-171-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15864 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow any cl::opt to use the method getPosition() to retrieve the option'sReid Spencer2004-08-131-24/+34
| | | | | | | | | | | | | | absolute position on the command line. Similarly allow any cl::list to use the method getPosition(n) to retrieve the absolute position of the nth option in the list. This provides support for two things: (a) options like -l that are actually positional and their order of occurrence matters when they are intermixed with positional arguments like "a.o"; and (b) options like -x LANG which affect only the positional arguments that come after the option. In both cases, knowing the absolute position of a given option helps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15725 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor efficiency improvementsChris Lattner2004-08-041-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15461 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable compilation.Misha Brukman2004-07-301-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15344 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in some useful helper routines for doing ML-style pattern matching onChris Lattner2004-07-301-0/+280
| | | | | | | the LLVM IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15341 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide timeout values to all abstract interpretersChris Lattner2004-07-241-4/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15159 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for killing the program if it executes for too long.Chris Lattner2004-07-241-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15158 91177308-0d34-0410-b5e6-96231b3b80d8
* Include <iostream> here, because most people using DEBUG() want to use ↵Brian Gaeke2004-07-211-0/+3
| | | | | | | | | std::cerr too. This means that users of this file do not also need to include <iostream>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15088 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototypes for platform-independent wrappers for isinf().Brian Gaeke2004-07-211-0/+4
| | | | | | | Patch contributed by Bill Wendling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15055 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for stdint.h. It is now automatically included byJohn Criswell2004-07-191-0/+1
| | | | | | | | DataTypes.h. So far, it doesn't seem to break Linux, Solaris, or MacOS X. This should automatically include it for those people who need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15006 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new macro to be used for the end of enum lists.Chris Lattner2004-07-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14862 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide better support for pointer-valued command line argumentsChris Lattner2004-07-111-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14746 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new headerChris Lattner2004-07-111-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14737 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new methodChris Lattner2004-07-081-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14705 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of Annotable's vtable. If anyone deletes an object through an ↵Chris Lattner2004-06-271-1/+1
| | | | | | | | | | | Annotable*, they get what they deserve. This reduces the size of Instruction & Function by 4 bytes each. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14433 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide prototypes for IsNAN() wrapper.Brian Gaeke2004-06-231-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the StableBasicBlockNumbering, a little helper class for ↵Chris Lattner2004-06-191-0/+70
| | | | | | | | | computing (strangely enough) a stable (determinstic) numbering for basic blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14246 91177308-0d34-0410-b5e6-96231b3b80d8
* Warning fooChris Lattner2004-06-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14035 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some constants for VCChris Lattner2004-06-041-3/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14028 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a *really* dumb warning on VCChris Lattner2004-06-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14025 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ssize_t for VC++Chris Lattner2004-06-041-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more needed typedefsChris Lattner2004-06-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14014 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this work with VC++Chris Lattner2004-06-041-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14012 91177308-0d34-0410-b5e6-96231b3b80d8
* The prototype for ParseCommandLineOptions changed at some point, but thisChris Lattner2004-06-031-1/+1
| | | | | | | was never updated. I guess GCC just ignores the prototype git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13995 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new CopyFile functionChris Lattner2004-06-021-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13944 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new function for the JITChris Lattner2004-05-281-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13869 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a pair of functions to hide system specific details of mapping a file in ↵Chris Lattner2004-05-281-1/+11
| | | | | | for reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed unused, useless header file.Reid Spencer2004-05-251-53/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13757 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove virtual destructor from InstVisitor. This class should never beAlkis Evlogimenos2004-05-231-2/+0
| | | | | | | | | used through a base pointer/reference so inproper destruction should never be an issue. Removing this last virtual function also saves 4 bytes off each InstVisitor instance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13664 91177308-0d34-0410-b5e6-96231b3b80d8
* Add getCaller() method.Vikram S. Adve2004-05-231-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13650 91177308-0d34-0410-b5e6-96231b3b80d8
* Starting an identifier with an _ is not legal C/C++ code.Chris Lattner2004-05-211-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13620 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the enum corresponding to the source change I made earlierChris Lattner2004-05-071-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13395 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for gcc3.4: invalid use of forward delacred class on line 93Alkis Evlogimenos2004-05-061-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13370 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the stuff that fixes the size, orientation & fonts of graphs toBrian Gaeke2004-05-051-3/+2
| | | | | | | | | | | | the debugging functions that call "dot". These fixed settings have various problems: for example, the fixed size that is set in the graph traits classes is not appropriate for turning the dot file into a PNG, and if TrueType font rendering is being used, the 'Courier' TrueType font may not be installed. It seems easy enough to specify these things on the command line, anyhow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13366 91177308-0d34-0410-b5e6-96231b3b80d8
* Apply simplification suggested by Chris: why assign() when operator = will do?Brian Gaeke2004-05-041-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13364 91177308-0d34-0410-b5e6-96231b3b80d8
* Add "Args" optional argument to AbstractInterpreter factory methods, whichBrian Gaeke2004-05-041-8/+20
| | | | | | | | | | | | fills in a ToolArgs vector in the AbstractInterpreter if it is set. This ToolArgs vector is used to pass additional arguments to LLI and/or LLC. This is intended to address Bug 40. Also, make -debug-only=toolrunner work for the LLC and CBE AbstractInterpreters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13356 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide visit(Module&) and visitModule(Module&) functionality.Misha Brukman2004-05-041-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13353 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the GraphTraits for MachineBasicBlocks to the MachineBasicBlock file.Chris Lattner2004-05-011-124/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13299 91177308-0d34-0410-b5e6-96231b3b80d8
* Add machine-CFG graph traits specializations.Brian Gaeke2004-04-291-0/+124
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13288 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to fix up the inst_iterator to pass to boost iterator checks. ThisChris Lattner2004-04-271-15/+18
| | | | | | | patch was graciously contributed by Vladimir Prus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13185 91177308-0d34-0410-b5e6-96231b3b80d8