Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | CMake: Implement magic word `all' for selecting all targets. Check | Oscar Fuentes | 2008-11-10 | 1 | -4/+31 | |
| | | | | | | that specified targets are known. llvm-svn: 58951 | |||||
* | CMake: Non-working code for auto-building the native tblgen util when | Oscar Fuentes | 2008-11-10 | 2 | -5/+42 | |
| | | | | | | cross-compiling. llvm-svn: 58950 | |||||
* | Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used. | Evan Cheng | 2008-11-10 | 8 | -48/+48 | |
| | | | | llvm-svn: 58949 | |||||
* | Introduce ScopedDecl::getLexicalDeclContext() which is different from ↵ | Argyrios Kyrtzidis | 2008-11-09 | 7 | -31/+137 | |
| | | | | | | | | | | | | | 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 | |||||
* | Correction for the last patch. Should match the conditional in the first part | Bill Wendling | 2008-11-09 | 1 | -34/+42 | |
| | | | | | | of the select match, not the select instruction itself. llvm-svn: 58947 | |||||
* | The method of doing the matching with a 'select' instruction was wrong. The | Bill Wendling | 2008-11-09 | 2 | -32/+56 | |
| | | | | | | | | | | | | | | | | | | 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 | |||||
* | When a tag has nested-name ('struct foo::bar'), use not 'CurContext' but the ↵ | Argyrios Kyrtzidis | 2008-11-09 | 1 | -15/+19 | |
| | | | | | | context of the nested-name ('foo::'). llvm-svn: 58945 | |||||
* | Simplify handling of nested-names in tags ('struct foo::bar'). | Argyrios Kyrtzidis | 2008-11-09 | 2 | -59/+55 | |
| | | | | | | | -Use more of the non nested-name code path. -Also use the ActOnTagStruct code path. llvm-svn: 58944 | |||||
* | suppress build products | Gabor Greif | 2008-11-09 | 0 | -0/+0 | |
| | | | | llvm-svn: 58943 | |||||
* | CMake: Corrected detection of `nm'. | Oscar Fuentes | 2008-11-09 | 1 | -1/+3 | |
| | | | | llvm-svn: 58941 | |||||
* | Support named operands in inline asm statements. | Anders Carlsson | 2008-11-09 | 1 | -6/+51 | |
| | | | | llvm-svn: 58940 | |||||
* | CMake: Support for cross-compiling. For now, requires a previously | Oscar Fuentes | 2008-11-09 | 6 | -5/+26 | |
| | | | | | | | | | | | | | 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 | |||||
* | fix validation problem. | Chris Lattner | 2008-11-09 | 1 | -5/+4 | |
| | | | | llvm-svn: 58938 | |||||
* | XFAIL this while waiting for a fix. | Duncan Sands | 2008-11-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 58934 | |||||
* | fix leakage of ValueNumbering | Nuno Lopes | 2008-11-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 58933 | |||||
* | Update C++ status: class support improved due to nested name parsing. | Sebastian Redl | 2008-11-09 | 1 | -9/+9 | |
| | | | | llvm-svn: 58932 | |||||
* | Temporarily revert 58825, which breaks PPC bootstrap. | Dale Johannesen | 2008-11-09 | 1 | -1/+3 | |
| | | | | | | xs llvm-svn: 58930 | |||||
* | If the LHS of the FCMP is coming from a UIToFP instruction, then we don't want | Bill Wendling | 2008-11-09 | 2 | -33/+134 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Typo fix | Anton Korobeynikov | 2008-11-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 58928 | |||||
* | CellSPU: Update expected counts on expected patterns | Scott Michel | 2008-11-09 | 1 | -5/+5 | |
| | | | | llvm-svn: 58927 | |||||
* | Temporary revert my last commit: it seems it's triggering some subtle bug in ↵ | Anton Korobeynikov | 2008-11-08 | 6 | -19/+31 | |
| | | | | | | | | backend and breaks llvm-gcc llvm-svn: 58926 | |||||
* | CMake: corrected library target name for dependency: LLVMCellSPU -> | Oscar Fuentes | 2008-11-08 | 1 | -1/+1 | |
| | | | | | | LLVMCellSPUCodeGen. llvm-svn: 58925 | |||||
* | CMake: Reflected changes on the CellSPU target build. May require a | Oscar Fuentes | 2008-11-08 | 2 | -2/+13 | |
| | | | | | | clean start. llvm-svn: 58924 | |||||
* | Fixed a pasto. | Oscar Fuentes | 2008-11-08 | 1 | -1/+2 | |
| | | | | llvm-svn: 58923 | |||||
* | Allow $CALL and $ENV in command names. Fixes #3025. | Mikhail Glushenkov | 2008-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 58922 | |||||
* | CellSPU: Bring SPU's assembly printer more in-line with current LLVM code | Scott Michel | 2008-11-08 | 5 | -647/+627 | |
| | | | | | | structure. Assembly printer now outputs the correct section for strings. llvm-svn: 58921 | |||||
* | Try to produce better code when scalarizing VSETCC. | Duncan Sands | 2008-11-08 | 1 | -8/+26 | |
| | | | | llvm-svn: 58920 | |||||
* | Factor out offset printing code into generic AsmPrinter. | Anton Korobeynikov | 2008-11-08 | 6 | -31/+19 | |
| | | | | | | | FIXME: it seems, that most of targets don't support offsets wrt CPI/GlobalAddress', was it intentional? llvm-svn: 58917 | |||||
* | Implement Sema support for C++ nested-name-specifiers. | Argyrios Kyrtzidis | 2008-11-08 | 10 | -45/+426 | |
| | | | | llvm-svn: 58916 | |||||
* | Silence a GCC member initialization order warning. | Argyrios Kyrtzidis | 2008-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 58914 | |||||
* | Implement support for C++ nested-name-specifiers ('foo::bar::x') in the ↵ | Argyrios Kyrtzidis | 2008-11-08 | 17 | -93/+572 | |
| | | | | | | | | Parser side. No Sema functionality change, just the signatures of the Action/Sema methods. llvm-svn: 58913 | |||||
* | Introduce annotation tokens, a special kind of token, created and used only ↵ | Argyrios Kyrtzidis | 2008-11-08 | 4 | -7/+117 | |
| | | | | | | | | 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 | |||||
* | Update C++ status to reflect parser capabilities for chapter 9 (classes). ↵ | Sebastian Redl | 2008-11-08 | 2 | -15/+121 | |
| | | | | | | Slightly extend the class parser test. llvm-svn: 58909 | |||||
* | The Index field of an AttributeWithIndex is of type unsigned, not uint16_t. | Nicolas Geoffray | 2008-11-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 58908 | |||||
* | Update C++ status: dynamic_cast is sema-complete. | Sebastian Redl | 2008-11-08 | 1 | -3/+3 | |
| | | | | llvm-svn: 58907 | |||||
* | Move named cast helpers out of Sema, as Chris requested. This requirse ↵ | Sebastian Redl | 2008-11-08 | 2 | -141/+148 | |
| | | | | | | making a few functions public that weren't before. llvm-svn: 58906 | |||||
* | StoreInst does not produce any result thus it's useless to create new | Anton Korobeynikov | 2008-11-08 | 1 | -1/+1 | |
| | | | | | | | variable for it. This greatly reduces amount of unused variables in llvm2cpp-generated code llvm-svn: 58905 | |||||
* | Revert r58880, it breaks test/SemaCXX/constructor.cpp | Argyrios Kyrtzidis | 2008-11-08 | 1 | -2/+1 | |
| | | | | llvm-svn: 58904 | |||||
* | Use only one constructor for CXXMethodDecl. Keep initialization stuff into ↵ | Argyrios Kyrtzidis | 2008-11-08 | 2 | -7/+1 | |
| | | | | | | one place. llvm-svn: 58902 | |||||
* | Properly escape dashes in TableGen's LLVMC2 emitter. | Anton Korobeynikov | 2008-11-08 | 1 | -2/+2 | |
| | | | | | | Patch by Patrick Walton! llvm-svn: 58901 | |||||
* | Fix syntax of iterate_complex example. Noticed by Martin! | Eric Christopher | 2008-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 58900 | |||||
* | Moved InvalidateInstructionCache to ARMJITInfo::emitFunctionStub which knows ↵ | Evan Cheng | 2008-11-08 | 1 | -22/+21 | |
| | | | | | | size of stub. llvm-svn: 58899 | |||||
* | Remove a InvalidateInstructionCache call with incorrect size. | Evan Cheng | 2008-11-08 | 1 | -4/+0 | |
| | | | | llvm-svn: 58898 | |||||
* | Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵ | Evan Cheng | 2008-11-08 | 8 | -42/+39 | |
| | | | | | | ptr. llvm-svn: 58897 | |||||
* | Tell ARMJITInfo if codegen relocation is PIC. It changes how function stubs ↵ | Evan Cheng | 2008-11-08 | 3 | -8/+13 | |
| | | | | | | are generated. llvm-svn: 58896 | |||||
* | Rename isString -> isExternalSymbol; getString -> getExternalSymbol since ↵ | Evan Cheng | 2008-11-08 | 2 | -7/+7 | |
| | | | | | | these work on externsym machine relocations. llvm-svn: 58895 | |||||
* | More debug output. | Evan Cheng | 2008-11-08 | 1 | -0/+2 | |
| | | | | llvm-svn: 58894 | |||||
* | Fix relocation for calls to external symbols. | Evan Cheng | 2008-11-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 58893 | |||||
* | Avoid redundant cast<>s / simplify type dispatch. | Daniel Dunbar | 2008-11-08 | 2 | -45/+34 | |
| | | | | llvm-svn: 58892 | |||||
* | Support getTypeInfo, getTypeAlign, getTypeSize on const Type*s. | Daniel Dunbar | 2008-11-08 | 2 | -7/+21 | |
| | | | | | | | | - Size/align are not effected by CVR qualifiers. Support getCanonicalType: const Type* -> const Type*. llvm-svn: 58891 |