summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prevent invalid warnings about incomplete implementations for methodsDaniel Dunbar2008-09-043-15/+84
| | | | | | which are inherited from base clases or protocols. llvm-svn: 55790
* Neaten this up a bit. No functionality change.Duncan Sands2008-09-041-15/+14
| | | | llvm-svn: 55789
* Do not unswitch if the function notes say we're optimizing this function for ↵Devang Patel2008-09-041-1/+7
| | | | | | size. llvm-svn: 55786
* try to seperate the mechanism into something others can useAndrew Lenharth2008-09-041-20/+70
| | | | llvm-svn: 55785
* Adjust libcalls tests to expect intrinsic for exp2Dale Johannesen2008-09-043-1/+28
| | | | llvm-svn: 55784
* fix running tests with valgrind (there were a lot of bogus failures and ↵Nuno Lopes2008-09-041-6/+7
| | | | | | | | warnings) currently clang passes all tests under valgrind with the leak checker disabled :P (and fails most otherwise) llvm-svn: 55782
* Add intrinsic forms of pow and exp2. The non-intrinsicDale Johannesen2008-09-041-0/+10
| | | | | | forms remain to handle older IR files, but will go away soon. llvm-svn: 55781
* scan-build:Ted Kremenek2008-09-041-3/+11
| | | | | | | - Only set the environment variable 'CXX' if the user specifies --use-c++. - Fix regression when setting LDPLUSPLUS: add a 'which' to determine the location of g++. This regression was pointed out by Jordan Breeding! llvm-svn: 55780
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-04137-169/+170
| | | | llvm-svn: 55779
* Touchup CheckSingleAssignmentConstraints() and CheckCompareOperands() to ↵Steve Naroff2008-09-042-1/+25
| | | | | | | | check for block pointers. Added a couple FIXME's wrt PointLikeType. If the author reads this, it would be great to get some background on this class (thanks in advance). llvm-svn: 55778
* Fix the ordering of operands to the store (inverted relative to LLVM IR), ↵Owen Anderson2008-09-042-3/+5
| | | | | | and fix the testcase. llvm-svn: 55777
* Clean up uses of TargetLowering::getTargetMachine.Dan Gohman2008-09-045-8/+8
| | | | llvm-svn: 55769
* Fix a handful of typos (closure->block) to avoid confusion.Steve Naroff2008-09-043-5/+5
| | | | llvm-svn: 55768
* Add type checking for blocks.Steve Naroff2008-09-045-1/+153
| | | | llvm-svn: 55767
* cleanup as per Duncan's reviewAndrew Lenharth2008-09-041-33/+42
| | | | llvm-svn: 55766
* Generate error if we try to implicit cast between different addressMon P Wang2008-09-042-5/+22
| | | | | | spaces llvm-svn: 55765
* Add a first attempt at implementing stores for X86 fast isel using target hooks.Owen Anderson2008-09-042-1/+89
| | | | | | Dan or Evan, please review. llvm-svn: 55764
* Load from GV stub should be locally CSE'd.Evan Cheng2008-09-043-8/+14
| | | | llvm-svn: 55763
* Fix an overly strict assertion. Source register of a copy may not be killed, ↵Evan Cheng2008-09-041-1/+2
| | | | | | it may be killed by an implicit super-register use. llvm-svn: 55762
* Add some Objective-C code generation tests.Daniel Dunbar2008-09-049-0/+642
| | | | | | | - Note that these don't really test anything other than that code generation doesn't fail or crash. Better than nothing though! llvm-svn: 55761
* NeXT: Emit lazy reference to Protocol class for forward protocolDaniel Dunbar2008-09-041-0/+5
| | | | | | references (to match gcc). llvm-svn: 55760
* Avoid superfluous errors regarding variable-length arrays (casts).Daniel Dunbar2008-09-045-9/+23
| | | | llvm-svn: 55759
* Implement codegen of aggregates as lvalues in binary expressions,Daniel Dunbar2008-09-043-2/+41
| | | | | | e.g. "(a = b).somefield". llvm-svn: 55758
* Updated checker build.Ted Kremenek2008-09-041-1/+1
| | | | llvm-svn: 55757
* Remove code that pad number of bytes to pop for X86_FastCall CC. The code ↵Evan Cheng2008-09-042-16/+1
| | | | | | doesn't do the "aligning" for Cygwin, Mingw, and Windows. But aligning it on Darwin and Linux breaks gcc compatibility. That ruled out all the platforms we support! llvm-svn: 55756
* Add intrinsics for log, log2, log10, exp, exp2.Dale Johannesen2008-09-0414-1/+438
| | | | | | No functional change (and no FE change to generate them). llvm-svn: 55753
* Capture 'uname' and 'gcc -v' output to .info files.Ted Kremenek2008-09-041-0/+2
| | | | llvm-svn: 55752
* Update TestRunner to not report failure for XFAIL testsDaniel Dunbar2008-09-041-1/+16
| | | | llvm-svn: 55751
* Output "ANALYZE:" diagnostics to STDOUT instead of STDERR.Ted Kremenek2008-09-041-2/+2
| | | | llvm-svn: 55750
* ccc-analyzer:Ted Kremenek2008-09-041-12/+28
| | | | | | - Capture the STDERR output of 'clang' to a file for use with crash reporting. llvm-svn: 55749
* Do trivial local CSE for constants and other non-Instruction valuesDan Gohman2008-09-032-12/+16
| | | | | | in FastISel. llvm-svn: 55748
* Put RegsForValue in the llvm namespace to avoid warnings aboutDan Gohman2008-09-031-1/+1
| | | | | | | classes in the llvm namespace having members with types from anonymous namespaces. llvm-svn: 55747
* Create HandlePHINodesInSuccessorBlocksFast, a version ofDan Gohman2008-09-039-249/+294
| | | | | | | | | | | | | HandlePHINodesInSuccessorBlocks that works FastISel-style. This allows PHI nodes to be updated correctly while using FastISel. This also involves some code reorganization; ValueMap and MBBMap are now members of the FastISel class, so they needn't be passed around explicitly anymore. Also, SelectInstructions is changed to SelectInstruction, and only does one instruction at a time. llvm-svn: 55746
* Update inline threshold for current function if the notes say, optimize for ↵Devang Patel2008-09-031-2/+9
| | | | | | size. llvm-svn: 55745
* Fix a bug that prevented PRE from applying in some cases.Owen Anderson2008-09-031-3/+5
| | | | llvm-svn: 55744
* Avoid extra comma.Devang Patel2008-09-031-3/+4
| | | | llvm-svn: 55742
* Parse and print opt_size note.Devang Patel2008-09-032-3/+12
| | | | llvm-svn: 55740
* Set register storage class correctly for function parameters.Daniel Dunbar2008-09-032-3/+8
| | | | | | - PR2730 llvm-svn: 55739
* Following gcc's behavior, only enable trigraphs if '-trigraphs' or '-ansi' isTed Kremenek2008-09-033-13/+28
| | | | | | specified, or -std is set to a conforming mode. llvm-svn: 55738
* Add svn:ignore on SemaObjC/Output.Daniel Dunbar2008-09-030-0/+0
| | | | llvm-svn: 55737
* Add two test cases for builtins (mostly related to object sizeDaniel Dunbar2008-09-032-0/+114
| | | | | | builtins). llvm-svn: 55736
* Add __builtin_object_size support.Daniel Dunbar2008-09-035-5/+45
| | | | | | | - Currently CodeGen always returns a conservative value for this (-1 or 0 depending on the context). llvm-svn: 55735
* Initial version of a Partial Specialization IPO pass. It triggers a couple ↵Andrew Lenharth2008-09-033-0/+134
| | | | | | hundred times on 176.gcc. I don't know the performance impact yet, the heuristic is quite simple still. llvm-svn: 55734
* Do not emit a UsedDirective for things in the llvm.usedDale Johannesen2008-09-032-3/+33
| | | | | | | | | list that have internal linkage; the linker doesn't need or want this. (These objects must still be preserved at compile time, so just removing them from the llvm.used list doesn't work.) Should affect only Darwin. llvm-svn: 55722
* Modify object size checking builtins to lower to libc calls.Daniel Dunbar2008-09-031-7/+7
| | | | llvm-svn: 55721
* Fix typo in a comment.Devang Patel2008-09-031-1/+1
| | | | llvm-svn: 55720
* Add missing decls.Devang Patel2008-09-032-0/+6
| | | | llvm-svn: 55719
* Add parentheses to make code more readable.Devang Patel2008-09-031-1/+1
| | | | llvm-svn: 55717
* Fix comments.Devang Patel2008-09-031-2/+3
| | | | llvm-svn: 55716
* Testcase for commits 55700 and 55714.Duncan Sands2008-09-031-0/+1104
| | | | llvm-svn: 55715
OpenPOWER on IntegriCloud