summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Delay the creation of the built-in Objective-C class 'Protocol' byDouglas Gregor2012-01-178-48/+56
| | | | | | | moving it from a "special type" to a predefined declaration, as we do for id, Class, and SEL. llvm-svn: 148313
* Intel syntax: Robustify memory operand parsing.Devang Patel2012-01-172-51/+121
| | | | llvm-svn: 148312
* [asan] fix ReadFileToBuffer to correctly handle files from /proc/ (asan ↵Kostya Serebryany2012-01-171-3/+12
| | | | | | issue 27) llvm-svn: 148311
* Put do-installhdrs target back into Makefile.Howard Hinnant2012-01-171-0/+11
| | | | llvm-svn: 148310
* Stop installing headers, this is now done by clangHoward Hinnant2012-01-171-20/+1
| | | | llvm-svn: 148309
* Add an LLDB data formatter script for llvm::SmallVector, maybe this is ↵Benjamin Kramer2012-01-171-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | helpful to someone else. This lets lldb give sane output for SmallVectors, e.g. Before: (lldb) p sv (llvm::SmallVector<int, 10>) $0 = { (llvm::SmallVectorImpl<int>) llvm::SmallVectorImpl<int> = { (llvm::SmallVectorTemplateBase<int>) llvm::SmallVectorTemplateBase<int> = { (llvm::SmallVectorTemplateCommon<int>) llvm::SmallVectorTemplateCommon<int> = { (llvm::SmallVectorBase) llvm::SmallVectorBase = { (void *) BeginX = 0x00007fff5fbff960 ... } After: (lldb) p sv (llvm::SmallVector<int, 10>) $0 = { (int) [0] = 42 (int) [1] = 23 ... } The script is still a bit rough so expect crashes for vectors of complex types. Synthetic children are _not_ available in xcode 4.2, newer LLDBs should work though. llvm-svn: 148308
* www: Move automatic polly installation to a more prominent placeTobias Grosser2012-01-171-12/+20
| | | | llvm-svn: 148307
* www: Fix clang path in polly.sh scriptTobias Grosser2012-01-171-1/+1
| | | | llvm-svn: 148306
* Revert commit 148304Alexey Samsonov2012-01-174-12/+32
| | | | llvm-svn: 148305
* AddressSanitizer: from this patch, ASan allocator returns false for ↵Alexey Samsonov2012-01-174-32/+12
| | | | | | __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) llvm-svn: 148304
* Define the bounds of the branch allocator memory space for 32-bit apps.Alexander Potapenko2012-01-171-5/+14
| | | | llvm-svn: 148303
* Removes template magic to build up containers.Manuel Klimek2012-01-172-131/+212
| | | | | | Instead, we now put the attributes of the container into members. llvm-svn: 148302
* Fix warning.Nadav Rotem2012-01-171-1/+1
| | | | llvm-svn: 148301
* Treat -Wformat=0 as an alias for -Wformat.Hans Wennborg2012-01-172-0/+7
| | | | | | Fixes PR9195. llvm-svn: 148300
* Additional ExecutionEngine tests, as part of bringing up the MCJIT on ELFEli Bendersky2012-01-177-0/+244
| | | | | | | | | implementation. Currently lit still executes ExecutionEngine tests with JIT (not MCJIT) by default. MCJIT tests can be executed manually by calling llvm-lit with --param jit_impl=mcjit llvm-svn: 148299
* Fix 11769.Nadav Rotem2012-01-172-1/+19
| | | | | | | | In CanXFormVExtractWithShuffleIntoLoad we assumed that EXTRACT_VECTOR_ELT can be later handled by the DAGCombiner. However, in some cases on AVX, the EXTRACT_VECTOR_ELT is legalized to EXTRACT_SUBVECTOR + EXTRACT_VECTOR_ELT, which currently is not handled by the DAGCombiner. In this patch I added a check that we only extract from the XMM part. llvm-svn: 148298
* Teach DAG combiner to turn a BUILD_VECTOR of UNDEFs into an UNDEF of vector ↵Craig Topper2012-01-171-4/+8
| | | | | | type. llvm-svn: 148297
* Re-add an over-zealously removed break.David Blaikie2012-01-171-0/+1
| | | | llvm-svn: 148296
* Remove unnecessary AVX check from an assert. hasSSE2 is enough.Craig Topper2012-01-171-2/+1
| | | | llvm-svn: 148295
* Remove dead comments as per Chandler's feedback to r148292David Blaikie2012-01-171-2/+0
| | | | llvm-svn: 148294
* Provide better messages in llvm_unreachable.David Blaikie2012-01-172-2/+2
| | | | llvm-svn: 148293
* Remove unreachable code in Clang. (replace with llvm_unreachable where ↵David Blaikie2012-01-1743-185/+77
| | | | | | appropriate or when GCC requires it) llvm-svn: 148292
* misched: Inital interface and implementation for ScheduleTopDownLive and ↵Andrew Trick2012-01-171-17/+130
| | | | | | ShuffleInstructions. llvm-svn: 148291
* Renamed MachineScheduler to ScheduleTopDownLive.Andrew Trick2012-01-176-53/+65
| | | | | | Responding to code review. llvm-svn: 148290
* Moving options declarations around.Andrew Trick2012-01-174-14/+7
| | | | | | More short term hackery until we have a way to configure passes that work on LiveIntervals. llvm-svn: 148289
* LSR fix: broaden the check for loop preheaders.Andrew Trick2012-01-172-5/+126
| | | | | | | It's becoming clear that LoopSimplify needs to unconditionally create loop preheaders. But that is a bigger fix. For now, continuing to hack LSR. Fixes rdar://10701050 "Cannot split an edge from an IndirectBrInst" assert. llvm-svn: 148288
* AddressSanitizer: add support for malloc_usable_size() functionAlexey Samsonov2012-01-177-23/+81
| | | | llvm-svn: 148287
* AddressSanitizer: create AsanThreadSummary together with AsanThread (in ↵Alexey Samsonov2012-01-177-34/+40
| | | | | | parent thread) llvm-svn: 148286
* Fix a crasher when PerformShiftCombine receives a BUILD_VECTOR of all UNDEF. ↵Craig Topper2012-01-171-0/+5
| | | | | | Probably could use better handling in DAG combine or getNode. Fixes PR11772. llvm-svn: 148285
* Remove unreachable code. (replace with llvm_unreachable to help GCC where ↵David Blaikie2012-01-1711-15/+11
| | | | | | necessary) llvm-svn: 148284
* Add 148175 back. I am unable to reproduce any non determinism in a dragoneggRafael Espindola2012-01-171-2/+4
| | | | | | | | | | | or clang bootstrap. I will keep an eye on the bots. Original message: Only emit the Leh_func_endN symbol when needed. llvm-svn: 148283
* Makefile: add missing files to FilesToConfigDylan Noblesmith2012-01-172-3/+10
| | | | | | | And fix the comment about where the FilesToConfig variable is. llvm-svn: 148282
* Remove unnecessary default cases in switches over enums.David Blaikie2012-01-1737-66/+14
| | | | | | This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
* Fix the test properly now that SBValue::GetValueAsUnsigned works for bitfields.Jim Ingham2012-01-171-4/+0
| | | | llvm-svn: 148280
* [libclang] Make clang_getCursorCompletionString not depend on the ASTUnit havingArgyrios Kyrtzidis2012-01-171-18/+16
| | | | | | | | a Sema. This allows it to work when Sema is not available, like when loading AST files. llvm-svn: 148279
* Introduce a CodeCompletionResult::CreateCodeCompletionString() thatArgyrios Kyrtzidis2012-01-174-23/+44
| | | | | | | | does not depend on Sema, it accepts an ASTContext and a Preprocessor. Step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148278
* Introduce a static Sema::MarkDeducedTemplateParameters() that only dependsArgyrios Kyrtzidis2012-01-172-52/+59
| | | | | | | | on an ASTContext. This is a step towards making clang_getCursorCompletionString not depend on Sema. llvm-svn: 148277
* Revert r148271; this requires more thought.Eli Friedman2012-01-173-34/+12
| | | | llvm-svn: 148276
* Changed flag operand of ISD::FP_ROUND to TargetConstant as it should not get ↵Pete Cooper2012-01-171-2/+3
| | | | | | checked for legalisation llvm-svn: 148275
* add some missing const qualifiers.Chris Lattner2012-01-171-2/+2
| | | | llvm-svn: 148274
* Add usage example of specifying the full path to the compiler used while ↵Johnny Chen2012-01-171-0/+1
| | | | | | building the debuggees for running the test suite. llvm-svn: 148273
* Add portable bit mask operations to BitVector.Jakob Stoklund Olesen2012-01-172-0/+109
| | | | | | | | | | | | BitVector uses the native word size for its internal representation. That doesn't work well for literal bit masks in source code. This patch adds BitVector operations to efficiently apply literal bit masks specified as arrays of uint32_t. Since each array entry always holds exactly 32 bits, these portable bit masks can be source code literals, probably produced by TableGen. llvm-svn: 148272
* Change the behavior of the lvalue-to-rvalue conversion for varargs in ↵Eli Friedman2012-01-173-12/+34
| | | | | | | | PotentiallyPotentiallyEvaluated contexts so that we model it in a sane way in most cases, and give up for the edge case which hopefully doesn't matter too much. In preparation for correctly treating sizeof() as a PotentiallyPotentiallyEvaluated context. llvm-svn: 148271
* Improve diagnostics for dangling '}'.Nico Weber2012-01-174-3/+4
| | | | | | Fixes PR6484. Patch from Jason Switzer! llvm-svn: 148270
* Add usage example from test/functionalities/archives/Makefile.Johnny Chen2012-01-171-1/+6
| | | | llvm-svn: 148269
* Fix typo in comment.Lang Hames2012-01-171-1/+1
| | | | llvm-svn: 148268
* Use Builtin ID as the return valueAnna Zaks2012-01-175-62/+67
| | | | | | | | | | for FunctionDecl::getMemoryFunctionKind(). This is a follow up on the Chris's review for r148142: We don't want to pollute FunctionDecl with an extra enum. (To make this work, added memcmp and family to the library builtins.) llvm-svn: 148267
* [analyzer] Taint: generalize taint propagation to simplify adding moreAnna Zaks2012-01-171-4/+128
| | | | | | taint propagation functions. llvm-svn: 148266
* Tidy up.Jim Grosbach2012-01-164-5/+5
| | | | llvm-svn: 148265
* ExecutionEngine interface to re-map addresses for engines that support it.Jim Grosbach2012-01-166-4/+50
| | | | llvm-svn: 148264
OpenPOWER on IntegriCloud