- Aug 11, 2010
-
-
Dan Gohman authored
that many of these things, so the memory savings isn't significant, and there are now situations where there can be alignments greater than 128. llvm-svn: 110836
-
- Aug 06, 2010
-
-
Owen Anderson authored
llvm-svn: 110460
-
Owen Anderson authored
llvm-svn: 110410
-
Owen Anderson authored
ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
-
- Jul 28, 2010
-
-
Dan Gohman authored
to avoid undefined behavior on overflow, noticed by John Regehr. llvm-svn: 109594
-
- Jul 22, 2010
-
-
Owen Anderson authored
llvm-svn: 109045
-
- Apr 23, 2010
-
-
Dan Gohman authored
alignment to match what's used in clang and GCC for __alignof, rather than trying to guess what Legalize is going to be doing. llvm-svn: 102206
-
- Apr 17, 2010
-
-
Chris Lattner authored
even if the element of the array has no size. llvm-svn: 101662
-
- Apr 08, 2010
-
-
Chris Lattner authored
llvm-svn: 100709
-
- Apr 02, 2010
-
-
Dan Gohman authored
in particular, they end up aligning strings at 16-byte boundaries, and there's no way for GlobalOpt to check OptForSize. llvm-svn: 100172
-
Dan Gohman authored
This fixes test/Transforms/GlobalOpt/gv-align.ll. llvm-svn: 100161
-
- Mar 16, 2010
-
-
Chris Lattner authored
handling constant unions. llvm-svn: 98680
-
Daniel Dunbar authored
llvm-svn: 98662
-
Chris Lattner authored
llvm-svn: 98656
-
- Feb 25, 2010
-
-
Dan Gohman authored
terms of store and load, which means bitcasting between scalar integer and vector has endian-specific results, which undermines this whole approach. llvm-svn: 97137
-
- Feb 24, 2010
-
-
Dan Gohman authored
the number of value bits, not the number of bits of allocation for in-memory storage. Make getTypeStoreSize and getTypeAllocSize work consistently for arrays and vectors. Fix several places in CodeGen which compute offsets into in-memory vectors to use TargetData information. This fixes PR1784. llvm-svn: 97064
-
- Feb 16, 2010
-
-
Duncan Sands authored
and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344
-
- Jan 26, 2010
-
-
Chris Lattner authored
when we don't have one laying around. Useful if you don't have an llvmcontext handy. llvm-svn: 94468
-
- Dec 17, 2009
-
-
Chris Lattner authored
llvm-svn: 91612
-
- Dec 05, 2009
-
-
Bill Wendling authored
llvm-svn: 90656
-
Bill Wendling authored
- Privatize a typedef. - Call the InvalidateEntry when refining a type. llvm-svn: 90655
-
Bill Wendling authored
llvm-svn: 90640
-
Bill Wendling authored
llvm-svn: 90639
-
- Dec 04, 2009
-
-
Bill Wendling authored
llvm-svn: 90588
-
- Dec 03, 2009
-
-
Bill Wendling authored
llvm-svn: 90383
-
Bill Wendling authored
function, converting "dyn_cast" to "cast", asserting the correct things, and other general cleanups. llvm-svn: 90371
-
Chris Lattner authored
llvm-svn: 90366
-
Chris Lattner authored
Patch by Howard Hinnant! llvm-svn: 90365
-
Bill Wendling authored
that it doesn't have dangling pointers when abstract types are resolved. This modifies it somewhat to address comments: making the "StructLayoutMap" an anonymous structure, calling "removeAbstractTypeUser" when appropriate, and adding asserts where helpful. llvm-svn: 90362
-
- Nov 18, 2009
-
-
Bill Wendling authored
This is probably not confined to *just* these two things. Anyway, the llvm-gcc front-end may look up the structure layout information for an abstract type. That information will be stored into a table with the FE's TD. Instruction combine can come along and also ask for information on that abstract type, but for a separate TD (the one associated with the pass manager). After the type is refined, the old structure layout information in the pass manager's TD file is out of date. If a new type is allocated in the same space as the old-unrefined type, then the structure type information in the pass manager's TD file will be wrong, but won't know it. Fix this by making the TD's structure type information an abstract type user. llvm-svn: 89176
-
- Nov 08, 2009
-
-
Chris Lattner authored
this gives llvm-gcc generated modules the right data. llvm-svn: 86435
-
- Nov 07, 2009
-
-
Chris Lattner authored
datatypes on a given CPU. This is intended to allow instcombine and other transformations to avoid converting big sequences of operations to an inconvenient width, and will help clean up after SRoA. See also "Adding legal integer sizes to TargetData" on Feb 1, 2009 on llvmdev, and PR3451. Comments welcome. llvm-svn: 86370
-
Chris Lattner authored
llvm-svn: 86369
-
Chris Lattner authored
llvm-svn: 86366
-
- Aug 21, 2009
-
-
Owen Anderson authored
This preserves the existing behavior much more closely than my previous attempt. llvm-svn: 79663
-
Owen Anderson authored
llvm-svn: 79578
-
Owen Anderson authored
llvm-svn: 79572
-
Bill Wendling authored
U include/llvm/Target/TargetData.h U lib/Target/TargetData.cpp Temporarily revert 79555. It was causing hangs and test failures. llvm-svn: 79568
-
- Aug 20, 2009
-
-
Owen Anderson authored
llvm-svn: 79555
-
Dan Gohman authored
llvm-svn: 79532
-