summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add a new BF->LLVM translator, contributed by Sterling Stein.Chris Lattner2007-09-125-1/+721
| | | | llvm-svn: 41881
* Patch for building method declaration nodes. Also fixed a segfault in ↵Fariborz Jahanian2007-09-125-7/+71
| | | | | | | | cocoa.m due to use of @property. llvm-svn: 41880
* Change llvm.gcroot to not init the root to null at runtime, this preventsChris Lattner2007-09-122-7/+5
| | | | | | using it for live-in values etc. llvm-svn: 41879
* Removed clang solution file for VC++, which didn't work properly because of ↵Hartmut Kaiser2007-09-123-728/+6
| | | | | | | | hard coded paths in the llvm project files. Changed windows detection to use LLVM pp constant. llvm-svn: 41878
* Fix the following bug submitted by Ted Kremenek:Steve Naroff2007-09-127-102/+127
| | | | | | | | | | | | | | | | | | | | | | void func() { int xx = xx; // incorrectly diagnosed 'xx' as an undeclared identifier. } This smallish bug resulted in a largish fix. Here are some highlights: - Needed to make sure ParseDeclarator is called *before* parsing any initializer. Removed the "Init" argument to ParseDeclarator. - Added AddInitializerToDecl() to the Action & Sema classes. In Sema, this hook is responsible for validating the initializer and installing it into the respective decl. - Moved several semantic checks from ParseDeclarator() to FinalizeDeclaratorGroup(). Previously, this hook was only responsible for reversing a list. Now it plays a much larger semantic role. All of the above changes ended up simplifying ParseDeclarator(), which is goodness... llvm-svn: 41877
* Generated files for previous patch.Dale Johannesen2007-09-124-12/+12
| | | | llvm-svn: 41876
* Revise previous patch per review comments.Dale Johannesen2007-09-1215-90/+163
| | | | | | | Next round of x87 long double stuff. Getting close now, basically works. llvm-svn: 41875
* Compensate for partCount change in Bogus definitionDale Johannesen2007-09-121-1/+1
| | | | | | (could break hash table in ConstantFP) llvm-svn: 41874
* Enable indirect encoding for the personality functionBill Wendling2007-09-112-0/+2
| | | | llvm-svn: 41873
* Move dump out of class, use "\n" instead of endlDaniel Berlin2007-09-111-10/+13
| | | | llvm-svn: 41872
* Sometimes a MI can define a register as well as defining a super-register at theEvan Cheng2007-09-112-6/+16
| | | | | | same time. Do not mark the "smaller" def as dead. llvm-svn: 41871
* Fix date :)Anton Korobeynikov2007-09-111-0/+0
| | | | llvm-svn: 41870
* Testcase for recent pragma pack stuffAnton Korobeynikov2007-09-111-0/+32
| | | | llvm-svn: 41869
* Added static method "CFG::hasImplicitControlFlow".Ted Kremenek2007-09-112-1/+63
| | | | | | | | | | | | | | | | | | | | | This method is used to determine if an expression contains implicit control-flow, and thus appears in a distinct statement slot in the CFG. For example: (1) x = ... ? ... ? ... logically becomes: (1) ... ? ... : ... (a unique statement slot for the ternary ?) (2) x = [E1] (where E1 is actually the ConditionalOperator*) A client of the CFG, when walking the statement at (2), will encounter E1. In this case, hasImplicitControlFlow(E1) == true, and the client will know that the expression E1 is explicitly placed into its own statement slot to capture the implicit control-flow it has. llvm-svn: 41868
* Fixed bug where ternary expressions and GCC-style conditional expressions Ted Kremenek2007-09-111-1/+18
| | | | | | | | | | where not reversing the order of their subexpression blocks. Added feature where CallExprs are placed in their own statement slot in a CFGBlock. Thus we have a designated "return site" within a CFGBlock when reasoning about function calls. llvm-svn: 41866
* - Add an ObjcIvarDecl AST node (a subclass of FieldDecl).Steve Naroff2007-09-115-11/+66
| | | | | | | - Instantiate the node in Sema::ParseField(), based on the type of the TagDecl. - Add Sema::ObjcAddInstanceVariable(), responsible for adorning/adding the ObjcIvarDecl. llvm-svn: 41864
* Remove (somewhat confusing) Imp<> helper, use let Defs = [], Uses = [] instead.Evan Cheng2007-09-1114-260/+328
| | | | llvm-svn: 41863
* Added status flags register: EFLAGS.Evan Cheng2007-09-111-0/+6
| | | | llvm-svn: 41862
* Allow set operators with multiple destinations, i.e. (set x, y, (op a, b)).Evan Cheng2007-09-111-22/+25
| | | | llvm-svn: 41861
* Change ObjcMethodDecl class derivation.Fariborz Jahanian2007-09-112-11/+14
| | | | llvm-svn: 41860
* Generated files for previous patch.Dale Johannesen2007-09-114-979/+1109
| | | | llvm-svn: 41859
* Add APInt interfaces to APFloat (allows directlyDale Johannesen2007-09-1116-100/+309
| | | | | | | | | access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double constants handling (untested, probably does not work). llvm-svn: 41858
* Convert to use ilist and non-pointer lists for extra goodnessDaniel Berlin2007-09-111-89/+104
| | | | llvm-svn: 41855
* Add accessor method.Bill Wendling2007-09-111-0/+3
| | | | llvm-svn: 41854
* For looking at "dead stores" in declarations, we now check to seeTed Kremenek2007-09-111-7/+21
| | | | | | | | | | | | if the assigned value is a constant expression, e.g.: int x = 0; We then check to see if "x" is ever reassigned later. If so, we don't emit a warning. This is because programmers frequently use defensive programming to make sure a variable has a defined value. llvm-svn: 41853
* Add a bool to indicate if we should set the "indirect encoding" bit in the DwarfBill Wendling2007-09-114-1/+13
| | | | | | information for EH. llvm-svn: 41852
* Reenable libgc and libprofile is explicitly requested.Chris Lattner2007-09-111-9/+1
| | | | llvm-svn: 41851
* remove an obsolete library.Chris Lattner2007-09-113-165/+0
| | | | llvm-svn: 41850
* update this to use llvm-config, patch by Jose M. MoyaChris Lattner2007-09-111-4/+3
| | | | llvm-svn: 41849
* Fixed potential NULL dereference when iterating over a chain of Decls.Ted Kremenek2007-09-111-1/+1
| | | | llvm-svn: 41848
* get rid of ugly "warning: no newline at end of file"Gabor Greif2007-09-115-5/+5
| | | | | | warnings that some compilers diagnose llvm-svn: 41847
* Test that a call to a trampoline is turned into a call toDuncan Sands2007-09-111-0/+24
| | | | | | the underlying nested function. llvm-svn: 41846
* Two ParamAttrsVectors which differ by a permutationDuncan Sands2007-09-111-0/+4
| | | | | | | | | | of their elements do not yield the same ParamAttrsList, though they should. On the other hand, everyone seems to pass such vectors with elements ordered by increasing index, so rather than sorting the elements simply assert that the elements are ordered in this way. llvm-svn: 41845
* Turn calls to trampolines into calls to the underlyingDuncan Sands2007-09-111-0/+138
| | | | | | nested function. llvm-svn: 41844
* Fold the adjust_trampoline intrinsic intoDuncan Sands2007-09-1114-112/+46
| | | | | | | init_trampoline. There is now only one trampoline intrinsic. llvm-svn: 41841
* My compiler warns about the semicolon.Duncan Sands2007-09-111-1/+1
| | | | llvm-svn: 41840
* The personality function on Darwin needs a global stub. We then refer toBill Wendling2007-09-117-22/+38
| | | | | | that global stub instead of doing the ".set" thingy we were doing before. llvm-svn: 41838
* Add a ValueInfoT template parameter to DenseMap so that it can properly make ↵Owen Anderson2007-09-111-8/+22
| | | | | | | | decisions based on whether the key AND the value require ctors/dtors. llvm-svn: 41837
* Don't bother to initialize values corresponding to empty or tombstone Owen Anderson2007-09-111-1/+3
| | | | | | keys. llvm-svn: 41834
* Fix a typo in memdep, which was causing PR1648.Owen Anderson2007-09-111-1/+1
| | | | llvm-svn: 41833
* Fix bugs with &=, intersect with complement. Add three argument version of ↵Daniel Berlin2007-09-111-48/+131
| | | | | | intersect with complement. llvm-svn: 41832
* Fix non-deterministic behavior in the DenseMap copy constructor.Owen Anderson2007-09-111-2/+8
| | | | llvm-svn: 41831
* Add remaining functions necessary for andersen'sDaniel Berlin2007-09-111-12/+194
| | | | llvm-svn: 41830
* Avoid negative logic.Devang Patel2007-09-111-4/+4
| | | | llvm-svn: 41829
* Refactor code into a separate method.Devang Patel2007-09-111-28/+47
| | | | llvm-svn: 41826
* Testcase for PR1634Chris Lattner2007-09-111-0/+88
| | | | llvm-svn: 41824
* Clear split info object.Devang Patel2007-09-111-0/+1
| | | | llvm-svn: 41823
* Split condition does not have to be ICmpInst in all cases.Devang Patel2007-09-111-5/+8
| | | | llvm-svn: 41822
* Check all terminators inside loop.Devang Patel2007-09-101-4/+3
| | | | llvm-svn: 41821
* remove obsolete testcaseChris Lattner2007-09-101-9/+0
| | | | llvm-svn: 41820
OpenPOWER on IntegriCloud