summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Document function notes.Devang Patel2008-09-041-1/+37
| | | | llvm-svn: 55808
* For whatever the reason, x86 CallingConv::Fast (i.e. fastcc) was not passing ↵Evan Cheng2008-09-047-16/+53
| | | | | | scalar arguments in registers. This patch defines a new fastcc CC which is slightly different from the FastCall CC. In addition to passing integer arguments in ECX and EDX, it also specify doubles are passed in 8-byte slots which are 8-byte aligned (instead of 4-byte aligned). This avoids a potential performance hazard where doubles span cacheline boundaries. llvm-svn: 55807
* A loop may be unswitched multiple times. Reconstruct dom info. at the end.Devang Patel2008-09-041-5/+8
| | | | llvm-svn: 55806
* Fix unintended use of doxygen comment strings.Daniel Dunbar2008-09-041-6/+6
| | | | llvm-svn: 55805
* Fix infinite loop in for ... in code generation.Daniel Dunbar2008-09-041-1/+1
| | | | | | - Patch via Thomas Clement, thanks! llvm-svn: 55804
* Added test case for the dead stores checker that was originally an FP ↵Ted Kremenek2008-09-041-0/+9
| | | | | | reported in PR 2763. llvm-svn: 55801
* Fix CFG construction bug:Ted Kremenek2008-09-041-9/+15
| | | | | | | - Within for loops, 'continue' should jump to a basic block containing the increment code llvm-svn: 55800
* Adjust tests to expect new math intrinsics to beDale Johannesen2008-09-043-3/+9
| | | | | | emitted only when errno is not in use. llvm-svn: 55797
* If function notes say optimize for size, then adjust alignment.Devang Patel2008-09-042-0/+4
| | | | llvm-svn: 55794
* Add an include of SmallSet.h.Dan Gohman2008-09-041-0/+1
| | | | llvm-svn: 55793
* Initialize loop data first.Devang Patel2008-09-041-2/+1
| | | | llvm-svn: 55792
* Fix FindSpecRefs to be Python 2.4 compatible and get the SVN revisionDaniel Dunbar2008-09-041-42/+23
| | | | | | in a more obvious fashion. llvm-svn: 55791
* 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
OpenPOWER on IntegriCloud