summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo introduced in r168577: FlAGS -> FLAGS (note the lowercase ell)Dmitri Gribenko2012-12-241-2/+2
| | | | | | Now we really pass -Wcovered-switch-default if the compiler supports it. llvm-svn: 171040
* AutoRegen.sh: update reference to documentationDmitri Gribenko2012-12-241-1/+1
| | | | llvm-svn: 171037
* llvm/test/CodeGen/X86/fold-vex.ll: Add explicit triple.NAKAMURA Takumi2012-12-241-1/+1
| | | | llvm-svn: 171029
* CostModel: We have API for checking the costs of known shuffles. This patch addsNadav Rotem2012-12-243-5/+12
| | | | | | support for the insert-subvector and extract-subvector kinds. llvm-svn: 171027
* Added 6 more value types: v32i1, v64i1, v32i16, v32i8, v64i8, v8f64Elena Demikhovsky2012-12-245-76/+143
| | | | llvm-svn: 171026
* Removed "static" from "__jit_debug_descriptor" because "static" adds C++ ↵Elena Demikhovsky2012-12-241-1/+1
| | | | | | mangling prefix to this symbol. llvm-svn: 171025
* Some x86 instructions can load/store one of the operands to memory. On SSE, ↵Nadav Rotem2012-12-242-260/+276
| | | | | | | | | this memory needs to be aligned. When these instructions are encoded in VEX (on AVX) there is no such requirement. This changes the folding tables and removes the alignment restrictions from VEX-encoded instructions. llvm-svn: 171024
* LoopVectorizer: When checking for vectorizable types, also checkNadav Rotem2012-12-242-1/+37
| | | | | | | | the StoreInst operands. PR14705. llvm-svn: 171023
* Change the codegen Cost Model API for shuffeles. This patch removes the API ↵Nadav Rotem2012-12-243-5/+10
| | | | | | for broadcast and adds a more general API that accepts an enum of known shuffles. llvm-svn: 171022
* Fix typo in commentsAlexey Samsonov2012-12-241-1/+1
| | | | llvm-svn: 171021
* Update the docs of the cost model.Nadav Rotem2012-12-241-3/+6
| | | | llvm-svn: 171016
* llvm/MC/MCMachObjectWriter.h: ComputeSymbolTable(): Prune one description in ↵NAKAMURA Takumi2012-12-241-2/+0
| | | | | | | | the comment. [-Wdocumentation] /// \param StringIndexMap [out] - Map from symbol names to offsets in the string table. llvm-svn: 171010
* LoopVectorizer: Fix an endless loop in the code that looks for reductions.Nadav Rotem2012-12-242-7/+52
| | | | | | | | The bug was in the code that detects PHIs in if-then-else block sequence. PR14701. llvm-svn: 171008
* Documentation: fix typos reported in PR13866Dmitri Gribenko2012-12-231-6/+6
| | | | llvm-svn: 171006
* CostModel: Change the default target-independent implementation for findingNadav Rotem2012-12-233-6/+25
| | | | | | | | the cost of arithmetic functions. We now assume that the cost of arithmetic operations that are marked as Legal or Promote is low, but ops that are marked as custom are higher. llvm-svn: 171002
* LoopVectorize: Fix accidentaly inverted condition.Benjamin Kramer2012-12-231-1/+1
| | | | llvm-svn: 171001
* LoopVectorize: For scalars and void types there is no need to compute vector ↵Benjamin Kramer2012-12-231-12/+10
| | | | | | | | insert/extract costs. Fixes an assert during the build of oggenc in the test suite. llvm-svn: 171000
* We are not ready to estimate the cost of integer expansions based on the ↵Nadav Rotem2012-12-231-2/+0
| | | | | | number of parts. This test is too noisy. llvm-svn: 170999
* docs: Add link to external LLVM backend tutorial.Sean Silva2012-12-231-0/+8
| | | | llvm-svn: 170998
* whitespaceNadav Rotem2012-12-231-28/+0
| | | | llvm-svn: 170997
* Rename a function.Nadav Rotem2012-12-231-4/+4
| | | | llvm-svn: 170996
* Loop Vectorizer: Update the cost model of scatter/gather operations and makeNadav Rotem2012-12-236-46/+40
| | | | | | them more expensive. llvm-svn: 170995
* Remove trailing whitespace.Craig Topper2012-12-221-94/+94
| | | | llvm-svn: 170991
* Remove trailing whitespaceCraig Topper2012-12-221-126/+126
| | | | llvm-svn: 170990
* Remove a special case that doesn't seem necessary any longer.Jakob Stoklund Olesen2012-12-221-13/+2
| | | | | | | Back when this exception was added, it was skipping a lot more code, but now it just looks like a premature optimization. llvm-svn: 170989
* Use getNumOperands() instead of Operands.size().Jakob Stoklund Olesen2012-12-221-11/+11
| | | | | | | The representation of the Operands array is going to change soon so it can be allocated from a BumpPtrAllocator. llvm-svn: 170988
* X86: Turn mul of <4 x i32> into pmuludq when no SSE4.1 is available.Benjamin Kramer2012-12-222-5/+43
| | | | | | | pmuludq is slow, but it turns out that all the unpacking and packing of the scalarized mul is even slower. 10% speedup on loop-vectorized paq8p. llvm-svn: 170985
* X86: Emit vector sext as shuffle + sra if vpmovsx is not available.Benjamin Kramer2012-12-222-31/+135
| | | | | | | Also loosen the SSSE3 dependency a bit, expanded pshufb + psra is still better than scalarized loads. Fixes PR14590. llvm-svn: 170984
* Add a comma to fix the build.Craig Topper2012-12-221-2/+2
| | | | llvm-svn: 170982
* Use a negative value to represent INVALID_SIMPLE_VALUE_TYPE instead of 256. ↵Craig Topper2012-12-221-12/+9
| | | | | | Its much cheaper for the isSimple() checks to look for values less than 0 rather than a value greater than 255. This shaves ~8k off the size of the llc binary on x86-64. llvm-svn: 170981
* Add vAny and Metadata to the switch in getSizeInBits for consistency since ↵Craig Topper2012-12-221-1/+4
| | | | | | every other enum was listed. llvm-svn: 170977
* [utils] Tweak utils/clang-parse-diagnostics-file to ignore autoconf diagnostics.Daniel Dunbar2012-12-221-9/+27
| | | | | | - Also, don't print headers if we aren't going to print any diagnostics. llvm-svn: 170973
* Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of ↵Bill Wendling2012-12-229-40/+40
| | | | | | attribute instead of the value of the attribute. llvm-svn: 170972
* Fix some undefined behavior when parsing YAML input: don't try to compare anRichard Smith2012-12-221-5/+5
| | | | | | uninitialized value against a default value. Found by -fsanitize=enum. llvm-svn: 170970
* Don't call back() on an empty SmallVector. Found by -fsanitize=enum!Richard Smith2012-12-221-1/+1
| | | | llvm-svn: 170968
* In some cases, due to scheduling constraints we copy the EFLAGS.Nadav Rotem2012-12-213-1/+58
| | | | | | | | | | | | The only way to read the eflags is using push and pop. If we don't adjust the stack then we run over the first frame index. This is not something that we want to do, so we have to make sure that our machine function does not copy the flags. If it does then we have to emit the prolog that adjusts the stack. rdar://12896831 llvm-svn: 170961
* [mips] Refactor subword-swap, EXT/INS, load-effective-address and read-hardwareAkira Hatanaka2012-12-213-54/+73
| | | | | | instructions. llvm-svn: 170956
* [mips] Refactor SYNC and multiply/divide instructions.Akira Hatanaka2012-12-213-54/+59
| | | | llvm-svn: 170955
* [mips] Refactor BAL instructions.Akira Hatanaka2012-12-212-10/+40
| | | | llvm-svn: 170954
* [mips] Fix encoding of BAL instruction. Also, fix assembler test case whichAkira Hatanaka2012-12-212-2/+2
| | | | | | was not catching the error. llvm-svn: 170953
* [mips] Refactor jump, jump register, jump-and-link and nop instructions.Akira Hatanaka2012-12-213-41/+50
| | | | llvm-svn: 170952
* [mips] Refactor load/store left/right and load-link and store-conditionalAkira Hatanaka2012-12-212-79/+52
| | | | | | instructions. llvm-svn: 170950
* [mips] Refactor load/store instructions.Akira Hatanaka2012-12-212-62/+34
| | | | llvm-svn: 170948
* [mips] Remove unnecessary isPseudo parameter.Akira Hatanaka2012-12-211-24/+16
| | | | llvm-svn: 170947
* [mips] Refactor LUI instruction.Akira Hatanaka2012-12-213-6/+17
| | | | llvm-svn: 170944
* [mips] Refactor count leading zero or one instructions.Akira Hatanaka2012-12-213-20/+29
| | | | llvm-svn: 170942
* [mips] Refactor sign-extension-in-register instructions.Akira Hatanaka2012-12-213-11/+21
| | | | llvm-svn: 170940
* [mips] Refactor instructions which copy from and to HI/LO registers.Akira Hatanaka2012-12-213-22/+35
| | | | llvm-svn: 170939
* [mips] Refactor logical NOR instructions.Akira Hatanaka2012-12-212-7/+6
| | | | llvm-svn: 170937
* [mips] Move instruction definitions in MipsInstrInfo.td.Akira Hatanaka2012-12-211-37/+39
| | | | llvm-svn: 170936
OpenPOWER on IntegriCloud