summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rework dominator interfaces to handle changes in the post-dominanceChris Lattner2003-09-101-28/+47
| | | | | | | construction. Now there may be multiple root blocks, and null is a special node used to mark the "virtual" exit node of a CFG. llvm-svn: 8461
* Rework post dominator information so that we do not have toChris Lattner2003-09-101-88/+97
| | | | | | | | | unify all exit nodes of a function to compute post-dominance information. This does not work with functions that have both unwind and return nodes, because we cannot unify these blocks. The new implementation is better anyway. :) llvm-svn: 8460
* Update for new UnifyFunction... APIChris Lattner2003-09-101-7/+7
| | | | | | Remove using decl llvm-svn: 8458
* Remove #includeChris Lattner2003-09-102-2/+0
| | | | llvm-svn: 8457
* Expand the pass to unify all of the unwind blocks as wellChris Lattner2003-09-101-5/+29
| | | | llvm-svn: 8456
* Remove a bunch of warnings from the CBE generated C codeChris Lattner2003-09-101-2/+2
| | | | llvm-svn: 8455
* "the one true solution for compatibility with GCC 3.3+"Chris Lattner2003-09-101-3/+3
| | | | | | ... or so I hope llvm-svn: 8454
* Be a little more specific about what is begin generated. Only printChris Lattner2003-09-101-12/+12
| | | | | | command line if VERBOSE=1 llvm-svn: 8453
* Only emit inter-field-padding if the amount of padding is != 0Chris Lattner2003-09-101-1/+2
| | | | llvm-svn: 8452
* Make createVerifierPass return a FunctionPass *.Brian Gaeke2003-09-101-1/+1
| | | | llvm-svn: 8449
* Remove using declarationsChris Lattner2003-09-101-2/+1
| | | | llvm-svn: 8442
* Fix warning when _POSIX_MAPPED_FILES is already defined in unistd.hMisha Brukman2003-09-101-0/+2
| | | | llvm-svn: 8436
* another trivial cleanupChris Lattner2003-09-101-3/+2
| | | | llvm-svn: 8435
* Simplification of trip counting machinery.Chris Lattner2003-09-101-73/+68
| | | | | | | | | | - make sure to check the indvar type before anything else (efficiency) - Make sure to insert the 'add' into the program, even though it'll be dead - Wrap code at 80 columns - Other minor cleanups to reduce indentation level llvm-svn: 8434
* Don't explicitly use $SourceDir to find the tblgen files. This causes makeJohn Criswell2003-09-101-4/+4
| | | | | | | | | | | | some confusion when trying to generate files (it probably couldn't tell that ./file and $(SourceDir)/file may be the same file). Now, just let VPATH find everything, and list the primary tblgen file first in the list of dependencies so that we can just use $< to reference it in the make rule. This should hopefully fix the nightly tester. llvm-svn: 8433
* Fix spell-o'sChris Lattner2003-09-106-8/+8
| | | | llvm-svn: 8431
* Spelling fixes. I think that "cannonical" is ok, but "canonical" appears toChris Lattner2003-09-101-21/+21
| | | | | | be the canonical form for the word llvm-svn: 8430
* Spelling fixesChris Lattner2003-09-101-5/+5
| | | | llvm-svn: 8429
* Fix up file headerChris Lattner2003-09-101-2/+4
| | | | llvm-svn: 8428
* clean up file header commentChris Lattner2003-09-101-5/+5
| | | | llvm-svn: 8427
* Simplify some codeChris Lattner2003-09-101-8/+5
| | | | llvm-svn: 8426
* Spell `occurrence' correctly.Misha Brukman2003-09-092-61/+60
| | | | llvm-svn: 8425
* Updated to find source files using VPATH. This makes writing build rulesJohn Criswell2003-09-092-9/+18
| | | | | | | | | | | much cleaner and easier. Labeled .td as a suffix for tblgen files in Makefile.rules. Modified build rules so that source files generated during the build are placed in the build directory and not the source directory (and not in a Debug directory). This makes the system cleaner and allows us to have a read-only source tree. llvm-svn: 8424
* Reverting back to the previous revision.John Criswell2003-09-091-1/+1
| | | | | | | | | | We want to check for length 5 because we might get the "llvm." string as the name. That string is in the LLVM namespace and should be checked as such. We also don't have to worry about garbage data because (I believe) the string class will return a valid value. So, the switch statement will work and we don't have to worry about the code wandering into segfault land. llvm-svn: 8419
* Modified the check for intrinsic functions. All intrinsic functions have toJohn Criswell2003-09-091-1/+1
| | | | | | | | be at least 6 characters, since something must follow the "llvm." string in the function name. This seems to fix an assertion failure with the SingleSource tests, too. llvm-svn: 8418
* * Simplify printConstantValueOnly by moving the tail padding stuff directlyChris Lattner2003-09-091-65/+90
| | | | | | | | | into the struct case. * Extend printConstantValueOnly to print .zero's if the initializer is zero * Delete dead isConstantFunctionPointerRef function * Emit the appropriate assembly for the various linkage types! llvm-svn: 8417
* Oops, look at the VOLATILE marker, not the opcodeChris Lattner2003-09-081-2/+2
| | | | llvm-svn: 8413
* Eliminate support for the llvm.unwind intrinisic, using the Unwind ↵Chris Lattner2003-09-087-76/+44
| | | | | | instruction instead llvm-svn: 8411
* Fix bugChris Lattner2003-09-081-1/+2
| | | | llvm-svn: 8410
* Should invokify is always trueChris Lattner2003-09-081-24/+16
| | | | llvm-svn: 8409
* Add support for the unwind instructionChris Lattner2003-09-087-2/+30
| | | | llvm-svn: 8408
* Add support for unwindChris Lattner2003-09-081-0/+1
| | | | llvm-svn: 8407
* Parse volatile loads/storesChris Lattner2003-09-082-17/+27
| | | | llvm-svn: 8402
* Read volatile loads/storesChris Lattner2003-09-081-2/+4
| | | | llvm-svn: 8401
* Remove a bunch of unneeded stuphChris Lattner2003-09-081-45/+0
| | | | llvm-svn: 8400
* Do not hoist volatile loadsChris Lattner2003-09-081-1/+1
| | | | llvm-svn: 8399
* Fix bug: RLE-Preserve-Volatile.llChris Lattner2003-09-081-2/+6
| | | | | | Volatile loads and stores must not be value numbered llvm-svn: 8398
* Remove a gross hack that was there to support bytecode files that are over a ↵Chris Lattner2003-09-083-65/+12
| | | | | | | | year old. If you still have these suckers laying around, you have GOT to rebuild them. geeze. llvm-svn: 8395
* Add support for writing volatile load/storesChris Lattner2003-09-081-22/+22
| | | | llvm-svn: 8394
* Add support for volatile loads/storesChris Lattner2003-09-082-3/+24
| | | | llvm-svn: 8393
* Spell `occurrence' correctly.Misha Brukman2003-09-081-1/+1
| | | | llvm-svn: 8388
* Checkin of autoconf-style object root.John Criswell2003-09-062-26/+16
| | | | | | | Adjusted Makefile to work with new autoconf-style object root. Specifically, use the new -I option of tblgen to find include files. llvm-svn: 8379
* Added some optimizations:Misha Brukman2003-09-051-34/+66
| | | | | | | | | | | | * Generate a single BA instead of 6-instruction JUMP if possible (this occurs both in the creation and overwriting of the stub code) * If possible, rewrite the ORIGINAL call to call the generated function directly, thus bypassing the stub entirely Also added some statistics on how often calls are overwritten and how often the CompilationCallback is invoked. llvm-svn: 8376
* Reorder #includes to follow LLVM conventionsChris Lattner2003-09-052-9/+9
| | | | llvm-svn: 8375
* Correct commentsBrian Gaeke2003-09-052-17/+1
| | | | | | | Don't include InstLoops.h Don't export factory functions for these passes llvm-svn: 8373
* Add ExecutionEngine directory.Brian Gaeke2003-09-051-1/+1
| | | | llvm-svn: 8371
* ExecutionEngine.h, GenericValue.h --> include/llvm/ExecutionEngine/Brian Gaeke2003-09-055-9/+9
| | | | | | Build ExecutionEngine as library. llvm-svn: 8370
* Make getOperandValue and executeCastOperation methods of Interpreter.Brian Gaeke2003-09-052-3/+6
| | | | | | This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-057-190/+86
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Fix reading of invoke instrsChris Lattner2003-09-051-22/+23
| | | | llvm-svn: 8365
OpenPOWER on IntegriCloud