llvm-6502/include/llvm
Duncan Sands 3cb3650a27 Change uses of getTypeSize to getABITypeSize, getTypeStoreSize
or getTypeSizeInBits as appropriate in ScalarReplAggregates.
The right change to make was not always obvious, so it would
be good to have an sroa guru review this.  While there I noticed
some bugs, and fixed them: (1) arrays of x86 long double have
holes due to alignment padding, but this wasn't being spotted
by HasStructPadding (renamed to HasPadding).  The same goes
for arrays of oddly sized ints.  Vectors also suffer from this,
in fact the problem for vectors is much worse because basic
vector assumptions seem to be broken by vectors of type with
alignment padding.   I didn't try to fix any of these vector
problems.  (2) The code for extracting smaller integers from
larger ones (in the "int union" case) was wrong on big-endian
machines for integers with size not a multiple of 8, like i1.
Probably this is impossible to hit via llvm-gcc, but I fixed
it anyway while there and added a testcase.  I also got rid of
some trailing whitespace and changed a function name which
had an obvious typo in it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43672 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-04 14:43:57 +00:00
..
ADT When converting to integer, do bit manipulations in the destination 2007-11-01 22:43:37 +00:00
Analysis VAArgInst does, in fact, read memory. 2007-11-02 04:01:21 +00:00
Assembly More fleshing out of docs/Passes.html, plus some typo fixes and 2007-10-26 03:03:51 +00:00
Bitcode Added overloaded version of Deserializer::ReadOwnedPtr which allows 2007-11-02 18:04:20 +00:00
CodeGen There are times when the coalescer would not coalesce away a copy but the copy 2007-11-03 07:20:12 +00:00
Config
Debugger
ExecutionEngine add a mechanism for the JIT to invoke a function to lazily create functions as they are referenced. 2007-10-22 02:50:12 +00:00
Support The guaranteed alignment of ptr+offset is only the minimum of 2007-10-28 12:59:45 +00:00
System
Target Change uses of getTypeSize to getABITypeSize, getTypeStoreSize 2007-11-04 14:43:57 +00:00
Transforms Reg2Mem cleanup and optimizations: 2007-10-21 23:05:16 +00:00
AbstractTypeUser.h
Argument.h
AutoUpgrade.h
BasicBlock.h
CallGraphSCCPass.h
CallingConv.h
Constant.h
Constants.h Get rid of compilation warning during release builds 2007-11-01 08:24:40 +00:00
DerivedTypes.h Updated VC++ build system. 2007-10-17 14:56:40 +00:00
Function.h
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
InlineAsm.h
InstrTypes.h Updated VC++ build system. 2007-10-17 14:56:40 +00:00
Instruction.def
Instruction.h
Instructions.h Updated VC++ build system. 2007-10-17 14:56:40 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td Model stacksave and stackrestore as both writing memory, since we 2007-10-29 05:47:52 +00:00
IntrinsicsPowerPC.td
IntrinsicsX86.td Add missing SSE builtins: CVTPD2PI, CVTPS2PI, 2007-10-30 22:15:38 +00:00
LinkAllPasses.h
LinkAllVMCore.h
Linker.h
LinkTimeOptimizer.h
Module.h
ModuleProvider.h
ParameterAttributes.h
Pass.h
PassAnalysisSupport.h
PassManager.h remove unimplemented ctor, add some comments. 2007-10-25 05:19:24 +00:00
PassManagers.h
PassSupport.h update comment. 2007-10-18 16:10:17 +00:00
SymbolTableListTraits.h
Type.h
TypeSymbolTable.h
Use.h Add a new use_iterator::atEnd() method, which allows us to shrink 2007-10-11 04:18:11 +00:00
User.h
Value.h
ValueSymbolTable.h