summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Handle special scalar_to_vector case: splats. Using a native 128-bitBruno Cardoso Lopes2011-07-256-5/+88
| | | | | | | | | | shuffle before inserting on a 256-bit vector. - Add AVX versions of movd/movq instructions - Introduce a few COPY patterns to match insert_subvector instructions. This turns a trivial insert_subvector instruction into a register copy, coalescing the xmm into a ymm and avoid emiting on more instruction. llvm-svn: 136002
* Reintroduce r135730, this is indeed the right approach, there is noBruno Cardoso Lopes2011-07-251-0/+18
| | | | | | native 256-bit vector instruction to do scalar_to_vector. llvm-svn: 136001
* llvm-objdump: Ignore unreachable blocks when printing the CFG.Benjamin Kramer2011-07-252-2/+21
| | | | llvm-svn: 136000
* Fix include guards.Evan Cheng2011-07-253-6/+6
| | | | llvm-svn: 135998
* Add an example type summary -- for lldb::ConnectionStatus.Johnny Chen2011-07-251-0/+1
| | | | llvm-svn: 135997
* Add a note about efficient codegen for binary log.Benjamin Kramer2011-07-251-0/+48
| | | | llvm-svn: 135996
* Attempt to fix test failure reported on llvm-commits.Eli Friedman2011-07-251-1/+1
| | | | llvm-svn: 135995
* BranchProbability::print returns void now.Jakub Staszak2011-07-252-3/+2
| | | | llvm-svn: 135994
* Make sure this DAGCombine actually returns an UNDEF of the correct type; ↵Eli Friedman2011-07-252-3/+19
| | | | | | PR10476. llvm-svn: 135993
* Add BlockFrequency class.Jakub Staszak2011-07-253-0/+185
| | | | llvm-svn: 135992
* ARM assembly parsing and encoding for SSAT instruction.Jim Grosbach2011-07-258-63/+179
| | | | | | | | | | | | Fix the Rn register encoding for both SSAT and USAT. Update the parsing of the shift operand to correctly handle the allowed shift types and immediate ranges and issue meaningful diagnostics when an illegal value or shift type is specified. Add aliases to parse an ommitted shift operand (default value of 'lsl #0'). Add tests for diagnostics and proper encoding. llvm-svn: 135990
* bug fix in ClangASTType when trying to get size of a non-complete typeEnrico Granata2011-07-251-2/+6
| | | | llvm-svn: 135989
* Add clarifying comments for the new arguments to UnrollLoop.Andrew Trick2011-07-251-0/+12
| | | | llvm-svn: 135988
* Refactoring fail.Evan Cheng2011-07-255-49/+47
| | | | llvm-svn: 135986
* Fix the MSVC build. 2 problems:Francois Pichet2011-07-252-41/+43
| | | | | | | - buildPieces was return a C++ object from inside an extern "C". (MSVC didn't like that) - clang_getCursorReferenceNameRange was missing a CINDEX_LINKAGE causing a link error. llvm-svn: 135983
* Move CBackend and CppBackend MC initialization to TargetInfo.Evan Cheng2011-07-254-4/+4
| | | | llvm-svn: 135982
* Get rid of an incorrect optimization for shuffles with PALIGNR and simplify ↵Eli Friedman2011-07-252-22/+27
| | | | | | | | isPALIGNRMask. Addresses PR10466, although the crash from that PR only triggers in cases where DAGCombine misses optimizing a shuffle. llvm-svn: 135980
* Fix more MC layering violations.Evan Cheng2011-07-251-2/+9
| | | | llvm-svn: 135979
* More MC layering violations.Evan Cheng2011-07-254-62/+59
| | | | llvm-svn: 135978
* Check in updated CMake dependencies after Evan's latest round ofChandler Carruth2011-07-251-10/+10
| | | | | | | | | refactorings. Several places that shouldn't have dependend on Target no longer do. Also almost all of the CodeGen dependencies have gone away for the MCDisassembler. Others add reasonable dependencies within the target-specific layers. llvm-svn: 135977
* Add a missing enumerator to this switch. Currently its in theChandler Carruth2011-07-251-0/+1
| | | | | | | | | | | | | | assert-path code, as previously we would have fallen off the end of the function, but please review and let me know if this should go somewhere else. This fixes a Clang warning: lib/MC/MCMachOStreamer.cpp:201:11: error: enumeration value 'MCSA_IndirectSymbol' not handled in switch [-Werror,-Wswitch-enum] switch (Attribute) { ^ 1 error generated. llvm-svn: 135976
* Add LLVMAddTargetLibraryInfo to the C API.Rafael Espindola2011-07-252-0/+22
| | | | llvm-svn: 135975
* Separate MCInstPrinter registration from AsmPrinter registration.Evan Cheng2011-07-2516-77/+81
| | | | llvm-svn: 135974
* Add missing space (this line is no longer pushing the 80-column limit).Nick Lewycky2011-07-251-1/+1
| | | | llvm-svn: 135973
* 80 columns.Nick Lewycky2011-07-251-2/+2
| | | | llvm-svn: 135972
* Fix typo.Nick Lewycky2011-07-251-1/+1
| | | | llvm-svn: 135971
* objective-c: Provide a 'fixit' when class was usedFariborz Jahanian2011-07-252-1/+20
| | | | | | to declare a static object. // rdar://9603056 llvm-svn: 135970
* Rename getInstantiationLineNumber to getExpansionLineNumber in bothChandler Carruth2011-07-2517-39/+37
| | | | | | SourceManager and FullSourceLoc. llvm-svn: 135969
* Simply ARM so_reg MIOperandInfo definitions.Jim Grosbach2011-07-251-4/+4
| | | | | | | | The shift immediate encoding, printing, etc. is handled directly by the enclosing operand definition, so it should be a vanilla immediate, not a nested complex operand (shift_imm). llvm-svn: 135968
* Repair some indentation I missed in my previous commit.Chandler Carruth2011-07-251-1/+1
| | | | llvm-svn: 135967
* Add LLVMAddLowerExpectIntrinsicPass to the C API.Rafael Espindola2011-07-252-0/+7
| | | | llvm-svn: 135966
* Rename getInstantiationColumnNumber to getExpansionColumnNumber in bothChandler Carruth2011-07-2512-20/+20
| | | | | | SourceManager and FullSourceLoc. llvm-svn: 135965
* Assembler doesn't need to initialize TargetMachine's anymore.Evan Cheng2011-07-251-2/+0
| | | | llvm-svn: 135964
* Fix last bits of MC layer issues. llvm-mc doesn't need to initialize ↵Evan Cheng2011-07-258-63/+27
| | | | | | TargetMachine's anymore. llvm-svn: 135963
* Rename getDecomposedInstantiationLoc to getDecomposedExpansionLoc.Chandler Carruth2011-07-257-22/+21
| | | | llvm-svn: 135962
* getInstantiationLocSlowCase -> getExpansionLocSlowCaseChandler Carruth2011-07-252-4/+4
| | | | llvm-svn: 135961
* Rename SourceManager::getImmediateInstantiationRange toChandler Carruth2011-07-254-11/+11
| | | | | | getImmediateExpansionRange. llvm-svn: 135960
* ARM asm operand renaming. Make things a bit more explicit.Jim Grosbach2011-07-252-32/+32
| | | | llvm-svn: 135959
* More simple cleanup of ARM asm operand definitions.Jim Grosbach2011-07-252-28/+13
| | | | llvm-svn: 135958
* Refactor of how modules are handled in ASTReader to remove explicit uses of ↵Jonathan D. Turner2011-07-252-40/+89
| | | | | | a chain of AST files, instead redirect calls through a module manager. This should help move toward a DAG and the potential of loading multiple, unrelated PCH files. It's still early in development. llvm-svn: 135957
* Fix some typos.Bill Wendling2011-07-251-4/+6
| | | | llvm-svn: 135956
* An initial description of the compact unwind encoding.Bill Wendling2011-07-251-1/+109
| | | | llvm-svn: 135955
* Code clean up.Evan Cheng2011-07-255-23/+1
| | | | llvm-svn: 135954
* Refactor MBlaze target to separate MC routines from Target routines.Evan Cheng2011-07-2515-190/+216
| | | | llvm-svn: 135953
* While building a LLVM target, put the current source directory on theOscar Fuentes2011-07-251-1/+3
| | | | | | header search path. llvm-svn: 135952
* Update the comment. This feature is available only on Darwin at the moment. ↵Bill Wendling2011-07-251-1/+2
| | | | | | Though it's not Darwin-specific. llvm-svn: 135951
* Make assembly parser method names more consistent.Jim Grosbach2011-07-253-28/+28
| | | | llvm-svn: 135950
* Unbreak the build.Oscar Fuentes2011-07-251-0/+1
| | | | llvm-svn: 135949
* Fix class description.Jakub Staszak2011-07-251-2/+2
| | | | llvm-svn: 135948
* Fix #include guard directive.Jakub Staszak2011-07-251-2/+2
| | | | llvm-svn: 135947
OpenPOWER on IntegriCloud