summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add missing casts to AST.Eli Friedman2011-11-122-1/+11
| | | | llvm-svn: 144455
* Don't try to loop on iterators that are potentially invalidated inside the ↵Nick Lewycky2011-11-122-0/+60
| | | | | | loop. Fixes PR11361! llvm-svn: 144454
* Fix typo.Akira Hatanaka2011-11-121-1/+1
| | | | llvm-svn: 144453
* Implement Mips64's handling of byval arguments in LowerCall.Akira Hatanaka2011-11-121-12/+100
| | | | llvm-svn: 144452
* Fixed the MCJIT so that it can emit not only instanceSean Callanan2011-11-121-6/+6
| | | | | | | | | | | | | | methods but also class methods for Objective-C. Clang emits Objective-C method names with '\1' at the beginning, and the JIT has pre-existing logic to try prepending a '\1' when searching a module for an instance method (that is, a method whose name begins with '-'). I simply extended it to do the same thing when it encountered a class method (a method whose name begins with '+'). llvm-svn: 144451
* Make the test case more robust by using line number to break, instead.Johnny Chen2011-11-121-2/+9
| | | | llvm-svn: 144450
* Implement Mips64's handling of byval arguments in LowerFormalArguments.Akira Hatanaka2011-11-121-18/+60
| | | | llvm-svn: 144449
* 64-bit arbitrary immediate pattern.Akira Hatanaka2011-11-121-0/+4
| | | | llvm-svn: 144448
* Function for handling byval arguments.Akira Hatanaka2011-11-122-4/+43
| | | | llvm-svn: 144447
* [libclang] Further simplify the indexing API.Argyrios Kyrtzidis2011-11-128-624/+243
| | | | | | | That stuff can be added later on if we need them. Also add some const goodness. llvm-svn: 144446
* LLVMBuild: Add info for gtest.Daniel Dunbar2011-11-121-0/+28
| | | | llvm-svn: 144445
* build: Attempt to rectify inconsistencies between CMake and LLVMBuild ↵Daniel Dunbar2011-11-1231-42/+31
| | | | | | | | versions of explicit dependencies. - The hope is that we have a tool/test to verify these are accurate (and tight) soon. llvm-svn: 144444
* Added the ability to run a process in a shell on MacOSX currently when usingGreg Clayton2011-11-128-29/+55
| | | | | | | | | | | | the --tty option. So you can now get shell expansion and file redirection: (lldb) process launch --tty --shell -- *.jpg < in.txt > out.txt Again, the "--tty" is mandatory for now until we hook this up to other functions. The shell is also currently hard coded to "/bin/bash" and not the "SHELL" variable. "/bin/tcsh" was causing problems which I need to dig into. llvm-svn: 144443
* Make sure scalarrepl picks the correct alloca when it rewrites a bitcast. ↵Eli Friedman2011-11-122-2/+36
| | | | | | Fixes PR11353. llvm-svn: 144442
* The dwarf standard says that the only differences between a out-of-lineRafael Espindola2011-11-122-0/+104
| | | | | | | | | | | | | | instance and a concrete inlined instance are the use of DW_TAG_subprogram instead of DW_TAG_inlined_subroutine and the who owns the tree. We were also omitting DW_AT_inline from the abstract roots. To fix this, make sure we mark abstract instance roots with DW_AT_inline even when we have only out-of-line instances referring to them with DW_AT_abstract_origin. FileCheck is not a very good tool for tests like this, maybe we should add a -verify mode to llvm-dwarfdump. llvm-svn: 144441
* Add code that reads the APPLE_property debug info, and makes up properties ↵Jim Ingham2011-11-127-24/+411
| | | | | | from them. llvm-svn: 144440
* ARM refactor simple immediate asm operand render methods.Jim Grosbach2011-11-124-79/+22
| | | | | | | These immediate operands all use the same simple logic for rendering to MCInst, so have them share the method for doing so. llvm-svn: 144439
* Don't try to form pre/post-indexed loads/stores until after LegalizeDAG ↵Eli Friedman2011-11-124-14/+37
| | | | | | runs. Fixes PR11029. llvm-svn: 144438
* Re-apply 144430, this time with the associated isel and disassmbler bits.Jim Grosbach2011-11-123-11/+6
| | | | | | Original commit msg: 'ARM assembly parsing for VST1 two-register encoding.' llvm-svn: 144437
* Tweak the module map file test slightly, by putting one of the headersDouglas Gregor2011-11-121-1/+1
| | | | | | | | into a submodule. Submodules aren't actually supported anywhere else, but we do parse them, so this verifies that we're at least seeing through them properly. llvm-svn: 144436
* Implement a minor optimization when loading module maps to satisfy aDouglas Gregor2011-11-122-18/+46
| | | | | | | | module import: don't re-check for a loaded module unless we've actually loaded a new module map file. Already-loaded module map files aren't interesting. llvm-svn: 144435
* build/Make: Define a TARGET_NATIVE_ARCH variable to be a bit more precise thanDaniel Dunbar2011-11-123-2/+8
| | | | | | ARCH, which gets tested in many more contexts. llvm-svn: 144434
* When searching for a module, speculatively load module maps to see ifDouglas Gregor2011-11-125-40/+90
| | | | | | | | the module is described in one of the module maps in a search path or in a subdirectory off the search path that has the same name as the module we're looking for. llvm-svn: 144433
* Some cleanup and bulletproofing for node replacement in LegalizeDAG. To ↵Eli Friedman2011-11-111-57/+59
| | | | | | | | maintain LegalizeDAG invariants, whenever we a node is replaced, we must attempt to delete it, and if it still has uses after it is replaced (which can happen in rare cases due to CSE), we must revisit it. llvm-svn: 144432
* Oops. Missed the isel half of this. revert while I sort that out.Jim Grosbach2011-11-111-3/+4
| | | | llvm-svn: 144431
* ARM assembly parsing for VST1 two-register encoding.Jim Grosbach2011-11-111-4/+3
| | | | llvm-svn: 144430
* build/Make: Tweak Clang include paths to use LLVM_{SRC,OBJ}_ROOT instead ofDaniel Dunbar2011-11-111-2/+2
| | | | | | level based, so that lldb itself can be a symlink inside the tools dir. llvm-svn: 144429
* Make test compatible with ARM hosts.Eli Friedman2011-11-111-3/+3
| | | | llvm-svn: 144428
* ARM optional size suffix for VLDR/VSTR syntax.Jim Grosbach2011-11-112-0/+19
| | | | llvm-svn: 144427
* Add support in fast-isel for selecting memset/memcpy/memmove intrinsics.Chad Rosier2011-11-112-10/+138
| | | | llvm-svn: 144426
* Loosen test by using REs. Approved by Devang.Chad Rosier2011-11-111-1/+1
| | | | llvm-svn: 144425
* Teach the search for modules to consider modules described by a moduleDouglas Gregor2011-11-116-2/+37
| | | | | | | | | | | | | | map, so long as they have an umbrella header. This makes it possible to introduce a module map + umbrella header for a given set of headers, to turn it into a module. There are two major deficiencies here: first, we don't go hunting for module map files when we just see a module import (so we won't know about the modules described therein). Second, we don't yet have a way to build modules that don't have umbrella headers, or have incomplete umbrella headers. llvm-svn: 144424
* CMake: Fix CMake build for new Mips tblgen file.Daniel Dunbar2011-11-111-0/+1
| | | | llvm-svn: 144423
* ARM vldm and vstm VFP instructions can take a data type suffix.Jim Grosbach2011-11-112-1/+23
| | | | | | | | | | | | It's ignored by the assembler when present, but is legal syntax. Other instructions have something similar, but for some mnemonics it's only sometimes not significant, so this quick check in the parser will need refactored into something more robust soon-ish. This gets some basics working in the meantime. Partial for rdar://10435264 llvm-svn: 144422
* build/Make: Change llvm-config-2 to be compiled as a build tool.Daniel Dunbar2011-11-111-1/+1
| | | | llvm-svn: 144421
* llvm-config-2: Detect when we are running out of a BuildTools development ↵Daniel Dunbar2011-11-111-7/+18
| | | | | | tree, so that we can always provide library/include information for the real build directory. llvm-svn: 144420
* cross-build/Make: Update cross build to properly forward ARCH andDaniel Dunbar2011-11-112-2/+8
| | | | | | | TARGETS_TO_BUILD variables to build tools submake, and also tweak echo command to indicate when we are compiling/etc build tools. llvm-svn: 144419
* build/Make: Eliminate BUILD_COMPONENT variable, which is unused.Daniel Dunbar2011-11-111-25/+8
| | | | llvm-svn: 144418
* LLVMBuild: Add description files for the LLVM tools.Daniel Dunbar2011-11-1123-0/+529
| | | | llvm-svn: 144417
* LLVMBuild: Alphabetize required_libraries lists.Daniel Dunbar2011-11-113-3/+3
| | | | llvm-svn: 144416
* Target/LLVMBuild: Order components alphabetically.Daniel Dunbar2011-11-111-16/+16
| | | | llvm-svn: 144415
* Mips MC object code emission improvements:Bruno Cardoso Lopes2011-11-1113-130/+475
| | | | | | | | | | "With this patch we can now generate runnable Mips code through LLVM direct object emission. We have run numerous simple programs, both C and C++ and with -O0 and -O3 from the output. The code is not production ready, but quite useful for experimentation." Patch and message by Jack Carter llvm-svn: 144414
* Add an option '--enable-libcpp' that will have the compiler pass onEric Christopher2011-11-115-7/+48
| | | | | | options to use libc++ as the default c++ library. llvm-svn: 144413
* Fix some typos, grammar errors, etc. in cursor kind descriptionsDouglas Gregor2011-11-111-4/+4
| | | | llvm-svn: 144412
* Nuke no longer accurate comment.Jim Grosbach2011-11-111-3/+0
| | | | llvm-svn: 144411
* Wire up the mapping from header files mentioned in module maps over toDouglas Gregor2011-11-115-8/+42
| | | | | | | the corresponding (top-level) modules. This isn't actually useful yet, because we don't yet have a way to build modules out of module maps. llvm-svn: 144410
* Preserve MachineMemOperands in ARMLoadStoreOptimizer.Andrew Trick2011-11-112-0/+37
| | | | | | Fixes PR8113. llvm-svn: 144409
* Resolve the header files named in module map "header" and "umbrella"Douglas Gregor2011-11-112-6/+79
| | | | | | declarations to actual files. llvm-svn: 144408
* ARM allow Q registers in vldm/vstm register lists.Jim Grosbach2011-11-112-27/+47
| | | | | | rdar://9672822 llvm-svn: 144407
* build/Make: Switch back to llvm-config for now, I foolishly forgot to thinkDaniel Dunbar2011-11-111-1/+1
| | | | | | about cross compiles. llvm-svn: 144406
OpenPOWER on IntegriCloud