summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Never set any signal handlers.Brian Gaeke2003-10-101-37/+2
| | | | | | Never call setjmp(), longjmp() or strsignal(). llvm-svn: 9014
* Rewrite head-of-file comment.Brian Gaeke2003-10-101-14/+16
| | | | | | | | | In lookupFunction(): Change to use "F" for Function argument instead of ancient "M". Remove commented-out code. Change to use GetAddressOfSymbol instead of dlsym. llvm-svn: 9013
* Change to use GetAddressOfSymbol instead of dlsym.Brian Gaeke2003-10-102-18/+9
| | | | llvm-svn: 9012
* Change to use LinkDynamicObject instead of dlopen.Brian Gaeke2003-10-101-3/+5
| | | | llvm-svn: 9011
* Change to use strtoul instead of strtoll.Brian Gaeke2003-10-101-2/+7
| | | | llvm-svn: 9010
* Fixing the spelling of this filename.Misha Brukman2003-10-101-669/+0
| | | | llvm-svn: 9009
* Add my abstracted dynamic linker support files.Brian Gaeke2003-10-102-0/+71
| | | | llvm-svn: 9008
* Reserve space for PHI operandsChris Lattner2003-10-101-0/+1
| | | | llvm-svn: 9007
* Removed information about compiling the GCC front end. This will be in aJohn Criswell2003-10-101-149/+60
| | | | | | | | | | | | | separate document that we will provide to people who request the source. Updated the support architecture information to be a little more precise. Added hyperlinks for all of the tools which are required for building LLVM. This should make it easier for people to find and install these required tools. Italicized some of the "variables" that we use in place of absolute paths. Added the --enable-spec2000 option to the quick start section. Other minor changes/corrections/clarifications. llvm-svn: 9006
* Make the message stand out moreChris Lattner2003-10-101-2/+4
| | | | llvm-svn: 9004
* Re-did some of the text wrapping (sorry).John Criswell2003-10-101-143/+167
| | | | | | | | | | | | | Made the "Getting Started Quickly" material its own section. I think this makes the document easier to read. Added bars after every major section heading (to distinguish them more easily from sub-section headings). Renamed C front end to GCC front end, as we now support C and C++. Updated material to reflect the new autoconf-style object root. Added material about the llvm/runtime directory and the fact that you need to install the GCC front end before building LLVM (before, it was optional). llvm-svn: 9003
* Ok, the "fix" for this is to do a real associative container. Symbol tablesChris Lattner2003-10-101-15/+11
| | | | | | | are ordered by name, not by slot, so the previous solution wasn't any good. On a large testcase, this reduces time to parse from 2.17s to 1.58s. llvm-svn: 9002
* Add documentation for weak variablesChris Lattner2003-10-101-2/+10
| | | | llvm-svn: 9001
* Add support for the weak linkage specifierChris Lattner2003-10-102-2/+2
| | | | llvm-svn: 9000
* new testcase. globaldce should not delete the globalChris Lattner2003-10-101-0/+6
| | | | llvm-svn: 8999
* Accept 'weak' as a linkage type. For now, just turn it into linkonce linkageChris Lattner2003-10-102-1/+3
| | | | llvm-svn: 8998
* New testcaseChris Lattner2003-10-101-0/+15
| | | | llvm-svn: 8997
* Add better checkingChris Lattner2003-10-101-0/+6
| | | | llvm-svn: 8996
* Added the eon and perlbmk benchmarks.John Criswell2003-10-102-28/+42
| | | | llvm-svn: 8995
* Another 10% performance improvement by not using replaceAllUsesWithChris Lattner2003-10-091-13/+20
| | | | llvm-svn: 8994
* Reserve space for PHI nodes when we read them in. This provides a VERYChris Lattner2003-10-091-0/+1
| | | | | | tasty 15% speedup on the testcase from Bill. llvm-svn: 8993
* Add a method to reserve space for operandsChris Lattner2003-10-091-0/+2
| | | | llvm-svn: 8992
* Use the version of getValue that takes the type plane instead of the typeChris Lattner2003-10-092-17/+18
| | | | | | if possible. This provides a consistent 8.5% speedup. llvm-svn: 8991
* Pass a vector around to reduce dynamic allocationChris Lattner2003-10-093-13/+17
| | | | | | Throw the RawInst class in an anon namespace llvm-svn: 8990
* Kill warning when compiling in optimized modeChris Lattner2003-10-091-0/+1
| | | | llvm-svn: 8989
* Change getConstantValue to throw an exception on error, not return nullChris Lattner2003-10-092-10/+7
| | | | llvm-svn: 8988
* Make getContainedType more efficient by not returning null if out of range!Chris Lattner2003-10-092-8/+7
| | | | llvm-svn: 8987
* Do not read past the end of the contained type listChris Lattner2003-10-091-2/+2
| | | | llvm-svn: 8986
* Remove potentially N^2 algorithm from symbol table reader. No speedupChris Lattner2003-10-091-5/+13
| | | | | | in practice though llvm-svn: 8985
* Major refactoring of the bytecode reader. This includes the followingChris Lattner2003-10-094-315/+171
| | | | | | | | | | | | | | | changes: * BytecodeReader::getType(...) used to return a null pointer on error. This was only checked about half the time. Now we convert it to throw an exception, and delete the half that checked for error. This was checked in before, but psmith crashed and lost the change :( * insertValue no longer returns -1 on error, so callers don't need to check for it. * Substantial rewrite of InstructionReader.cpp, to use more efficient, simpler, data structures. This provides another 5% speedup. This also makes the code much easier to read and understand. llvm-svn: 8984
* Significantly clean up parsing of instructions. This exceptionizes andChris Lattner2003-10-093-144/+106
| | | | | | | simplifies the control flow a bit. This provides a small (~3%) speedup, but it's primarily a cleanup exercise. llvm-svn: 8983
* Include the new docs directory, whenever it gets added. www is goneChris Lattner2003-10-091-1/+1
| | | | llvm-svn: 8982
* Added 177.mesa to the list of Makefiles to propogate to the object root.John Criswell2003-10-092-86/+125
| | | | llvm-svn: 8981
* Eliminate the instruction placeholder. Simplify a bunch of code.Chris Lattner2003-10-092-15/+1
| | | | | | This results in no significant speedup, but does provide simpler code llvm-svn: 8980
* Eliminate the old LateResolveValues data structure, replacing it with aChris Lattner2003-10-092-25/+27
| | | | | | | | | | | | | new, simpler, ForwardReferences data structure. This is just the first simple replacement, subsequent changes will improve the code more. This simple change improves the performance of loading a file from HDF5 (contributed by Bill) from 2.36s to 1.93s, a 22% improvement. This presumably has to do with the fact that we only create ONE placeholder for a particular forward referenced values, and also may be because the data structure is much simpler. llvm-svn: 8979
* Remove a dead methodChris Lattner2003-10-092-12/+0
| | | | llvm-svn: 8978
* This patch substantially simplifies and cleans up handling of basic blocksChris Lattner2003-10-083-60/+84
| | | | | | | | | | | | | in the bytecode parser. Before we tried to shoehorn basic blocks into the "getValue" code path with other types of values. For a variety of reasons this was a bad idea, so this patch separates it out into its own data structure. This simplifies the code, makes it fit in 80 columns, and is also much faster. In a testcase provided by Bill, which has lots of PHI nodes, this patch speeds up bytecode parsing from taking 6.9s to taking 2.32s. More speedups to follow later. llvm-svn: 8977
* Inline the postResolveValues method. It was poorly named anywayChris Lattner2003-10-082-34/+26
| | | | llvm-svn: 8976
* test/Programs/NoSource and www are gone from the tree; don't try to configureBrian Gaeke2003-10-081-7/+0
| | | | | | their Makefiles. llvm-svn: 8975
* Use 3-arg form of AC_DEFINE.Brian Gaeke2003-10-081-2/+2
| | | | llvm-svn: 8974
* Use 3-arg form of AC_DEFINE.Brian Gaeke2003-10-081-4/+8
| | | | | | | Check for strsignal(), which isn't found everywhere, and sys_siglist, which can be used to implement it. llvm-svn: 8973
* I really meant to use that AUTOHEADER variable I put in there.Brian Gaeke2003-10-081-1/+1
| | | | llvm-svn: 8972
* Various cleanups and simplifications. This speeds up reading a bytecode fileChris Lattner2003-10-083-61/+57
| | | | | | Bill gave me from 8.69s to 6.90s. llvm-svn: 8971
* Destroy allocated resources on exception.Misha Brukman2003-10-081-3/+13
| | | | llvm-svn: 8969
* Make more error messages have gccld's name in them.Brian Gaeke2003-10-081-4/+6
| | | | | | Add a newline after "Cannot find <library>". llvm-svn: 8968
* old testcaseChris Lattner2003-10-081-0/+12
| | | | llvm-svn: 8967
* Checkin an old bug, which appears to be fixedChris Lattner2003-10-081-0/+17
| | | | llvm-svn: 8966
* Update commentChris Lattner2003-10-081-2/+2
| | | | llvm-svn: 8965
* Use a set to keep track of which edges have been noticed as executable alreadyChris Lattner2003-10-081-15/+27
| | | | | | | to avoid reprocessing PHI nodes needlessly. This speeds up the big bad PHI testcase 43%: from 104.9826 to 73.5157s llvm-svn: 8964
* Minor fixes here and thereChris Lattner2003-10-081-22/+21
| | | | llvm-svn: 8963
OpenPOWER on IntegriCloud