aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Correct the interface of a function to use the correct typedef for anReid Spencer2004-09-111-2/+2
| | | | | | | argument so that it will always compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16284 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the remove method for deleting entries from the SetVector.Reid Spencer2004-09-111-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16283 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the dependent libraries list use a SetVector instead of a regularReid Spencer2004-09-111-3/+4
| | | | | | | vector so that duplicate libraries never occur within a module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16280 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial commit of a file to declare the interface for platform independentReid Spencer2004-09-111-0/+53
| | | | | | | support for various memory allocation operations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16279 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods for detecting file types by magic number, getting the file nameReid Spencer2004-09-111-1/+38
| | | | | | | suffix for shared objects, and stripping a path down to its base name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16278 91177308-0d34-0410-b5e6-96231b3b80d8
* Add methods for detecting different kinds of files by their magic number,Reid Spencer2004-09-111-0/+42
| | | | | | | | getting the suffix for shared objects, and extracting the basename from a path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16277 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing #includeChris Lattner2004-09-092-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16256 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a DenseMap for mapping reg->reg. This improves the LiveIntervalAlkis Evlogimenos2004-09-081-6/+7
| | | | | | | analysis running time from 2.7869secs to 2.5226secs on 176.gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16244 91177308-0d34-0410-b5e6-96231b3b80d8
* Add HAS_U_INT64_TReid Spencer2004-09-051-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16184 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
* Fixes to make LLVM compile with vc7.1.Alkis Evlogimenos2004-09-032-1/+2
| | | | | | | Patch contributed by Paolo Invernizzi! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16152 91177308-0d34-0410-b5e6-96231b3b80d8
* Added u_int64_t because some systems use that instead of uint64_t.John Criswell2004-09-021-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16144 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull in definition of std::unary_function.Alkis Evlogimenos2004-09-022-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16140 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes For Bug 352Reid Spencer2004-09-01150-7104/+206
| | | | | | | | | 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
* Initial commit for platform independent system configuration support.Reid Spencer2004-08-311-0/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16128 91177308-0d34-0410-b5e6-96231b3b80d8
* Update doxygen comment now that getSpillSize is supposed to return value in bitsNate Begeman2004-08-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16101 91177308-0d34-0410-b5e6-96231b3b80d8
* Put the lib/System interface functions in llvm::sys namespace.Reid Spencer2004-08-291-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16083 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial commit of the platform agnostic interface to finding and executingReid Spencer2004-08-291-0/+77
| | | | | | | programs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16080 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a function to remove whole directorys on fatal signal.Reid Spencer2004-08-291-6/+14
| | | | | | | Doxygenify function comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16079 91177308-0d34-0410-b5e6-96231b3b80d8
* Revise the design of the Path concept per peer review. Too many changes toReid Spencer2004-08-291-118/+372
| | | | | | | | | note individually but these essence of it is to not derive from std::string, clarify the interface, and provide better documentation. There is now also (untested) implementations for AIX, Darwin, and SunOS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16078 91177308-0d34-0410-b5e6-96231b3b80d8
* Add getLastBlock member. This is useful when growing a densemap keyedAlkis Evlogimenos2004-08-271-0/+5
| | | | | | | on MachineBasicBlocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16069 91177308-0d34-0410-b5e6-96231b3b80d8
* Add MachineBasicBlock2IndexFunctor. This is useful for densemaps fromAlkis Evlogimenos2004-08-271-0/+10
| | | | | | | MachineBasicBlocks to an arbitrary type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16068 91177308-0d34-0410-b5e6-96231b3b80d8
* Add size member function.Alkis Evlogimenos2004-08-273-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16067 91177308-0d34-0410-b5e6-96231b3b80d8
* Use newly added API in MRegisterInfo and don't expose the allocatableAlkis Evlogimenos2004-08-261-4/+0
| | | | | | | register set anymore. Its users now use the MRegisterInfo API. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16061 91177308-0d34-0410-b5e6-96231b3b80d8
* Use newly added API in MRegisterInfo.Alkis Evlogimenos2004-08-261-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16060 91177308-0d34-0410-b5e6-96231b3b80d8
* Add getAllocatableSet() function.Alkis Evlogimenos2004-08-261-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16059 91177308-0d34-0410-b5e6-96231b3b80d8
* Add default index functor (an identity functor). You could use aAlkis Evlogimenos2004-08-263-36/+54
| | | | | | | | vector directly to get the same functionality but using a DenseMap makes the code more readable IMO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16052 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of the Path operating system concept.Reid Spencer2004-08-252-0/+166
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16048 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a function that gets just the dependent libraries from a bytecode file.Reid Spencer2004-08-241-7/+17
| | | | | | | Doxygenify comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16039 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide a method for wholesale extraction of the dependent libraries.Reid Spencer2004-08-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16038 91177308-0d34-0410-b5e6-96231b3b80d8
* Give the -time-passes tool option a global storage location so that itsReid Spencer2004-08-241-0/+5
| | | | | | | value can be discovered by the various LLVM tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16032 91177308-0d34-0410-b5e6-96231b3b80d8
* Dump the DependentLibsBlockID, its not a block, its just a list inside theReid Spencer2004-08-211-3/+2
| | | | | | | | globals info block. Add an enumerator for getting the number of enumerators so we can range check in assertions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15980 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new methods:Reid Spencer2004-08-211-0/+16
| | | | | | | | | - get the total number of types in the global type list - handle dependent libraries - handle target triple git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15978 91177308-0d34-0410-b5e6-96231b3b80d8
* Bytecode Analyzer cleanup:Reid Spencer2004-08-211-7/+9
| | | | | | | | | | - don't save the "dump" output, just emit it - record the bc version number - record info about the dependent libraries and target triple - use the correct enumeration as the index on the block size map git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15977 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes resulting from change in autoconf/configure.in (rename a #define)Reid Spencer2004-08-202-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15946 91177308-0d34-0410-b5e6-96231b3b80d8
* Added various LLVM_* strings that are configured to provide the user'sReid Spencer2004-08-202-6/+60
| | | | | | | | choice of installation directories. Programs can then automagically know where the installation files are located. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15944 91177308-0d34-0410-b5e6-96231b3b80d8
* Packed types, brought to you by Brad JonesBrian Gaeke2004-08-205-11/+103
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15938 91177308-0d34-0410-b5e6-96231b3b80d8
* Instead of int64_t, overload itostr with `long long' parameter.Misha Brukman2004-08-182-16/+14
| | | | | | | This appeases both SparcV9 and 64-bit PowerPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15910 91177308-0d34-0410-b5e6-96231b3b80d8
* M_DUMMY_PHI_FLAG is no longer used to distinguish V9::PHI. Get rid of it andBrian Gaeke2004-08-181-5/+0
| | | | | | | its TargetInstrInfo accessor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15907 91177308-0d34-0410-b5e6-96231b3b80d8
* All targets are now allowed to have their own MachineFunctionInfo objects,Chris Lattner2004-08-181-12/+24
| | | | | | | also, make getInfo do some checking and cast to the appropriate concrete type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15903 91177308-0d34-0410-b5e6-96231b3b80d8
* M_PSEUDO_FLAG is no longer used. Get rid of it and its accessor.Brian Gaeke2004-08-181-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15902 91177308-0d34-0410-b5e6-96231b3b80d8
* Alkis pointed out that this is not a character (we actually support strings)Chris Lattner2004-08-181-3/+3
| | | | | | | and as such, we should use self revealing names. Hey, makes sense to me! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15896 91177308-0d34-0410-b5e6-96231b3b80d8
* new methodChris Lattner2004-08-171-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15895 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an overloadChris Lattner2004-08-172-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15889 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for alignmentChris Lattner2004-08-171-2/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15888 91177308-0d34-0410-b5e6-96231b3b80d8
* Add punctuation, add a new methodChris Lattner2004-08-171-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15886 91177308-0d34-0410-b5e6-96231b3b80d8
* Add itostr(long) for our furry 64-bit friends.Misha Brukman2004-08-172-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15885 91177308-0d34-0410-b5e6-96231b3b80d8
* Ultra-doxygenify some function header comments.Misha Brukman2004-08-171-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15884 91177308-0d34-0410-b5e6-96231b3b80d8