[PATCH] D16275: [opaque pointer types] GEP: replace get(Pointer)ElementType uses with get{Source, Result}ElementType.
Eduard Burtescu via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 17 12:46:14 PST 2016
eddyb created this revision.
eddyb added a reviewer: mjacob.
eddyb added subscribers: dblaikie, llvm-commits.
GEPOperator: provide getResultElementType alongside getSourceElementType.
ConstantFoldInstOperands: add a form taking the Instruction or ConstantExpr for GEPs.
GEP: replace get(Pointer)ElementType uses with get{Source,Result}ElementType.
http://reviews.llvm.org/D16275
Files:
include/llvm/Analysis/ConstantFolding.h
include/llvm/IR/Operator.h
lib/Analysis/BasicAliasAnalysis.cpp
lib/Analysis/ConstantFolding.cpp
lib/Analysis/InlineCost.cpp
lib/Analysis/InstructionSimplify.cpp
lib/Analysis/ScalarEvolution.cpp
lib/Analysis/ValueTracking.cpp
lib/Analysis/VectorUtils.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/IR/ConstantFold.cpp
lib/IR/ConstantFold.h
lib/IR/Constants.cpp
lib/IR/ConstantsContext.h
lib/IR/Operator.cpp
lib/Target/AArch64/AArch64FastISel.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
lib/Transforms/Scalar/NaryReassociate.cpp
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16275.45114.patch
Type: text/x-patch
Size: 34946 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/14e706fd/attachment.bin>
More information about the llvm-commits
mailing list