[IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsig...
authorCraig Topper <craig.topper@intel.com>
Sun, 9 Jul 2017 07:04:03 +0000 (07:04 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 9 Jul 2017 07:04:03 +0000 (07:04 +0000)
commitfde4723ebead58f0342ae88abd1cc5ad795a5e5b
tree373399d8986978b02ec9e21161eb4a569f77ecac
parent95d2347ae16335aa30139c0aa6c050ac3dce2ad7
[IR] Add Type::isIntOrIntVectorTy(unsigned) similar to the existing isIntegerTy(unsigned), but also works for vectors.

llvm-svn: 307492
12 files changed:
llvm/include/llvm/IR/Type.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/IR/Constants.cpp
llvm/lib/IR/Type.cpp
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp