Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp189 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in getMaskedICmpType() local
193 bool IsBPow2 = (BCst && !BCst->isZero() && BCst->getValue().isPowerOf2()); in getMaskedICmpType()
224 } else if (BCst && CCst && ConstantExpr::getAnd(BCst, CCst) == CCst) { in getMaskedICmpType()
411 ConstantInt *BCst, *CCst, *DCst, *ECst; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local
412 if (!match(B, m_ConstantInt(BCst)) || !match(C, m_ConstantInt(CCst)) || in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
427 if (BCst->getValue() == 0 || DCst->getValue() == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
434 if ((BCst->getValue() & DCst->getValue()) == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
453 if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
454 (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
455 APInt BorD = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
[all …]