| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Changes because the Terminator::getSuccessor function now FAILS if successor | Chris Lattner | 2002-04-27 | 2 | -6/+11 | |
| | | | | | | | IDX is out of range instead of returning null. llvm-svn: 2332 | |||||
| * | Use the cast<> operator in favor of C style casts | Chris Lattner | 2002-04-27 | 1 | -3/+3 | |
| | | | | | llvm-svn: 2331 | |||||
| * | Change the semantics of getSuccessor to FAIL if an out of range successor # ↵ | Chris Lattner | 2002-04-27 | 2 | -32/+18 | |
| | | | | | | | is attempted. llvm-svn: 2330 | |||||
| * | * Change Constant::getNullConstant to Constant::getNullValue | Chris Lattner | 2002-04-27 | 1 | -35/+51 | |
| | | | | | | | * Add support for pool allocating array allocations of varying size llvm-svn: 2329 | |||||
| * | Add support for tracking array allocations | Chris Lattner | 2002-04-27 | 2 | -2/+13 | |
| | | | | | llvm-svn: 2328 | |||||
| * | Allow the inline limit to be modified on the commandline for debugging | Chris Lattner | 2002-04-27 | 1 | -1/+6 | |
| | | | | | llvm-svn: 2327 | |||||
| * | Support array allocations | Chris Lattner | 2002-04-27 | 1 | -2/+7 | |
| | | | | | llvm-svn: 2326 | |||||
| * | Trivial simplification of code | Chris Lattner | 2002-04-27 | 1 | -2/+1 | |
| | | | | | llvm-svn: 2325 | |||||
| * | * Change Constant::getNullConstant to Constant::getNullValue | Chris Lattner | 2002-04-27 | 1 | -33/+1 | |
| | | | | | | | * Remove some unused code llvm-svn: 2324 | |||||
| * | Change Constant::getNullConstant to Constant::getNullValue | Chris Lattner | 2002-04-27 | 6 | -17/+14 | |
| | | | | | llvm-svn: 2323 | |||||
| * | Simplify code a bit | Chris Lattner | 2002-04-27 | 1 | -6/+5 | |
| | | | | | llvm-svn: 2322 | |||||
| * | Rename getNullConstant to getNullValue | Chris Lattner | 2002-04-27 | 1 | -11/+11 | |
| | | | | | llvm-svn: 2321 | |||||
| * | Added functions to compute the offset of a given incoming or outgoing | Vikram S. Adve | 2002-04-25 | 1 | -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. Adve | 2002-04-25 | 2 | -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 the | Vikram S. Adve | 2002-04-25 | 1 | -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. Adve | 2002-04-25 | 1 | -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. Varargs | Vikram S. Adve | 2002-04-25 | 1 | -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 use | Vikram S. Adve | 2002-04-25 | 1 | -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. Adve | 2002-04-25 | 1 | -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. Adve | 2002-04-25 | 1 | -0/+50 | |
| | | | | | llvm-svn: 2313 | |||||
| * | Don't record instructions for copying method arguments in the | Vikram S. Adve | 2002-04-25 | 1 | -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. Adve | 2002-04-25 | 1 | -28/+16 | |
| | | | | | llvm-svn: 2311 | |||||
| * | Optional args are no longer allocated as they are discovered. | Vikram S. Adve | 2002-04-25 | 1 | -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 errors | Chris Lattner | 2002-04-24 | 1 | -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 Lattner | 2002-04-18 | 1 | -8/+17 | |
| | | | | | | | Assert now returns from the current function on error. llvm-svn: 2308 | |||||
| * | Programs that actually free memory were broken | Chris Lattner | 2002-04-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 2307 | |||||
| * | Changes to make print pass work! | Chris Lattner | 2002-04-18 | 1 | -1/+2 | |
| | | | | | llvm-svn: 2306 | |||||
| * | * Convert the verifier to use an InstVisitor to be better structured | Chris Lattner | 2002-04-18 | 1 | -137/+154 | |
| | | | | | | | | | * Implement checking that a binary operator's two sides are the same type * Actually check that an instruction does not have a name if it has a void return type. llvm-svn: 2305 | |||||
| * | New testcase | Chris Lattner | 2002-04-18 | 1 | -0/+9 | |
| | | | | | llvm-svn: 2304 | |||||
| * | Make sure that there is no case where a signal can occur leaving a partially | Chris Lattner | 2002-04-18 | 12 | -0/+58 | |
| | | | | | | | | | written output file. This is important because crashing testcases often write part of a file out, and the testing harness decides the file is up-to-date next time the test is run. llvm-svn: 2303 | |||||
| * | Add new api for basic signal handling for tools | Chris Lattner | 2002-04-18 | 2 | -0/+106 | |
| | | | | | llvm-svn: 2302 | |||||
| * | New api for signal handling for LLVM tools | Chris Lattner | 2002-04-18 | 1 | -0/+18 | |
| | | | | | llvm-svn: 2301 | |||||
| * | Move asmwriter/getStrValue cruft into AsmWriter.cpp file. | Chris Lattner | 2002-04-18 | 1 | -128/+0 | |
| | | | | | llvm-svn: 2300 | |||||
| * | Pull all of the getStrValue implementation cruft out of Constants.cpp and | Chris Lattner | 2002-04-18 | 1 | -24/+94 | |
| | | | | | | | | put it into the AsmWriter. This code is kinda gross and could probably be cleaned up, but not now. llvm-svn: 2299 | |||||
| * | Add a fixme so that we don't forget this is broken. | Chris Lattner | 2002-04-18 | 1 | -0/+3 | |
| | | | | | llvm-svn: 2298 | |||||
| * | Remove getStrValue method from Constant implementations. The AssemblyWriter | Chris Lattner | 2002-04-18 | 1 | -15/+0 | |
| | | | | | | | | now knows how to write out a constant, not the constants themselves. This is fixed due to the move of the AsmWriter to the VMcore library. llvm-svn: 2297 | |||||
| * | * getAsString requires that the input array is string compatible, so | Chris Lattner | 2002-04-18 | 1 | -33/+32 | |
| | | | | | | | | assert it. * Use WriteAsOperand instead of getStringValue for constants llvm-svn: 2296 | |||||
| * | Make debugging code not use getStrValue | Chris Lattner | 2002-04-18 | 1 | -2/+1 | |
| | | | | | llvm-svn: 2295 | |||||
| * | Just use << isntead of forcing getStrValue | Chris Lattner | 2002-04-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 2294 | |||||
| * | Print argument scalars as ellipses instead of boxes | Chris Lattner | 2002-04-18 | 1 | -1/+2 | |
| | | | | | llvm-svn: 2293 | |||||
| * | Significantly rework InstructionCombining to work better and to be cleaner. | Chris Lattner | 2002-04-18 | 1 | -94/+141 | |
| | | | | | | | | | We now use an InstVisitor to delegate to different cases that we are interested in handling. We also fix the FIXME's by adding users to the worklist when appropriate. llvm-svn: 2292 | |||||
| * | New testcase. | Chris Lattner | 2002-04-18 | 1 | -0/+32 | |
| | | | | | llvm-svn: 2291 | |||||
| * | * Add a comment to the header giving a breif overview of how to return a | Chris Lattner | 2002-04-18 | 1 | -23/+62 | |
| | | | | | | | | | | value from a visit function * Define a (file local) DELEGATE macro to make the code easier to read/maintain * Define per-opcode delegation functions so that users can override specific instances of BinaryOperator for example. llvm-svn: 2290 | |||||
| * | * Make dtor virtual | Chris Lattner | 2002-04-18 | 1 | -26/+28 | |
| | | | | | | | | * Add a new defaulted argument that allows the instruction visitation visitors to return a non-void value. llvm-svn: 2289 | |||||
| * | Check in the first test: make sure getelementptr gets folded | Chris Lattner | 2002-04-18 | 2 | -0/+31 | |
| | | | | | llvm-svn: 2288 | |||||
| * | Test the instruction combiner | Chris Lattner | 2002-04-18 | 1 | -1/+1 | |
| | | | | | llvm-svn: 2287 | |||||
| * | Convert SCCP over to use InstVisitor instead of hand crafted switch | Chris Lattner | 2002-04-18 | 1 | -181/+136 | |
| | | | | | llvm-svn: 2286 | |||||
| * | Remove gep::isStructSelector | Chris Lattner | 2002-04-18 | 1 | -9/+4 | |
| | | | | | | | CTor's do not allow names anymore for StoreInst objects llvm-svn: 2285 | |||||
| * | GEP instructions can never be constant propogated. | Chris Lattner | 2002-04-18 | 1 | -7/+12 | |
| | | | | | llvm-svn: 2284 | |||||
| * | Store instructions always return void, so they never get a name | Chris Lattner | 2002-04-18 | 1 | -2/+1 | |
| | | | | | llvm-svn: 2283 | |||||

