- Oct 29, 2007
-
-
Chris Lattner authored
can have uses too. Wouldn't it be nice if invoke didn't exist? :) llvm-svn: 43426
-
Ted Kremenek authored
pointers that were not backpatched (previously checked the wrong invariant). llvm-svn: 43425
-
- Oct 28, 2007
-
-
Anton Korobeynikov authored
llvm-svn: 43424
-
Ted Kremenek authored
llvm-svn: 43423
-
Ted Kremenek authored
eager backpatching instead of waithing until all objects have been deserialized. This allows us to reduce the memory footprint needed for backpatching. llvm-svn: 43422
-
Duncan Sands authored
of offset and the alignment of ptr if these are both powers of 2. While the ptr alignment is guaranteed to be a power of 2, there is no reason to think that offset is. For example, if offset is 12 (the size of a long double on x86-32 linux) and the alignment of ptr is 8, then the alignment of ptr+offset will in general be 4, not 8. Introduce a function MinAlign, lifted from gcc, for computing the minimum guaranteed alignment. I've tried to fix up everywhere under lib/CodeGen/SelectionDAG/. I also changed some places that weren't wrong (because both values were a power of 2), as a defensive change against people copying and pasting the code. Hopefully someone who cares about alignment will review the rest of LLVM and fix up the remaining places. Since I'm on x86 I'm not very motivated to do this myself... llvm-svn: 43421
-
Evan Cheng authored
llvm-svn: 43420
-
Ted Kremenek authored
llvm-svn: 43419
-
- Oct 27, 2007
-
-
Ted Kremenek authored
llvm-svn: 43418
-
Ted Kremenek authored
llvm-svn: 43417
-
Ted Kremenek authored
llvm-svn: 43414
-
Ted Kremenek authored
Fixed bug where default SerializeTrait<>::Materialize would not return the materialized object pointer. llvm-svn: 43413
-
Bill Wendling authored
llvm-svn: 43412
-
Fariborz Jahanian authored
llvm-svn: 43409
-
Evan Cheng authored
- ChangeCompareStride only reuse stride that is larger than current stride. It will let the general reuse mechanism to try to reuse a smaller stride. - Watch out for multiplication overflow in ChangeCompareStride. - Replace std::set with SmallPtrSet. llvm-svn: 43408
-
Ted Kremenek authored
llvm-svn: 43407
-
- Oct 26, 2007
-
-
Ted Kremenek authored
llvm-svn: 43406
-
Ted Kremenek authored
llvm-svn: 43405
-
Steve Naroff authored
Start rewriting ObjC interfaces. As a start, we comment out all the methods. This involved refining how the parser/AST passes/manages SourceLocations for ObjcMethodDecl's. llvm-svn: 43404
-
Fariborz Jahanian authored
decl without an @interface decl. llvm-svn: 43403
-
Ted Kremenek authored
llvm-svn: 43402
-
Ted Kremenek authored
llvm-svn: 43401
-
Bill Wendling authored
place. llvm-svn: 43400
-
Bill Wendling authored
FE. - Explicitly pass in the alignment of the load & store. - XFAIL 2007-10-23-UnalignedMemcpy.ll because llc has a bug that crashes on unaligned pointers. llvm-svn: 43398
-
Ted Kremenek authored
llvm-svn: 43397
-
Ted Kremenek authored
calling member functions of the target type to perform type-specific serialization. Added version of ReadPtr that allows passing references to uintptr_t (useful for smart pointers). llvm-svn: 43396
-
Fariborz Jahanian authored
Thanks to Steve N. to point out using of offsetof for this. llvm-svn: 43391
-
Devang Patel authored
llvm-svn: 43390
-
Devang Patel authored
llvm-svn: 43387
-
Devang Patel authored
Code gen static initializer. llvm-svn: 43386
-
Devang Patel authored
llvm-svn: 43385
-
Evan Cheng authored
llvm-svn: 43384
-
Devang Patel authored
llvm-svn: 43383
-
Fariborz Jahanian authored
llvm-svn: 43382
-
Anton Korobeynikov authored
registers in case, when FP pointer was eliminated. This should fixes misc. random EH-related crahses, when stuff is compiled with -fomit-frame-pointer. Thanks Duncan for nailing this bug! llvm-svn: 43381
-
Eric Christopher authored
want them later (mips32/64). llvm-svn: 43380
-
Owen Anderson authored
llvm-svn: 43379
-
Gordon Henriksen authored
improved wording in source files. llvm-svn: 43377
-
Evan Cheng authored
Loosen up iv reuse to allow reuse of the same stride but a larger type when truncating from the larger type to smaller type is free. e.g. Turns this loop: LBB1_1: # entry.bb_crit_edge xorl %ecx, %ecx xorw %dx, %dx movw %dx, %si LBB1_2: # bb movl L_X$non_lazy_ptr, %edi movw %si, (%edi) movl L_Y$non_lazy_ptr, %edi movw %dx, (%edi) addw $4, %dx incw %si incl %ecx cmpl %eax, %ecx jne LBB1_2 # bb into LBB1_1: # entry.bb_crit_edge xorl %ecx, %ecx xorw %dx, %dx LBB1_2: # bb movl L_X$non_lazy_ptr, %esi movw %cx, (%esi) movl L_Y$non_lazy_ptr, %esi movw %dx, (%esi) addw $4, %dx incl %ecx cmpl %eax, %ecx jne LBB1_2 # bb llvm-svn: 43375
-
Hartmut Kaiser authored
llvm-svn: 43374
-