aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add some new fields for bytecode analysis.Reid Spencer2004-06-091-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14092 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleaned up a dead header file to prevent duplicate definition warningsReid Spencer2004-06-091-194/+0
| | | | | | | in doxygen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14084 91177308-0d34-0410-b5e6-96231b3b80d8
* I checked and no clients expect this to return null for unconditional branchesChris Lattner2004-06-081-1/+2
| | | | | | | Simplify code and make it more uniform. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14077 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a forwarding method pop_front() that allows you to delete instructionsBrian Gaeke2004-06-081-0/+1
| | | | | | | from the beginning of a MBB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14074 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a TmpInstruction ctor that doesn't take a MCFI.Brian Gaeke2004-06-081-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14073 91177308-0d34-0410-b5e6-96231b3b80d8
* Apparently a particular vendor compiler uses the struct/class tag to MANGLEChris Lattner2004-06-086-7/+7
| | | | | | | | | | | | symbols with. Therefore, if you do not use struct/class consistently, you can get LINK ERRORS. grr. This fixes the link errors for libsupport and vmcore. -Chris git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14070 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix case of doxygen directive `\p': it's lowercase.Misha Brukman2004-06-081-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14068 91177308-0d34-0410-b5e6-96231b3b80d8
* Add documentation to the TargetFrameInfo class, contributed by Vladimir PrusChris Lattner2004-06-081-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14060 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up documentation and make it possible for the BytecodeAnalyzer toReid Spencer2004-06-081-6/+17
| | | | | | | store the output of the bytecode dumper. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14058 91177308-0d34-0410-b5e6-96231b3b80d8
* Commit For New Tool: llvm-abcd (Analysis of ByteCode Dumper). This toolReid Spencer2004-06-072-1/+103
| | | | | | | | | | | | | | | | | | | | | | will (eventually) provide statistical analysis of bytecode files as well as the ability to dump them in a low level format (slot numbers not resolved). The purpose of this is to aid in the Type!=Value change of bug 122. With this initial release, llvm-abcd merely dumps out the bytecode. However, the infrastructure for separating bytecode parsing from handling the parsing events is in place. The style chosen is similar to SAX XML parsing where a handler object is called to handlign the parsing events. This probably isn't useful to anyone but me right now as there is no analysis yet, and the dumper doesn't work on every bytecode file. It will probably be useful by the end of this week. Note that there is some duplication of code from the bytecode reader. This was done to eliminate errors from being introduced in the reader and to minimize the impact to other LLVM developers. At some point, the Analyzer and the Reader will be integrated to use the same infrastructure. Also, sorry for the minor change to Instruction.h but I just couldn't bring myself to write code that depends on Instruction internals. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14048 91177308-0d34-0410-b5e6-96231b3b80d8
* Added checks for mkstemp and getrusage.John Criswell2004-06-072-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14047 91177308-0d34-0410-b5e6-96231b3b80d8
* Macros are baaad.Chris Lattner2004-06-052-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14039 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't #include <unistd.h> directly, go through the config filesChris Lattner2004-06-054-20/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14038 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
* Revert ostream back to reference: the only user (llvm-tv) no longer needs it.Misha Brukman2004-06-041-8/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14029 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some constants for VCChris Lattner2004-06-042-6/+22
| | | | 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-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14025 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix more warningsChris Lattner2004-06-041-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14024 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove support for printing strings from the cached writerChris Lattner2004-06-041-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14023 91177308-0d34-0410-b5e6-96231b3b80d8
* GCC doesn't like prefix form of cast with two identifiers I guess.Chris Lattner2004-06-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14021 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence a warningChris Lattner2004-06-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14019 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ssize_t for VC++Chris Lattner2004-06-042-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14018 91177308-0d34-0410-b5e6-96231b3b80d8
* <io.h> provides read/write/open/...Chris Lattner2004-06-042-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14017 91177308-0d34-0410-b5e6-96231b3b80d8
* Visual C has something resembling a stat function, but it doesn't provide ↵Chris Lattner2004-06-044-2/+10
| | | | | | S_ISREG git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14016 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this work on VC++, pull the HAVE_ALLOCA_H case out instead of duplicatingChris Lattner2004-06-042-32/+24
| | | | | | | | it. This code can probably be dramatically simplified, as I suspect that the pragma and other stuff is not needed with C++ compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14015 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more needed typedefsChris Lattner2004-06-042-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14014 91177308-0d34-0410-b5e6-96231b3b80d8
* Add explicit casts to silence warnings. There is no need to use snprintf here.Chris Lattner2004-06-042-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14013 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this work with VC++Chris Lattner2004-06-042-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14012 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a nasty bug that caused areAliases to always return false.Chris Lattner2004-06-041-1/+1
| | | | | | | Bug fix courtesy of Anshu Dasgupta git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14011 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify documentation and use correct doxygen comment form /// vs. // .Misha Brukman2004-06-041-8/+11
| | | | | | | Thanks to Vladimir Prus for corrections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14009 91177308-0d34-0410-b5e6-96231b3b80d8
* The prototype for ParseCommandLineOptions changed at some point, but thisChris Lattner2004-06-032-2/+2
| | | | | | | 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
* Adjust argument to match destination data typeChris Lattner2004-06-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use identifiers that start with an _Chris Lattner2004-06-031-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13992 91177308-0d34-0410-b5e6-96231b3b80d8
* Only use the non-standards-compliant std::distance on the compiler that isChris Lattner2004-06-032-8/+10
| | | | | | | buggy, not for all compilers that are not GCC 3 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13990 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix case of doxygen directive \p.Misha Brukman2004-06-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13985 91177308-0d34-0410-b5e6-96231b3b80d8
* Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, itsBrian Gaeke2004-06-031-2/+2
| | | | | | | only concrete implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13977 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete the V9 specific findOptimalStorageSize method, inlining it into all ↵Chris Lattner2004-06-021-12/+6
| | | | | | | | | | | callers. Substantially clean up all target implementations by having the OPTIONAL get*Info methods return a pointer instead of a reference. This allows us to have default implementations! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13950 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new CopyFile functionChris Lattner2004-06-022-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13944 91177308-0d34-0410-b5e6-96231b3b80d8
* On win32, process.h provides some of the traditional stuff that unistdChris Lattner2004-06-012-0/+8
| | | | | | | provides. This seems like a relatively clean way to get it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13936 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull Interval class out of LiveIntervals.Alkis Evlogimenos2004-05-301-50/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13910 91177308-0d34-0410-b5e6-96231b3b80d8
* Add comparator useful for natural comparisons on collections withAlkis Evlogimenos2004-05-302-0/+12
| | | | | | | pointers to objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13909 91177308-0d34-0410-b5e6-96231b3b80d8
* When spilling an register, introduce a new temporary for each of itsAlkis Evlogimenos2004-05-301-4/+6
| | | | | | | | spills. This allows for more flexibility when allocating registers for spill code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13907 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove defs vector from live intervals.Alkis Evlogimenos2004-05-291-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13892 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bizzare problems when you include Config/dlfcn and Config/windows.h inChris Lattner2004-05-282-4/+4
| | | | | | | the same xlation unit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13885 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate this form of SymbolTable::remove. It ignores the type argumentChris Lattner2004-05-281-4/+3
| | | | | | | anyway. Add a form that takes a type_iterator for the C backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13873 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new function for the JITChris Lattner2004-05-282-0/+14
| | | | 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-282-2/+22
| | | | | | for reading. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13863 91177308-0d34-0410-b5e6-96231b3b80d8
* An "autoconf wrapper" for the infamous windows.h fileChris Lattner2004-05-272-0/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a check for a new header file.John Criswell2004-05-272-0/+6
| | | | | | | | My apologies for changing config.h.in. Now you will all have to re-configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13846 91177308-0d34-0410-b5e6-96231b3b80d8
* Beta-test moving a header from include/Support into the llvm hierarchy:Chris Lattner2004-05-271-32/+0
| | | | | | | it seems to work :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13814 91177308-0d34-0410-b5e6-96231b3b80d8