summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Debug info is disabled on PPC Darwin.Bill Wendling2009-11-303-1/+10
| | | | llvm-svn: 90160
* Test for my last patch.Fariborz Jahanian2009-11-301-0/+19
| | | | llvm-svn: 90159
* More support for virtual destructor calls.Fariborz Jahanian2009-11-301-15/+26
| | | | | | Fixes pr5619 llvm-svn: 90158
* When we're trying to define an implicit virtual destructor, make sure that ↵Anders Carlsson2009-11-304-10/+38
| | | | | | we have a valid delete operator. llvm-svn: 90156
* Reindent buffer, switches in particular were totally out of style.Daniel Dunbar2009-11-301-161/+159
| | | | llvm-svn: 90155
* Strip trailing space.Daniel Dunbar2009-11-301-144/+144
| | | | llvm-svn: 90154
* Add const to accessors that don't modify the object.Mike Stump2009-11-302-3/+3
| | | | llvm-svn: 90153
* Reflow comments and fix 80-col violation.Mike Stump2009-11-301-29/+27
| | | | llvm-svn: 90152
* Add missing assignment operator to test, and add tests for while loops and forDaniel Dunbar2009-11-301-0/+66
| | | | | | loops (including temporaries inside the initializers). llvm-svn: 90151
* Fix an assert.Anders Carlsson2009-11-301-2/+2
| | | | llvm-svn: 90149
* Reprioritize tests for tail duplication to be aggressive about indirectBob Wilson2009-11-301-3/+3
| | | | | | | | branches even when optimizing for code size. Unless we find evidence to the contrary in the future, the special treatment for indirect branches does not have a significant effect on code size, and performance still matters with -Os. llvm-svn: 90147
* Fix a crash when ivar type is a __strong SEL. Fallout fromFariborz Jahanian2009-11-303-13/+9
| | | | | | recent change to make SEL a builtin type (fixes radar 7425510). llvm-svn: 90145
* Remove isProfitableToDuplicateIndirectBranch target hook. It is profitableBob Wilson2009-11-308-25/+1
| | | | | | | | | for all the processors where I have tried it, and even when it might not help performance, the cost is quite low. The opportunities for duplicating indirect branches are limited by other factors so code size does not change much due to tail duplicating indirect branches aggressively. llvm-svn: 90144
* Add more sophisticated test for destruction order of C++ temporaries, pleaseDaniel Dunbar2009-11-301-0/+133
| | | | | | feel free to extend! llvm-svn: 90143
* Fix some more ARM unified syntax warnings.Bob Wilson2009-11-301-4/+4
| | | | llvm-svn: 90141
* Use StringRef in Attr constructors.Benjamin Kramer2009-11-303-22/+14
| | | | llvm-svn: 90140
* Eliminate another VISIBILITY_HIDDENDouglas Gregor2009-11-301-4/+1
| | | | llvm-svn: 90139
* Fix odd declaration.Benjamin Kramer2009-11-301-1/+1
| | | | llvm-svn: 90138
* Adapt to the DOTGraphTraits changes in LLVM.Tobias Grosser2009-11-304-6/+14
| | | | llvm-svn: 90137
* Fix last DOTGraphTraits problems in CompilationGraph.Tobias Grosser2009-11-302-1/+2
| | | | llvm-svn: 90136
* Remove forgotten ShortNames in Trie and CompilationGraphTobias Grosser2009-11-302-4/+2
| | | | llvm-svn: 90135
* Remove ShortNames from getNodeLabel in DOTGraphTraitsTobias Grosser2009-11-308-56/+59
| | | | llvm-svn: 90134
* Instantiate DefaultDOTGraphTraitsTobias Grosser2009-11-308-26/+67
| | | | llvm-svn: 90133
* Do not point edge heads to source labelsTobias Grosser2009-11-301-6/+2
| | | | | | | | If no destination label is available, just point to the node itself instead of pointing to some source label. Source and destination labels are not related in any way. llvm-svn: 90132
* Only print edgeSourceLabels if they are not emptyTobias Grosser2009-11-301-13/+39
| | | | | | | | | | Graphviz can layout the graphs better if a node does not contain source ports. Therefore only print the ports if the source ports are useful, that means are not labeled with the empty string "". This patch also simplifies graphs without any edgeSourceLabels e.g. the dominance trees. llvm-svn: 90131
* Small PostDominatorTree improvementsTobias Grosser2009-11-302-4/+13
| | | | | | | * Do not SEGFAULT if tree entryNode() is NULL * Print function names in dotty printer llvm-svn: 90130
* Remove ":" after BB name in -view-cfg-onlyTobias Grosser2009-11-301-1/+1
| | | | llvm-svn: 90129
* clang-cc: Add code (currently disabled) for parsing arguments using clang ↵Daniel Dunbar2009-11-301-0/+29
| | | | | | | | -cc1 functionality instead of LLVM's CommandLine. - It works and passes test suite, but I want to polish and test a wee bit more before making the switch. llvm-svn: 90128
* Add CodeGenOptions::{SoftFloat,FloatABI}, and update the all the (far too ↵Daniel Dunbar2009-11-307-6/+38
| | | | | | many) places to use this instead of using the backend -soft-float and -float-abi= options. llvm-svn: 90127
* clang -cc1: Fix initialization of PreprocessorOptions::TokenCache.Daniel Dunbar2009-11-301-1/+4
| | | | llvm-svn: 90126
* Add TextDiagnosticBuffer::FlushDiagnostics, for forwarding the buffered ↵Daniel Dunbar2009-11-302-0/+14
| | | | | | diagnostics to a different diagnostics engine. llvm-svn: 90125
* clang -cc1: Fix -include-pch now that the test code is in clang-cc.Daniel Dunbar2009-11-301-5/+3
| | | | llvm-svn: 90124
* clang -cc1: Initialize LangOptions::{Optimize,NoInline}Daniel Dunbar2009-11-301-2/+12
| | | | llvm-svn: 90123
* Use '-FOO' 'BAR' instead of '-FOO=BAR' in tests.Daniel Dunbar2009-11-303-4/+4
| | | | llvm-svn: 90122
* Always pass -fmessage-length using separate arguments.Daniel Dunbar2009-11-301-2/+2
| | | | llvm-svn: 90121
* clang -cc1: Initialize LangOptions::DollarIdents correctly.Daniel Dunbar2009-11-301-1/+1
| | | | llvm-svn: 90120
* Don't try to generate common globals for C++ files, instead of depending on ↵Daniel Dunbar2009-11-303-10/+1
| | | | | | the FE to set NoCommon, and simplify CodeGenOptions initialization. llvm-svn: 90119
* Eliminate CodeGenOptions::TimePasses.Daniel Dunbar2009-11-307-22/+20
| | | | llvm-svn: 90118
* Eliminate CodeGenOptions::SimplifyLibCalls.Daniel Dunbar2009-11-304-13/+7
| | | | llvm-svn: 90117
* First pass at llvm.objectsize documentation.Eric Christopher2009-11-301-0/+37
| | | | llvm-svn: 90116
* Simplify.Daniel Dunbar2009-11-301-7/+5
| | | | llvm-svn: 90115
* Put CompilerInvocation testing code in clang-cc instead of clang for now, I ↵Daniel Dunbar2009-11-307-78/+92
| | | | | | | | can't bear to link all of clang into 'clang' yet. :) - Still triggered by a magic leading -cc1 argument, as before. llvm-svn: 90114
* Revert r90107, fixing test/Transforms/GVN/2009-11-29-ReverseMap.ll and theNick Lewycky2009-11-301-15/+2
| | | | | | llvm-gcc build. llvm-svn: 90113
* Add a testcase for the current llvm-gcc build failure.Nick Lewycky2009-11-301-0/+33
| | | | llvm-svn: 90112
* Remove the 'simple jit' tutorial as it wasn't really being maintained and itsNick Lewycky2009-11-304-417/+0
| | | | | | material is covered by the Kaleidoscope tutorial. llvm-svn: 90111
* Fix PR5633 by making the preprocessor handle the case where we canChris Lattner2009-11-3013-26/+49
| | | | | | | | | | stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h' instead of "cannot find file". llvm-svn: 90110
* Add test case for r90108Mon P Wang2009-11-301-0/+154
| | | | llvm-svn: 90109
* Added support to allow clients to custom widen. For X86, custom widen ↵Mon P Wang2009-11-307-56/+121
| | | | | | | | | vectors for divide/remainder since these operations can trap by unroll them and adding undefs for the resulting vector. llvm-svn: 90108
* reapply r90093 with an addition of keeping the forwardChris Lattner2009-11-301-2/+15
| | | | | | | and reverse nonlocal memdep maps in synch, this should fix 255.vortex. llvm-svn: 90107
* Fix this test on 64-bit systems which seem to use i64 for gep indices sometimesNick Lewycky2009-11-301-3/+3
| | | | | | while 32-bit gcc uses i32. llvm-svn: 90106
OpenPOWER on IntegriCloud