Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp468 ConstantInt *ECst = dyn_cast<ConstantInt>(E); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local
469 if (!ECst) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
479 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
509 if ((((BCst->getValue() & DCst->getValue()) & ECst->getValue()) == 0) && in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
513 ECst->getValue(); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
544 if (ECst->isZero()) { in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
562 if ((BCst->getValue() & ECst->getValue()) != 0) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
728 ConstantInt *ECst = dyn_cast<ConstantInt>(E); in foldLogOpOfMaskedICmps() local
729 if (!ECst) in foldLogOpOfMaskedICmps()
734 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp698 ConstantInt *ECst = dyn_cast<ConstantInt>(E); in foldLogOpOfMaskedICmps() local
699 if (ECst == 0) return 0; in foldLogOpOfMaskedICmps()
701 ECst = dyn_cast<ConstantInt>( ConstantExpr::getXor(DCst, ECst) ); in foldLogOpOfMaskedICmps()
704 ConstantExpr::getXor(CCst, ECst)) ); in foldLogOpOfMaskedICmps()
710 Value *newOr2 = ConstantExpr::getOr(CCst, ECst); in foldLogOpOfMaskedICmps()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp792 ConstantInt *ECst = dyn_cast<ConstantInt>(E); in foldLogOpOfMaskedICmps() local
793 if (!ECst) return nullptr; in foldLogOpOfMaskedICmps()
797 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps()
801 (CCst->getValue() ^ ECst->getValue())) != 0) in foldLogOpOfMaskedICmps()
804 Value *NewOr2 = ConstantExpr::getOr(CCst, ECst); in foldLogOpOfMaskedICmps()