summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a field to the compile unit of where we plan on splitting outEric Christopher2013-02-223-4/+10
| | | | | | | the debug info for -gsplit-dwarf so we can encode that location in the skeleton cu. llvm-svn: 175933
* Add a TODO and explain when we can get rid of the isMain field.Eric Christopher2013-02-222-2/+2
| | | | llvm-svn: 175932
* Formatting.Eric Christopher2013-02-221-1/+1
| | | | llvm-svn: 175931
* [docs] Rename Makefile.Daniel Dunbar2013-02-221-0/+0
| | | | llvm-svn: 175930
* SelectionDAG compile time improvement.Nadav Rotem2013-02-221-0/+19
| | | | | | | | One of the phases of SelectionDAG is LegalizeVectors. We don't need to sort the DAG and copy nodes around if there are no vector ops. Speeds up the compilation time of SelectionDAG on a big scalar workload by ~8%. llvm-svn: 175929
* <rdar://problem/13277100>Han Ming Ong2013-02-221-0/+12
| | | | | | Need host_statistics on profile data to get host's user/system/idle clicks llvm-svn: 175928
* Correct the logic in DumpCommandHistory when the end index is UINT32_MAX.Jim Ingham2013-02-221-1/+1
| | | | | | <rdar://problem/13270229> llvm-svn: 175927
* Call el_resize when the window size changes.Jim Ingham2013-02-224-1/+22
| | | | | | <rdar://problem/13270100> llvm-svn: 175926
* [libclang] Fix assertion hit when code-completing inside a function macro ↵Argyrios Kyrtzidis2013-02-222-4/+12
| | | | | | | | with more arguments than it should accept. llvm-svn: 175925
* <rdar://problem/13190981>Greg Clayton2013-02-221-4/+5
| | | | | | Fixed an issue where if we got a 'A' async packet back from debugserver, we would resend the last continue command. We now correctly identify the packet as async (just like the 'O' stdout async packet) and we don't resend the continue command. llvm-svn: 175924
* objective-C arg: provide fixit support whenFariborz Jahanian2013-02-228-42/+106
| | | | | | | c++'s named cast need be replaced for bridge casting. // rdar://12788838 llvm-svn: 175923
* The thread plans run before the event is broadcast, so they should be ↵Jim Ingham2013-02-222-2/+13
| | | | | | | | calling ShouldStopSynchronous on any Stop Info's they want to check. The full ShouldStop should only be called on the public side of the event system. llvm-svn: 175922
* Update tests so that we don't test for function-only attributes on call sites.Bill Wendling2013-02-225-16/+19
| | | | llvm-svn: 175921
* [mips] Emit call16 operator instead of got_disp. The former allows lazy binding.Akira Hatanaka2013-02-223-17/+30
| | | | llvm-svn: 175920
* Driver: Pass down the -march setting down to -cc1as on x86 too.Benjamin Kramer2013-02-223-0/+23
| | | | | | | The assembler historically didn't make use of any target features, but this has changed when support for old CPUs that don't support long nops was added. llvm-svn: 175919
* Make sure we apply attributes to correct places.Bill Wendling2013-02-221-13/+17
| | | | | | | Some attributes make sense only on the function or on the call site, but not both. Make this distinction here. llvm-svn: 175918
* Mark last known Linux failure as XFAIL to see if there's any other problems ↵Daniel Malea2013-02-221-0/+1
| | | | | | with buildbots. llvm-svn: 175917
* Split out the command handling for split debug info, we're goingEric Christopher2013-02-224-32/+46
| | | | | | | | | to want to propagate some information through the module into the back end and so need to pass it through to codegen. Also make the methods file static so we can use them in other places. llvm-svn: 175916
* If we crash while making a Python summary, the crash info will tell us more ↵Enrico Granata2013-02-221-0/+9
| | | | | | about it llvm-svn: 175915
* Fix test by matching movaps instead of AVX-only vmovapsPeter Collingbourne2013-02-221-2/+2
| | | | llvm-svn: 175914
* [analyzer] Don't canonicalize the RecordDecl used in CXXBaseObjectRegion.Jordan Rose2013-02-222-2/+32
| | | | | | | | | | | This Decl shouldn't be the canonical Decl; it should be the Decl used by the CXXBaseSpecifier in the subclass. Unfortunately, that means continuing to throw getCanonicalDecl() on all comparisons. This fixes MemRegion::getAsOffset's use of ASTRecordLayout when redeclarations are involved. llvm-svn: 175913
* Add support for coldcc to clangPeter Collingbourne2013-02-2215-12/+59
| | | | llvm-svn: 175912
* x86_64: designate most general purpose and SSE registers as callee save ↵Peter Collingbourne2013-02-223-21/+52
| | | | | | under coldcc llvm-svn: 175911
* Revert "Test commit"Peter Collingbourne2013-02-221-1/+0
| | | | llvm-svn: 175910
* Test commitPeter Collingbourne2013-02-221-0/+1
| | | | llvm-svn: 175909
* An Optional<T> is pod-like if the inner type is.Benjamin Kramer2013-02-221-0/+6
| | | | llvm-svn: 175908
* [preprocessing record] Have the MacroDefinitions map point to the ↵Argyrios Kyrtzidis2013-02-224-13/+21
| | | | | | | | | | MacroDefinition object instead its index in the preprocessed entities vector. This is because the order of the entities in the vector can change in some (uncommon) cases. llvm-svn: 175907
* Replace some typically large vectors with SmallVector.Benjamin Kramer2013-02-223-7/+7
| | | | | | | | This may seem counter-intuitive but the POD-like optimization helps when the vectors grow into multimegabyte buffers. SmallVector calls realloc which knows how to twiddle virtual memory bits and avoids large copies. llvm-svn: 175906
* Remove unused CHECK lines copied from another testPete Cooper2013-02-221-8/+0
| | | | llvm-svn: 175905
* sort quickdata for the hexagon targetShankar Easwaran2013-02-2210-24/+185
| | | | llvm-svn: 175904
* Make sure pragmas don't attach visibility attributes to auto variables withRafael Espindola2013-02-222-6/+19
| | | | | | internal linkage. llvm-svn: 175903
* Suppress -Wswitch to unbreak the build.David Blaikie2013-02-221-0/+1
| | | | | | | This may need to be fixed more intelligently - I don't have enough context to be sure what the appropriate fix is right now. llvm-svn: 175902
* add changes for typeDataFastShankar Easwaran2013-02-2213-44/+174
| | | | llvm-svn: 175901
* [Sema] Semantic analysis for empty-declaration and attribute-declaration.Michael Han2013-02-2219-32/+81
| | | | | | | | Introduce a new AST Decl node "EmptyDecl" to model empty-declaration. Have attributes from attribute-declaration appertain to the EmptyDecl node by creating the AST representations of these attributes and attach them to the EmptyDecl node so these attributes can be sema checked just as attributes attached to "normal" declarations. llvm-svn: 175900
* More tests to global struct vectorizerRenato Golin2013-02-221-0/+146
| | | | llvm-svn: 175898
* Use raw_ostream::indent, update comment.Benjamin Kramer2013-02-221-4/+3
| | | | llvm-svn: 175897
* Push the raw_ostream through the template diffing code.Benjamin Kramer2013-02-221-17/+11
| | | | llvm-svn: 175896
* Streamify FormatASTNodeDiagnosticArgument.Benjamin Kramer2013-02-221-35/+33
| | | | llvm-svn: 175895
* Streamify getNameForDiagnostic and remove the string versions of ↵Benjamin Kramer2013-02-2215-241/+77
| | | | | | PrintTemplateArgumentList. llvm-svn: 175894
* [Sanitizer] Add a test for the fast unwinderReid Kleckner2013-02-222-0/+79
| | | | | | | | | | | | | | Summary: The test sets up fake x86-style fp+retaddr frames, since that's all the unwinder works with. Reviewers: kcc CC: eugenis Differential Revision: http://llvm-reviews.chandlerc.com/D445 llvm-svn: 175893
* Comment parsing: add CommentOptions to allow specifying custom comment block ↵Dmitri Gribenko2013-02-2215-9/+240
| | | | | | | | | | | | | | | | commands Add an ability to specify custom documentation block comment commands via a new class CommentOptions. The intention is that this class will hold future customizations for comment parsing, including defining documentation comments with specific numbers of parameters, etc. CommentOptions instance is a member of LangOptions. CommentOptions is controlled by a new command-line parameter -fcomment-block-commands=Foo,Bar,Baz. llvm-svn: 175892
* StmtPrinter: Directly print types to the stream instead of taking a detour ↵Benjamin Kramer2013-02-222-56/+69
| | | | | | through getAsString. llvm-svn: 175891
* Fix MergeFunctionDecl implicit CC for static methods.Timur Iskhodzhanov2013-02-222-2/+89
| | | | | | Patch by Alexander Zinenko! llvm-svn: 175890
* scan-build: Remove debug print.Benjamin Kramer2013-02-221-1/+0
| | | | | | PR15329. llvm-svn: 175889
* Made it more explicit that the self-referential llvm.loop identifier metadata Pekka Jaaskelainen2013-02-221-1/+7
| | | | | | should be unique for each loop. llvm-svn: 175888
* R600/SI: Add pattern for sign extension of i1 to i32.Michel Danzer2013-02-221-0/+5
| | | | | | | | | 16 more little piglits with radeonsi. NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 175887
* R600/SI: Add pattern for logical or of i1 values.Michel Danzer2013-02-221-0/+4
| | | | | | | | | 24 more little piglits with radeonsi. NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 175886
* R600/SI: Add pattern for fceil.Michel Danzer2013-02-221-1/+3
| | | | | | | | | 9 more little piglits with radeonsi. NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 175885
* Make ARMAsmPrinter generate the correct alignment specifier syntax in ↵Kristof Beyls2013-02-2228-409/+408
| | | | | | | | | instructions. The Printer will now print instructions with the correct alignment specifier syntax, like vld1.8 {d16}, [r0:64] llvm-svn: 175884
* [msan] MSanDR: initial commit.Evgeniy Stepanov2013-02-224-0/+730
| | | | | | | MSanDR is a DynamoRio-based tool that handles uninstrumented libraries and dynamically generated code for MSan. llvm-svn: 175883
OpenPOWER on IntegriCloud