Chris Lattner
216c7b8aed
Fix spell-o's
...
llvm-svn: 8431
2003-09-10 05:29:43 +00:00
Chris Lattner
7ff9fe1231
Spelling fixes
...
llvm-svn: 8429
2003-09-10 05:24:09 +00:00
Chris Lattner
3eb4bba971
Fix bug: InstCombine/2003-09-09-VolatileLoadElim.ll
...
Loads "mayWriteToMemory" if they are volatile
llvm-svn: 8422
2003-09-09 18:16:08 +00:00
Chris Lattner
e18d43e25d
Eliminate the unwind intrinsic, it is now an instruction
...
llvm-svn: 8412
2003-09-08 19:44:47 +00:00
Chris Lattner
14b8023555
add support for the unwind inst
...
llvm-svn: 8406
2003-09-08 18:54:16 +00:00
Chris Lattner
fb821f627a
Add the unwind instruction class
...
llvm-svn: 8405
2003-09-08 18:54:09 +00:00
Chris Lattner
693afb9ffc
Add new unwind instruction. Happily there was a slot leftover from when the
...
'not' instruction was removed long ago
llvm-svn: 8404
2003-09-08 18:54:01 +00:00
Chris Lattner
504f9242c3
Add support for volatile loads/stores
...
llvm-svn: 8393
2003-09-08 17:45:59 +00:00
Brian Gaeke
aa082337b7
No longer used
...
llvm-svn: 8374
2003-09-05 19:43:45 +00:00
Brian Gaeke
9b518bc0be
Make getOperandValue and executeCastOperation methods of Interpreter.
...
This lets us protect a few more ExecutionEngine methods.
llvm-svn: 8367
2003-09-05 18:55:03 +00:00
Brian Gaeke
a7669038fc
Make CreateArgv part of lli rather than part of ExecutionEngine.
...
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
2003-09-05 18:42:01 +00:00
Brian Gaeke
520ab9ffec
Zap some more unused static method decls
...
llvm-svn: 8364
2003-09-05 06:10:50 +00:00
Chris Lattner
8a75d6619b
Get friendly
...
llvm-svn: 8356
2003-09-05 02:30:18 +00:00
Chris Lattner
77ee82d9dc
Reshuffling of APIs
...
llvm-svn: 8354
2003-09-05 02:15:36 +00:00
Chris Lattner
c3c842976b
Remove method
...
llvm-svn: 8349
2003-09-04 23:43:35 +00:00
Brian Gaeke
e80e5ba7f8
Interpreter cleanups:
...
Get rid of support for DebugMode (make it always off).
Mung some comments.
Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff
which have been disabled forever.
Get rid of -abort-on-exception (make it always on).
Get rid of user interaction stuff (debug mode innards).
Simplify Interpreter's callMainFunction().
llvm-svn: 8344
2003-09-04 22:21:24 +00:00
Brian Gaeke
4bd3bd5b5a
ExecutionEngine.cpp: Move execution engine creation stuff into a new
...
static method here.
Remove some extra blank lines.
ExecutionEngine.h: Add its prototype.
lli.cpp: Call it.
Make creation method for each type of EE into a static method of its
own subclass.
Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter -->
Interpreter::create
Interpreter/Interpreter.h: Likewise.
JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create
JIT/VM.h: Likewise.
llvm-svn: 8343
2003-09-03 20:34:19 +00:00
Chris Lattner
7f3a821f44
New method
...
llvm-svn: 8331
2003-09-02 21:54:56 +00:00
Chris Lattner
81c1a878ed
Remove the "recursive bit", not only is it unused by anyone, it was also
...
not correctly calculated, and calculating it wrong for fun seems rather
pointless.
llvm-svn: 8329
2003-09-02 21:40:33 +00:00
John Criswell
b83a22bd82
Added the MakeFileReadable() method.
...
llvm-svn: 8327
2003-09-02 21:09:30 +00:00
John Criswell
5357283c7a
Added the MakeFileExecutable() method. This method takes a filename and
...
gives it execute access while respecting the user's umask.
llvm-svn: 8324
2003-09-02 20:14:57 +00:00
Chris Lattner
bb1237a1fa
The description is no longer stored directly in the type.
...
llvm-svn: 8319
2003-09-02 16:28:03 +00:00
Chris Lattner
4f9c82c723
Dead header file
...
llvm-svn: 8317
2003-09-01 20:46:08 +00:00
Chris Lattner
32064337a0
Add RPR prototype here
...
llvm-svn: 8314
2003-09-01 20:44:42 +00:00
Chris Lattner
7367965cf9
Remove dead file
...
llvm-svn: 8313
2003-09-01 20:41:21 +00:00
Chris Lattner
588c72bbd1
No longer require an OptInfo
...
llvm-svn: 8310
2003-09-01 20:40:43 +00:00
Chris Lattner
e4fe537103
Remove header files that were privatized
...
llvm-svn: 8307
2003-09-01 20:33:38 +00:00
Chris Lattner
2c4e408ad3
This file is never #included
...
llvm-svn: 8300
2003-09-01 20:19:31 +00:00
Chris Lattner
ee81b6fae7
This file is just a subset of Cilkifier.h
...
llvm-svn: 8286
2003-09-01 16:42:43 +00:00
Chris Lattner
64d080b435
Other minor cleanups while I'm in the area
...
llvm-svn: 8284
2003-09-01 16:38:43 +00:00
Chris Lattner
a060e3f6e9
Fix spell-o
...
llvm-svn: 8283
2003-09-01 16:35:30 +00:00
Chris Lattner
251046b965
Change the RaiseAllocations pass from being a BasicBlockPass to being a Pass
...
llvm-svn: 8279
2003-09-01 03:14:00 +00:00
Chris Lattner
78a5c1aa3c
Rename TarjanSCCIterator -> scc_iterator
...
* Increases consistency with other iterators (e.g. df_iterator, po_iterator...)
* It's shorter
* We don't name classes by the implementation, we name it for the interface!
llvm-svn: 8273
2003-08-31 20:01:57 +00:00
Chris Lattner
71e71f294b
ELIMINATE the SCC class completely. One less thing deriving from std::vector
...
llvm-svn: 8272
2003-08-31 19:55:31 +00:00
Chris Lattner
5cac4ddca7
Move the HasLoop method from the SCC class to the iterator class
...
llvm-svn: 8268
2003-08-31 19:51:22 +00:00
Chris Lattner
a687f44559
Remove explicit passing of SCC's around as objects.
...
llvm-svn: 8267
2003-08-31 19:46:48 +00:00
Chris Lattner
5706b3e8c2
This should use Support/iterator, not <iterator>
...
llvm-svn: 8266
2003-08-31 19:46:22 +00:00
Chris Lattner
9363358e47
Cleanups, move the getAnalysisUsage method to the .cpp file
...
llvm-svn: 8265
2003-08-31 19:41:17 +00:00
Chris Lattner
26b500923c
Fix an FLAT OUT WRONG comment
...
llvm-svn: 8263
2003-08-31 19:37:29 +00:00
Chris Lattner
f020906172
* Cleanups
...
* operator* now returns a reference to the current SCC, instead of a possibly
null pointer
llvm-svn: 8261
2003-08-31 19:34:27 +00:00
Chris Lattner
994e7c2a98
Add accessor function for the PruneEH pass
...
llvm-svn: 8254
2003-08-31 16:30:25 +00:00
Chris Lattner
93d4087a64
Minor simplification
...
llvm-svn: 8251
2003-08-31 02:50:07 +00:00
Chris Lattner
f7e9594843
Initial checkin of the CallGraphSCCPass class
...
llvm-svn: 8247
2003-08-31 01:54:59 +00:00
Chris Lattner
a74a63c8f9
Remove usage of unsigned long: unsigned should be enough!
...
Remove explicit use of a stack<>, use a vector instead
llvm-svn: 8246
2003-08-31 01:48:21 +00:00
Chris Lattner
b1c0cd02fc
This file uses cerr without including <iostream>. Since it's just for debugging, comment it out
...
llvm-svn: 8245
2003-08-31 01:45:00 +00:00
Chris Lattner
5cf3fc8333
s/Meth/F
...
llvm-svn: 8244
2003-08-31 01:38:00 +00:00
Chris Lattner
a91cbd1aa9
Add new helper function which makes it even easier to do this sort of thing
...
llvm-svn: 8237
2003-08-31 00:19:18 +00:00
Chris Lattner
589ca4902c
Remove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included
...
llvm-svn: 8216
2003-08-29 14:48:21 +00:00
Chris Lattner
0e287475cb
Move getAnalysisToUpdate to after the definition of AnalysisResolver.
...
GCC 3.4 apparently wants classes to be DEFINED before they are USED. What is
it smoking.
llvm-svn: 8213
2003-08-29 14:26:51 +00:00
Chris Lattner
fe048e4404
Fix compilation problems with G++ 3.4
...
llvm-svn: 8212
2003-08-29 14:22:29 +00:00