Added support for address spaces and added a isVolatile field to memcpy, memmove...
authorMon P Wang <wangmp@apple.com>
Tue, 30 Mar 2010 20:55:56 +0000 (20:55 +0000)
committerMon P Wang <wangmp@apple.com>
Tue, 30 Mar 2010 20:55:56 +0000 (20:55 +0000)
commit808bab0169ab7d2e8dfdc72dd2c991cd8ff2396d
tree38c7008c1e4c69ab277cae82ffd341ce3eca121f
parent04e3b1ef788cfac266896c6e89050c4ff60114e2
Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset,
e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
A update of langref will occur in a subsequent checkin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99928 91177308-0d34-0410-b5e6-96231b3b80d8
27 files changed:
include/llvm/CodeGen/SelectionDAG.h
include/llvm/IntrinsicInst.h
include/llvm/Intrinsics.td
include/llvm/Support/IRBuilder.h
include/llvm/Target/TargetLowering.h
include/llvm/Transforms/Utils/BuildLibCalls.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/XCore/XCoreISelLowering.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/VMCore/AutoUpgrade.cpp
test/Analysis/BasicAA/modref.ll
test/Transforms/InstCombine/memset_chk.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/MemCpyOpt/align.ll
test/Transforms/SimplifyLibCalls/StrCpy.ll
test/Verifier/2006-12-12-IntrinsicDefine.ll