Rename and move utility function getLatchPredicateForGuard. NFC.
authorSerguei Katkov <serguei.katkov@azul.com>
Fri, 9 Feb 2018 07:59:07 +0000 (07:59 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Fri, 9 Feb 2018 07:59:07 +0000 (07:59 +0000)
commit3cb4c34a4e8034aa9270ffc5a93aa31b2b8160d9
tree5dc497a4ee55db837dfff1ff9f32d9f541bab019
parent3dc44a66afb6c857f75f8b1f83b2caf457c777c1
Rename and move utility function getLatchPredicateForGuard. NFC.

Rename getLatchPredicateForGuard to more common name
getFlippedStrictnessPredicate and move it to ICmpInst class.

llvm-svn: 324717
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/Scalar/LoopPredication.cpp