OSDN Git Service

[opaque pointer type] Allow gep_type_iterator to work with the pointee type from...
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 21 May 2015 21:12:43 +0000 (21:12 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 21 May 2015 21:12:43 +0000 (21:12 +0000)
commitbd75a9292e761dcab32855e322d9985d7d787d1e
treed9857dd141ea2b58fb3deaf36069d8b6f73d2c83
parent477acf64d0a66abe2f4a224b350ee258021a33de
[opaque pointer type] Allow gep_type_iterator to work with the pointee type from the GEP instruction

The raw non-instruction/constant form of this is still relying on being
able to access the pointee type from a pointer type - those will be
cleaned up later. For now, just focus on the cases where the pointee
type is easily accessible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237958 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/GetElementPtrTypeIterator.h
include/llvm/IR/Operator.h
lib/IR/Constants.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/Mips/MipsFastISel.cpp