Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp496 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in getTypeOfMaskedICmp() local
503 if (CCst != 0 && CCst->isZero()) { in getTypeOfMaskedICmp()
536 else if (ACst != 0 && CCst != 0 && in getTypeOfMaskedICmp()
537 ConstantExpr::getAnd(ACst, CCst) == CCst) { in getTypeOfMaskedICmp()
553 else if (BCst != 0 && CCst != 0 && in getTypeOfMaskedICmp()
554 ConstantExpr::getAnd(BCst, CCst) == CCst) { in getTypeOfMaskedICmp()
694 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in foldLogOpOfMaskedICmps() local
695 if (CCst == 0) return 0; in foldLogOpOfMaskedICmps()
697 CCst = dyn_cast<ConstantInt>( ConstantExpr::getXor(BCst, CCst) ); in foldLogOpOfMaskedICmps()
704 ConstantExpr::getXor(CCst, ECst)) ); in foldLogOpOfMaskedICmps()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp447 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in getTypeOfMaskedICmp() local
454 if (CCst && CCst->isZero()) { in getTypeOfMaskedICmp()
484 } else if (ACst && CCst && in getTypeOfMaskedICmp()
485 ConstantExpr::getAnd(ACst, CCst) == CCst) { in getTypeOfMaskedICmp()
499 } else if (BCst && CCst && in getTypeOfMaskedICmp()
500 ConstantExpr::getAnd(BCst, CCst) == CCst) { in getTypeOfMaskedICmp()
790 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in foldLogOpOfMaskedICmps() local
791 if (!CCst) return nullptr; in foldLogOpOfMaskedICmps()
795 CCst = cast<ConstantInt>(ConstantExpr::getXor(BCst, CCst)); in foldLogOpOfMaskedICmps()
801 (CCst->getValue() ^ ECst->getValue())) != 0) in foldLogOpOfMaskedICmps()
[all …]