- Oct 14, 2009
-
-
Mike Stump authored
the virtual base so they can be reused properly. Don't reuse vcall slots across a virtual boundary. WIP. I have a testcase, but there are still things that need to be fixed before the testcase can go in. llvm-svn: 84120
-
Devang Patel authored
llvm-svn: 84114
-
Duncan Sands authored
Fix the clang build. llvm-svn: 84107
-
Sanjiv Gupta authored
from Var itself rather than the decl for DebugInfo metadata. llvm-svn: 84102
-
Chris Lattner authored
1) -fwritable-string does affect the non-utf16 version of cfstrings just not the utf16 ones. 2) utf16 strings should always be marked constant, as the __TEXT segment is readonly. 3) The name of the global doesn't matter, remove it from TargetInfo. 4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now. This fixes rdar://7115750 llvm-svn: 84077
-
Chris Lattner authored
llvm-svn: 84075
-
Devang Patel authored
llvm-svn: 84050
-
Mike Stump authored
covariant thunks. WIP. llvm-svn: 84046
-
Chris Lattner authored
llvm-svn: 84039
-
- Oct 13, 2009
-
-
Mike Stump authored
llvm-svn: 84031
-
Anders Carlsson authored
llvm-svn: 83986
-
Mike Stump authored
llvm-svn: 83981
-
Devang Patel authored
llvm-svn: 83979
-
Devang Patel authored
Let replaceAllUsesWith() adjust VHs even though there are no uses. llvm-svn: 83978
-
Mike Stump authored
offsets for covariant thunks. llvm-svn: 83965
-
Benjamin Kramer authored
llvm-svn: 83964
-
Chris Lattner authored
which is a common idiom to improve PIC'ness of code using the addr of label extension. This implementation is a gross hack, but the only other alternative would be to teach evalutate about this horrid combination. While GCC allows things like "&&foo - &&bar + 1", people don't use this in practice. This implements PR5131. llvm-svn: 83957
-
Chris Lattner authored
1. CGF now has fewer bytes of state (one pointer instead of a vector). 2. The generated code is determinstic, instead of getting labels in 'map order' based on pointer addresses. 3. Clang now emits one 'indirect goto switch' for each function, instead of one for each indirect goto. This fixes an M*N = N^2 IR size issue when there are lots of address-taken labels and lots of indirect gotos. 4. This also makes the default cause do something useful, reducing the size of the jump table needed (by one). llvm-svn: 83952
-
Chris Lattner authored
for a null pointer. In other words, "&&foo != NULL" will always work out to true. llvm-svn: 83948
-
Chris Lattner authored
more places in clang codegen now. llvm-svn: 83947
-
Devang Patel authored
llvm-svn: 83928
-
Devang Patel authored
llvm-svn: 83913
-
Devang Patel authored
llvm-svn: 83912
-
- Oct 12, 2009
-
-
Anders Carlsson authored
llvm-svn: 83900
-
Anders Carlsson authored
llvm-svn: 83886
-
Anders Carlsson authored
llvm-svn: 83883
-
Anders Carlsson authored
llvm-svn: 83882
-
Anders Carlsson authored
Factor out devirtualization checking into a separate function and make it handle references correctly. llvm-svn: 83880
-
Anders Carlsson authored
llvm-svn: 83816
-
Benjamin Kramer authored
llvm-svn: 83808
-
Benjamin Kramer authored
llvm-svn: 83800
-
Anders Carlsson authored
llvm-svn: 83798
-
- Oct 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 83793
-
- Oct 10, 2009
-
-
Anders Carlsson authored
llvm-svn: 83732
-
Fariborz Jahanian authored
variable inside the block. llvm-svn: 83729
-
Devang Patel authored
llvm-svn: 83676
-
- Oct 09, 2009
-
-
Mike Stump authored
llvm-svn: 83659
-
Mike Stump authored
llvm-svn: 83609
-
Douglas Gregor authored
llvm-svn: 83582
-
- Oct 08, 2009
-
-
Devang Patel authored
Record location info before emiting alloca for arguments. This allows arguments to have proper location info. llvm-svn: 83567
-