aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
Commit message (Collapse)AuthorAgeFilesLines
* Moved into the poolalloc tree.John Criswell2004-11-221-93/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18102 91177308-0d34-0410-b5e6-96231b3b80d8
* Ignore generated filesChris Lattner2004-11-211-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18071 91177308-0d34-0410-b5e6-96231b3b80d8
* Update comments, now that CPR's are gone, inline the methodsChris Lattner2004-11-181-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17957 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize on 'class' instead of 'struct'. Gets rid of warnings in VC++Reid Spencer2004-11-161-1/+2
| | | | | | | Patch contributed by Jeff Cohen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17889 91177308-0d34-0410-b5e6-96231b3b80d8
* Per code review:Reid Spencer2004-11-161-7/+13
| | | | | | | *Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17871 91177308-0d34-0410-b5e6-96231b3b80d8
* Linker is its own module now. Moved to include/llvm/Linker.hReid Spencer2004-11-141-33/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17758 91177308-0d34-0410-b5e6-96231b3b80d8
* Add higher level interface to simplify use of CompressorReid Spencer2004-11-141-13/+88
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17757 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the MoreHelp function pointer. If non-null, this specifies a function to ↵Reid Spencer2004-11-141-0/+8
| | | | | | be called to print out additional help information git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17756 91177308-0d34-0410-b5e6-96231b3b80d8
* Add useful method, minor cleanupsChris Lattner2004-11-131-3/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17715 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for shiftsChris Lattner2004-11-131-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17702 91177308-0d34-0410-b5e6-96231b3b80d8
* defining __STDC_LIMIT_MACROS on the command line is not really necessaryChris Lattner2004-11-031-5/+6
| | | | | | | | | | | for Visual Studio, and is a bit of a pain when you want to include the LLVM headers from your own project, so I moved the check a bit down into the Unix case to avoid the hassle... Here is a patch Patch by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17450 91177308-0d34-0410-b5e6-96231b3b80d8
* Commented out the _Alloc_traits specialization entirely, as it is onlyJohn Criswell2004-10-281-1/+7
| | | | | | | | | | supported by specific versions of GCC. It is left in place in case anyone wants to updated it for GCC 3.4 or re-use it for earlier versions of GCC where it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17324 91177308-0d34-0410-b5e6-96231b3b80d8
* Only add the _Alloc_traits specialization in if we're compiling forJohn Criswell2004-10-281-0/+2
| | | | | | | | Linux and not compiling for Sparc. This is still probably not correct, or portable, but it'll do for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17321 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner2004-10-273-17/+21
| | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix headerChris Lattner2004-10-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17259 91177308-0d34-0410-b5e6-96231b3b80d8
* * DataTypesFix.h moved to AIXDataTypesFix.hMisha Brukman2004-10-262-12/+9
| | | | | | | | * Condition #inclusion of AIXDataTypes.h on the _AIX preprocessor symbol to prevent extra I/O on non-AIX systems. Thus, no #ifdef in AIXDataTypes.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17257 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC better, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17215 91177308-0d34-0410-b5e6-96231b3b80d8
* Move code to redefine INT64_{MIN,MAX} on AIX/PowerPC to a separate header,Misha Brukman2004-10-182-10/+31
| | | | | | | because #undef becomes commented out in DataTypes.h.in due to autoheader git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17135 91177308-0d34-0410-b5e6-96231b3b80d8
* * AIX on Power defines INT64_MIN and INT64_MAX in ways that annoy GCC, soMisha Brukman2004-10-181-3/+14
| | | | | | | | special-case those definitions * Add comments in #ifdef/#else/#endif clauses for ease of reading git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17132 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the unreachable instructionChris Lattner2004-10-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17039 91177308-0d34-0410-b5e6-96231b3b80d8
* 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