summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Detabify SemaExpr. My text editor defaults to 8 spaces per tab, so it Eli Friedman2008-02-081-26/+26
| | | | | | gets kind of annoying. llvm-svn: 46872
* Improve diagnostic for illegal array initialization.Eli Friedman2008-02-083-0/+12
| | | | llvm-svn: 46869
* Put back the top-level asm code; all tests pass now.Anders Carlsson2008-02-0810-12/+95
| | | | llvm-svn: 46868
* Back out 46855 for now, it causes test failures on Darwin.Anders Carlsson2008-02-0810-93/+13
| | | | llvm-svn: 46867
* Added missing entries in X86 load / store folding tables.Evan Cheng2008-02-082-0/+28
| | | | llvm-svn: 46866
* - Add support for fuzzy parsing line-oriented __asm's (yuck).Steve Naroff2008-02-074-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 Patel2008-02-071-2/+13
| | | | llvm-svn: 46863
* Remove remnant of load folding in local register allocator. Patch by Holger ↵Evan Cheng2008-02-071-7/+1
| | | | | | Schurig. llvm-svn: 46861
* Simplify bitfield codegen.Lauro Ramos Venancio2008-02-073-52/+48
| | | | | | Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859
* Follow Chris' suggestion; change the PseudoSourceValue accessorsDan Gohman2008-02-076-44/+44
| | | | | | | to return pointers instead of references, since this is always what is needed. llvm-svn: 46857
* Fix codegen ofLauro Ramos Venancio2008-02-072-4/+20
| | | | | | | | | | | struct { char a[3]; unsigned char b:1; }; Fix PR1990. llvm-svn: 46856
* Handle top-level asm declarations.Anders Carlsson2008-02-0710-13/+93
| | | | llvm-svn: 46855
* Add SourceValue information for outgoing argument stores on x86.Dan Gohman2008-02-071-2/+4
| | | | llvm-svn: 46854
* Don't abort if a MemOperand is missing a SourceValue; just print itDan Gohman2008-02-071-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 Naroff2008-02-073-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 Kremenek2008-02-072-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 Cheng2008-02-077-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 Cheng2008-02-071-0/+2
| | | | llvm-svn: 46849
* Don't make up new directives. (".set_foobar")Nick Lewycky2008-02-071-1/+1
| | | | llvm-svn: 46848
* Added proof-of-concept NULL pointer diagnostics to GRConstants.Ted Kremenek2008-02-076-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 Kremenek2008-02-071-19/+36
| | | | | | dereferences. llvm-svn: 46846
* Implement support for the extremely atrocious MS /##/ extension, Chris Lattner2008-02-075-8/+137
| | | | | | | which pastes together a comment. This is only enabled with -fms-extensions of course. llvm-svn: 46845
* these aren't tokens.Chris Lattner2008-02-071-3/+0
| | | | llvm-svn: 46844
* Added recording of "implicit" NULL dereferences of symbolic pointers.Ted Kremenek2008-02-075-47/+154
| | | | llvm-svn: 46843
* Add a FIXME for alternate address spaces.Eli Friedman2008-02-071-0/+1
| | | | llvm-svn: 46841
* get the tree building againChris Lattner2008-02-071-1/+2
| | | | llvm-svn: 46840
* Added several guards in transfer functions for "InvalidValues".Ted Kremenek2008-02-073-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 Naroff2008-02-077-7/+105
| | | | | | constructs used in "windows.h". llvm-svn: 46838
* Fixed bug in LiveVariables analysis where Block-level exprs appearingTed Kremenek2008-02-071-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 Gohman2008-02-071-1/+1
| | | | llvm-svn: 46836
* Added transfer function logic for ReturnStmts.Ted Kremenek2008-02-074-5/+46
| | | | | | Fixed insidious bug in handling dereferences. llvm-svn: 46835
* Add support to FoldingSet for hashing APInt objects.Dan Gohman2008-02-062-0/+6
| | | | llvm-svn: 46833
* Minor reordering of the serialization of the fields of MemberExpr to resultTed Kremenek2008-02-061-2/+2
| | | | | | in a smaller encoding on disk. llvm-svn: 46832
* Major code refactoring/cleanup with transfer function logic. Now theTed Kremenek2008-02-063-300/+331
| | | | | | code structure is more suitable for additional symbolic analysis. llvm-svn: 46831
* Make sure to propagate qualifiers through the member operator.Eli Friedman2008-02-065-9/+23
| | | | llvm-svn: 46830
* Re-apply the memory operand changes, with a fix for the staticDan Gohman2008-02-0621-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 Cheng2008-02-061-1/+1
| | | | llvm-svn: 46825
* explicitly document that return statement argument does not necessarily ↵Chris Lattner2008-02-062-3/+14
| | | | | | follow the result type of the function. Add testcase. llvm-svn: 46823
* Temporarily reverting:Bill Wendling2008-02-062-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 Cheng2008-02-062-14/+35
| | | | llvm-svn: 46821
* Use the subprocess module instead of os.system. Patch by Sam Bishop.Anders Carlsson2008-02-061-7/+9
| | | | llvm-svn: 46819
* some more notes.Chris Lattner2008-02-061-3/+9
| | | | llvm-svn: 46818
* make it clear :)Chris Lattner2008-02-061-0/+3
| | | | llvm-svn: 46817
* add a bunch of random notes and fix some issues noticed by Gabor.Chris Lattner2008-02-061-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 Kremenek2008-02-061-0/+22
| | | | llvm-svn: 46815
* Added assumption logic for symbolic non-lvalues when used in conditions such asTed Kremenek2008-02-063-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 Cheng2008-02-061-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 Carlsson2008-02-061-2/+10
| | | | llvm-svn: 46812
* Generate code for the various __builtin_ctz functions.Anders Carlsson2008-02-061-0/+14
| | | | llvm-svn: 46811
* a starter shell for 2.2 release notesChris Lattner2008-02-061-161/+34
| | | | llvm-svn: 46810
OpenPOWER on IntegriCloud