summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added LanguageStandard::LS_JavaScript to gate all JS-specific parsing.Alexander Kornienko2013-11-294-31/+311
| | | | | | | | | | | | | | | | Summary: Use LS_JavaScript for files ending with ".js". Added support for ">>>=" operator. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2242 llvm-svn: 195961
* Enables support for custom subject lists for attributes. As a testbed, uses ↵Aaron Ballman2013-11-296-29/+68
| | | | | | the custom subject for the ibaction attribute. llvm-svn: 195960
* [asan] dump coverage even if asan has reported an error Kostya Serebryany2013-11-292-0/+9
| | | | llvm-svn: 195959
* [sanitizer] disable shmctl intercetor in 32-bit -- it is rotten (bug filed)Kostya Serebryany2013-11-292-1/+19
| | | | llvm-svn: 195958
* Increase the LocatePcInTrace PC threshold now that ↵Timur Iskhodzhanov2013-11-291-1/+1
| | | | | | GET_STACK_TRACE_WITH_PC_AND_BP has grown llvm-svn: 195957
* Fix current stack unwinding when using DRASanTimur Iskhodzhanov2013-11-291-11/+16
| | | | llvm-svn: 195956
* [ASan] Also print <empty stack> when size==0Timur Iskhodzhanov2013-11-291-2/+2
| | | | llvm-svn: 195955
* clang-format: Extends formatted ranges to subsequent lines comments.Daniel Jasper2013-11-292-13/+49
| | | | | | | | | | | | | | | | Before: int aaaa; // This line is formatted. // The comment continues .. // .. here. Before: int aaaa; // This line is formatted. // The comment continues .. // .. here. This fixes llvm.org/PR17914. llvm-svn: 195954
* clang-format: Correctly handle Qt's Q_SLOTS.Daniel Jasper2013-11-292-1/+4
| | | | | | This should fix llvm.org/PR17241. Maybe it sticks this time :-). llvm-svn: 195953
* clang-format: Fix bad indentation of nested blocks.Daniel Jasper2013-11-292-1/+19
| | | | | | | | | | | | | | | Before: DEBUG( // { f(); }); After: DEBUG( // { f(); }); Also add additional test to selected formatting of individual statements in nested blocks. llvm-svn: 195952
* Adjust PPC A2 input operand latenciesHal Finkel2013-11-291-52/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the PPC A2, instructions are only issued after their input operands are ready. Model this by specifying that input operands are read at dispatch (0 cycles after issue). This changes all input operand latencies from 1 to 0. Significant test-suite performance changes (these are 99.5% confidence intervals on 6 runs for both before and after): speedups: MultiSource/Benchmarks/sim/sim -1.21915% +/- 0.175063% MultiSource/Benchmarks/TSVC/LinearDependence-flt/LinearDependence-flt -1.23946% +/- 1.05133% SingleSource/Benchmarks/Misc/flops-2 -1.24237% +/- 0.681362% MultiSource/Applications/JM/lencod/lencod -1.33992% +/- 0.757498% MultiSource/Benchmarks/TSVC/InductionVariable-flt/InductionVariable-flt -1.51802% +/- 1.21468% MultiSource/Benchmarks/TSVC/GlobalDataFlow-flt/GlobalDataFlow-flt -2.18818% +/- 1.28605% MultiSource/Benchmarks/TSVC/Packing-flt/Packing-flt -2.21977% +/- 1.19499% SingleSource/Benchmarks/BenchmarkGame/spectral-norm -2.29822% +/- 0.671871% MultiSource/Benchmarks/TSVC/Packing-dbl/Packing-dbl -2.40975% +/- 0.355931% SingleSource/Benchmarks/Misc/fp-convert -2.41899% +/- 1.04751% MultiSource/Benchmarks/TSVC/Searching-dbl/Searching-dbl -2.50349% +/- 0.126765% SingleSource/Benchmarks/Misc/flops-3 -3.00214% +/- 0.700795% MultiSource/Benchmarks/TSVC/LoopRestructuring-flt/LoopRestructuring-flt -3.56995% +/- 3.2929% MultiSource/Applications/sgefa/sgefa -4.24908% +/- 2.00413% MultiSource/Benchmarks/ASC_Sequoia/IRSmk/IRSmk -18.1294% +/- 3.96489% regressions: MultiSource/Benchmarks/TSVC/Reductions-dbl/Reductions-dbl 1.03249% +/- 0.178547% MultiSource/Applications/hexxagon/hexxagon 1.16597% +/- 0.285235% MultiSource/Benchmarks/TSVC/IndirectAddressing-flt/IndirectAddressing-flt 1.39576% +/- 1.07855% SingleSource/Benchmarks/Misc-C++/stepanov_v1p2 1.71539% +/- 0.173182% MultiSource/Benchmarks/Fhourstones-3.1/fhourstones3.1 1.90013% +/- 0.866472% MultiSource/Benchmarks/TSVC/Recurrences-dbl/Recurrences-dbl 2.39854% +/- 1.05914% MultiSource/Benchmarks/TSVC/ControlFlow-dbl/ControlFlow-dbl 2.4402% +/- 0.817904% MultiSource/Benchmarks/TSVC/LoopRestructuring-dbl/LoopRestructuring-dbl 5.87997% +/- 3.3172% MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc 9.02643% +/- 5.79591% MultiSource/Benchmarks/VersaBench/bmm/bmm 10.3517% +/- 1.227% Obviously, there are data points on both sides of this; but I think, overall, this supports making the change. llvm-svn: 195951
* Teach LocalStackSlotAllocation that stackmaps/patchpoints don't have rangeLang Hames2013-11-291-3/+5
| | | | | | constraints on their frame offsets. llvm-svn: 195950
* Create a PPC440 SchedMachineModelHal Finkel2013-11-292-6/+20
| | | | | | | Some of the older PPC processor definitions don't have associated SchedMachineModels; correct this for the PPC440. llvm-svn: 195949
* Fixup PPC440 load/store operand latenciesHal Finkel2013-11-291-19/+19
| | | | | | | | The operand latencies for loads and stores in the PPC440 itinerary were wrong (the store operands are all inputs, and the "with update" (pre-increment) instructions need a latency for the additional output). llvm-svn: 195948
* Adjust PPC440 operand latenciesHal Finkel2013-11-291-54/+54
| | | | | | | | | | | | The operand latencies for the PPC440 should be specified relative to dispatch, not relative to the initial fetch-and-decode stages. Because most instructions (ignoring bypass) wait in dispatch until their operands are ready, this is modeled as reading input operands "at dispatch" (0 cycles after issue), and so every input and output operand has 4 cycles subtracted from it. This could alter scheduling slightly, but I don't expect a large effect. llvm-svn: 195947
* Don't model the fetch and decode units for the PPC440Hal Finkel2013-11-291-180/+61
| | | | | | | | | | Modeling the fetch and decode units in the PPC440 itinerary does not add anything to the hazard detection capability (and so modeling them just wastes compile time). No functionality change intended. llvm-svn: 195946
* Remove unused variable from r195944.Lang Hames2013-11-291-1/+0
| | | | llvm-svn: 195945
* Refactor a lot of patchpoint/stackmap related code to simplify and make itLang Hames2013-11-2911-241/+222
| | | | | | | | | | | | | | | | | | | | | | target independent. Most of the x86 specific stackmap/patchpoint handling was necessitated by the use of the native address-mode format for frame index operands. PEI has now been modified to treat stackmap/patchpoint similarly to DEBUG_INFO, allowing us to use a simple, platform independent register/offset pair for frame indexes on stackmap/patchpoints. Notes: - Folding is now platform independent and automatically supported. - Emiting patchpoints with direct memory references now just involves calling the TargetLoweringBase::emitPatchPoint utility method from the target's XXXTargetLowering::EmitInstrWithCustomInserter method. (See X86TargetLowering for an example). - No more ugly platform-specific operand parsers. This patch shouldn't change the generated output for X86. llvm-svn: 195944
* AArch64: Two intrinsics are expected to return float64 not float32 in arm_neon.hHao Liu2013-11-292-5/+11
| | | | llvm-svn: 195943
* Fix the problem that the range check for scalar narrow shift is too wide.Hao Liu2013-11-294-47/+53
| | | | | | E.g. the immediate value of vshrns_n_s16 is [1,16], which should be [1,8]. llvm-svn: 195942
* AArch64: The pattern match should check the range of the immediate value.Hao Liu2013-11-294-157/+178
| | | | | | | Or we can generate some illegal instructions. E.g. shrn2 v0.4s, v1.2d, #35. The legal range should be in [1, 16]. llvm-svn: 195941
* Add missing intrinsic function vbsl_f64 for AArch64 NEON.Jiangning Liu2013-11-292-1/+7
| | | | llvm-svn: 195940
* Add missing test case for bsl_f64 support of AArch64 NEON.Jiangning Liu2013-11-291-0/+222
| | | | llvm-svn: 195939
* Add missing pattern for supporting intrinsic function vbsl_f64 withJiangning Liu2013-11-291-0/+3
| | | | | | argument double floating point. llvm-svn: 195938
* Add missing intrinsic function vcombine_f64 for AArch64 NEON.Jiangning Liu2013-11-292-1/+92
| | | | llvm-svn: 195937
* [AArch64 NEON]Fix a assertion failure when disassemble SHLL instruction.Kevin Qin2013-11-293-35/+90
| | | | llvm-svn: 195936
* (re)enable formatting checksTobias Grosser2013-11-281-3/+2
| | | | llvm-svn: 195935
* Rein in overzealous InstCombine of fptrunc(OP(fpextend, fpextend)).Stephen Canon2013-11-283-27/+152
| | | | llvm-svn: 195934
* Refactor to remove a bit of duplication. No functionality change.Rafael Espindola2013-11-281-24/+24
| | | | llvm-svn: 195933
* Silence sign-compare warning and reduce nesting.Benjamin Kramer2013-11-281-7/+7
| | | | | | No functionality change. llvm-svn: 195932
* Remove an always true parameter.Rafael Espindola2013-11-282-12/+5
| | | | llvm-svn: 195931
* Also silent -Wno-cast-qual in the SWIG Python wrapper. Remove a huge number ↵Sylvestre Ledru2013-11-281-1/+1
| | | | | | of warnings llvm-svn: 195930
* [CMake] Let add_public_tablegen_target() provide intrinsics_gen, too.NAKAMURA Takumi2013-11-2812-23/+1
| | | | | | | | | | I think, in principle, intrinsics_gen may be added explicitly. That said, it can be added incidentally, since each target already has dependencies to llvm-tblgen. Almost all source files depend on both CommonTaleGen and intrinsics_gen. Explicit add_dependencies() have been pruned under lib/Target. llvm-svn: 195929
* [CMake] Also OptionTests can be free from add_dependencies() with ↵NAKAMURA Takumi2013-11-281-2/+0
| | | | | | add_public_tablegen_target(). llvm-svn: 195928
* [CMake] Let add_public_tablegen_target responsible to provide dependency to ↵NAKAMURA Takumi2013-11-2862-111/+14
| | | | | | | | | CommonTableGen. add_public_tablegen_target adds *CommonTableGen to LLVM_COMMON_DEPENDS. LLVM_COMMON_DEPENDS affects add_llvm_library (and other add_target stuff) within its scope. llvm-svn: 195927
* The global prefix is always one char. Don't use a string for it.Rafael Espindola2013-11-286-17/+12
| | | | llvm-svn: 195926
* clang-format: Improve selective formatting of nested statements.Daniel Jasper2013-11-283-34/+112
| | | | | | | | | | Previously, clang-format could create quite corrupt formattings if individual lines of nested blocks (e.g. in "DEBUG({})" or lambdas) were used. With this patch, it tries to extend the formatted regions to leave around some reasonable format without always formatting the entire surrounding statement. llvm-svn: 195925
* [CMake] Prune include_directories() in llvm/lib/Target, take #2.NAKAMURA Takumi2013-11-2816-35/+0
| | | | | | I forgot to commit them. They were staging in my local repo. llvm-svn: 195924
* [mips] Revert test commit r195922.Daniel Sanders2013-11-281-1/+0
| | | | llvm-svn: 195923
* [mips] A test commit to test my Herald and Audit workflowDaniel Sanders2013-11-281-0/+1
| | | | | | Will be reverted in the next commit llvm-svn: 195922
* [CMake] Prune include_directories() in llvm/lib/Target. add_llvm_target() ↵NAKAMURA Takumi2013-11-2825-53/+0
| | | | | | sets them. llvm-svn: 195921
* Add newline at eof.NAKAMURA Takumi2013-11-281-1/+1
| | | | llvm-svn: 195920
* [sanitizer] Disable iconv interceptor in OSX.Evgeniy Stepanov2013-11-281-1/+1
| | | | | | | iconv is defined in an optional DSO, and our interception logic on OSX does not support that. llvm-svn: 195919
* [sanitizer] Intercept times.Evgeniy Stepanov2013-11-287-0/+42
| | | | llvm-svn: 195918
* [sanitizer] Intercept iconv.Evgeniy Stepanov2013-11-285-0/+77
| | | | llvm-svn: 195917
* tsan: deflake more testsDmitry Vyukov2013-11-282-0/+3
| | | | llvm-svn: 195916
* As myself as code-owner of the MIPS backend (lib/Target/Mips/*)Daniel Sanders2013-11-281-0/+4
| | | | llvm-svn: 195915
* tsan: add support for passing file descriptors over UNIX domain socketsDmitry Vyukov2013-11-284-1/+46
| | | | | | | tsan was missing new fd's arrived from recvmsg(), and thus was reporting false positives due to missed synchronization on the fd's llvm-svn: 195914
* tsan: deflake more testsDmitry Vyukov2013-11-282-0/+4
| | | | llvm-svn: 195913
* [OCaml] Add a slash accidentally omitted from MakefilePeter Zotov2013-11-281-1/+1
| | | | llvm-svn: 195912
OpenPOWER on IntegriCloud