OSDN Git Service

Add in support for getIntPtrType to get the pointer type based on the address space.
authorMicah Villmow <villmow@gmail.com>
Wed, 24 Oct 2012 15:52:52 +0000 (15:52 +0000)
committerMicah Villmow <villmow@gmail.com>
Wed, 24 Oct 2012 15:52:52 +0000 (15:52 +0000)
commitaa76e9e2cf50af190de90bc778b7f7e42ef9ceff
tree5206b0fb0ac695e3ab1c9cf434b5a85195abf336
parent3575222175b4982f380ff291bb17be67aadc0966
Add in support for getIntPtrType to get the pointer type based on the address space.
This checkin also adds in some tests that utilize these paths and updates some of the
clients.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166578 91177308-0d34-0410-b5e6-96231b3b80d8
46 files changed:
include/llvm/Analysis/MemoryBuiltins.h
include/llvm/Analysis/ScalarEvolution.h
include/llvm/DataLayout.h
include/llvm/InstrTypes.h
include/llvm/Transforms/Utils/Local.h
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InlineCost.cpp
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/Lint.cpp
lib/Analysis/MemoryBuiltins.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/ScalarEvolutionExpander.cpp
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/IntrinsicLowering.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/ARM/ARMSelectionDAGInfo.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/Target.cpp
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86SelectionDAGInfo.cpp
lib/Target/XCore/XCoreISelLowering.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/MergeFunctions.cpp
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineCasts.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Instrumentation/BoundsChecking.cpp
lib/Transforms/Scalar/CodeGenPrepare.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Scalar/IndVarSimplify.cpp
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
lib/VMCore/DataLayout.cpp
lib/VMCore/Instructions.cpp
lib/VMCore/Type.cpp
test/Other/multi-pointer-size.ll [new file with mode: 0644]
test/Transforms/InstCombine/constant-fold-gep-as-0.ll [new file with mode: 0644]