summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [sanitizer] fix gcc warnings, enable one tests under asan_allocator2Kostya Serebryany2012-12-242-4/+2
| | | | llvm-svn: 171036
* [sanitizer] make LargeMmapAllocator::GetBlockBegin faster by not using a ↵Kostya Serebryany2012-12-242-28/+48
| | | | | | linked list llvm-svn: 171035
* tsan: work around FileCheck feature that it does not accept empty inputDmitry Vyukov2012-12-2412-4/+11
| | | | llvm-svn: 171034
* tsan: remove static reference to glibc internal _dl_get_tls_static_info()Dmitry Vyukov2012-12-241-9/+5
| | | | | | (this breaks RPM packages) llvm-svn: 171033
* Align RHS after assignments and return statements.Daniel Jasper2012-12-242-9/+46
| | | | | | | | | | | | | | | | This changes: int Result = a + // force break b; return Result + // force break 5; To: int Result = a + // force break b; return Result + // force break 5; llvm-svn: 171032
* [sanitizer] rework the size class map in the sanitizer allocator: make the ↵Kostya Serebryany2012-12-242-107/+150
| | | | | | differences between size classes more uniform. llvm-svn: 171031
* tsan: more defensive file descriptor verificationDmitry Vyukov2012-12-242-27/+34
| | | | | | to prevent assertion failures on code like "write(-1, ...)" llvm-svn: 171030
* llvm/test/CodeGen/X86/fold-vex.ll: Add explicit triple.NAKAMURA Takumi2012-12-241-1/+1
| | | | llvm-svn: 171029
* Fix formatting over overloaded operators.Daniel Jasper2012-12-242-3/+35
| | | | | | | | | | | | | | | | | | | This fixes llvm.org/pr14686. We used to add too many spaces for different versions of overloaded operator function declarations/definitions. This patch changes, e.g. operator *() {} operator >() {} operator () () {} to operator*() {} operator>() {} operator()() {} llvm-svn: 171028
* 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
* Support -fsanitize-memory-track-origins.Evgeniy Stepanov2012-12-247-5/+38
| | | | llvm-svn: 171020
* Update the docs of the cost model.Nadav Rotem2012-12-241-3/+6
| | | | llvm-svn: 171016
* CGClass.cpp: [PR14335] Remove comma-separated \param, for now. [-Wdocumentation]NAKAMURA Takumi2012-12-241-4/+0
| | | | | | /// \param argBegin,argEnd the arguments to evaluate and pass to the constructor llvm-svn: 171015
* clang/AST/VTTBuilder.h: Prune one description in three methods, ↵NAKAMURA Takumi2012-12-241-9/+0
| | | | | | | | VTTBuilder::AddVTablePointer(), VTTBuilder::LayoutSecondaryVirtualPointers(), and VTTBuilder::LayoutSecondaryVirtualPointers(). [-Wdocumentation] /// \param AddressPoints - If the vtable is a construction vtable, this has the address points for it. llvm-svn: 171014
* CGDecl.cpp: Prune three descriptions in two methods, ↵NAKAMURA Takumi2012-12-241-8/+0
| | | | | | | | | | CodeGenFunction::pushIrregularPartialArrayCleanup() and CodeGenFunction::pushRegularPartialArrayCleanup(). [-Wdocumentation] /// \param array - a value of type elementType* /// \param destructionKind - the kind of destruction required /// \param initializedElementCount - a value of type size_t* holding the number of successfully-constructed elements llvm-svn: 171013
* DiagnosticRenderer.cpp: Prune one description in ↵NAKAMURA Takumi2012-12-241-1/+0
| | | | | | | | DiagnosticRenderer::emitMacroExpansions(). [-Wdocumentation] /// \param MacroSkipEnd The depth to stop skipping macro expansions. llvm-svn: 171012
* CGValue.h: Update one \param to Addr in MakeBitfield(). [-Wdocumentation]NAKAMURA Takumi2012-12-241-1/+1
| | | | llvm-svn: 171011
* 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
* test/Index/preamble_macro_template.cpp: Tweak for win32.NAKAMURA Takumi2012-12-241-3/+1
| | | | | | | | | | | Using the file immediately after "> file 2>&1" causes weird behavior on win32. For example, "foo > %t 2>&1; FileCheck --input-file=%t" Use "foo 2>&1 | tee %t" instead. Note, mixing stdout and stderr to the same handle might cause unexpected behavior, due to buffering. llvm-svn: 171009
* 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
* Take operator precedence into account when splitting lines.Daniel Jasper2012-12-242-3/+22
| | | | | | | | | | | | | | | With this patch, splitting after binary operators has a panelty corresponding to the operator's precedence. We used to ignore this and eagerly format like: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } With this patch, this becomes: if (aaaaaaaaaaaaaaaaaaaaaaaaa || bbbbbbbbbbbbbbbbbbbbbbbbb && ccccccccccccccccccccccccc) { .. } llvm-svn: 171007
* Documentation: fix typos reported in PR13866Dmitri Gribenko2012-12-231-6/+6
| | | | llvm-svn: 171006
* Documentation: PTHInternals: use correct adornments and fix typosDmitri Gribenko2012-12-231-4/+4
| | | | | | Fixes PR14014 llvm-svn: 171005
* Documentation: fix a syntax error: empty line required after code-block::Dmitri Gribenko2012-12-231-0/+1
| | | | llvm-svn: 171004
* Documentation: add MemorySanitizer to the toctreeDmitri Gribenko2012-12-231-1/+2
| | | | llvm-svn: 171003
* 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
* docs: Convert ReleaseNotes to reST.Sean Silva2012-12-233-181/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the last of the "regular" documents to convert to reST, and so I'm declaring the initial clang reST conversion "done". However, - There are some documents in clang/www/ which probably should be migrated into clang/docs/, such as www/OpenProjects.html The primary thing blocking me from doing this right now is not knowing how to set up a redirect so that the old URL's continue to work. - LibASTMatchersReference.html is not reST. This page is auto-generated by clang/docs/tools/dump_ast_matchers.py from the source and has some collapse/expand logic that isn't expressible directly with Sphinx, so just converting it to reST is not really a good strategy. Manuel Klimek and I discussed this and the general agreed-upon direction is making that page data-driven so that it, say, pulls in an auto-generated blob of JSON which describes the matchers and builds up the "matcher reference" part of the page with a small amount of JS. - There are some rogue .txt files hanging around. Also, I dropped the little dragon logo at the top because Sphinx was warning about an external image reference (not sure why, but meh, I didn't want to fight it). If anything, we would want such a logo integrated into the site's overall theme, rather than hardcoded here. llvm-svn: 170994
* libFormat: Teach the *& usage heuristic that "return" starts a rhs too.Nico Weber2012-12-232-5/+11
| | | | | | | | "return a*b;" was formatted as "return a *b;" and is now formatted as "return a * b;". Fixes PR14687 partially. llvm-svn: 170993
* Move a declaration closer to its use. No functionality change.Nico Weber2012-12-231-2/+2
| | | | llvm-svn: 170992
* 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
* Clean out release notes for clang 3.3Benjamin Kramer2012-12-221-174/+13
| | | | llvm-svn: 170987
* 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
* Fix build issue when building lld against libstdc++ 4.7Andy Gibbs2012-12-223-3/+3
| | | | llvm-svn: 170983
OpenPOWER on IntegriCloud