| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | For this transform: store V, (cast P) -> store (cast V), P | Reid Spencer | 2007-01-19 | 1 | -3/+4 |
| | | | | | | | | don't allow the transform if V and the pointer's element type are different width integer types. llvm-svn: 33371 | ||||
| * | For PR1043: | Reid Spencer | 2007-01-19 | 18 | -76/+84 |
| | | | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370 | ||||
| * | Make this test actually test what its supposed to test. | Reid Spencer | 2007-01-19 | 1 | -1/+2 |
| | | | | | llvm-svn: 33369 | ||||
| * | Code clean up. Use def : pat instead of defining new instructions. | Evan Cheng | 2007-01-19 | 1 | -127/+87 |
| | | | | | llvm-svn: 33368 | ||||
| * | fix build on amd64 | Andrew Lenharth | 2007-01-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 33367 | ||||
| * | isDarwin -> isTargetDarwin | Evan Cheng | 2007-01-19 | 3 | -8/+8 |
| | | | | | llvm-svn: 33366 | ||||
| * | Restructure code a bit to make use of continue (simplifying things). Generalize | Evan Cheng | 2007-01-19 | 1 | -64/+87 |
| | | | | | | | the .zerofill directive emission to not be darwin-specific. llvm-svn: 33365 | ||||
| * | Darwin doesn't support .bss, but it does have .zerofill | Evan Cheng | 2007-01-19 | 1 | -5/+7 |
| | | | | | llvm-svn: 33364 | ||||
| * | Introduce TargetType's ELF and Darwin. | Evan Cheng | 2007-01-19 | 2 | -8/+17 |
| | | | | | llvm-svn: 33363 | ||||
| * | Modify emission of jump tables on darwin to emit an extra "l" label that | Evan Cheng | 2007-01-19 | 1 | -0/+7 |
| | | | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33362 | ||||
| * | Remove this xform: | Evan Cheng | 2007-01-19 | 1 | -7/+26 |
| | | | | | | | | | | | (shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2) Replace it with: (add (shl (add x, c1), c2), ) -> (add (add (shl x, c2), c1<<c2), ) This fixes test/CodeGen/ARM/smul.ll llvm-svn: 33361 | ||||
| * | Add the check for udis86 to support disassembly. | Reid Spencer | 2007-01-19 | 1 | -28/+145 |
| | | | | | | | Regenerated for Anton Korobeynikov. llvm-svn: 33360 | ||||
| * | Fix section definition. | Lauro Ramos Venancio | 2007-01-19 | 1 | -2/+2 |
| | | | | | llvm-svn: 33359 | ||||
| * | Adding disassembler interface and external hook to udis86 library. | Anton Korobeynikov | 2007-01-19 | 5 | -3/+130 |
| | | | | | llvm-svn: 33358 | ||||
| * | icmp doesn't support comparison of packed types. | Reid Spencer | 2007-01-19 | 1 | -3/+0 |
| | | | | | llvm-svn: 33357 | ||||
| * | Cover non-byte-width BATs situation. | Zhou Sheng | 2007-01-19 | 2 | -6/+21 |
| | | | | | llvm-svn: 33356 | ||||
| * | Cover more arithmetics for arbitrary bitwidth integers. | Zhou Sheng | 2007-01-19 | 17 | -0/+81 |
| | | | | | llvm-svn: 33355 | ||||
| * | ARM test cases contributed by Apple. | Evan Cheng | 2007-01-19 | 47 | -209/+953 |
| | | | | | llvm-svn: 33354 | ||||
| * | ARM backend contribution from Apple. | Evan Cheng | 2007-01-19 | 32 | -1968/+8695 |
| | | | | | llvm-svn: 33353 | ||||
| * | Needed to build on PPC Linux. | Nick Lewycky | 2007-01-19 | 1 | -0/+3 |
| | | | | | llvm-svn: 33352 | ||||
| * | Add one test case for Arbitrary BitWidth Integers. | Zhou Sheng | 2007-01-19 | 2 | -0/+36 |
| | | | | | llvm-svn: 33348 | ||||
| * | Back out last changes for dataLayout. Much more work is needed. | Reid Spencer | 2007-01-19 | 2 | -10/+0 |
| | | | | | llvm-svn: 33347 | ||||
| * | For PR761: | Reid Spencer | 2007-01-18 | 2 | -0/+10 |
| | | | | | | | Implement reading and writing of the Module's data layout string. llvm-svn: 33346 | ||||
| * | - Target PIC style is no longer affected by relocation model. | Evan Cheng | 2007-01-18 | 2 | -49/+49 |
| | | | | | | | | | - In x86-64 mode, symbols with external linkage (not just symbols which are defined externally) requires GOT indirect reference. - Stylistic code clean up. llvm-svn: 33345 | ||||
| * | remove an execution test from llvm/test | Chris Lattner | 2007-01-18 | 1 | -51/+0 |
| | | | | | llvm-svn: 33344 | ||||
| * | Fix InstCombine/2007-01-18-VectorInfLoop.ll, a case where instcombine | Chris Lattner | 2007-01-18 | 1 | -3/+9 |
| | | | | | | | infinitely loops. llvm-svn: 33343 | ||||
| * | new testcase that causes instcombine to infinitely loop | Chris Lattner | 2007-01-18 | 1 | -0/+7 |
| | | | | | llvm-svn: 33342 | ||||
| * | Update copyright for 2007. | Reid Spencer | 2007-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 33339 | ||||
| * | Welcome 2007. | John Criswell | 2007-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 33338 | ||||
| * | Clean up some code around the store V, (cast P) -> store (cast V), P | Reid Spencer | 2007-01-18 | 1 | -8/+14 |
| | | | | | | | | | | transform. Change some variable names so it is clear what is source and what is dest of the cast. Also, add an assert to ensure that the integer to integer case is asserting if the bitwidths are different. This prevents illegal casts from being formed and catches bitwidth bugs sooner. llvm-svn: 33337 | ||||
| * | Use a cheaper computation. | Reid Spencer | 2007-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 33336 | ||||
| * | Fix a regression in the last patch. When constructing a BitMask, be careful | Reid Spencer | 2007-01-18 | 1 | -0/+4 |
| | | | | | | | | not to overflow 64-bits and end up with a 0 mask. This caused i64 values to always be stored as 0 with lots of consequential damage to nightly test. llvm-svn: 33335 | ||||
| * | move contents of PR587 to here. | Chris Lattner | 2007-01-18 | 1 | -0/+45 |
| | | | | | llvm-svn: 33333 | ||||
| * | Provide an isPowerOf2ByteWidth method for the IntegerType class. This will | Reid Spencer | 2007-01-18 | 2 | -0/+11 |
| | | | | | | | | mostly be used by back ends that wish to distinguish between integer types that fit evenly within a natural integer type and those that don't. llvm-svn: 33328 | ||||
| * | The zerofill directive needs a newline after it. | Bill Wendling | 2007-01-18 | 1 | -1/+1 |
| | | | | | llvm-svn: 33327 | ||||
| * | Use the new maskToBitWidth function to ensure that the results of | Reid Spencer | 2007-01-18 | 1 | -10/+15 |
| | | | | | | | computations do not overflow the intended bit width. llvm-svn: 33326 | ||||
| * | Add an inline helper function that masks a GenericValue to a specified | Reid Spencer | 2007-01-18 | 1 | -0/+12 |
| | | | | | | | bit width. llvm-svn: 33325 | ||||
| * | Minor code clean up. | Evan Cheng | 2007-01-18 | 2 | -18/+21 |
| | | | | | llvm-svn: 33323 | ||||
| * | Make shl instruction mask its result to the correct bitsize. This is | Reid Spencer | 2007-01-18 | 1 | -5/+10 |
| | | | | | | | | sufficient to get llvm-test/SingleSource/UnitTests/Integer/general-test.ll working with lli in interpreter mode. llvm-svn: 33321 | ||||
| * | Two changes: | Reid Spencer | 2007-01-18 | 1 | -18/+17 |
| | | | | | | | | | | 1. Fix logic for executeGEP. Only 32-bit and 64-bit integer types are acceptable as indices. 2. Ensure that all integer cast operations truncate their result to the integer size of the operand. llvm-svn: 33318 | ||||
| * | Make sure we truncate stored values to their bit width. | Reid Spencer | 2007-01-18 | 1 | -30/+40 |
| | | | | | llvm-svn: 33317 | ||||
| * | Have the OutputBuffer take the is64Bit and isLittleEndian booleans. | Bill Wendling | 2007-01-18 | 4 | -28/+36 |
| | | | | | llvm-svn: 33316 | ||||
| * | Modify emission of jump tables on darwin to emit an extra "l" label that | Chris Lattner | 2007-01-18 | 2 | -0/+14 |
| | | | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33315 | ||||
| * | add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission. | Chris Lattner | 2007-01-18 | 3 | -1/+17 |
| | | | | | llvm-svn: 33314 | ||||
| * | For PR1028: | Reid Spencer | 2007-01-17 | 1 | -2/+4 |
| | | | | | | | | | | | | | | Add the llvm.stacksave and llvm.stackrestore intrinsics that correspond to the GCC builtins __builtin_stack_save and __builtin_stack_restore. This allows the CBE to execute these builtins, and fixes: test/CodeGen/CBackend/2007-01-17-StackSaveNRestore.ll External/SPEC/CINT2000/176.gcc (CBE) Patch by Gordon Henriksen. llvm-svn: 33313 | ||||
| * | For PR1028: | Reid Spencer | 2007-01-17 | 1 | -0/+12 |
| | | | | | | | | | | Ensure the CBE generates calls to GCC builtins for stack_save and stack_restore when it encounters the corresponding intrinsics. Patch by Gordon Henriksen. llvm-svn: 33312 | ||||
| * | Changed to use the OutputBuffer instead of the methods in MachO and ELF | Bill Wendling | 2007-01-17 | 5 | -348/+200 |
| | | | | | | | writers. llvm-svn: 33311 | ||||
| * | Refactored output buffer methods from MachO and ELF writers. | Bill Wendling | 2007-01-17 | 1 | -0/+146 |
| | | | | | llvm-svn: 33310 | ||||
| * | Add CGPassManager. | Devang Patel | 2007-01-17 | 1 | -0/+124 |
| | | | | | llvm-svn: 33309 | ||||
| * | Update ModulePass::assignPassManager() to take into account Preferred | Devang Patel | 2007-01-17 | 1 | -4/+5 |
| | | | | | | | Pass Manager Type. llvm-svn: 33308 | ||||

