llvm-6502/lib
Ramkumar Ramachandra 0608cec657 InstCombine: propagate deref via new addDereferenceableAttr
The "dereferenceable" attribute cannot be added via .addAttribute(),
since it also expects a size in bytes. AttrBuilder#addAttribute or
AttributeSet#addAttribute is wrapped by classes Function, InvokeInst,
and CallInst. Add corresponding wrappers to
AttrBuilder#addDereferenceableAttr.

Having done this, propagate the dereferenceable attribute via
gc.relocate, adding a test to exercise it. Note that -datalayout is
required during execution over and above -instcombine, because
InstCombine only optionally requires DataLayoutPass.

Differential Revision: http://reviews.llvm.org/D7510

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229265 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-14 19:37:54 +00:00
..
Analysis Unify the two EH personality classification routines I wrote 2015-02-14 00:21:02 +00:00
AsmParser AsmWriter/Bitcode: MDImportedEntity 2015-02-13 01:46:02 +00:00
Bitcode Clean up some inappropriate choices of type in the bitcode reader. None of 2015-02-13 21:05:11 +00:00
CodeGen CodeGen: Canonicalize access to function attributes, NFC 2015-02-14 01:44:41 +00:00
DebugInfo llvm-pdbdump: Only dump whitelisted global symbols. 2015-02-14 03:54:28 +00:00
ExecutionEngine [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
Fuzzer [fuzzer] move default sanitizer options to a separate file 2015-02-06 19:52:07 +00:00
IR InstCombine: propagate deref via new addDereferenceableAttr 2015-02-14 19:37:54 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker [LinkModules] Change the way ModuleLinker merges triples. 2015-02-13 00:40:41 +00:00
LTO [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
MC Revert a series of commits starting at r228886 which is triggering some 2015-02-13 07:52:39 +00:00
Object Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Option Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
ProfileData Fix accidental bit flip. 2015-02-12 16:30:00 +00:00
Support Fixing broken bots. 2015-02-13 23:10:31 +00:00
TableGen Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Target Target: Canonicalize access to function attributes, NFC 2015-02-14 15:36:52 +00:00
Transforms InstCombine: propagate deref via new addDereferenceableAttr 2015-02-14 19:37:54 +00:00
CMakeLists.txt Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. 2015-01-29 16:58:29 +00:00
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00