Home
last modified time | relevance | path

Searched refs:BCst (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp456 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in getTypeOfMaskedICmp() local
461 bool icmp_bbit = (BCst && !BCst->isZero() && in getTypeOfMaskedICmp()
462 BCst->getValue().isPowerOf2()); in getTypeOfMaskedICmp()
511 } else if (BCst && CCst && in getTypeOfMaskedICmp()
512 ConstantExpr::getAnd(BCst, CCst) == CCst) { in getTypeOfMaskedICmp()
761 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in foldLogOpOfMaskedICmps() local
762 if (!BCst) return nullptr; in foldLogOpOfMaskedICmps()
772 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps()
774 if (NewMask == BCst->getValue()) in foldLogOpOfMaskedICmps()
784 APInt NewMask = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps()
[all …]