Searched refs:CCst (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 496 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 237 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in getMaskedICmpType() local 242 if (CCst && CCst->isZero()) { in getMaskedICmpType() 261 } else if (ACst && CCst && ConstantExpr::getAnd(ACst, CCst) == CCst) { in getMaskedICmpType() 271 } else if (BCst && CCst && ConstantExpr::getAnd(BCst, CCst) == CCst) { in getMaskedICmpType() 462 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local 463 if (!CCst) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 725 ConstantInt *CCst = dyn_cast<ConstantInt>(C); in foldLogOpOfMaskedICmps() local 726 if (!CCst) in foldLogOpOfMaskedICmps() 732 CCst = cast<ConstantInt>(ConstantExpr::getXor(BCst, CCst)); in foldLogOpOfMaskedICmps() 739 (CCst->getValue() ^ ECst->getValue())).getBoolValue()) in foldLogOpOfMaskedICmps() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 447 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 …]
|