llvm-6502/include/llvm/IR
Rafael Espindola 3f0a9af13b Fix resetting the DataLayout in a Module.
No tool does this currently, but as everything else in a module we should be
able to change its DataLayout.

Most of the fix is in DataLayout to make sure it can be reset properly.

The test uses Module::setDataLayout since the fact that we mutate a DataLayout
is an implementation detail. The module could hold a OwningPtr<DataLayout> and
the DataLayout itself could be immutable.

Thanks to Philip Reames for pushing me in the right direction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202198 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-25 22:23:04 +00:00
..
Argument.h
AssemblyAnnotationWriter.h
Attributes.h
BasicBlock.h
CallingConv.h [ms-cxxabi] Add a new calling convention that swaps 'this' and 'sret' 2014-01-31 17:41:22 +00:00
CMakeLists.txt [CMake] intrinsics_gen: Use add_public_tablegen_target(). 2014-02-20 13:42:16 +00:00
Constant.h
Constants.h
DataLayout.h Fix resetting the DataLayout in a Module. 2014-02-25 22:23:04 +00:00
DerivedTypes.h
DiagnosticInfo.h
DiagnosticPrinter.h
Dominators.h Remove unnecessary typename introduced in r201440. 2014-02-15 00:34:43 +00:00
Function.h
GlobalAlias.h
GlobalValue.h Check that GlobalAliases don't have section or alignment. 2014-02-13 18:26:41 +00:00
GlobalVariable.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h Add some convenience accessors for the underlying Use of an operand. 2014-02-25 03:34:17 +00:00
IntrinsicInst.h Add some convenience accessors for the underlying Use of an operand. 2014-02-25 03:34:17 +00:00
Intrinsics.h
Intrinsics.td Stackmaps are used for OSR exits, which is a custom kind of unwinding. Hence, they 2014-02-20 23:57:31 +00:00
IntrinsicsAArch64.td AArch64 & ARM: refactor crypto intrinsics to take scalars 2014-02-03 17:27:49 +00:00
IntrinsicsARM.td ARM: use natural LLVM IR for vshll instructions 2014-02-10 16:20:29 +00:00
IntrinsicsHexagon.td
IntrinsicsMips.td [mips][msa] Add DLSA instruction. 2014-02-10 12:05:17 +00:00
IntrinsicsNVVM.td
IntrinsicsPowerPC.td
IntrinsicsR600.td
IntrinsicsX86.td Changed attributes of all gather intrinsics from IntrReadMem to IntrReadArgMem as they access only memory based on argument. Patch by Robert Khasanov. 2014-02-11 04:05:33 +00:00
IntrinsicsXCore.td [XCore] Add intrinsic for CLRPT (clear port time) instruction. 2014-02-25 17:31:15 +00:00
IRBuilder.h
IRPrintingPasses.h
LegacyPassManager.h
LegacyPassManagers.h
LLVMContext.h
Mangler.h Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
MDBuilder.h
Metadata.h
Module.h Store a DataLayout in Module. 2014-02-25 20:01:08 +00:00
OperandTraits.h
Operator.h
PassManager.h [PM] Don't require analysis results to be const in the new pass manager. 2014-02-05 21:41:42 +00:00
SymbolTableListTraits.h
Type.h
TypeBuilder.h
TypeFinder.h
Use.h
User.h
Value.h
ValueSymbolTable.h
Verifier.h