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

  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp 741 ConstantInt *LHSCst = dyn_cast<ConstantInt>(LHS->getOperand(1));
743 if (LHSCst == 0 || RHSCst == 0) return 0;
745 if (LHSCst == RHSCst && LHSCC == RHSCC) {
749 LHSCst->getValue().isPowerOf2()) {
751 return Builder->CreateICmp(LHSCC, NewOr, LHSCst);
755 if (LHSCC == ICmpInst::ICMP_EQ && LHSCst->isZero()) {
757 return Builder->CreateICmp(LHSCC, NewOr, LHSCst);
761 if (LHSCC == ICmpInst::ICMP_SLT && LHSCst->isZero()) {
763 return Builder->CreateICmp(LHSCC, NewAnd, LHSCst);
767 if (LHSCC == ICmpInst::ICMP_SGT && LHSCst->isAllOnesValue())
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineAndOrXor.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
SelectionDAG.cpp 294 if (auto *LHSCst = dyn_cast<ConstantSDNode>(LHS))
296 return Match(LHSCst, RHSCst);
304 auto *LHSCst = dyn_cast<ConstantSDNode>(LHS.getOperand(i));
306 if (!LHSCst || !RHSCst)
308 if (LHSCst->getValueType(0) != SVT ||
309 LHSCst->getValueType(0) != RHSCst->getValueType(0))
311 if (!Match(LHSCst, RHSCst))
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
ScalarEvolution.cpp     [all...]

Completed in 644 milliseconds