summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NeXT: Update to use CreateRuntimeFunction for the routines it imports.Daniel Dunbar2008-10-012-80/+82
| | | | llvm-svn: 56902
* Moved this option to the front-end.Bill Wendling2008-10-011-1/+0
| | | | llvm-svn: 56901
* Implement the -fno-builtin option in the front-end, not in the back-end.Bill Wendling2008-10-014-30/+20
| | | | llvm-svn: 56900
* Add simple interface for protecting runtime functions from nameDaniel Dunbar2008-10-012-0/+56
| | | | | | | | | | | | | | | | | collisions. - Provide CodeGenModule::CreateRuntimeFunction which guarantees that the function it creates will have the provided name in the final module. This allows the runtime to have its functions protected from declarations of the same name in the source code. - One could argue that this is a reason to abuse the llvm::Module namespace for dealing with function redeclarations. However, that approach seems conceptually flawed to me. This one also happens to be somewhat more efficient. No functionality change. llvm-svn: 56899
* Use explicit target-triples to unbreak this test on non-darwin systems.Dan Gohman2008-10-011-1/+2
| | | | llvm-svn: 56896
* Add a QualType to ConjuredSymbol to represent the type and size of the symbol.Ted Kremenek2008-10-014-10/+21
| | | | | | Use this updated interface when invalidating arguments passed by reference; the type of symbol is of the object passed by reference, not the reference itself. llvm-svn: 56894
* Mark merged-in VNInfo's as being PHIKilled.Owen Anderson2008-09-301-0/+5
| | | | llvm-svn: 56893
* Support -mmacosx-version-minTed Kremenek2008-09-301-1/+2
| | | | llvm-svn: 56892
* Set reproducibility back to "Always"Ted Kremenek2008-09-301-0/+0
| | | | llvm-svn: 56891
* ccc: Add support for another batch of OS X linker options, includingDaniel Dunbar2008-09-301-6/+13
| | | | | | | | | -mmacosx-version-min. One might anticipate that at some point I will just break down and go through the man page. That seems a little too obvious. llvm-svn: 56890
* Fix a simple error in renumbering kill markaers, that took an inordinant ↵Owen Anderson2008-09-301-1/+1
| | | | | | amount of time to track down. llvm-svn: 56889
* Just don't transform this memset into "bzero" if no-builtin is specified.Bill Wendling2008-09-304-20/+22
| | | | llvm-svn: 56888
* add preserversCFG() + preservers(CallGraph)Nuno Lopes2008-09-301-0/+6
| | | | llvm-svn: 56887
* - Initialize "--no-builtin" to "false".Bill Wendling2008-09-302-1/+2
| | | | | | - Testcase for r56885. llvm-svn: 56886
* Add the new `-no-builtin' flag. This flag is meant to mimic the GCCBill Wendling2008-09-306-30/+39
| | | | | | | | | `-fno-builtin' flag. Currently, it's used to replace "memset" with "_bzero" instead of "__bzero" on Darwin10+. This arguably violates the meaning of this flag, but is currently sufficient. The meaning of this flag should become more specific over time. llvm-svn: 56885
* ccc: Infer action type upfront.Daniel Dunbar2008-09-301-9/+13
| | | | | | | | - More straightforward, e.g. -E should always imply action = 'preprocess' (I think). - Pass another option through for OS X. llvm-svn: 56884
* simplify padding, just fold it into the earlier resize.Chris Lattner2008-09-301-7/+2
| | | | llvm-svn: 56880
* fix a potential buffer overrun that Eli noticedChris Lattner2008-09-301-0/+7
| | | | llvm-svn: 56879
* Fix help for --suppress-system-warningsDaniel Dunbar2008-09-301-1/+1
| | | | llvm-svn: 56878
* Move the primary fast-isel top-level comments to FastISel.cpp, whereDan Gohman2008-09-302-24/+34
| | | | | | they'll be a little more visible. Also, update and reword them a bit. llvm-svn: 56877
* Document assumptions that NumericLiteralParser makes with an assertion.Chris Lattner2008-09-301-1/+10
| | | | llvm-svn: 56876
* Handle minor version numbers in __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__Chris Lattner2008-09-302-18/+25
| | | | | | like "10.3.9" llvm-svn: 56873
* Finish handling of -mmacosx-version-min. If you now do something like:Chris Lattner2008-09-301-26/+73
| | | | | | | | clang -mmacosx-version-min=10.4.9 ... you'll end up with a target triple like "i686-apple-darwin8.9". llvm-svn: 56871
* add AU.setPreservesCFG() since this pass only adds and removes function ↵Nuno Lopes2008-09-301-0/+5
| | | | | | attributes llvm-svn: 56868
* Optimize SelectionDAG's AssignTopologicalOrder even further.Dan Gohman2008-09-306-42/+76
| | | | | | | | | | | | | | | | | | | Completely eliminate the TopOrder std::vector. Instead, sort the AllNodes list in place. This also eliminates the need to call AllNodes.size(), a linear-time operation, before performing the sort. Also, eliminate the Sources temporary std::vector, since it essentially duplicates the sorted result as it is being built. This also changes the direction of the topological sort from bottom-up to top-down. The AllNodes list starts out in roughly top-down order, so this reduces the amount of reordering needed. Top-down is also more convenient for Legalize, and ISel needed only minor adjustments. llvm-svn: 56867
* ignore generated filesNuno Lopes2008-09-300-0/+0
| | | | llvm-svn: 56866
* scan-view: Remove some debugging prints.Daniel Dunbar2008-09-301-2/+0
| | | | llvm-svn: 56864
* Updated checker build.Ted Kremenek2008-09-301-1/+1
| | | | llvm-svn: 56863
* Default reproducibility to "Not applicable"Ted Kremenek2008-09-301-0/+0
| | | | llvm-svn: 56860
* Add diagnostic for .{lo,hi,e,o} on odd-sized extended vectors.Daniel Dunbar2008-09-302-0/+4
| | | | llvm-svn: 56859
* Make "Performance" the default Radar classification for leaks. "Other" for ↵Ted Kremenek2008-09-301-1/+10
| | | | | | all others (for now). llvm-svn: 56858
* Make a separate parameter class for "Radar classifications".Ted Kremenek2008-09-301-5/+13
| | | | | | Do not save the radar classification to the config file. llvm-svn: 56856
* Add "SelectionParameter" class to represent drop-down boxes.Ted Kremenek2008-09-302-13/+27
| | | | | | | Added "Classification" field to Radar filing. Modified FileRadar.scpt to take the classification as an argument. llvm-svn: 56854
* Change ccc to not pass -x unknown down.Daniel Dunbar2008-09-301-6/+20
| | | | | | Pass through some more Mac OS X linker options. llvm-svn: 56853
* Conditionally load/save default parameter value from config file.Ted Kremenek2008-09-301-0/+2
| | | | llvm-svn: 56852
* Use objects to represent form parameters. This allows us to abstract away someTed Kremenek2008-09-302-18/+44
| | | | | | | | of the details of HTML rendering of form parameters, and also us with the ability to delegate other actions (such as in the filling in of default values) to specific parameter objects. llvm-svn: 56851
* Add runStaticConstructorsDestructors which runs ctors / dtors of a single ↵Evan Cheng2008-09-302-33/+45
| | | | | | module. Patch by David Chisnall. llvm-svn: 56849
* Re-apply 56835 along with header file changes.Evan Cheng2008-09-305-10/+112
| | | | llvm-svn: 56848
* Stacker is dead.Duncan Sands2008-09-301-2/+0
| | | | llvm-svn: 56844
* Fix <rdar://problem/6191148> [sema] Objective-C method lookup (at global ↵Steve Naroff2008-09-305-6/+86
| | | | | | | | scope) fails to handle overloaded selectors properly. Long standing bug in Sema::ActOnInstanceMessage(). We now warn when messaging an "id" with multiple method signatures in scope. The diags are a little verbose, however they can be streamlined if necessary. llvm-svn: 56843
* fix test for latest changes in llvm asm representationNuno Lopes2008-09-301-4/+4
| | | | llvm-svn: 56842
* Improved fix for <rdar://problem/6247781> Parser rejecting properly ↵Steve Naroff2008-09-301-6/+11
| | | | | | | | mismatched properties. Needed to make sure the relaxed type checking only applies to "readonly" properties. llvm-svn: 56838
* Revert commit 56835 since it breaks the build.Duncan Sands2008-09-304-105/+8
| | | | | | | | | | "If a re-materializable instruction has a register operand, the spiller will change the register operand's spill weight to HUGE_VAL to avoid it being spilled. However, if the operand is already in the queue ready to be spilled, avoid re-materializing it". llvm-svn: 56837
* Add missing include for use of atoi.Nick Lewycky2008-09-301-0/+1
| | | | llvm-svn: 56836
* If a re-materializable instruction has a register operand, the spiller will ↵Evan Cheng2008-09-304-8/+105
| | | | | | change the register operand's spill weight to HUGE_VAL to avoid it being spilled. However, if the operand is already in the queue ready to be spilled, avoid re-materializing it. llvm-svn: 56835
* Fix misoptimization of: xor i1 (icmp eq (X, C1), icmp s[lg]t (X, C2))Nick Lewycky2008-09-302-2/+13
| | | | llvm-svn: 56834
* Tabs -> Spaces.Ted Kremenek2008-09-301-4/+4
| | | | llvm-svn: 56833
* Revert last patch, but add a fixmeTed Kremenek2008-09-301-1/+3
| | | | llvm-svn: 56832
* Within the transfer function of UnaryOperatorExpr, handle implicit promotionsTed Kremenek2008-09-301-0/+5
| | | | | | from the subexpression type to the expression type. llvm-svn: 56831
* Added support for sse intrinsics loadlpd, loadhpd, muldq128, and mulld128Mon P Wang2008-09-302-0/+9
| | | | llvm-svn: 56830
OpenPOWER on IntegriCloud