Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineAndOrXor.cpp233 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in getMaskedICmpType() local
237 bool IsBPow2 = (BCst && !BCst->isZero() && BCst->getValue().isPowerOf2()); in getMaskedICmpType()
268 } else if (BCst && CCst && ConstantExpr::getAnd(BCst, CCst) == CCst) { in getMaskedICmpType()
456 ConstantInt *BCst = dyn_cast<ConstantInt>(B); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local
457 if (!BCst) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
480 if (BCst->getValue() == 0 || DCst->getValue() == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
487 if ((BCst->getValue() & DCst->getValue()) == 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
506 if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
507 (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
508 APInt BorD = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
[all …]