Factor several methods, including getInversePredicate and
authorDan Gohman <gohman@apple.com>
Sat, 31 May 2008 02:47:54 +0000 (02:47 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 31 May 2008 02:47:54 +0000 (02:47 +0000)
commit7e2dd6628e398f369a110856ec69455f65d17638
treea8ed30e2b4d47ef8c8e09882f764f61ebc8a026a
parente4c67cdab4a2ad2ff53183ad32e77e8608c9262d
Factor several methods, including getInversePredicate and
getSwappedPredicate, from ICmpInst and FCmpInst into common
methods in CmpInst. This allows CmpInsts to be manipulated
generically.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51810 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/InstrTypes.h
include/llvm/Instructions.h
lib/VMCore/Instructions.cpp