summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* changes because iMemory.h no longer #includes DerivedTypes.hChris Lattner2002-04-292-2/+4
| | | | | | This only requires Type.h anyway llvm-svn: 2405
* Changes so that iMemory.h doesn't include DerivedTypes.hChris Lattner2002-04-292-0/+19
| | | | llvm-svn: 2404
* Fix bug: test/Regression/Other/2002-04-29-NameBinding.llChris Lattner2002-04-291-12/+1
| | | | llvm-svn: 2402
* Eliminate dead global variablesChris Lattner2002-04-291-2/+20
| | | | llvm-svn: 2400
* Eliminate duplicate or unneccesary #include'sChris Lattner2002-04-2954-82/+8
| | | | llvm-svn: 2397
* Remove broken assertion.Chris Lattner2002-04-291-3/+5
| | | | llvm-svn: 2396
* Add new optional getPassName() virtual function that a Pass can overrideChris Lattner2002-04-2931-15/+102
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* Add a new command line option for PassManager using utilities.Chris Lattner2002-04-292-11/+144
| | | | | | | | Now for llc, gccas, analyze, opt, etc you can specify the -time-passes command line option that outputs a timing summary report that indicates how long each pass takes to execute. llvm-svn: 2394
* More cleanupsChris Lattner2002-04-291-59/+54
| | | | llvm-svn: 2392
* Code cleanupsChris Lattner2002-04-291-127/+111
| | | | llvm-svn: 2391
* Remove dead codeChris Lattner2002-04-282-15/+3
| | | | llvm-svn: 2390
* FIXME removed: malloc/alloca ALWAYS have a size argumentChris Lattner2002-04-281-7/+2
| | | | llvm-svn: 2389
* Todo has been implemented, remove itChris Lattner2002-04-281-3/+0
| | | | llvm-svn: 2387
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-2814-4/+53
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* Move FunctionPass::doesNotModifyCFG to AnalysisUsage::preservesCFG()Chris Lattner2002-04-281-14/+15
| | | | llvm-svn: 2384
* * Add a stub to FunctionPass so that subclasses can declare that they do notChris Lattner2002-04-281-4/+28
| | | | | | | | | | modify the CFG. It currently does nothing, but will in the future. * Changes to make the public PassManager.h be MUCH smaller, and devoid of implementation details. Now PassManager is just a Pimpl class that wraps PassManagerT<Module>, but lib/VMCore/Pass.cpp is now the only class that has to #include PassManagerT.h llvm-svn: 2383
* Move include/llvm/PassManager.h to lib/VMCore/PassManagerT.hChris Lattner2002-04-281-6/+9
| | | | llvm-svn: 2382
* Add #include that was removed from TargetMachine.hChris Lattner2002-04-282-0/+2
| | | | llvm-svn: 2381
* Include appropriate fileChris Lattner2002-04-281-0/+2
| | | | llvm-svn: 2379
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-2839-46/+45
| | | | llvm-svn: 2378
* Simplify and update code a bitChris Lattner2002-04-281-5/+5
| | | | llvm-svn: 2376
* Eliminate the PromoteInstance class, incorporating it into the PromotePassChris Lattner2002-04-281-63/+57
| | | | | | class. llvm-svn: 2375
* Eliminate visited, CurrentValue, and WriteSets as instance variables ofChris Lattner2002-04-281-53/+54
| | | | | | | | PromoteInstance. Make them local variables that are passed around as appropriate. Especially in the case of CurrentValue, this makes the code simpler. llvm-svn: 2374
* * Fix bug: test/Regression/Transforms/Mem2Reg/2002-03-28-UninitializedVal.llChris Lattner2002-04-281-4/+12
| | | | | | * Minor cleanup that was missed in last patch llvm-svn: 2373
* This huge changeset is a strictly cleanup changeChris Lattner2002-04-281-228/+174
| | | | | | Bugfixes will come in the next revision so that the diff is obvious. llvm-svn: 2372
* Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classesChris Lattner2002-04-2813-109/+101
| | | | | | to the global namespace llvm-svn: 2370
* Remove all contents of the cfg namespace to the global namespaceChris Lattner2002-04-281-4/+4
| | | | llvm-svn: 2369
* Remove extra unused argument from CheckFailed methodChris Lattner2002-04-281-10/+10
| | | | | | Remove extraneous \n's from assert strings llvm-svn: 2367
* The check to see if an external function was marked internal was not reachable!Chris Lattner2002-04-281-4/+6
| | | | llvm-svn: 2366
* Be careful not to make "external" function internalChris Lattner2002-04-281-2/+3
| | | | llvm-svn: 2363
* Initial checkin of new "Internalize" pass for GCCLDChris Lattner2002-04-281-0/+38
| | | | llvm-svn: 2362
* Minor changes to allow Modules (which are no longer Values) to workChris Lattner2002-04-282-14/+15
| | | | llvm-svn: 2361
* Eliminate use of SymTabValue classChris Lattner2002-04-281-4/+4
| | | | llvm-svn: 2357
* The contents of the SymTabValue class have been incorporated into theChris Lattner2002-04-281-41/+1
| | | | | | Module and Function classes directly. llvm-svn: 2356
* * Incorporate the contents of SymTabValue into Function and ModuleChris Lattner2002-04-282-5/+50
| | | | | | * Module no longer subclasses Value llvm-svn: 2355
* Module's are no longer valuesChris Lattner2002-04-281-5/+0
| | | | llvm-svn: 2354
* Simplify codeChris Lattner2002-04-281-15/+5
| | | | | | Remove unneccesary getID variant for module's llvm-svn: 2353
* Remove unneccesary #includeChris Lattner2002-04-281-1/+0
| | | | llvm-svn: 2352
* Module's are no longer Value subclassesChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2351
* Fix signed/unsigned comparison warningChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2350
* Initial checkin of simple&fast SSA based GCSE algorithmChris Lattner2002-04-281-0/+272
| | | | llvm-svn: 2338
* Change the Dominator info and LoopInfo classes to keep track of ↵Chris Lattner2002-04-286-45/+45
| | | | | | | | BasicBlock's, not const BasicBlocks llvm-svn: 2337
* s/Method/FunctionChris Lattner2002-04-2714-83/+83
| | | | llvm-svn: 2336
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-2737-344/+311
| | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333
* Changes because the Terminator::getSuccessor function now FAILS if successorChris Lattner2002-04-272-6/+11
| | | | | | IDX is out of range instead of returning null. llvm-svn: 2332
* Use the cast<> operator in favor of C style castsChris Lattner2002-04-271-3/+3
| | | | llvm-svn: 2331
* * Change Constant::getNullConstant to Constant::getNullValueChris Lattner2002-04-271-35/+51
| | | | | | * Add support for pool allocating array allocations of varying size llvm-svn: 2329
* Add support for tracking array allocationsChris Lattner2002-04-272-2/+13
| | | | llvm-svn: 2328
* Allow the inline limit to be modified on the commandline for debuggingChris Lattner2002-04-271-1/+6
| | | | llvm-svn: 2327
* Trivial simplification of codeChris Lattner2002-04-271-2/+1
| | | | llvm-svn: 2325
OpenPOWER on IntegriCloud