summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* Remove forward def'ns that are already in Value.hChris Lattner2002-04-281-11/+1
| | | | | | Do not support output of Modules directly llvm-svn: 2349
* s/Method/FunctionChris Lattner2002-04-281-10/+9
| | | | llvm-svn: 2348
* Module's are no longer Value's.Chris Lattner2002-04-281-10/+1
| | | | llvm-svn: 2347
* The interesting contents of SymTabValue were incorporated into FunctionChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2346
* * Module's are no longer Value'sChris Lattner2002-04-281-9/+27
| | | | | | * Incorporate SymTabValue contents into the Module class llvm-svn: 2345
* Add a forward defn for Module since it's no longer in Value.hChris Lattner2002-04-281-0/+1
| | | | llvm-svn: 2344
* * Incorporate the functionality of SymTabValue into FunctionChris Lattner2002-04-281-8/+31
| | | | | | * s/Method/Function llvm-svn: 2343
* New testcase for GCSEChris Lattner2002-04-282-0/+67
| | | | llvm-svn: 2342
* Test GCSEChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2341
* Run GCSE as part of gccas.Chris Lattner2002-04-281-0/+2
| | | | llvm-svn: 2340
* Expose new GCSE passChris Lattner2002-04-281-1/+4
| | | | llvm-svn: 2339
* Initial checkin of simple&fast SSA based GCSE algorithmChris Lattner2002-04-282-0/+288
| | | | llvm-svn: 2338
* Change the Dominator info and LoopInfo classes to keep track of ↵Chris Lattner2002-04-288-86/+82
| | | | | | | | BasicBlock's, not const BasicBlocks llvm-svn: 2337
* s/Method/FunctionChris Lattner2002-04-2717-90/+90
| | | | llvm-svn: 2336
* s/Method/Function in classnameChris Lattner2002-04-271-4/+4
| | | | llvm-svn: 2335
* Remove old file that will never be usedChris Lattner2002-04-271-19/+0
| | | | llvm-svn: 2334
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-2758-617/+585
| | | | | | | | | | | | | | | - 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 the semantics of getSuccessor to FAIL if an out of range successor # ↵Chris Lattner2002-04-272-32/+18
| | | | | | is attempted. llvm-svn: 2330
* * 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
* Support array allocationsChris Lattner2002-04-271-2/+7
| | | | llvm-svn: 2326
* Trivial simplification of codeChris Lattner2002-04-271-2/+1
| | | | llvm-svn: 2325
* * Change Constant::getNullConstant to Constant::getNullValueChris Lattner2002-04-271-33/+1
| | | | | | * Remove some unused code llvm-svn: 2324
* Change Constant::getNullConstant to Constant::getNullValueChris Lattner2002-04-276-17/+14
| | | | llvm-svn: 2323
* Simplify code a bitChris Lattner2002-04-271-6/+5
| | | | llvm-svn: 2322
* Rename getNullConstant to getNullValueChris Lattner2002-04-271-11/+11
| | | | llvm-svn: 2321
* Added functions to compute the offset of a given incoming or outgoingVikram S. Adve2002-04-251-7/+15
| | | | | | argument. These are no longer allocated as they are discovered. llvm-svn: 2320
* Optional args are no longer allocated as they are discovered.Vikram S. Adve2002-04-252-34/+28
| | | | | | | | (This can be improved to avoid making the initial pass over the method.) Also, ensure automatic vars and reg. spills areas are not extended if their sizes are used for computing some other offset. llvm-svn: 2319
* Don't record instructions for copying method arguments in theVikram S. Adve2002-04-251-0/+1
| | | | | | | | AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. llvm-svn: 2318
* Don't pad spills and temp. stack areas for alignment.Vikram S. Adve2002-04-251-4/+5
| | | | | | | Freeze auto vars and spill areas when their sizes are used for computing other offsets. llvm-svn: 2317
* Major changes to how int and FP arguments are handled. VarargsVikram S. Adve2002-04-251-189/+254
| | | | | | | function calls were simply wrong; other functions were just not using all available registers. llvm-svn: 2316
* Added functions to compute which register, if any, to useVikram S. Adve2002-04-251-15/+20
| | | | | | for a particular argument in a list of arguments. llvm-svn: 2315
* Insert copy operations for FP arguments to a varargs function,Vikram S. Adve2002-04-251-31/+69
| | | | | | | | to copy the FP arg. to an integer. Necessary so that the register allocator has two different live ranges for the FP value and the int. argument. llvm-svn: 2314
* Implementation of class MachineFrameInfo.Vikram S. Adve2002-04-251-0/+50
| | | | llvm-svn: 2313
* Don't record instructions for copying method arguments in theVikram S. Adve2002-04-251-66/+78
| | | | | | | | AddedInstrns sets for the first machine instruction. It is hard to ensure that the right order is preserved, and sure enough, the order was broken. Instead, use a separate set for the function entry. llvm-svn: 2312
* Improve printing during dumps.Vikram S. Adve2002-04-251-28/+16
| | | | llvm-svn: 2311
* Optional args are no longer allocated as they are discovered.Vikram S. Adve2002-04-251-51/+22
| | | | | | | | (This can be improved to avoid making the initial pass over the method.) Also, ensure automatic vars and reg. spills areas are not extended if their sizes are used for computing some other offset. llvm-svn: 2310
* * Abort program on verification errorsChris Lattner2002-04-241-1/+41
| | | | | | | * Verify that load, store, and GEP instructions indices are correct, because they _continually_ bite me on this pool allocations stuff llvm-svn: 2309
* Add some basic checks of CallInst's.Chris Lattner2002-04-181-8/+17
| | | | | | Assert now returns from the current function on error. llvm-svn: 2308
* Programs that actually free memory were brokenChris Lattner2002-04-181-1/+1
| | | | llvm-svn: 2307
* Changes to make print pass work!Chris Lattner2002-04-181-1/+2
| | | | llvm-svn: 2306
OpenPOWER on IntegriCloud