summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* [TableGen] Stop passing by reference an integer that doesn't get modified. NFCCraig Topper2016-02-162-2/+2
| | | | llvm-svn: 260934
* [TableGen] Remove unused member variable. NFCCraig Topper2016-02-162-3/+0
| | | | llvm-svn: 260933
* Remove an unnecessary std::move to fix -Wpessimizing-move warning.Craig Topper2016-02-161-1/+1
| | | | llvm-svn: 260931
* [TableGen] Use range-based for loop. NFCCraig Topper2016-02-161-2/+2
| | | | llvm-svn: 260928
* Simplify users of StringRef::{l,r}trim (NFC)Vedant Kumar2016-02-163-11/+10
| | | | | | | r260925 introduced a version of the *trim methods which is preferable when trimming a single kind of character. Update all users in llvm. llvm-svn: 260926
* [ADT] Add StringRef::{l,r}trim(char) overloads (NFC)Vedant Kumar2016-02-162-1/+19
| | | | | | | | | Add support for trimming a single kind of character from a StringRef. This makes the common case of trimming null bytes much neater. It's also probably a bit speedier too, since it avoids creating a std::bitset in find_{first,last}_not_of. llvm-svn: 260925
* [GlobalISel][IRTranslator] Override getPassName.Quentin Colombet2016-02-161-0/+4
| | | | llvm-svn: 260924
* [GlobalISel] Add missing file in previous commit.Quentin Colombet2016-02-161-0/+72
| | | | llvm-svn: 260923
* [GlobalISel] Get rid of the ifdefs in TargetLowering.Quentin Colombet2016-02-1611-125/+168
| | | | | | | Introduce a new API used only by GlobalISel: CallLowering. This API will contain target hooks dedicated to call lowering. llvm-svn: 260922
* Deprecate LLVMGetDataLayout and replace it by LLVMGetDataLayoutStrAmaury Sechet2016-02-163-2/+14
| | | | | | | | | | | | Summary: The name is confusing as it matche another method on the module. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17283 llvm-svn: 260920
* Kill LLVMAddTargetDataAmaury Sechet2016-02-166-19/+2
| | | | | | | | | | | | Summary: It's red, it's dead. Reviewers: joker.eph, Wallbraker, echristo Subscribers: llvm-commits, axw Differential Revision: http://reviews.llvm.org/D17282 llvm-svn: 260919
* MITests: Update libdeps. llvm/Target/TargetOptions.h depends on MC.NAKAMURA Takumi2016-02-161-0/+1
| | | | llvm-svn: 260918
* Implemented stack symbol table ordering/packing optimization to improve data ↵Zia Ansari2016-02-1526-32/+401
| | | | | | | | locality and code size from SP/FP offset encoding. Differential Revision: http://reviews.llvm.org/D15393 llvm-svn: 260917
* Rename LLVMSetDataLayout's argument to match what they stand forAmaury Sechet2016-02-152-3/+3
| | | | llvm-svn: 260916
* unittests/MI: Add Core library referenceMatthias Braun2016-02-151-0/+1
| | | | llvm-svn: 260915
* SmallPtrSet: Avoid initializing Array in the small case.Matthias Braun2016-02-152-74/+93
| | | | | | | | | | | This patch avoids the initial memset at the cost of making iterators slightly more complex. This should be beneficial as most SmallPtrSets hold no or only a few elements, while iterating over them is less common. Differential Revision: http://reviews.llvm.org/D16672 llvm-svn: 260913
* APInt: Slightly simplify countLeadingZerosSlowCase()Matthias Braun2016-02-151-19/+8
| | | | | | | | | We always clear the unused bits in the most signifant word so there is no need to mask them out in countLeadingZerosSlowCase(). Differential Revision: http://reviews.llvm.org/D16621 llvm-svn: 260911
* APInt: Further simplify APInt::EqualSlowCase as suggested by DuncanMatthias Braun2016-02-151-4/+1
| | | | llvm-svn: 260910
* [X86] Remove now-dead variable and redundant assert. NFC.Ahmed Bougacha2016-02-151-2/+0
| | | | | | | The variable was made dead in NDEBUG by r260901, but the assert was redundant anyway: get rid of both. llvm-svn: 260908
* Fix typo in LiveIntervalTestMatthias Braun2016-02-151-1/+1
| | | | llvm-svn: 260907
* LiveIntervalAnalysis: Support moving of subregister defs in handleMoveMatthias Braun2016-02-151-34/+153
| | | | | | | | | | | | | | | | | | | This is an updated version which fixes a bug that happened with uses tied to an earlyclobber operand which end at an unusual slotindex. If two definitions write to independent subregisters then they can be put in any order. LiveIntervalAnalysis::handleMove() did not support this previously because it looks like moving a definition of a vreg past another one. This is a modified version of a patch proposed (two years ago) by Vincent Lejeune! This version does not touch the read-undef flags and is extended for the case of moving a subregister def behind all uses - this can happen for subregister defs that are completely unused. Differential Revision: http://reviews.llvm.org/D9067 llvm-svn: 260906
* Add unittest for LiveIntervalAnalysis::handleMove()Matthias Braun2016-02-153-0/+319
| | | | llvm-svn: 260905
* MachineVerifier: Add parameter to choose if MachineFunction::verify() abortsMatthias Braun2016-02-152-13/+18
| | | | | | | The abort on error behaviour is unpractical for debugger and unittest usage. llvm-svn: 260904
* [NFC] Fixing naming convention, lowercase start of function name.Colin LeMahieu2016-02-156-33/+33
| | | | llvm-svn: 260903
* [Hexagon] Wrapping all MCExprs inside MCOperands within HexagonMCExpr to ↵Colin LeMahieu2016-02-158-92/+169
| | | | | | simplify handling and allow flags on the expression. llvm-svn: 260902
* [CodeGen] Document and use getConstant's splat-building feature. NFC.Ahmed Bougacha2016-02-156-98/+55
| | | | | | Differential Revision: http://reviews.llvm.org/D17229 llvm-svn: 260901
* [X86][SSE2] Regenerated sse2 testsSimon Pilgrim2016-02-151-2/+2
| | | | llvm-svn: 260900
* [ScheduleDAGInstrs] isUnsafeMemoryObject() removedJonas Paulsson2016-02-151-36/+5
| | | | | | | | | | | This function was basically useless, since volatile memacesses or MIs with unmodelled sideffects become global memory objects, and the other little checks are also done elsewhere. Reviewed by Andy Trick http://reviews.llvm.org/D16881 llvm-svn: 260899
* [Hexagon] Missed testcase update in r260895Krzysztof Parzyszek2016-02-151-1/+1
| | | | llvm-svn: 260897
* [mips] Implemented the .hword directive.Scott Egerton2016-02-153-3/+14
| | | | | | | | | | | | | | Summary: In order to pass the tests, this required marking R_MIPS_16 relocations as needing to point to the symbol and not the section. Reviewers: vkalintiris, dsanders Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D17200 llvm-svn: 260896
* [Hexagon] Use zero-extending loads for anyextKrzysztof Parzyszek2016-02-152-7/+7
| | | | llvm-svn: 260895
* [LV] Add support for insertelt/extractelt processing during type truncationSilviu Baranga2016-02-152-0/+61
| | | | | | | | | | | | | | | | | | Summary: While shrinking types according to the required bits, we can encounter insert/extract element instructions. This will cause us to reach an llvm_unreachable statement. This change adds support for truncating insert/extract element operations, and adds a regression test. Reviewers: jmolloy Subscribers: mzolotukhin, llvm-commits Differential Revision: http://reviews.llvm.org/D17078 llvm-svn: 260893
* Tweak the LICM code to reuse the first sub-loop instead of creating a new oneRoman Gareev2016-02-151-14/+32
| | | | | | | | | | | | | LICM starts with an *empty* AST, and then merges in each sub-loop. While the add code is appropriate for sub-loop 2 and up, it's utterly unnecessary for sub-loop 1. If the AST starts off empty, we can just clone/move the contents of the subloop into the containing AST. Reviewed-by: Philip Reames <listmail@philipreames.com> Differential Revision: http://reviews.llvm.org/D16753 llvm-svn: 260892
* [X86] More thorough partial-register division checksSimon Pilgrim2016-02-151-1/+34
| | | | | | For when grep counts are just not enough... llvm-svn: 260891
* [X86] Regenerated 64/128 bit multiply testsSimon Pilgrim2016-02-152-3/+35
| | | | llvm-svn: 260890
* [X86][SSE] More thorough testing of all-ones vectors re-materializationSimon Pilgrim2016-02-151-5/+134
| | | | llvm-svn: 260889
* [X86][SSE] Regenerated uint2fp special case testsSimon Pilgrim2016-02-152-16/+30
| | | | llvm-svn: 260888
* Make llvm/test/tools/llvm-symbolizer/pdb/pdb.test Py3-compatible.NAKAMURA Takumi2016-02-151-1/+1
| | | | llvm-svn: 260887
* [X86][SSE] Regenerated fast isel intrinsics testsSimon Pilgrim2016-02-153-10/+11
| | | | llvm-svn: 260885
* Reverted r260879 as it caused test failures in lld.Scott Egerton2016-02-152-3/+3
| | | | llvm-svn: 260880
* [mips] Removed the SHF_ALLOC flag from the .pdr section.Scott Egerton2016-02-152-3/+3
| | | | | | | | | | | | | | | | | Summary: This section is used for debug information and has no need to be in memory at runtime. With this patch, LLVM now emits the same flags as the GNU assembler. This patch also fixes an error when compiling the Linux kernel, The error is that there are relocations within the .pdr section in a VDSO. Reviewers: vkalintiris, dsanders Subscribers: llvm-commits, dsanders Differential Revision: http://reviews.llvm.org/D17199 llvm-svn: 260879
* AVX512: Change store size of kmask. Store size of v8i1, v4i1 , v2i1 and i1 ↵Igor Breger2016-02-155-24/+170
| | | | | | | | | | are changed to 16 bits. If KMOVB not supported (require AVX512DQ) only KMOVW can be used so store size should be 2 bytes. Differential Revision: http://reviews.llvm.org/D17138 llvm-svn: 260878
* Minor code cleanups. NFC.Junmo Park2016-02-151-1/+1
| | | | llvm-svn: 260875
* Fix some typos in the llvm docSylvestre Ledru2016-02-148-11/+11
| | | | llvm-svn: 260855
* [X86][AVX] Fixed copy+paste typo in shuffle testSimon Pilgrim2016-02-141-2/+2
| | | | llvm-svn: 260852
* Use report_fatal_error more consistently in the C API echo testAmaury Sechet2016-02-141-73/+33
| | | | llvm-svn: 260849
* Get constant cloning out of CloneValue so it can be used when creating globals.Amaury Sechet2016-02-141-40/+47
| | | | llvm-svn: 260848
* Move clone_params aroundAmaury Sechet2016-02-141-78/+76
| | | | llvm-svn: 260846
* Fix star alignment in Core.hAmaury Sechet2016-02-141-2/+2
| | | | llvm-svn: 260845
* [TableGen] Remove constant string argument from a method that's only called ↵Craig Topper2016-02-141-5/+5
| | | | | | once. We can just hardcode the string inside. There already other things that make the method not reusable. NFC llvm-svn: 260840
OpenPOWER on IntegriCloud