summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Try to fix native-arm botManman Ren2013-10-011-2/+0
| | | | llvm-svn: 191793
* Debug Info: remove duplication of DIEs when a DIE is part of the type systemManman Ren2013-10-016-18/+129
| | | | | | | | | | | | | | | | | | | | | | | and it is shared across CUs. We add a few maps in DwarfDebug to map MDNodes for the type system to the corresponding DIEs: MDTypeNodeToDieMap, MDSPNodeToDieMap, and MDStaticMemberNodeToDieMap. These DIEs can be shared across CUs, that is why we keep the maps in DwarfDebug instead of CompileUnit. Sometimes, when we try to add an attribute to a DIE, the DIE is not yet added to its owner yet, so we don't know whether we should use ref_addr or ref4. We create a worklist that will be processed during finalization to add attributes with the correct form (ref_addr or ref4). We add addDIEEntry to DwarfDebug to be a wrapper around DIE->addValue. It checks whether we know the correct form, if not, we update the worklist (DIEEntryWorklist). A testing case is added to show that we only create a single DIE for a type MDNode and we use ref_addr to refer to the type DIE. llvm-svn: 191792
* R600: add a pass that merges clauses.Vincent Lejeune2013-10-0110-7/+238
| | | | llvm-svn: 191790
* R600: Put PRED_X instruction in its own clauseVincent Lejeune2013-10-015-6/+1190
| | | | llvm-svn: 191789
* R600: Enable -verify-machineinstrs in some tests.Vincent Lejeune2013-10-0110-14/+24
| | | | llvm-svn: 191788
* [MC] When MCInstPrint::printAnnotation uses a comment stream, it has to ensureQuentin Colombet2013-10-011-2/+6
| | | | | | | | | that each comment ends with a newline to match the definition in the header file. This is part of <rdar://problem/14687488>. llvm-svn: 191787
* Don't merge tiny functions.Matt Arsenault2013-10-013-2/+37
| | | | | | | | | | | | | | | | | | | | | It's silly to merge functions like these: define void @foo(i32 %x) { ret void } define void @bar(i32 %x) { ret void } to get define void @bar(i32) { tail call void @foo(i32 %0) ret void } llvm-svn: 191786
* Reverts commit r190808 and r190556.Rafael Espindola2013-10-011-37/+17
| | | | | | The use of these features in clang has been reverted. llvm-svn: 191785
* Revert commits r190613, r190560 and r190557.Rafael Espindola2013-10-012-28/+30
| | | | | | The added a cmake invocation to null builds, making them a lot slower. llvm-svn: 191784
* Fixing implementation of bittestandset in Intrin.h.Warren Hunt2013-10-011-2/+2
| | | | llvm-svn: 191783
* Add test case for PR16785.Preston Gurd2013-10-011-0/+19
| | | | | | | Thanks for Dimitry Andric, Rafael Espindola, and Benjamin Kramer for providing and progressively reducing the test case! llvm-svn: 191782
* [DebugInfo] Simplify and speedup .debug_aranges parsingAlexey Samsonov2013-10-011-58/+25
| | | | | | | | | | | Parsing .debug_aranges section now takes O(nlogn) operations instead of O(n^2), where "n" is the number of address ranges. With this change, the time required to symbolize an address from a random large Clang-generated binary drops from 165 seconds to 1.5 seconds. No functionality change. llvm-svn: 191781
* Fixing MCJIT multiple module linking for OSXAndrew Kaylor2013-10-011-0/+4
| | | | llvm-svn: 191780
* [DebugInfo] Further simplify DWARFDebugAranges. No functionality change.Alexey Samsonov2013-10-012-56/+43
| | | | llvm-svn: 191779
* [DebugInfo] Remove unused functions from DWARFDebugAranges and fix code style.Alexey Samsonov2013-10-012-93/+44
| | | | llvm-svn: 191778
* [SystemZ] Add comparisons of high words and memoryRichard Sandiford2013-10-018-2/+200
| | | | llvm-svn: 191777
* Fixed replacements for files with relative paths are not applied.Ariel J. Bernal2013-10-012-1/+22
| | | | | | | | Replacements were no applied when using a compilation database with paths in the compilation command relative to the compile directory. This patch makes those paths abosulte. llvm-svn: 191776
* [SystemZ] Add comparisons of large immediates using high wordsRichard Sandiford2013-10-017-2/+134
| | | | | | | There are no corresponding patterns for small immediates because they would prevent the use of fused compare-and-branch instructions. llvm-svn: 191775
* [SystemZ] Add immediate addition involving high wordsRichard Sandiford2013-10-019-2/+236
| | | | llvm-svn: 191774
* [SystemZ] Extend test-under-mask support to high GR32sRichard Sandiford2013-10-015-8/+56
| | | | llvm-svn: 191773
* Refactoring: split addTokenToState into two methods.Alexander Kornienko2013-10-012-207/+237
| | | | | | | | | | | | | | Summary: Pure refactoring, should be no semantic changes. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1796 llvm-svn: 191772
* Typo in ARM __attribute__((interrupt)) documentationTim Northover2013-10-011-1/+1
| | | | llvm-svn: 191771
* [SystemZ] Extend 32-bit RISBG optimizations to high wordsRichard Sandiford2013-10-012-8/+41
| | | | | | | This involves using RISB[LH]G, whereas the equivalent z10 optimization uses RISBG. llvm-svn: 191770
* Implement ARM GNU-style interrupt attributeTim Northover2013-10-017-2/+192
| | | | | | | | | | This attribute allows users to use a modified C or C++ function as an ARM exception-handling function and, with care, to successfully return control to user-space after the issue has been dealt with. rdar://problem/14207019 llvm-svn: 191769
* Move checkStringLiteralArgument into Sema classTim Northover2013-10-012-16/+19
| | | | | | It's a useful function to have around for target-specific attributes. llvm-svn: 191768
* [SystemZ] Extend pseudo conditional 8- and 16-bit stores to high wordsRichard Sandiford2013-10-013-6/+54
| | | | | | As the comment says, we always want to use STOC for 32-bit stores. llvm-svn: 191767
* ARM: support interrupt attributeTim Northover2013-10-019-21/+278
| | | | | | | | | | | This function-attribute modifies the callee-saved register list and function epilogue (specifically the return instruction) so that a routine is suitable for use as an interrupt-handler of the specified type without disrupting user-mode applications. rdar://problem/14207019 llvm-svn: 191766
* [SystemZ] Add test missing from r191764.Richard Sandiford2013-10-011-0/+30
| | | | llvm-svn: 191765
* [SystemZ] Optimize 32-bit FPR<->GPR moves for z196 and aboveRichard Sandiford2013-10-011-7/+18
| | | | | | | | Floats are stored in the high 32 bits of an FPR, and the only GPR<->FPR transfers are full-register transfers. This patch optimizes GPR<->FPR float transfers when the high word of a GPR is directly accessible. llvm-svn: 191764
* Add non-blocking Wait() for launched processesTareq A. Siraj2013-10-015-135/+303
| | | | | | | | | | | | | | | | | - New ProcessInfo class to encapsulate information about child processes. - Generalized the Wait() to support non-blocking wait on child processes. - ExecuteNoWait() now returns a ProcessInfo object with information about the launched child. Users will be able to use this object to perform non-blocking wait. - ExecuteNoWait() now accepts an ExecutionFailed param that tells if execution failed or not. These changes will allow users to implement basic process parallel tools. Differential Revision: http://llvm-reviews.chandlerc.com/D1728 llvm-svn: 191763
* [SystemZ] Allow integer AND involving high wordsRichard Sandiford2013-10-016-63/+170
| | | | llvm-svn: 191762
* Run the -cxx-abi test in 32-bit mode as the 64-bit one crashes on the botsTimur Iskhodzhanov2013-10-011-7/+8
| | | | llvm-svn: 191760
* [SystemZ] Allow integer XOR involving high wordsRichard Sandiford2013-10-015-5/+57
| | | | llvm-svn: 191759
* Author a FIXME in a test now that PR12784 is fixedTimur Iskhodzhanov2013-10-011-12/+8
| | | | llvm-svn: 191758
* Remove several unused variables.Rafael Espindola2013-10-0125-49/+6
| | | | | | Patch by Alp Toker. llvm-svn: 191757
* Remove non-printable chars that snuck in back in July; thanks to Yaron Keren ↵Marshall Clow2013-10-011-1/+1
| | | | | | for the catch llvm-svn: 191756
* [SystemZ] Allow integer OR involving high wordsRichard Sandiford2013-10-015-13/+83
| | | | llvm-svn: 191755
* clang-apply-replacements: Fixing doxygen warningEdwin Vane2013-10-011-0/+1
| | | | llvm-svn: 191754
* [SystemZ] Allow integer insertions with a high-word destinationRichard Sandiford2013-10-015-2/+81
| | | | llvm-svn: 191753
* Fix a typo in the documentation. Thanks to Diana Vasile for the patchSylvestre Ledru2013-10-011-1/+1
| | | | llvm-svn: 191752
* [SystemZ] Allow selects with a high-word destinationRichard Sandiford2013-10-013-2/+32
| | | | llvm-svn: 191751
* [SystemZ] Add patterns to load a constant into a high word (IIHF)Richard Sandiford2013-10-018-5/+116
| | | | | | | Similar to low words, we can use the shorter LLIHL and LLIHH if it turns out that the other half of the GR64 isn't live. llvm-svn: 191750
* [ARM] Remove an unused function from the disassembler.Joey Gouly2013-10-011-11/+0
| | | | | | Pointed out by Joerg. llvm-svn: 191749
* Test commit. Updated comment.Matheus Almeida2013-10-011-1/+1
| | | | llvm-svn: 191748
* Add top-level CMake 'compiler-rt' target to build all compiler-rt librariesAlexey Samsonov2013-10-013-0/+7
| | | | llvm-svn: 191747
* [SystemZ] Add register zero extensions involving at least one high wordRichard Sandiford2013-10-015-2/+417
| | | | llvm-svn: 191746
* Remove empty directory.Joerg Sonnenberger2013-10-010-0/+0
| | | | llvm-svn: 191745
* [ARM] Introduce the 'sevl' instruction in ARMv8.Joey Gouly2013-10-0116-56/+58
| | | | | | | This also removes the restriction on the immediate field of the 'hint' instruction. llvm-svn: 191744
* [SystemZ] Add truncating high-word stores (STCH and STHH)Richard Sandiford2013-10-017-4/+200
| | | | llvm-svn: 191743
* [SystemZ] Add zero-extending high-word loads (LLCH and LLHH)Richard Sandiford2013-10-017-2/+200
| | | | llvm-svn: 191742
OpenPOWER on IntegriCloud