Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Detabify SemaExpr. My text editor defaults to 8 spaces per tab, so it | Eli Friedman | 2008-02-08 | 1 | -26/+26 | |
| | | | | | | gets kind of annoying. llvm-svn: 46872 | |||||
* | Improve diagnostic for illegal array initialization. | Eli Friedman | 2008-02-08 | 3 | -0/+12 | |
| | | | | llvm-svn: 46869 | |||||
* | Put back the top-level asm code; all tests pass now. | Anders Carlsson | 2008-02-08 | 10 | -12/+95 | |
| | | | | llvm-svn: 46868 | |||||
* | Back out 46855 for now, it causes test failures on Darwin. | Anders Carlsson | 2008-02-08 | 10 | -93/+13 | |
| | | | | llvm-svn: 46867 | |||||
* | Added missing entries in X86 load / store folding tables. | Evan Cheng | 2008-02-08 | 2 | -0/+28 | |
| | | | | llvm-svn: 46866 | |||||
* | - Add support for fuzzy parsing line-oriented __asm's (yuck). | Steve Naroff | 2008-02-07 | 4 | -9/+19 | |
| | | | | | | - Change handling of __w64 to a built-in macro. llvm-svn: 46864 | |||||
* | Begin setting features for target based on target triple string. | Devang Patel | 2008-02-07 | 1 | -2/+13 | |
| | | | | llvm-svn: 46863 | |||||
* | Remove remnant of load folding in local register allocator. Patch by Holger ↵ | Evan Cheng | 2008-02-07 | 1 | -7/+1 | |
| | | | | | | Schurig. llvm-svn: 46861 | |||||
* | Simplify bitfield codegen. | Lauro Ramos Venancio | 2008-02-07 | 3 | -52/+48 | |
| | | | | | | Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859 | |||||
* | Follow Chris' suggestion; change the PseudoSourceValue accessors | Dan Gohman | 2008-02-07 | 6 | -44/+44 | |
| | | | | | | | to return pointers instead of references, since this is always what is needed. llvm-svn: 46857 | |||||
* | Fix codegen of | Lauro Ramos Venancio | 2008-02-07 | 2 | -4/+20 | |
| | | | | | | | | | | | struct { char a[3]; unsigned char b:1; }; Fix PR1990. llvm-svn: 46856 | |||||
* | Handle top-level asm declarations. | Anders Carlsson | 2008-02-07 | 10 | -13/+93 | |
| | | | | llvm-svn: 46855 | |||||
* | Add SourceValue information for outgoing argument stores on x86. | Dan Gohman | 2008-02-07 | 1 | -2/+4 | |
| | | | | llvm-svn: 46854 | |||||
* | Don't abort if a MemOperand is missing a SourceValue; just print it | Dan Gohman | 2008-02-07 | 1 | -9/+13 | |
| | | | | | | | as <unknown>. And make some minor adjustments to the MemOperand dump format. llvm-svn: 46853 | |||||
* | Minor cleanup from yesterday's -fms-extension commit. Move __int* MS ↵ | Steve Naroff | 2008-02-07 | 3 | -8/+4 | |
| | | | | | | keywords to predefined macros. This removes some of the MS-madness from Parser::ParseDeclarationSpecifiers(). llvm-svn: 46852 | |||||
* | Added some more opcode pretty-printing. | Ted Kremenek | 2008-02-07 | 2 | -7/+10 | |
| | | | | | | Minor cleanups with generating nodes for NULL-pointer dereferences. llvm-svn: 46851 | |||||
* | Fix a x86-64 codegen deficiency. Allow gv + offset when using rip addressing ↵ | Evan Cheng | 2008-02-07 | 7 | -82/+76 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode. Before: _main: subq $8, %rsp leaq _X(%rip), %rax movsd 8(%rax), %xmm1 movss _X(%rip), %xmm0 call _t xorl %ecx, %ecx movl %ecx, %eax addq $8, %rsp ret Now: _main: subq $8, %rsp movsd _X+8(%rip), %xmm1 movss _X(%rip), %xmm0 call _t xorl %ecx, %ecx movl %ecx, %eax addq $8, %rsp ret Notice there is another idiotic codegen issue that needs to be fixed asap: xorl %ecx, %ecx movl %ecx, %eax llvm-svn: 46850 | |||||
* | In some cases, e.g. ADD32ri, no transformation is made. Guide against it. | Evan Cheng | 2008-02-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 46849 | |||||
* | Don't make up new directives. (".set_foobar") | Nick Lewycky | 2008-02-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 46848 | |||||
* | Added proof-of-concept NULL pointer diagnostics to GRConstants. | Ted Kremenek | 2008-02-07 | 6 | -11/+43 | |
| | | | | | | Modified the driver to pass the Diagnostic object to GRConstants. llvm-svn: 46847 | |||||
* | Added support to distinguish between both implicit and explicit null ↵ | Ted Kremenek | 2008-02-07 | 1 | -19/+36 | |
| | | | | | | dereferences. llvm-svn: 46846 | |||||
* | Implement support for the extremely atrocious MS /##/ extension, | Chris Lattner | 2008-02-07 | 5 | -8/+137 | |
| | | | | | | | which pastes together a comment. This is only enabled with -fms-extensions of course. llvm-svn: 46845 | |||||
* | these aren't tokens. | Chris Lattner | 2008-02-07 | 1 | -3/+0 | |
| | | | | llvm-svn: 46844 | |||||
* | Added recording of "implicit" NULL dereferences of symbolic pointers. | Ted Kremenek | 2008-02-07 | 5 | -47/+154 | |
| | | | | llvm-svn: 46843 | |||||
* | Add a FIXME for alternate address spaces. | Eli Friedman | 2008-02-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 46841 | |||||
* | get the tree building again | Chris Lattner | 2008-02-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 46840 | |||||
* | Added several guards in transfer functions for "InvalidValues". | Ted Kremenek | 2008-02-07 | 3 | -21/+113 | |
| | | | | | | | | | | | | | | Fixed bug in RemoveDeadBindings by implementing a simple "mark-and-sweep" cleaner over the bindings, starting from the Decls and block-level expressions that are considered "live" by the Liveness analysis. Fixed bug in isa<> implementation for class LValue. Added "VisitDeclRefExpr" to GRConstants so that we explicitly bind the current value of variable to the Block-level Expression (i.e., when the DeclRefExpr is at the CFGBlock level). llvm-svn: 46839 | |||||
* | Implement -fms-extensions. This allows us to fuzzy parse non-standard MS ↵ | Steve Naroff | 2008-02-07 | 7 | -7/+105 | |
| | | | | | | constructs used in "windows.h". llvm-svn: 46838 | |||||
* | Fixed bug in LiveVariables analysis where Block-level exprs appearing | Ted Kremenek | 2008-02-07 | 1 | -1/+6 | |
| | | | | | | | as the initializers for DeclStmts were not being registered as being live at the start of the DeclStmt. llvm-svn: 46837 | |||||
* | Fix a typo in a comment. | Dan Gohman | 2008-02-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 46836 | |||||
* | Added transfer function logic for ReturnStmts. | Ted Kremenek | 2008-02-07 | 4 | -5/+46 | |
| | | | | | | Fixed insidious bug in handling dereferences. llvm-svn: 46835 | |||||
* | Add support to FoldingSet for hashing APInt objects. | Dan Gohman | 2008-02-06 | 2 | -0/+6 | |
| | | | | llvm-svn: 46833 | |||||
* | Minor reordering of the serialization of the fields of MemberExpr to result | Ted Kremenek | 2008-02-06 | 1 | -2/+2 | |
| | | | | | | in a smaller encoding on disk. llvm-svn: 46832 | |||||
* | Major code refactoring/cleanup with transfer function logic. Now the | Ted Kremenek | 2008-02-06 | 3 | -300/+331 | |
| | | | | | | code structure is more suitable for additional symbolic analysis. llvm-svn: 46831 | |||||
* | Make sure to propagate qualifiers through the member operator. | Eli Friedman | 2008-02-06 | 5 | -9/+23 | |
| | | | | llvm-svn: 46830 | |||||
* | Re-apply the memory operand changes, with a fix for the static | Dan Gohman | 2008-02-06 | 21 | -157/+595 | |
| | | | | | | | | initializer problem, a minor tweak to the way the DAGISelEmitter finds load/store nodes, and a renaming of the new PseudoSourceValue objects. llvm-svn: 46827 | |||||
* | It's PR1925, not PR1609. | Evan Cheng | 2008-02-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 46825 | |||||
* | explicitly document that return statement argument does not necessarily ↵ | Chris Lattner | 2008-02-06 | 2 | -3/+14 | |
| | | | | | | follow the result type of the function. Add testcase. llvm-svn: 46823 | |||||
* | Temporarily reverting: | Bill Wendling | 2008-02-06 | 2 | -82/+1 | |
| | | | | | | | | http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080128/057882.html This is causing a miscompilation on PPC G5 and just now seeing it on iMac x86-64. llvm-svn: 46822 | |||||
* | Fix a number of local register allocator issues: PR1609. | Evan Cheng | 2008-02-06 | 2 | -14/+35 | |
| | | | | llvm-svn: 46821 | |||||
* | Use the subprocess module instead of os.system. Patch by Sam Bishop. | Anders Carlsson | 2008-02-06 | 1 | -7/+9 | |
| | | | | llvm-svn: 46819 | |||||
* | some more notes. | Chris Lattner | 2008-02-06 | 1 | -3/+9 | |
| | | | | llvm-svn: 46818 | |||||
* | make it clear :) | Chris Lattner | 2008-02-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 46817 | |||||
* | add a bunch of random notes and fix some issues noticed by Gabor. | Chris Lattner | 2008-02-06 | 1 | -17/+50 | |
| | | | | | | This is not ready for review or hacking, this is a work in progress :) llvm-svn: 46816 | |||||
* | Added main transfer function support for unary operator "!". | Ted Kremenek | 2008-02-06 | 1 | -0/+22 | |
| | | | | llvm-svn: 46815 | |||||
* | Added assumption logic for symbolic non-lvalues when used in conditions such as | Ted Kremenek | 2008-02-06 | 3 | -5/+34 | |
| | | | | | | | "if(x)". On the true branch we know the value is != 0, and on the false branch we know it is 0. llvm-svn: 46814 | |||||
* | RegAllocaLocal still *requires* LiveVariables since it runs PHIElimination, ↵ | Evan Cheng | 2008-02-06 | 1 | -1/+3 | |
| | | | | | | followed by TwoAddress which requires LiveVariables. We cannot run LiveVariables on non-SSA code. llvm-svn: 46813 | |||||
* | Add pointer + int (and vice versa) to the constant emitter. | Anders Carlsson | 2008-02-06 | 1 | -2/+10 | |
| | | | | llvm-svn: 46812 | |||||
* | Generate code for the various __builtin_ctz functions. | Anders Carlsson | 2008-02-06 | 1 | -0/+14 | |
| | | | | llvm-svn: 46811 | |||||
* | a starter shell for 2.2 release notes | Chris Lattner | 2008-02-06 | 1 | -161/+34 | |
| | | | | llvm-svn: 46810 |