summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* CMake: Implement magic word `all' for selecting all targets. CheckOscar Fuentes2008-11-101-4/+31
| | | | | | that specified targets are known. llvm-svn: 58951
* CMake: Non-working code for auto-building the native tblgen util whenOscar Fuentes2008-11-102-5/+42
| | | | | | cross-compiling. llvm-svn: 58950
* Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used.Evan Cheng2008-11-108-48/+48
| | | | llvm-svn: 58949
* Introduce ScopedDecl::getLexicalDeclContext() which is different from ↵Argyrios Kyrtzidis2008-11-097-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 partBill Wendling2008-11-091-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. TheBill Wendling2008-11-092-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 Kyrtzidis2008-11-091-15/+19
| | | | | | context of the nested-name ('foo::'). llvm-svn: 58945
* Simplify handling of nested-names in tags ('struct foo::bar').Argyrios Kyrtzidis2008-11-092-59/+55
| | | | | | | -Use more of the non nested-name code path. -Also use the ActOnTagStruct code path. llvm-svn: 58944
* suppress build productsGabor Greif2008-11-090-0/+0
| | | | llvm-svn: 58943
* CMake: Corrected detection of `nm'.Oscar Fuentes2008-11-091-1/+3
| | | | llvm-svn: 58941
* Support named operands in inline asm statements.Anders Carlsson2008-11-091-6/+51
| | | | llvm-svn: 58940
* CMake: Support for cross-compiling. For now, requires a previouslyOscar Fuentes2008-11-096-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 Lattner2008-11-091-5/+4
| | | | llvm-svn: 58938
* XFAIL this while waiting for a fix.Duncan Sands2008-11-091-0/+1
| | | | llvm-svn: 58934
* fix leakage of ValueNumberingNuno Lopes2008-11-091-0/+1
| | | | llvm-svn: 58933
* Update C++ status: class support improved due to nested name parsing.Sebastian Redl2008-11-091-9/+9
| | | | llvm-svn: 58932
* Temporarily revert 58825, which breaks PPC bootstrap.Dale Johannesen2008-11-091-1/+3
| | | | | | xs llvm-svn: 58930
* If the LHS of the FCMP is coming from a UIToFP instruction, then we don't wantBill Wendling2008-11-092-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 fixAnton Korobeynikov2008-11-091-1/+1
| | | | llvm-svn: 58928
* CellSPU: Update expected counts on expected patternsScott Michel2008-11-091-5/+5
| | | | llvm-svn: 58927
* Temporary revert my last commit: it seems it's triggering some subtle bug in ↵Anton Korobeynikov2008-11-086-19/+31
| | | | | | | | backend and breaks llvm-gcc llvm-svn: 58926
* CMake: corrected library target name for dependency: LLVMCellSPU ->Oscar Fuentes2008-11-081-1/+1
| | | | | | LLVMCellSPUCodeGen. llvm-svn: 58925
* CMake: Reflected changes on the CellSPU target build. May require aOscar Fuentes2008-11-082-2/+13
| | | | | | clean start. llvm-svn: 58924
* Fixed a pasto.Oscar Fuentes2008-11-081-1/+2
| | | | llvm-svn: 58923
* Allow $CALL and $ENV in command names. Fixes #3025.Mikhail Glushenkov2008-11-081-1/+1
| | | | llvm-svn: 58922
* CellSPU: Bring SPU's assembly printer more in-line with current LLVM codeScott Michel2008-11-085-647/+627
| | | | | | structure. Assembly printer now outputs the correct section for strings. llvm-svn: 58921
* Try to produce better code when scalarizing VSETCC.Duncan Sands2008-11-081-8/+26
| | | | llvm-svn: 58920
* Factor out offset printing code into generic AsmPrinter.Anton Korobeynikov2008-11-086-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 Kyrtzidis2008-11-0810-45/+426
| | | | llvm-svn: 58916
* Silence a GCC member initialization order warning.Argyrios Kyrtzidis2008-11-081-1/+1
| | | | llvm-svn: 58914
* Implement support for C++ nested-name-specifiers ('foo::bar::x') in the ↵Argyrios Kyrtzidis2008-11-0817-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 Kyrtzidis2008-11-084-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 Redl2008-11-082-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 Geoffray2008-11-081-2/+2
| | | | llvm-svn: 58908
* Update C++ status: dynamic_cast is sema-complete.Sebastian Redl2008-11-081-3/+3
| | | | llvm-svn: 58907
* Move named cast helpers out of Sema, as Chris requested. This requirse ↵Sebastian Redl2008-11-082-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 newAnton Korobeynikov2008-11-081-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.cppArgyrios Kyrtzidis2008-11-081-2/+1
| | | | llvm-svn: 58904
* Use only one constructor for CXXMethodDecl. Keep initialization stuff into ↵Argyrios Kyrtzidis2008-11-082-7/+1
| | | | | | one place. llvm-svn: 58902
* Properly escape dashes in TableGen's LLVMC2 emitter.Anton Korobeynikov2008-11-081-2/+2
| | | | | | Patch by Patrick Walton! llvm-svn: 58901
* Fix syntax of iterate_complex example. Noticed by Martin!Eric Christopher2008-11-081-1/+1
| | | | llvm-svn: 58900
* Moved InvalidateInstructionCache to ARMJITInfo::emitFunctionStub which knows ↵Evan Cheng2008-11-081-22/+21
| | | | | | size of stub. llvm-svn: 58899
* Remove a InvalidateInstructionCache call with incorrect size.Evan Cheng2008-11-081-4/+0
| | | | llvm-svn: 58898
* Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵Evan Cheng2008-11-088-42/+39
| | | | | | ptr. llvm-svn: 58897
* Tell ARMJITInfo if codegen relocation is PIC. It changes how function stubs ↵Evan Cheng2008-11-083-8/+13
| | | | | | are generated. llvm-svn: 58896
* Rename isString -> isExternalSymbol; getString -> getExternalSymbol since ↵Evan Cheng2008-11-082-7/+7
| | | | | | these work on externsym machine relocations. llvm-svn: 58895
* More debug output.Evan Cheng2008-11-081-0/+2
| | | | llvm-svn: 58894
* Fix relocation for calls to external symbols.Evan Cheng2008-11-081-1/+1
| | | | llvm-svn: 58893
* Avoid redundant cast<>s / simplify type dispatch.Daniel Dunbar2008-11-082-45/+34
| | | | llvm-svn: 58892
* Support getTypeInfo, getTypeAlign, getTypeSize on const Type*s.Daniel Dunbar2008-11-082-7/+21
| | | | | | | | - Size/align are not effected by CVR qualifiers. Support getCanonicalType: const Type* -> const Type*. llvm-svn: 58891
OpenPOWER on IntegriCloud