[opaque pointer type] Change GetElementPtrInst::getIndexedType to take the pointee...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 30 Mar 2015 21:41:43 +0000 (21:41 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 30 Mar 2015 21:41:43 +0000 (21:41 +0000)
commit25e3d2d6d3f9924328485d1f3937f4674381d34c
treeeb87e9ab1264d327f949d83343023b7363504f5d
parenta55ae077e43bf75ee091241d9917fe6227051b41
[opaque pointer type] Change GetElementPtrInst::getIndexedType to take the pointee type

This pushes the use of PointerType::getElementType up into several
callers - I'll essentially just have to keep pushing that up the stack
until I can eliminate every call to it...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233604 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InstructionSimplify.cpp
lib/AsmParser/LLParser.cpp
lib/IR/ConstantFold.cpp
lib/IR/Constants.cpp
lib/IR/Instructions.cpp
lib/IR/Verifier.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp