Clean up usages of asserting vector getters in Type
authorChristopher Tetreault <ctetreau@quicinc.com>
Thu, 9 Apr 2020 19:19:23 +0000 (12:19 -0700)
committerChristopher Tetreault <ctetreau@quicinc.com>
Thu, 9 Apr 2020 19:41:28 +0000 (12:41 -0700)
commitb96558f5e5904d9d01298fbb1c965acb15b92781
tree5e64131d4ce0f1d2fb29694d35d1247e66b7a645
parentc6f13ce580756da6d82497d84d277abdc5ab753c
Clean up usages of asserting vector getters in Type

Summary:
Remove usages of asserting vector getters in Type in preparation for the
VectorType refactor. The existence of these functions complicates the
refactor while adding little value.

Reviewers: sunfish, sdesmalen, efriedma

Reviewed By: efriedma

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77273
llvm/include/llvm/Analysis/Utils/Local.h
llvm/lib/Analysis/ConstantFolding.cpp
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/Loads.cpp
llvm/lib/Analysis/MemoryBuiltins.cpp
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Analysis/VectorUtils.cpp