- Jun 12, 2014
-
-
Rafael Espindola authored
This is an update for a llvm api change. llvm-svn: 210688
-
Rafael Espindola authored
The idea of this patch is to turn llvm/Support/system_error.h into a transitional header that just brings in the erorr_code api to the llvm namespace. I will remove it shortly afterwards. The cases where the general idea needed some tweaking: * std::errc is a namespace in msvc, so we cannot use "using std::errc". I could add an #ifdef, but there were not that many uses, so I just added std:: to them in this patch. * Template specialization had to be moved to the std namespace in this patch set already. * The msvc implementation of default_error_condition doesn't seem to provide the same transformations as we need. Not too surprising since the standard doesn't actually say what "equivalent" means. I fixed the problem by keeping our old mapping and using it at error_code construction time. Despite these shortcomings I think this is still a good thing. Some reasons: * The different implementations of system_error might improve over time. * It removes 925 lines of code from llvm already. * It removes 6313 bytes from the text segment of the clang binary when it is built with gcc and 2816 bytes when building with clang and libstdc++. llvm-svn: 210687
-
Kaelyn Takata authored
Also move the constructor for NamespaceSpecifierSet out of line to improve the class' readability. I meant to do these two things while cleaning up the previous TypoCorrectionConsumer changes and have them folded into those changes. No functionality changed. llvm-svn: 210686
-
Chad Rosier authored
intended. llvm-svn: 210685
-
Chad Rosier authored
llvm-svn: 210684
-
Matt Arsenault authored
llvm-svn: 210683
-
Ed Maste authored
llvm-svn: 210682
-
Todd Fiala authored
Added test that attempts to write a value to each general purpose register that is bit-flipped from the initial read value. It then reads it back to see if it takes. Right now I just assert that at least one register bit flip write succeeds. I added a note that on the MacOSX x86_64 debugserver case, the only writes that succeed from the GPR set are rax thru rdx, rdi, rsi and rbp. The failures are E32 failure-at-write-attempt issues on the debugserver end. I'll revisit this after implementing in the llgs linux-x86_64 branch. The packet log looks good but I may have a subtle mistake in the code. llvm-svn: 210681
-
Matt Arsenault authored
llvm-svn: 210680
-
Matt Arsenault authored
llvm-svn: 210679
-
Matt Arsenault authored
llvm-svn: 210678
-
Matt Arsenault authored
llvm-svn: 210677
-
Matt Arsenault authored
llvm-svn: 210676
-
Matt Arsenault authored
llvm-svn: 210675
-
Matt Arsenault authored
The manual lists them as *_RTN_U32, not *_U32_RTN, which is more consistent with how every other sized instruction is named. llvm-svn: 210674
-
Matt Arsenault authored
Use patterns that will also match the immediate offset to match the normal read / writes. llvm-svn: 210673
-
Kaelyn Takata authored
SpecifierInfo is not used outside of NamespaceSpecifierSet except indirectly through NamespaceSpecifierSet's iterator, so clean up the code a bit by moving SpecifierInfo into NamespaceSpecifierSet. Also drop SpecifierInfo's trivial yet verbose constructor since brace initiialization is sufficient in the only two places the constructor was being explicitly called. No functionality changed. llvm-svn: 210672
-
Kaelyn Takata authored
The SpecifierInfo and NamespaceSpecifierSet are now only used by TypoCorrectionConsumer, so treat them as the implementation details of TypoCorrectionConsumer that they are. Also make NamespaceSpecifierSet's method names more style guide compliant. No functionality changed. llvm-svn: 210671
-
Kaelyn Takata authored
No functionality changed. llvm-svn: 210670
-
Kaelyn Takata authored
The only external/visible functional change that fell out of this refactoring is that there was one less case where the typo caching and/or counting didn't work properly. The result is that a test case had to be moved from typo-correction.cpp to typo-correction-pt2.cpp to avoid the hard-coded limit on per file/TU typo correction attempts. llvm-svn: 210669
-
Kaelyn Takata authored
This is in preparation for moving TypoCorrection filtering into the TypoCorrectionConsumer, to separate out some of the purely mechanical churn. It also makes some of the method names in NamespaceSpecifierSet be more style guide compliant. No functionality changed. llvm-svn: 210668
-
Eli Bendersky authored
http://reviews.llvm.org/D4089 Patch by Mark Heffernan. llvm-svn: 210667
-
Matt Arsenault authored
This eliminates extra extract instructions when loading an i8 vector to a float vector. llvm-svn: 210666
-
David Blaikie authored
llvm-svn: 210665
-
Matt Arsenault authored
There seem to be only 2 places that produce these, and it's kind of tricky to hit them. Also fixes failure to bitcast between i64 and v2f32, although this for some reason wasn't actually broken in the simple bitcast testcase, but did in the scalar_to_vector one. llvm-svn: 210664
-
Tim Northover authored
I don't know what "target specific node #383" is, and I don't want to have to. llvm-svn: 210663
-
Eric Christopher authored
Thanks Duncan for noticing. llvm-svn: 210662
-
Marshall Clow authored
llvm-svn: 210661
-
Fariborz Jahanian authored
correctly when both NSAttributedString and NSMutableAttributedString are specified on the same CFStruct via different typedefs. // rdar://17238954 llvm-svn: 210660
-
Marshall Clow authored
Implement string_view from the library fundamentals TS (n4023). Also works in C++11 and 03, with reduced functionality (mostly in the area of constexpr) llvm-svn: 210659
-
- Jun 11, 2014
-
-
Bill Schmidt authored
The vec_sld and vec_vsldoi interfaces perform a left-shift on vector arguments for both big and little endian. However, because they rely on the vec_perm interface which is endian-dependent, the permutation vector needs to be reversed for LE to get the proper shift direction. I've added some extra testing for these interfaces for LE in the builtins-ppc-altivec.c. llvm-svn: 210657
-
Daniel Sanders authored
Summary: MIPS32r6/MIPS64r6 support has not been added yet. inlineasm-cnstrnt-reg.ll: Explicitly specify the CPU since it will not work on MIPS32r6/MIPS64r6 when -integrated-as is the default. We can't change the mnemonic since the LO register is an implicit def of mtlo and MIPS32r6/MIPS64r6 has no instructions that use LO. 2008-08-01-AsmInline.ll: Explicitly specify the CPU since MIPS32r6/MIPS64r6 will correctly emit different code and this is a regression test. mips64instrs.ll and mips64muldiv.ll Check registers and the way the multiply is used in m1 divrem.ll Check registers and use multiple filecheck prefixes to limit redundancy Reviewers: vmedic, jkolek, zoran.jovanovic, matheusalmeida Reviewed By: matheusalmeida Subscribers: matheusalmeida Differential Revision: http://reviews.llvm.org/D3894 llvm-svn: 210656
-
Evgeniy Stepanov authored
llvm-svn: 210655
-
Matheus Almeida authored
Summary: These instructions are available in ISAs >= mips32/mips64. For mips32r6/mips64r6, jr.hb has a new encoding format. Reviewers: dsanders Reviewed By: dsanders Differential Revision: http://reviews.llvm.org/D4019 llvm-svn: 210654
-
Cameron McInally authored
llvm-svn: 210652
-
Daniel Jasper authored
Also, make warning more precise by distinguishing different cases. llvm-svn: 210651
-
Evgeniy Stepanov authored
This better replicates the target environment. llvm-svn: 210650
-
Evgeniy Stepanov authored
llvm-svn: 210649
-
Simon Atanasyan authored
does not get an entry in the dynamic symbol table. llvm-svn: 210648
-
Evgeniy Stepanov authored
Test that coverage is dumped correctly (and completely) even when the processed gets SIGKILL-ed. llvm-svn: 210647
-