- Feb 07, 2011
-
-
John McCall authored
- BlockDeclRefExprs always store VarDecls - BDREs no longer store copy expressions - BlockDecls now store a list of captured variables, information about how they're captured, and a copy expression if necessary With that in hand, change IR generation to use the captures data in blocks instead of walking the block independently. Additionally, optimize block layout by emitting fields in descending alignment order, with a heuristic for filling in words when alignment of the end of the block header is insufficient for the most aligned field. llvm-svn: 125005
-
Duncan Sands authored
to simplify the "(X/Y)*Y->X when the division is exact" transform. llvm-svn: 125004
-
Duncan Sands authored
llvm-svn: 125002
-
Oscar Fuentes authored
Fixes PR9159. llvm-svn: 125001
-
Anton Yartsev authored
llvm-svn: 125000
-
Jason W Kim authored
failures with relocations. The code committed is a first cut at compatibility for emitted relocations in ELF .o. Why do this? because existing ARM tools like emitting relocs symbols as explicit relocations, not as section-offset relocs. Result is that with these changes, 1) relocs are now substantially identical what to gcc outputs. 2) larger apps (including many spec2k tests) compile, cross-link, and pass Added reminder fixme to tests for future conversion to .s form. llvm-svn: 124996
-
Jason W Kim authored
Unified EmitTextAttribute for both Asm and Obj emission (.cpu only) Added necessary cortex-A8 related attrs for codegen compat tests. llvm-svn: 124995
-
- Feb 06, 2011
-
-
Chris Lattner authored
when the div is an exact udiv. llvm-svn: 124994
-
Chris Lattner authored
llvm-svn: 124993
-
Chris Lattner authored
instcombine xform to exercise this. Nothing forms exact udivs yet though. This is progress on PR8862 llvm-svn: 124992
-
Eric Christopher authored
if we weren't going to inline the function. The rest of the code using this was removed. Fixes PR9154. llvm-svn: 124991
-
Anders Carlsson authored
llvm-svn: 124990
-
Anders Carlsson authored
llvm-svn: 124989
-
Anders Carlsson authored
llvm-svn: 124988
-
Anders Carlsson authored
When loading from a constant, fold inttoptr if the integer type and the resulting pointer type both have the same size. llvm-svn: 124987
-
Anders Carlsson authored
Fix self-host; if a thunk already exists and has available_externally linkage, we should change its linkage instead of asserting. llvm-svn: 124986
-
Oscar Fuentes authored
llvm-svn: 124985
-
Anders Carlsson authored
When building with optimizations, emit thunks with available_externally linkage so devirtualized function calls can also be de-thunked. llvm-svn: 124984
-
Anders Carlsson authored
llvm-svn: 124983
-
Oscar Fuentes authored
is built as part of LLVM. llvm-svn: 124982
-
Chris Lattner authored
llvm-svn: 124981
-
Nick Lewycky authored
llvm-svn: 124977
-
Nick Lewycky authored
now, and this wasn't comparing some of their relevant bits anyhow. llvm-svn: 124976
-
- Feb 05, 2011
-
-
Oscar Fuentes authored
Untested, but should work :) llvm-svn: 124975
-
Oscar Fuentes authored
llvm-svn: 124974
-
Douglas Gregor authored
templates, a C++0x feature. llvm-svn: 124973
-
Oscar Fuentes authored
It is not possible to simply change that target name to `clang' because we already have one. llvm-svn: 124972
-
Douglas Gregor authored
overridden via remapping. Thus, when we create a "virtual" file in the file manager, we still stat() the real file that lives behind it so that we can provide proper uniquing based on inodes. This helps keep the file manager much more consistent. To take advantage of this when reparsing files in libclang, we disable the use of the stat() cache when reparsing or performing code completion, since the stat() cache is very likely to be out of date in this use case. llvm-svn: 124971
-
Sebastian Redl authored
Basic implementation of inherited constructors. Only generates declarations, and probably only works for very basic use cases. llvm-svn: 124970
-
Oscar Fuentes authored
This may not work on build platforms that place the binaries on special folders ($build_dir/bin/Release/) such as the VS IDE and XCode. For fixing this it is necessary to add a lit.py configuration option for saying where the Clang binaries are, and apply to that path the same magit that is used with the path to the LLVM tools binary directory. Doing this requires a bit of autoconf work. llvm-svn: 124969
-
Oscar Fuentes authored
llvm-svn: 124968
-
Anders Carlsson authored
won't assert when building a thunk for an implicit virtual member function that is not marked used. llvm-svn: 124967
-
Anders Carlsson authored
llvm-svn: 124961
-
Anders Carlsson authored
llvm-svn: 124960
-
Tobias Grosser authored
llvm-svn: 124959
-
Tobias Grosser authored
llvm-svn: 124958
-
Tobias Grosser authored
llvm-svn: 124957
-
Tobias Grosser authored
This is the first step to make the clang_complete vim plugin work with libclang. Reparsing improves parsing time from 0.8 to 0.25 secs for one of my LLVM .cpp files. llvm-svn: 124956
-
Tobias Grosser authored
llvm-svn: 124955
-
Tobias Grosser authored
llvm-svn: 124954
-