Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A couple of minor code cleanups. | Chris Lattner | 2003-10-05 | 1 | -21/+16 |
| | | | | | | Print literal doubles using ftostr instead of <<, because it yields higher precision numbers. llvm-svn: 8855 | ||||
* | Rename Function::getEntryNode -> getEntryBlock | Chris Lattner | 2003-09-20 | 1 | -1/+1 |
| | | | | llvm-svn: 8625 | ||||
* | Fix problems with programs that prototype printf to something unusual | Chris Lattner | 2003-09-15 | 1 | -2/+4 |
| | | | | llvm-svn: 8538 | ||||
* | Fixed spelling and grammar. | Misha Brukman | 2003-09-11 | 1 | -4/+4 |
| | | | | llvm-svn: 8489 | ||||
* | Remove a bunch of warnings from the CBE generated C code | Chris Lattner | 2003-09-10 | 1 | -2/+2 |
| | | | | llvm-svn: 8455 | ||||
* | "the one true solution for compatibility with GCC 3.3+" | Chris Lattner | 2003-09-10 | 1 | -3/+3 |
| | | | | | | ... or so I hope llvm-svn: 8454 | ||||
* | Eliminate support for the llvm.unwind intrinisic, using the Unwind ↵ | Chris Lattner | 2003-09-08 | 1 | -13/+0 |
| | | | | | | instruction instead llvm-svn: 8411 | ||||
* | Add support for the unwind instruction | Chris Lattner | 2003-09-08 | 1 | -0/+14 |
| | | | | llvm-svn: 8408 | ||||
* | Fix really nasty bugs in the CWriter, handling invoke instructions. Tracking | Chris Lattner | 2003-08-28 | 1 | -2/+5 |
| | | | | | | these down was NOT phun. llvm-svn: 8181 | ||||
* | Simplify code | Chris Lattner | 2003-08-24 | 1 | -3/+1 |
| | | | | llvm-svn: 8139 | ||||
* | Implement support for the unwind intrinsic in the CBE | Chris Lattner | 2003-08-24 | 1 | -0/+13 |
| | | | | llvm-svn: 8116 | ||||
* | Add support for the sig(set|long)jmp intrinsics | Chris Lattner | 2003-08-18 | 1 | -1/+4 |
| | | | | llvm-svn: 7951 | ||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -2/+2 |
| | | | | llvm-svn: 7944 | ||||
* | Stop annoying warnings about mismatched types with the argument of a free | Chris Lattner | 2003-08-14 | 1 | -8/+24 |
| | | | | | | implement more constant expressions so that 176.gcc compiles with the CBE llvm-svn: 7847 | ||||
* | The HAVE_JUMP code is dead, these intrinsics should _never_ be expanded | Chris Lattner | 2003-08-06 | 1 | -23/+6 |
| | | | | llvm-svn: 7642 | ||||
* | Unbreak the CBE output | Chris Lattner | 2003-07-31 | 1 | -2/+0 |
| | | | | llvm-svn: 7453 | ||||
* | Modified the code so that it generates (0) for setjmp() and abort() for | John Criswell | 2003-07-31 | 1 | -0/+18 |
| | | | | | | | | longjmp() (and does not include setjmp.h). This is to fix some problems on Sparc while non-local jumps are still unimplemented. llvm-svn: 7449 | ||||
* | Don't include llvm/SlotCalculator.h, or <set>. | Brian Gaeke | 2003-07-25 | 1 | -3/+1 |
| | | | | | | Move up the inclusion of llvm/Support/Mangler.h. llvm-svn: 7320 | ||||
* | Use unified CWriter-X86/Printer name mangler. Do not bother using | Brian Gaeke | 2003-07-24 | 1 | -71/+21 |
| | | | | | | | SlotCalculator in CWriter. (Unfortunately, all this means a lot of X86/Printer's methods have to be de-constified again. Oh well.) llvm-svn: 7299 | ||||
* | Fix program: SingleSource/UnitTests/2003-07-09-SignedArgs with the CBE | Chris Lattner | 2003-07-23 | 1 | -1/+2 |
| | | | | llvm-svn: 7276 | ||||
* | Simplify code by using ConstantInt::getRawValue instead of checking to see | Chris Lattner | 2003-07-23 | 1 | -3/+1 |
| | | | | | | whether the constant is signed or unsigned, then casting llvm-svn: 7252 | ||||
* | Eliminated dead code. | Misha Brukman | 2003-07-21 | 1 | -1/+1 |
| | | | | llvm-svn: 7209 | ||||
* | Some beautification changes (tabs to spaces, removed extra blank lines); | Misha Brukman | 2003-07-09 | 1 | -6/+4 |
| | | | | | | no functionality changed. llvm-svn: 7138 | ||||
* | Removed size_t from the parameter list of the malloc() prototype in generated C | John Criswell | 2003-07-08 | 1 | -1/+1 |
| | | | | | | code. This prevents a compiler warning on Sparc that causes the tests to fail. llvm-svn: 7125 | ||||
* | jmp_buf is really a pointer type that is passed around... | Chris Lattner | 2003-06-28 | 1 | -2/+2 |
| | | | | llvm-svn: 6935 | ||||
* | Add support for the Invoke instruction! | Chris Lattner | 2003-06-28 | 1 | -9/+48 |
| | | | | llvm-svn: 6934 | ||||
* | Preserve compatibility with non-gcc compilers | Chris Lattner | 2003-06-28 | 1 | -4/+14 |
| | | | | llvm-svn: 6932 | ||||
* | Fix bug: CBackend/2003-06-28-LinkOnceGlobalVars.llx | Chris Lattner | 2003-06-28 | 1 | -0/+2 |
| | | | | llvm-svn: 6931 | ||||
* | - Fixed name mangling conditions to handle 'linkonce' linkage type. In | Joel Stanley | 2003-06-25 | 1 | -30/+44 |
| | | | | | | | | | | | | particular, name mangling for GlobalValues only occurs when the linkage type is internal or when the name must be mangled to avoid a collision. See comments in CWriter::getValueName for more information. - 'inline' keyword is now emitted for functions with 'linkonce' linkage type. - Fixed typos. llvm-svn: 6898 | ||||
* | It seems likely that floats would need a cast too, because they are | Brian Gaeke | 2003-06-25 | 1 | -1/+2 |
| | | | | | | ordinarily promoted to doubles. llvm-svn: 6894 | ||||
* | Fix 2003-06-23-PromotedExprs.llx -- if we are adding two bytes we better | Brian Gaeke | 2003-06-23 | 1 | -0/+14 |
| | | | | | | | explicitly cast the result to be a byte, or C will gleefully promote it to int. llvm-svn: 6869 | ||||
* | lib/CWriter/Writer.cpp: Copy AsmWriter's ConstantFP checking code here | Brian Gaeke | 2003-06-17 | 1 | -4/+30 |
| | | | | | | | | | | into a new function FPCSafeToPrint(), and use it in printConstant() and printFunction() to decide whether we should output ConstantFPs as floating-point constants or as references to stack-allocated variables. lib/VMCore/AsmWriter.cpp: Fix an apparent typo in the code mentioned above. llvm-svn: 6762 | ||||
* | Fairly major change: emit fixed sized allocas in the entry block as a variable, | Chris Lattner | 2003-06-17 | 1 | -6/+26 |
| | | | | | | | | | instead of a variable pointer and an alloca. All accesses to the variable then use the address-of operator to access it. This plays better with the internal GCC code generation phases, which bail early on functions which contain allocas. It also makes the code a bit easier to read. llvm-svn: 6734 | ||||
* | Don't include alloca.h on FreeBSD. | Brian Gaeke | 2003-06-16 | 1 | -0/+2 |
| | | | | llvm-svn: 6728 | ||||
* | Fix typeo | Chris Lattner | 2003-06-16 | 1 | -2/+2 |
| | | | | llvm-svn: 6704 | ||||
* | Fix bug: CBackend/2003-06-11-HexConstant.ll | Chris Lattner | 2003-06-16 | 1 | -5/+17 |
| | | | | | | Fix bug: CBackend/2003-06-11-LiteralStringProblem.ll llvm-svn: 6697 | ||||
* | Don't output explicit initializers for globals that are zero initialized | Chris Lattner | 2003-06-06 | 1 | -4/+4 |
| | | | | llvm-svn: 6651 | ||||
* | Fix bug: CBackend/2003-06-01-NullPointerType.ll | Chris Lattner | 2003-06-02 | 1 | -4/+5 |
| | | | | llvm-svn: 6526 | ||||
* | Fix a bug with casts to bool. This fixes testcase ↵ | Chris Lattner | 2003-06-01 | 1 | -1/+7 |
| | | | | | | UnitTests/2003-05-31-CastToBool.c llvm-svn: 6507 | ||||
* | Eliminate unnecessary ->get calls that are now automatically handled. | Chris Lattner | 2003-05-29 | 1 | -2/+2 |
| | | | | llvm-svn: 6397 | ||||
* | Add support for setjmp/longjmp primitives | Chris Lattner | 2003-05-17 | 1 | -1/+14 |
| | | | | | | Patch checked in for Bill Wendling :) llvm-svn: 6241 | ||||
* | Casts are now unnecessary | Chris Lattner | 2003-05-14 | 1 | -6/+6 |
| | | | | llvm-svn: 6199 | ||||
* | Fix bug: CBackend/2003-05-13-VarArgFunction.ll | Chris Lattner | 2003-05-13 | 1 | -2/+3 |
| | | | | | | | In C, a prototype with no arguments is varargs. A prototype that takes void has zero args. llvm-svn: 6172 | ||||
* | Fix bug: CWriter/2003-05-12-IntegerSizeWarning.c | Chris Lattner | 2003-05-12 | 1 | -1/+7 |
| | | | | llvm-svn: 6128 | ||||
* | Add support for variable argument functions! | Chris Lattner | 2003-05-08 | 1 | -5/+44 |
| | | | | llvm-svn: 6044 | ||||
* | Fix bug: UnitTests/2003-05-02-DependantPHI.c | Chris Lattner | 2003-05-03 | 1 | -3/+18 |
| | | | | | | Fix testcase MultiSource/Ptrdist-ks llvm-svn: 6000 | ||||
* | * Eliminate using decls | Chris Lattner | 2003-05-03 | 1 | -37/+34 |
| | | | | | | | * Fix some styleistic things * Fix bug: CWriter/2002-05-16-NameCollide.ll llvm-svn: 5988 | ||||
* | Fix problem where labels were being incorrectly elided, and fix problem | Chris Lattner | 2003-04-23 | 1 | -3/+4 |
| | | | | | | where PHI copies where not emitted for the default label of switch insts llvm-svn: 5882 | ||||
* | Fix the super obnoxious "cast to pointer from integer of different size" ↵ | Chris Lattner | 2003-04-23 | 1 | -8/+9 |
| | | | | | | warnings llvm-svn: 5881 | ||||
* | Remove unneccesary &* | Chris Lattner | 2003-04-23 | 1 | -1/+1 |
| | | | | llvm-svn: 5871 |