- Mar 29, 2010
-
-
Anders Carlsson authored
Use construction vtables when needed. This is currently guarded by -fdump-vtable-layouts since it doesn't work 100% yet :) llvm-svn: 99787
-
Anders Carlsson authored
Two bug fixes, we weren't updating the thunk index when creating the vtable initializer and we weren't storing the secondary virtual pointer indices. llvm-svn: 99786
-
Rafael Espindola authored
Make default arguments to getFunctionNoProtoType an all or nothing option (as they already are in practise). llvm-svn: 99785
-
Rafael Espindola authored
llvm-svn: 99783
-
- Mar 28, 2010
-
-
Devang Patel authored
llvm-svn: 99778
-
Anders Carlsson authored
Reapply r99775 with a fix for a silly bug - we were setting the vtable pointer for all bases, even those without a vtable pointer :) llvm-svn: 99777
-
Anders Carlsson authored
llvm-svn: 99776
-
Anders Carlsson authored
More improvements to setting the vtable pointer. We now no longer set the vtable pointer for non-virtual primary bases. We also do a pre-order traversal of the class hierarchy; this is necessary in order to get the right vbase offset offsets in base ctors/dtors. llvm-svn: 99775
-
Chris Lattner authored
llvm-svn: 99774
-
Anders Carlsson authored
llvm-svn: 99773
-
Devang Patel authored
llvm-svn: 99772
-
Chris Lattner authored
llvm-svn: 99770
-
Anton Korobeynikov authored
Otherwise, e.g. in the invocation like clang -DFOO=\"bar\" FOO macro got the bar value, not "bar". Patch by Alexander Esilevich! llvm-svn: 99763
-
Torok Edwin authored
SELinux doesn't allow 'execmem', returning MAP_FAILED and 'Permission denied' for mmap or RWX memory. In this case AllocateRWX was returning a MemoryBlock with uninitialized fields, which sometimes caused crashes. This patch initializes MemoryBlock fields to 0, so that the RWX-failure check works. It doesn't fix the SELinux 'execmem' issues though (the JIT will not work when SELinux is in enforcing mode). llvm-svn: 99762
-
Chris Lattner authored
where an incorrect number of operands is provided to an sdnode instead of just a few cases. llvm-svn: 99761
-
Chris Lattner authored
llvm-svn: 99760
-
Chris Lattner authored
and those derived from them. These are obnoxious because they were written as: PatLeaf<(bitconvert). Not having an argument was foiling adding better type checking for operand count matching up with what was required (in this case, bitconvert always requires an operand!) llvm-svn: 99759
-
Chris Lattner authored
matchable: it seems like it would always constant fold. llvm-svn: 99758
-
Chris Lattner authored
this also depends on the new "bitconvert dropping" behavior just added to tblgen. llvm-svn: 99757
-
Chris Lattner authored
transforming it into (add (i32 GPR), 4). This allows us to write type generic multi patterns and have tblgen automatically drop the bitconvert in the case when the types align. This allows us to fold an extra load in the changed testcase. llvm-svn: 99756
-
Chris Lattner authored
llvm-svn: 99755
-
Chris Lattner authored
input to be v8i8 or v16i8, which buildvectors get canonicalized to. This allows the patterns that were previously using a bare 'vnot' to match, before they couldn't. llvm-svn: 99754
-
Chris Lattner authored
patterns that would never match because of bitcast, and eliminating use of vnot_conv. llvm-svn: 99753
-
Chris Lattner authored
llvm-svn: 99752
-
Chris Lattner authored
llvm-svn: 99751
-
Chris Lattner authored
llvm-svn: 99750
-
Chris Lattner authored
*input* of other type, which is the VT. llvm-svn: 99749
-
Chris Lattner authored
llvm-svn: 99748
-
Chris Lattner authored
llvm-svn: 99747
-
Chris Lattner authored
by rotating it. llvm-svn: 99746
-
Chris Lattner authored
llvm-svn: 99745
-
Chris Lattner authored
llvm-svn: 99744
-
Chris Lattner authored
llvm-svn: 99743
-
Chris Lattner authored
llvm-svn: 99742
-
Chris Lattner authored
are cleaned up, we can remove an old fixme. llvm-svn: 99741
-
Chris Lattner authored
1, 1 cases which are by-far the most frequent. This shrinks the X86 isel table from 77014 -> 74657 bytes. llvm-svn: 99740
-
Chris Lattner authored
can cause a crash on crazy situations in msp430 when morph-node-to is disabled. llvm-svn: 99739
-
Chris Lattner authored
their flags correctly. llvm-svn: 99738
-
Chris Lattner authored
llvm-svn: 99737
-
Chris Lattner authored
nodes all have an EFLAGS result when made by isel lowering. llvm-svn: 99736
-