Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp751 ConstantInt *DCst = dyn_cast<ConstantInt>(D); in foldLogOpOfMaskedICmps() local
752 if (!DCst) return nullptr; in foldLogOpOfMaskedICmps()
760 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps()
764 else if (NewMask == DCst->getValue()) in foldLogOpOfMaskedICmps()
772 APInt NewMask = BCst->getValue() | DCst->getValue(); in foldLogOpOfMaskedICmps()
776 else if (NewMask == DCst->getValue()) in foldLogOpOfMaskedICmps()
797 ECst = cast<ConstantInt>(ConstantExpr::getXor(DCst, ECst)); in foldLogOpOfMaskedICmps()
800 if (((BCst->getValue() & DCst->getValue()) & in foldLogOpOfMaskedICmps()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp688 ConstantInt *DCst = dyn_cast<ConstantInt>(D); in foldLogOpOfMaskedICmps() local
689 if (DCst == 0) return 0; in foldLogOpOfMaskedICmps()
701 ECst = dyn_cast<ConstantInt>( ConstantExpr::getXor(DCst, ECst) ); in foldLogOpOfMaskedICmps()
703 ConstantExpr::getAnd(ConstantExpr::getAnd(BCst, DCst), in foldLogOpOfMaskedICmps()