summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a variant of AnalyzeCallOperands that can be used by fast isel.Evan Cheng2008-09-052-0/+23
| | | | llvm-svn: 55838
* Use removeAllCalledFunctions rather than removingDuncan Sands2008-09-051-5/+3
| | | | | | edges one by one by hand. llvm-svn: 55836
* Remove trailing whitespace.Duncan Sands2008-09-051-36/+36
| | | | llvm-svn: 55835
* Strip trailing whitespace.Duncan Sands2008-09-051-14/+14
| | | | llvm-svn: 55834
* Support "typeof unary-expression" (GNU C++ extension).Argyrios Kyrtzidis2008-09-052-4/+29
| | | | llvm-svn: 55833
* Set different header search paths for the Windows platform.Argyrios Kyrtzidis2008-09-051-9/+17
| | | | llvm-svn: 55832
* Make this pass return that it made a change ifDuncan Sands2008-09-051-1/+5
| | | | | | it modifies a functions attributes. llvm-svn: 55831
* Add header search paths for Mingw32 (GCC version 4).Argyrios Kyrtzidis2008-09-051-0/+9
| | | | llvm-svn: 55830
* Line endings: CRLF -> LFArgyrios Kyrtzidis2008-09-052-15/+15
| | | | llvm-svn: 55829
* "Fix" PR2762. The testcase now crashes codegenDuncan Sands2008-09-051-1/+19
| | | | | | | elsewhere due to a missing pattern for v2f64 = sint_to_fp v2i32. That is PR2687. llvm-svn: 55828
* Fix placement of const on a number of X86 builtins.Daniel Dunbar2008-09-051-5/+5
| | | | llvm-svn: 55827
* Test case for previous commit (Workaround gcc bug causing crash on ourDaniel Dunbar2008-09-051-0/+3
| | | | | | preprocessed outputs) llvm-svn: 55826
* Workaround gcc bug causing crash on our preprocessed outputs.Daniel Dunbar2008-09-051-44/+45
| | | | | | | | | | | | - gcc is not happy if we start a preprocessed file with #line 1 "XXX" 1 - Workaround by making sure file starts with a simple #line change. Also, factored WriteLineInfo out. Also, fixed bug where FileType was not being correctly updated. llvm-svn: 55825
* Fix a search+replace-o.Dan Gohman2008-09-051-1/+1
| | | | llvm-svn: 55824
* Add -flimit-float-precision to enable some faster,Dale Johannesen2008-09-052-3/+57
| | | | | | | | | but less accurate (non-IEEE) code sequences for certain math library functions. Add the first of several such expansions. Don't worry, if you don't turn it on it won't affect you. llvm-svn: 55823
* Remove stale comments.Ted Kremenek2008-09-051-8/+0
| | | | llvm-svn: 55822
* Remove "NextDecl" from RecordDecl. This change touches many files that ↵Ted Kremenek2008-09-0510-83/+28
| | | | | | | | where RecordDecl or CXXRecordDecl was constructed, always with an argument of 'NULL' for the previous declaration. The motivation behind this change is that chaining the RecordDecls is simply unnecessary. Once we create multiple RecordDecls for the same struct/union/class, clients that care about all the declarations of the same struct can build a back map by seeing which Decls refer to the same RecordType. llvm-svn: 55821
* Check a comparion's operand type for legality beforeDan Gohman2008-09-051-4/+4
| | | | | | expanding its operands. llvm-svn: 55820
* Fix X86FastISel code for comparisons and conditional branchesDan Gohman2008-09-051-1/+9
| | | | | | | to check the result of getRegForValue before using it, and to check for illegal operand types. llvm-svn: 55819
* FastISel support for unreachable.Dan Gohman2008-09-051-0/+4
| | | | llvm-svn: 55818
* In FastISel mode, the scheduler may be invoked multiple timesDan Gohman2008-09-051-1/+3
| | | | | | | in the same block. Fix the entry-block handling to only run at at the beginning of the entry block, and not any other times. llvm-svn: 55817
* X86FastISel support for conditional branches.Dan Gohman2008-09-051-1/+39
| | | | llvm-svn: 55816
* Set sext/zext on function result.Daniel Dunbar2008-09-052-5/+34
| | | | | | - <rdar://problem/6156739> llvm-svn: 55815
* Add initial support for selecting constant materializations that require ↵Owen Anderson2008-09-053-2/+96
| | | | | | | | constant pool loads on X86 in fast isel. This isn't actually used yet. llvm-svn: 55814
* Patch to scan-build by Jordan Breeding:Ted Kremenek2008-09-041-6/+5
| | | | | | | - Don't remove $BaseDir; may be unsafe - Always create HTML directory with parents llvm-svn: 55813
* Set function attributes (sext, zext, etc.) on Objective-C methods.Daniel Dunbar2008-09-043-31/+73
| | | | llvm-svn: 55812
* X86FastISel support for ICmpInst and FCmpInst.Dan Gohman2008-09-041-0/+139
| | | | llvm-svn: 55811
* Updated checker build.Ted Kremenek2008-09-041-1/+1
| | | | llvm-svn: 55810
* update.Devang Patel2008-09-041-1/+3
| | | | llvm-svn: 55809
* 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
OpenPOWER on IntegriCloud