HomeSort by relevance Sort by last modified time
    Searched refs:BCst (Results 1 - 3 of 3) sorted by null

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 236 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
240 bool IsBPow2 = (BCst && !BCst->isZero() && BCst->getValue().isPowerOf2());
271 } else if (BCst && CCst && ConstantExpr::getAnd(BCst, CCst) == CCst) {
459 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
460 if (!BCst)
483 if (BCst->getValue() == 0 || DCst->getValue() == 0)
490 if ((BCst->getValue() & DCst->getValue()) == 0
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 495 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
500 bool icmp_bbit = (BCst != 0 && !BCst->isZero() &&
501 BCst->getValue().isPowerOf2());
553 else if (BCst != 0 && CCst != 0 &&
554 ConstantExpr::getAnd(BCst, CCst) == CCst) {
686 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
687 if (BCst == 0) return 0;
697 CCst = dyn_cast<ConstantInt>( ConstantExpr::getXor(BCst, CCst) );
703 ConstantExpr::getAnd(ConstantExpr::getAnd(BCst, DCst)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 446 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
451 bool icmp_bbit = (BCst && !BCst->isZero() &&
452 BCst->getValue().isPowerOf2());
499 } else if (BCst && CCst &&
500 ConstantExpr::getAnd(BCst, CCst) == CCst) {
749 ConstantInt *BCst = dyn_cast<ConstantInt>(B);
750 if (!BCst) return nullptr;
760 APInt NewMask = BCst->getValue() & DCst->getValue();
762 if (NewMask == BCst->getValue()
    [all...]

Completed in 71 milliseconds