aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Do not segfault when the post-dominator tree is empty (ie, there are no returnChris Lattner2003-09-151-1/+2
| | | | | | | or unwind instructions in the function) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8537 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for the lowersetjmp passChris Lattner2003-09-151-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8522 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the whole "Node2" business, rename getNode() ->getBlock() toChris Lattner2003-09-111-20/+15
| | | | | | | be more descriptive git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8468 91177308-0d34-0410-b5e6-96231b3b80d8
* Rework dominator and post dominator information so that we do not have toChris Lattner2003-09-102-20/+61
| | | | | | | | | | 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. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8459 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand the pass to unify all of the unwind blocks as wellChris Lattner2003-09-101-12/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8456 91177308-0d34-0410-b5e6-96231b3b80d8
* Make createVerifierPass return a FunctionPass *.Brian Gaeke2003-09-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8449 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spelloChris Lattner2003-09-102-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8432 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spell-o'sChris Lattner2003-09-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8431 91177308-0d34-0410-b5e6-96231b3b80d8
* Spelling fixesChris Lattner2003-09-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8429 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: InstCombine/2003-09-09-VolatileLoadElim.llChris Lattner2003-09-091-0/+2
| | | | | | | Loads "mayWriteToMemory" if they are volatile git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8422 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the unwind intrinsic, it is now an instructionChris Lattner2003-09-081-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8412 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for the unwind instChris Lattner2003-09-081-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8406 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the unwind instruction classChris Lattner2003-09-081-1/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8405 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new unwind instruction. Happily there was a slot leftover from when theChris Lattner2003-09-081-1/+2
| | | | | | | 'not' instruction was removed long ago git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8404 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for volatile loads/storesChris Lattner2003-09-081-6/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8393 91177308-0d34-0410-b5e6-96231b3b80d8
* No longer usedBrian Gaeke2003-09-051-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8374 91177308-0d34-0410-b5e6-96231b3b80d8
* Make getOperandValue and executeCastOperation methods of Interpreter.Brian Gaeke2003-09-051-4/+3
| | | | | | | This lets us protect a few more ExecutionEngine methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8367 91177308-0d34-0410-b5e6-96231b3b80d8
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-4/+2
| | | | | | | | | | | | | | | | 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". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8366 91177308-0d34-0410-b5e6-96231b3b80d8
* Zap some more unused static method declsBrian Gaeke2003-09-051-9/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8364 91177308-0d34-0410-b5e6-96231b3b80d8
* Get friendlyChris Lattner2003-09-051-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8356 91177308-0d34-0410-b5e6-96231b3b80d8
* Reshuffling of APIsChris Lattner2003-09-051-1/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8354 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove methodChris Lattner2003-09-041-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8349 91177308-0d34-0410-b5e6-96231b3b80d8
* Interpreter cleanups:Brian Gaeke2003-09-041-3/+2
| | | | | | | | | | | | | 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(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8344 91177308-0d34-0410-b5e6-96231b3b80d8
* ExecutionEngine.cpp: Move execution engine creation stuff into a newBrian Gaeke2003-09-031-0/+3
| | | | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8343 91177308-0d34-0410-b5e6-96231b3b80d8
* New methodChris Lattner2003-09-021-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8331 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the "recursive bit", not only is it unused by anyone, it was alsoChris Lattner2003-09-021-9/+0
| | | | | | | | not correctly calculated, and calculating it wrong for fun seems rather pointless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8329 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the MakeFileReadable() method.John Criswell2003-09-022-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8327 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the MakeFileExecutable() method. This method takes a filename andJohn Criswell2003-09-022-0/+30
| | | | | | | gives it execute access while respecting the user's umask. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8324 91177308-0d34-0410-b5e6-96231b3b80d8
* The description is no longer stored directly in the type.Chris Lattner2003-09-021-6/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8319 91177308-0d34-0410-b5e6-96231b3b80d8
* Dead header fileChris Lattner2003-09-011-20/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8317 91177308-0d34-0410-b5e6-96231b3b80d8
* Add RPR prototype hereChris Lattner2003-09-011-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8314 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead fileChris Lattner2003-09-011-24/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8313 91177308-0d34-0410-b5e6-96231b3b80d8
* No longer require an OptInfoChris Lattner2003-09-011-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8310 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove header files that were privatizedChris Lattner2003-09-012-31/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8307 91177308-0d34-0410-b5e6-96231b3b80d8
* This file is never #includedChris Lattner2003-09-011-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8300 91177308-0d34-0410-b5e6-96231b3b80d8
* This file is just a subset of Cilkifier.hChris Lattner2003-09-011-26/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8286 91177308-0d34-0410-b5e6-96231b3b80d8
* Other minor cleanups while I'm in the areaChris Lattner2003-09-011-10/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8284 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spell-oChris Lattner2003-09-011-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8283 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the RaiseAllocations pass from being a BasicBlockPass to being a PassChris Lattner2003-09-012-3/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8279 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename TarjanSCCIterator -> scc_iteratorChris Lattner2003-08-312-38/+36
| | | | | | | | | * 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8273 91177308-0d34-0410-b5e6-96231b3b80d8
* ELIMINATE the SCC class completely. One less thing deriving from std::vectorChris Lattner2003-08-312-50/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8272 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the HasLoop method from the SCC class to the iterator classChris Lattner2003-08-312-24/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8268 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove explicit passing of SCC's around as objects.Chris Lattner2003-08-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8267 91177308-0d34-0410-b5e6-96231b3b80d8
* This should use Support/iterator, not <iterator>Chris Lattner2003-08-311-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8266 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanups, move the getAnalysisUsage method to the .cpp fileChris Lattner2003-08-311-30/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8265 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an FLAT OUT WRONG commentChris Lattner2003-08-311-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8263 91177308-0d34-0410-b5e6-96231b3b80d8
* * CleanupsChris Lattner2003-08-312-42/+28
| | | | | | | | * operator* now returns a reference to the current SCC, instead of a possibly null pointer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8261 91177308-0d34-0410-b5e6-96231b3b80d8
* Add accessor function for the PruneEH passChris Lattner2003-08-311-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8254 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor simplificationChris Lattner2003-08-311-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8251 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the CallGraphSCCPass classChris Lattner2003-08-311-0/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8247 91177308-0d34-0410-b5e6-96231b3b80d8