summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename the variable to fix a warning. Thanks Andy Gibbs.Nadav Rotem2013-06-241-2/+2
| | | | llvm-svn: 184749
* Tests require GNU make, called gmake on FreeBSDEd Maste2013-06-241-6/+16
| | | | llvm-svn: 184748
* tsan: update dynamic export syms fileDmitry Vyukov2013-06-243-3/+441
| | | | | | | now it includes proper functions (including interceptors) and does not include local functions that lead to build failures llvm-svn: 184747
* Sync FreeBSD files to Linux equivalents, to reduce noise in diffEd Maste2013-06-244-29/+25
| | | | | | | | | - Sort functions in the same order - Match whitespace - Remove commetned out code - Make filename in comments match filename llvm-svn: 184746
* Update comment to match class nameEd Maste2013-06-242-2/+2
| | | | llvm-svn: 184745
* Use canonical termios.h locationEd Maste2013-06-241-1/+1
| | | | llvm-svn: 184744
* Convert a use of PathV1.h.Rafael Espindola2013-06-241-22/+16
| | | | llvm-svn: 184743
* Eliminate missing virtual destructor warning on FreeBSDEd Maste2013-06-241-0/+1
| | | | | | Akin to r181712 (88e529b7) of Linux/ProcessMonitor.cpp llvm-svn: 184742
* Update for Linux->POSIX renameEd Maste2013-06-241-8/+8
| | | | | | | Revision r147613 (2341d35) renamed this file with s/Linux/POSIX/, but header guards and comments were not updated to match. llvm-svn: 184741
* [Sema] Call CheckParmForFunctionDef on ObjC method parametersReid Kleckner2013-06-245-6/+32
| | | | | | | CheckParmForFunctionDef performs standard checks for type completeness and other things like a destructor check for the MSVC++ ABI. llvm-svn: 184740
* [sanitizer] Intercept sysinfo.Evgeniy Stepanov2013-06-247-1/+30
| | | | llvm-svn: 184739
* Using offsetof to an item within an array is an extension so mark it as such ↵Andy Gibbs2013-06-243-11/+14
| | | | | | to avoid compiler warnings. llvm-svn: 184738
* Fix some more mismatched integer types causing compiler warnings.Andy Gibbs2013-06-243-15/+15
| | | | llvm-svn: 184737
* [sanitizer] Fix TSan build.Evgeniy Stepanov2013-06-242-0/+2
| | | | llvm-svn: 184736
* [sanitizer] Intercept inet_aton.Evgeniy Stepanov2013-06-245-1/+34
| | | | llvm-svn: 184735
* [msan] Unpoison param-tls in signal handler wrapper.Evgeniy Stepanov2013-06-241-0/+1
| | | | | | This an entry point from uninstrumented code. llvm-svn: 184734
* Remove comment that is no longer applicableEd Maste2013-06-241-3/+0
| | | | | | Since r181446 the m_private_run_lock has been used for all platforms. llvm-svn: 184733
* Look for Python 2 before Python 3 in CMakeLists.txtReid Kleckner2013-06-241-1/+2
| | | | | | | | | All of LLVM's Python scripts only support Python 2 for widely understood reasons. Patch by Yonggang Luo. llvm-svn: 184732
* llvm/test/CodeGen/X86: Add explicit -mtriple=x86_64-unknown-unknown.NAKAMURA Takumi2013-06-242-2/+2
| | | | llvm-svn: 184731
* llvm/test/CodeGen/X86/legalize-shift-64.ll: Add explicit ↵NAKAMURA Takumi2013-06-241-1/+1
| | | | | | -mtriple=i686-unknown-unknown. llvm-svn: 184730
* llvm/test/DebugInfo/arguments.ll: Add explicit -mtriple=x86_64-unknown-unknown.NAKAMURA Takumi2013-06-241-1/+1
| | | | llvm-svn: 184729
* NVPTXTargetObjectFile.h: Initialize some pointers as NULL in the constructor ↵NAKAMURA Takumi2013-06-241-1/+23
| | | | | | | | of NVPTXTargetObjectFile. ~NVPTXTargetObjectFile() tries to delete them. It caused crash on some hosts since r184595. llvm-svn: 184728
* clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp: Suppress unexpected ↵NAKAMURA Takumi2013-06-241-0/+6
| | | | | | | | | failures on MS hosts. FIXME: A couple of tests have been suppressed. I know it'd be bad with _MSC_VER here, though. llvm-svn: 184727
* clang/test/Driver/coverage-ld.c: Tweak expressions to match dosish pathsep ↵NAKAMURA Takumi2013-06-241-2/+2
| | | | | | on win32 hosts. llvm-svn: 184726
* [PowerPC] Add t/f branch mnemonics to asm parserUlrich Weigand2013-06-242-81/+127
| | | | | | | This adds the bt/bf/bd(n)zt/bd(n)zf mnemonics as aliases for the asm parser, resolving to the generic conditional patterns. llvm-svn: 184725
* Reapply 184685 after the SetVector iteration order fix.Arnold Schwaighofer2013-06-244-234/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should hopefully have fixed the stage2/stage3 miscompare on the dragonegg testers. "LoopVectorize: Use the dependence test utility class We now no longer need alias analysis - the cases that alias analysis would handle are now handled as accesses with a large dependence distance. We can now vectorize loops with simple constant dependence distances. for (i = 8; i < 256; ++i) { a[i] = a[i+4] * a[i+8]; } for (i = 8; i < 256; ++i) { a[i] = a[i-4] * a[i-8]; } We would be able to vectorize about 200 more loops (in many cases the cost model instructs us no to) in the test suite now. Results on x86-64 are a wash. I have seen one degradation in ammp. Interestingly, the function in which we now vectorize a loop is never executed so we probably see some instruction cache effects. There is a 2% improvement in h264ref. There is one or the other TSCV loop kernel that speeds up. radar://13681598" llvm-svn: 184724
* LoopVectorize: Use SetVector for the access setArnold Schwaighofer2013-06-241-1/+2
| | | | | | | We are creating the runtime checks using this set so we need a deterministic iteration order. llvm-svn: 184723
* [PowerPC] Support generic conditional branches in asm parserUlrich Weigand2013-06-243-9/+84
| | | | | | | | | | | This adds instruction patterns to cover the generic forms of the conditional branch instructions. This allows the assembler to support the generic mnemonics. The compiler will still generate the various specific forms of the instruction that were already supported. llvm-svn: 184722
* [PowerPC] Support absolute branchesUlrich Weigand2013-06-2414-76/+344
| | | | | | | | | | | | | | | | | | There is currently only limited support for the "absolute" variants of branch instructions. This patch adds support for the absolute variants of all branches that are currently otherwise supported. This requires adding new fixup types so that the correct variant of relocation type can be selected by the object writer. While the compiler will continue to usually choose the relative branch variants, this will allow the asm parser to fully support the absolute branches, with either immediate (numerical) or symbolic target addresses. No change in code generation intended. llvm-svn: 184721
* [PowerPC] Support bd(n)zl and bd(n)zlrlUlrich Weigand2013-06-242-4/+22
| | | | | | | This adds support for the bd(n)zl and bd(n)zlrl instructions. The patterns are currently used for the asm parser only. llvm-svn: 184720
* [PowerPC] Support b(cond)l in the asm parserUlrich Weigand2013-06-242-24/+81
| | | | | | | This patch adds support for the conditional variants of bl. The pattern is currently used by the asm parser only. llvm-svn: 184719
* [PowerPC] Support blrl and variants in the asm parserUlrich Weigand2013-06-242-25/+63
| | | | | | | This patch adds support for blrl and its conditional variants. The patterns are (currently) used for the asm parser only. llvm-svn: 184718
* [sanitizer] Intercept readv, preadv, writev, pwritev.Evgeniy Stepanov2013-06-247-47/+217
| | | | llvm-svn: 184717
* This patch introduces RegisterOperand class into Mips FPU instruction ↵Vladimir Medic2013-06-243-87/+157
| | | | | | definitions and adds dedicated parser methods to MipsAsmParser. It is the first in a series of patches that should fix the problems with parsing Mips FPU instructions and optimize the code in MipsAsmParser. llvm-svn: 184716
* [APFloat] Removed trailing whitespace from unittests.Michael Gottesman2013-06-241-14/+14
| | | | llvm-svn: 184715
* [APFloat] Added a large unittest for APFloat.add that checks that special ↵Michael Gottesman2013-06-241-0/+302
| | | | | | values are computed correctly. llvm-svn: 184714
* [APFloat] Added support for parsing float strings which contain ↵Michael Gottesman2013-06-242-0/+30
| | | | | | {inf,-inf,NaN,-NaN}. llvm-svn: 184713
* [APFloat] Added make{Zero,Inf} methods and implemented get{Zero,Inf} on top ↵Michael Gottesman2013-06-242-2/+24
| | | | | | of them. llvm-svn: 184712
* [APFloat] Removed a assert from significandParts() which says that one can ↵Michael Gottesman2013-06-241-2/+0
| | | | | | | | | | | | | | | | | only access the significand of FiniteNonZero/NaN floats. The method significandParts() is a helper method meant to ease access to APFloat's significand by allowing the user to not need to be aware of whether or not the APFloat is using memory allocated in the instance itself or in an external array. This assert says that one can only access the significand of FiniteNonZero/NaN floats. This makes it cumbersome and more importantly dangerous when one wishes to zero out the significand of a zero/infinity value since one will have to deal with the aforementioned quandary related to how the memory in APFloat is allocated. llvm-svn: 184711
* [APFloat] Rename macro convolve => PackCategoriesIntoKey so that it is clear ↵Michael Gottesman2013-06-241-86/+92
| | | | | | | | | | | | what APFloat is actually using said macro for. In the context of APFloat, seeing a macro called convolve suggests that APFloat is using said value in some sort of convolution somewhere in the source code. This is misleading. I also added a documentation comment to the macro. llvm-svn: 184710
* Add -mcpu to some unit tests that only fail on certain hosts.Andrew Trick2013-06-247-8/+8
| | | | llvm-svn: 184709
* The profile library must come before the C library so that it can useChandler Carruth2013-06-242-4/+5
| | | | | | atexit. llvm-svn: 184708
* ARM: check predicate bits for thumb instructionsAmaury de la Vieuville2013-06-243-13/+35
| | | | | | | When encoded to thumb, VFP instruction and VMOV/VDUP between scalar and core registers, must have their predicate bit to 0b1110. llvm-svn: 184707
* ARM: rGPR is meant to be unpredictable, not undefinedAmaury de la Vieuville2013-06-243-5/+7
| | | | llvm-svn: 184706
* Temporarily enable MI-Sched on X86.Andrew Trick2013-06-2464-258/+277
| | | | | | | Sorry for the unit test churn. I'll try to make the change permanently next time. llvm-svn: 184705
* [lsan] Fix android build.Sergey Matveev2013-06-241-1/+1
| | | | llvm-svn: 184704
* ARM: fix thumb1 nop decodingAmaury de la Vieuville2013-06-244-19/+4
| | | | | | | In thumb1, NOP is a pseudo-instruction equivalent to mov r8, r8. However the disassembler should not use this alias. llvm-svn: 184703
* ARM: fix IT decodingAmaury de la Vieuville2013-06-242-6/+8
| | | | | | mask == 0 -> UNPRED llvm-svn: 184702
* ARM: enable decoding of pc-relative PLD/PLIAmaury de la Vieuville2013-06-244-46/+180
| | | | llvm-svn: 184701
* Revert to C-style callbacks for iteration over allocator chunks.Sergey Matveev2013-06-248-206/+129
| | | | | | | Also clean up LSan code, fix some comments and replace void* with uptr to bring down the number of reinterpret_casts. llvm-svn: 184700
OpenPOWER on IntegriCloud