- Nov 10, 2008
-
-
Evan Cheng authored
llvm-svn: 58949
-
Argyrios Kyrtzidis authored
Introduce ScopedDecl::getLexicalDeclContext() which is different from ScopedDecl::getDeclContext() when there are nested-names. e.g.: namespace A { void f(); // SemanticDC (getDeclContext) == LexicalDC (getLexicalDeclContext) == 'namespace A' } void A::f(); // SemanticDC == namespace 'A' // LexicalDC == global namespace llvm-svn: 58948
-
Bill Wendling authored
of the select match, not the select instruction itself. llvm-svn: 58947
-
Bill Wendling authored
original code was matching like this: if (match(A, m_Not(m_Value(B)))) B was already matched as a 'select' instruction. However, this isn't matching what we think it's matching. It would match B as a 'Value', so basically anything would match to it. In this case, a Constant matched. B was replaced with a constant representation. And then the wrong value would be used in the SelectInst::Create statement, causing a crash. After thinking on this for a moment, and after Nick L. told me how the pattern matching stuff was supposed to work, the solution was to match NOT an m_Value, but an m_Select. llvm-svn: 58946
-
- Nov 09, 2008
-
-
Argyrios Kyrtzidis authored
When a tag has nested-name ('struct foo::bar'), use not 'CurContext' but the context of the nested-name ('foo::'). llvm-svn: 58945
-
Argyrios Kyrtzidis authored
-Use more of the non nested-name code path. -Also use the ActOnTagStruct code path. llvm-svn: 58944
-
Gabor Greif authored
llvm-svn: 58943
-
Oscar Fuentes authored
llvm-svn: 58941
-
Anders Carlsson authored
llvm-svn: 58940
-
Oscar Fuentes authored
built native tblgen which is passed to cmake in the variable LLVM_TABLEGEN. See http://www.cmake.org/Wiki/CmakeMingw for a quick example on how to cross-compile with CMake. llvm-svn: 58939
-
Chris Lattner authored
llvm-svn: 58938
-
Duncan Sands authored
llvm-svn: 58934
-
Nuno Lopes authored
llvm-svn: 58933
-
Sebastian Redl authored
llvm-svn: 58932
-
Dale Johannesen authored
xs llvm-svn: 58930
-
Bill Wendling authored
to generate signed ICMP instructions to replace the FCMP. This would violate the following: define i1 @test1(i32 %val) { %1 = uitofp i32 %val to double %2 = fcmp ole double %1, 0.000000e+00 ret i1 %2 } would be transformed into: define i1 @test1(i32 %val) { %1 = icmp slt i33 %val, 1 ret i1 %1 } which is obviously wrong. This patch modifes InstCombiner::FoldFCmp_IntToFP_Cst to handle when the LHS comes from UIToFP. llvm-svn: 58929
-
Anton Korobeynikov authored
llvm-svn: 58928
-
Scott Michel authored
llvm-svn: 58927
-
Anton Korobeynikov authored
and breaks llvm-gcc llvm-svn: 58926
-
- Nov 08, 2008
-
-
Oscar Fuentes authored
LLVMCellSPUCodeGen. llvm-svn: 58925
-
Oscar Fuentes authored
clean start. llvm-svn: 58924
-
Oscar Fuentes authored
llvm-svn: 58923
-
Mikhail Glushenkov authored
llvm-svn: 58922
-
Scott Michel authored
structure. Assembly printer now outputs the correct section for strings. llvm-svn: 58921
-
Duncan Sands authored
llvm-svn: 58920
-
Anton Korobeynikov authored
FIXME: it seems, that most of targets don't support offsets wrt CPI/GlobalAddress', was it intentional? llvm-svn: 58917
-
Argyrios Kyrtzidis authored
llvm-svn: 58916
-
Argyrios Kyrtzidis authored
llvm-svn: 58914
-
Argyrios Kyrtzidis authored
No Sema functionality change, just the signatures of the Action/Sema methods. llvm-svn: 58913
-
Argyrios Kyrtzidis authored
Introduce annotation tokens, a special kind of token, created and used only by the parser to replace a group of tokens with a single token encoding semantic information. Will be fully utilized later for C++ nested-name-specifiers. llvm-svn: 58911
-
Sebastian Redl authored
Update C++ status to reflect parser capabilities for chapter 9 (classes). Slightly extend the class parser test. llvm-svn: 58909
-
Nicolas Geoffray authored
llvm-svn: 58908
-
Sebastian Redl authored
llvm-svn: 58907
-
Sebastian Redl authored
Move named cast helpers out of Sema, as Chris requested. This requirse making a few functions public that weren't before. llvm-svn: 58906
-
Anton Korobeynikov authored
variable for it. This greatly reduces amount of unused variables in llvm2cpp-generated code llvm-svn: 58905
-
Argyrios Kyrtzidis authored
llvm-svn: 58904
-
Argyrios Kyrtzidis authored
llvm-svn: 58902
-
Anton Korobeynikov authored
Patch by Patrick Walton! llvm-svn: 58901
-
Eric Christopher authored
llvm-svn: 58900
-
Evan Cheng authored
llvm-svn: 58899
-