- Sep 13, 2007
-
-
Steve Naroff authored
Phase 2 of making the Decl class more lightweight... Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl. Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later. llvm-svn: 41934
-
Chris Lattner authored
a limited form of PHI nodes. This finally fixes PR1639, speeding 179.art up from 7.84s to 3.13s on PPC. llvm-svn: 41933
-
Fariborz Jahanian authored
llvm-svn: 41932
-
Steve Naroff authored
Add "ScopedDecl" AST, used by ValueDecl and TypeDecl. This allows us to sink the "Next" field, which isn't used by FieldDecl and ObjcIvarDecl. llvm-svn: 41931
-
Chris Lattner authored
along the way of PR1639 llvm-svn: 41930
-
Chris Lattner authored
llvm-svn: 41929
-
Chris Lattner authored
bitcasts and phis. This is a step to fixing PR1639. llvm-svn: 41928
-
Chris Lattner authored
nodes. This is the first step of the fix for PR1639. llvm-svn: 41927
-
Chris Lattner authored
llvm-svn: 41926
-
Chris Lattner authored
llvm-svn: 41925
-
Chris Lattner authored
llvm-svn: 41924
-
Chris Lattner authored
llvm-svn: 41923
-
Chris Lattner authored
the front-end adopts APFloat though. This fixes test/CodeGen/mandel.c llvm-svn: 41908
-
Chris Lattner authored
llvm-svn: 41907
-
Chris Lattner authored
llvm-svn: 41906
-
Evan Cheng authored
llvm-svn: 41901
-
Evan Cheng authored
llvm-svn: 41900
-
Evan Cheng authored
llvm-svn: 41899
-
Evan Cheng authored
llvm-svn: 41898
-
Evan Cheng authored
1. [(set GR32:$dst, (add GR32:$src1, GR32:$src2)), (modify EFLAGS)] This indicates the source pattern expects the instruction would produce 2 values. The first is the result of the addition. The second is an implicit definition in register EFLAGS. 2. def : Pat<(parallel (addc GR32:$src1, GR32:$src2), (modify EFLAGS)), ()> Similar to #1 except this is used for def : Pat patterns. llvm-svn: 41897
-
Steve Naroff authored
Add ASTContext::StringMap<char> to unique selector names. llvm-svn: 41894
-
Evan Cheng authored
llvm-svn: 41893
-
- Sep 12, 2007
-
-
Ted Kremenek authored
Removed extraneous call to Observer->ObserveStmt when handling DeclRefExprs. llvm-svn: 41890
-
Steve Naroff authored
diagnostic for illegal initializers. llvm-svn: 41889
-
Ted Kremenek authored
llvm-svn: 41888
-
Ted Kremenek authored
llvm-svn: 41887
-
Ted Kremenek authored
llvm-svn: 41886
-
Ted Kremenek authored
is much simpler now. llvm-svn: 41885
-
Ted Kremenek authored
are useful for dataflow analysis: CFGStmtVisitor and DataflowStmtVisitor. CFGStmtVisitor is the same as StmtVisitor is that it has separate visitors for "root" statements in a CFGBlock (statements that have a designated slot int the list of statements in a CFGBlock). It also recognizes statements that have implicit control-flow, and calls special visitor methods for those. DataflowStmtVisitor extends CFGStmtVisitor to serve as a template for implementing transfer functions. It does a pre-/post-order traversal of substatements depending on whether we are doing a forward/backward analysis. It also has special handling for implicit-control-flow statements so that they are visited only once. llvm-svn: 41884
-
Chris Lattner authored
llvm-svn: 41881
-
Fariborz Jahanian authored
to use of @property. llvm-svn: 41880
-
Chris Lattner authored
using it for live-in values etc. llvm-svn: 41879
-
Hartmut Kaiser authored
Removed clang solution file for VC++, which didn't work properly because of hard coded paths in the llvm project files. Changed windows detection to use LLVM pp constant. llvm-svn: 41878
-
Steve Naroff authored
Fix the following bug submitted by Ted Kremenek: 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
-
Dale Johannesen authored
llvm-svn: 41876
-
Dale Johannesen authored
Next round of x87 long double stuff. Getting close now, basically works. llvm-svn: 41875
-
Dale Johannesen authored
(could break hash table in ConstantFP) llvm-svn: 41874
-
Bill Wendling authored
llvm-svn: 41873
-
Daniel Berlin authored
llvm-svn: 41872
-
Evan Cheng authored
same time. Do not mark the "smaller" def as dead. llvm-svn: 41871
-