| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
|  | 
Remove using decl
llvm-svn: 8458
 | 
| | 
| 
| 
|  | 
llvm-svn: 8457
 | 
| | 
| 
| 
|  | 
llvm-svn: 8456
 | 
| | 
| 
| 
|  | 
llvm-svn: 8455
 | 
| | 
| 
| 
| 
| 
|  | 
... or so I hope
llvm-svn: 8454
 | 
| | 
| 
| 
| 
| 
|  | 
command line if VERBOSE=1
llvm-svn: 8453
 | 
| | 
| 
| 
|  | 
llvm-svn: 8452
 | 
| | 
| 
| 
|  | 
llvm-svn: 8449
 | 
| | 
| 
| 
|  | 
llvm-svn: 8442
 | 
| | 
| 
| 
|  | 
llvm-svn: 8436
 | 
| | 
| 
| 
|  | 
llvm-svn: 8435
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- 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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 8431
 | 
| | 
| 
| 
| 
| 
|  | 
be the canonical form for the word
llvm-svn: 8430
 | 
| | 
| 
| 
|  | 
llvm-svn: 8429
 | 
| | 
| 
| 
|  | 
llvm-svn: 8428
 | 
| | 
| 
| 
|  | 
llvm-svn: 8427
 | 
| | 
| 
| 
|  | 
llvm-svn: 8426
 | 
| | 
| 
| 
|  | 
llvm-svn: 8425
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 8413
 | 
| | 
| 
| 
| 
| 
|  | 
instruction instead
llvm-svn: 8411
 | 
| | 
| 
| 
|  | 
llvm-svn: 8410
 | 
| | 
| 
| 
|  | 
llvm-svn: 8409
 | 
| | 
| 
| 
|  | 
llvm-svn: 8408
 | 
| | 
| 
| 
|  | 
llvm-svn: 8407
 | 
| | 
| 
| 
|  | 
llvm-svn: 8402
 | 
| | 
| 
| 
|  | 
llvm-svn: 8401
 | 
| | 
| 
| 
|  | 
llvm-svn: 8400
 | 
| | 
| 
| 
|  | 
llvm-svn: 8399
 | 
| | 
| 
| 
| 
| 
|  | 
Volatile loads and stores must not be value numbered
llvm-svn: 8398
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
year old.
If you still have these suckers laying around, you have GOT to rebuild them.  geeze.
llvm-svn: 8395
 | 
| | 
| 
| 
|  | 
llvm-svn: 8394
 | 
| | 
| 
| 
|  | 
llvm-svn: 8393
 | 
| | 
| 
| 
|  | 
llvm-svn: 8388
 | 
| | 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
* 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
 | 
| | 
| 
| 
|  | 
llvm-svn: 8375
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Don't include InstLoops.h
Don't export factory functions for these passes
llvm-svn: 8373
 | 
| | 
| 
| 
|  | 
llvm-svn: 8371
 | 
| | 
| 
| 
| 
| 
|  | 
Build ExecutionEngine as library.
llvm-svn: 8370
 | 
| | 
| 
| 
| 
| 
|  | 
This lets us protect a few more ExecutionEngine methods.
llvm-svn: 8367
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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
 | 
| | 
| 
| 
|  | 
llvm-svn: 8365
 |