summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simple branch instruction support.Eric Christopher2010-09-031-0/+23
| | | | llvm-svn: 112923
* Revert "Another i1 vs. i8 type mismatch issue. This time", it breaks some ↵Daniel Dunbar2010-09-032-11/+1
| | | | | | projects. llvm-svn: 112922
* Don't call Predicate_* from X86 target.Jakob Stoklund Olesen2010-09-033-16/+21
| | | | llvm-svn: 112921
* Remove Predicate_* calls from MBlaze and XCoreJakob Stoklund Olesen2010-09-033-18/+17
| | | | llvm-svn: 112920
* Remove Predicate_* calls from MipsJakob Stoklund Olesen2010-09-031-2/+3
| | | | llvm-svn: 112919
* Get rid of the "functions declared 'noreturn' should have a 'void' result ↵Anders Carlsson2010-09-0311-19/+18
| | | | | | | | | type" warning. The rationale behind this is that it is normal for callback functions to have a non-void return type and it should still be possible to mark them noreturn. (JavaScriptCore is a good example of this). llvm-svn: 112918
* tests: Fix a dependency on the temporary value names.Daniel Dunbar2010-09-031-1/+1
| | | | llvm-svn: 112917
* It's not safe to use the generic CXXMethodDecl overload of CGT::getFunctionInfoJohn McCall2010-09-033-17/+44
| | | | | | | to set up a destructor call, because ABIs can tweak these conventions. Fixes rdar://problem/8386802. llvm-svn: 112916
* Add support for Borland extensions via option -fborland-extensionsDawn Perchik2010-09-027-1/+24
| | | | | | (original patch r112791 was reverted due to a bug). llvm-svn: 112915
* IRgen/Obj-C: Rewrite Objective-C bit-field access to compute the access strategyDaniel Dunbar2010-09-022-21/+67
| | | | | | | | using the same methods as used for normal structures. - This fixes problems with reading past the end of the structure and with handling straddled bit-field access. llvm-svn: 112914
* IRgen: Move CGBitFieldInfo strategy computation helpers to static memberDaniel Dunbar2010-09-022-11/+38
| | | | | | functions. llvm-svn: 112913
* Add basic support for materializing constants (including fp) andEric Christopher2010-09-021-3/+40
| | | | | | stores. llvm-svn: 112912
* update one more testChris Lattner2010-09-021-2/+2
| | | | llvm-svn: 112910
* Reapply 112850 and 112839 with a constructor for the BinaryOperatorData ↵Tom Care2010-09-023-17/+100
| | | | | | struct. Clang would zero out the enum and pointer in the struct in some conditions, but GCC would never zero out the values. llvm-svn: 112909
* Fix a few more ConvertTypes that should be ConvertTypeForMems, fixingDouglas Gregor2010-09-022-2/+7
| | | | | | two regressions in Boost.Config. llvm-svn: 112908
* this is a release note worthy change.Chris Lattner2010-09-021-0/+2
| | | | llvm-svn: 112907
* add a new "llvm-dis -show-annotations" option, which causes it to printChris Lattner2010-09-022-1/+51
| | | | | | #uses comments, with a testcase. llvm-svn: 112906
* Implement __has_virtual_destructor. Patch by Steven Watanabe.Sebastian Redl2010-09-024-2/+43
| | | | llvm-svn: 112905
* lets get crazy and name the header file the exact class name,Chris Lattner2010-09-023-5/+5
| | | | | | not a scrunched version of it. llvm-svn: 112904
* AsmPrinter has a formatted stream, pass it down through AsmAnnotationWriterChris Lattner2010-09-022-9/+17
| | | | llvm-svn: 112903
* Properly emit __chkstk call instead of __alloca on non-mingw windows targets.Anton Korobeynikov2010-09-023-8/+66
| | | | | | Patch by Cameron Esfahani! llvm-svn: 112902
* stop forcing a noop AssemblyAnnotationWriter to silence #usesChris Lattner2010-09-021-5/+1
| | | | | | comments, these don't happen anymore. llvm-svn: 112901
* There is no need to use .set here.Devang Patel2010-09-021-8/+1
| | | | | | Thanks Chris! llvm-svn: 112900
* reapply 112894:Chris Lattner2010-09-021-12/+4
| | | | | | | | | | | | | | | | Remove #uses comments from functions: they we're padded out to column 50 and were potentially confusing for externally visible functions. going further, remove the "<i8**> [#uses=3]" comments entirely. They add a lot of noise, confuse people about what the IR is, and don't add any particular value. When the types are long it makes it really really hard to read IR. If someone is interested in this sort of thing, the right way to do this is to implement an AsmAnnotationWriter that produces the same output, and add a flag to llvm-dis (only) to produce this output. llvm-svn: 112899
* stop looking for #uses comments.Chris Lattner2010-09-025-62/+38
| | | | llvm-svn: 112898
* remove some tests that aren't adding any value: the check lines don'tChris Lattner2010-09-024-153/+10
| | | | | | | make it clear what they're testing so there is no way to know it's right or to update it. llvm-svn: 112897
* Move insertps mask decoding to header fileBruno Cardoso Lopes2010-09-022-28/+24
| | | | llvm-svn: 112896
* revert patch, need to update clang tests tooChris Lattner2010-09-021-4/+12
| | | | llvm-svn: 112895
* Remove #uses comments from functions: they we're padded out to column 50Chris Lattner2010-09-021-12/+4
| | | | | | | | | | | | | | | and were potentially confusing for externally visible functions. going further, remove the "<i8**> [#uses=3]" comments entirely. They add a lot of noise, confuse people about what the IR is, and don't add any particular value. When the types are long it makes it really really hard to read IR. If someone is interested in this sort of thing, the right way to do this is to implement an AsmAnnotationWriter that produces the same output, and add a flag to llvm-dis (only) to produce this output. llvm-svn: 112894
* more test cleanupChris Lattner2010-09-024-28/+4
| | | | llvm-svn: 112892
* Add a couple of FIXMEs. The types of palignr are different here than in GCC.Bill Wendling2010-09-021-2/+2
| | | | llvm-svn: 112891
* Add a bunch of missing bitcasts for clang NEON builtin expansions.Bob Wilson2010-09-021-12/+57
| | | | | | Radar 8388233 llvm-svn: 112890
* remove some noise from tests.Chris Lattner2010-09-024-69/+69
| | | | llvm-svn: 112889
* Use the FindProgramByName fallback only with known absolute paths.Dan Gohman2010-09-021-4/+10
| | | | | | | | I wasn't able to convince myself that all GetMainExecutable implementations always return absolute paths; this prevents unexpected behavior in case they ever don't. llvm-svn: 112888
* we are past the point where these tests are useful.Chris Lattner2010-09-0214-329/+0
| | | | llvm-svn: 112887
* Revert int_x86_mmx_palignr_b intrinsic to match llvm-gcc's version.Bill Wendling2010-09-021-2/+2
| | | | llvm-svn: 112886
* Revert win64 changes. They seem to be incompleteAnton Korobeynikov2010-09-022-11/+7
| | | | llvm-svn: 112885
* Teach libclang to visit OverloadExprs, so that we can reuse thisDouglas Gregor2010-09-022-6/+27
| | | | | | code. Also, teach it about explicitly-specified template arguments. llvm-svn: 112884
* For ARM stack frames that utilize variable sized objects and have eitherJim Grosbach2010-09-025-36/+98
| | | | | | | | | | | | | | | large local stack areas or require dynamic stack realignment, allocate a base register via which to access the local frame. This allows efficient access to frame indices not accessible via the FP (either due to being out of range or due to dynamic realignment) or the SP (due to variable sized object allocation). In particular, this greatly improves efficiency of access to spill slots in Thumb functions which contain VLAs. rdar://7352504 rdar://8374540 rdar://8355680 llvm-svn: 112883
* sabre points out that the timing here is pretty pessimal; I'll retry theJohn McCall2010-09-024-7/+6
| | | | | | experiment in a few days. llvm-svn: 112882
* - Change __builtin_ia32_palignr intrinsic type to match the pattern in clang.Bill Wendling2010-09-021-5/+24
| | | | | | | | | | | | | | - Add patterns to match the following MMX builtins: * __builtin_ia32_vec_init_v8qi * __builtin_ia32_vec_init_v4hi * __builtin_ia32_vec_init_v2si * __builtin_ia32_vec_ext_v2si These builtins do not correspond to a single MMX instruction. They will have to be lowered -- most likely in the back-end. llvm-svn: 112881
* Added comments regarding the two mechanisms of process cleanup to lldbtest.py.Johnny Chen2010-09-023-19/+15
| | | | | | | Also changed the expected strings to be matched since "thread list" changed its output format. llvm-svn: 112880
* Add libclang visitation for UnresolvedLookupExprsDouglas Gregor2010-09-022-2/+33
| | | | llvm-svn: 112879
* fix more AST updating bugs, correcting miscompilation in PR8041Chris Lattner2010-09-022-2/+51
| | | | llvm-svn: 112878
* Experimentally move the tautological comparison warnings from -Wsign-compareJohn McCall2010-09-024-6/+7
| | | | | | | to -Wtautological-compare. This implies that they're now on by default. If this causes chaos, I'll figure something else out. llvm-svn: 112877
* Remove incorrect and poorly tested code for trying to reason about values on ↵Owen Anderson2010-09-021-16/+2
| | | | | | | | default edges of switches. Just return the conservatively correct answer. llvm-svn: 112876
* Properly allocate win64 shadow reg area.Anton Korobeynikov2010-09-022-7/+11
| | | | | | Patch by Jan Sjodin! llvm-svn: 112875
* Remove obsolete comments about throwing exceptions.Dan Gohman2010-09-026-12/+3
| | | | llvm-svn: 112874
* Add libclang visitation for C++ pseudo-destructor expressions.Douglas Gregor2010-09-022-0/+36
| | | | llvm-svn: 112873
* Reorder the MMX builtins to be in their own ostracized group.Bill Wendling2010-09-021-67/+73
| | | | llvm-svn: 112872
OpenPOWER on IntegriCloud