Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1147 bool IsAShr = isa<AShrOperator>(I.getOperand(0)); in foldICmpShrConstConst() local
1148 if (IsAShr) { in foldICmpShrConstConst()
1166 if (IsAShr && AP1.isNegative()) in foldICmpShrConstConst()
1172 if (IsAShr && AP1 == AP2.ashr(Shift)) { in foldICmpShrConstConst()
2011 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant() local
2018 if (IsAShr) { in foldICmpShrConstant()
2057 assert(((IsAShr && C.shl(ShAmtVal).ashr(ShAmtVal) == C) || in foldICmpShrConstant()
2058 (!IsAShr && C.shl(ShAmtVal).lshr(ShAmtVal) == C)) && in foldICmpShrConstant()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1453 bool IsAShr = isa<AShrOperator>(Op); in FoldICmpCstShrCst() local
1454 if (IsAShr) { in FoldICmpCstShrCst()
1472 if (IsAShr && AP1.isNegative()) in FoldICmpCstShrCst()
1478 if (IsAShr && AP1 == AP2.ashr(Shift)) { in FoldICmpCstShrCst()