Home
last modified time | relevance | path

Searched refs:UnsignedICmp (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1415 ICmpInst *UnsignedICmp, bool IsAnd, in simplifyUnsignedRangeCheck() argument
1429 if (match(UnsignedICmp, in simplifyUnsignedRangeCheck()
1432 if (UnsignedICmp->getOperand(0) != A) in simplifyUnsignedRangeCheck()
1439 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1444 return ConstantInt::getFalse(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1450 return IsAnd ? UnsignedICmp : ZeroICmp; in simplifyUnsignedRangeCheck()
1456 return IsAnd ? ZeroICmp : UnsignedICmp; in simplifyUnsignedRangeCheck()
1462 if (match(UnsignedICmp, in simplifyUnsignedRangeCheck()
1464 if (UnsignedICmp->getOperand(0) != Y) in simplifyUnsignedRangeCheck()
1470 return UnsignedICmp; in simplifyUnsignedRangeCheck()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DInstructionSimplify.cpp1410 ICmpInst *UnsignedICmp, bool IsAnd, in simplifyUnsignedRangeCheck() argument
1424 if (match(UnsignedICmp, in simplifyUnsignedRangeCheck()
1431 return ConstantInt::getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1436 return ConstantInt::getFalse(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1442 return IsAnd ? UnsignedICmp : ZeroICmp; in simplifyUnsignedRangeCheck()
1448 return IsAnd ? ZeroICmp : UnsignedICmp; in simplifyUnsignedRangeCheck()
1454 if (match(UnsignedICmp, in simplifyUnsignedRangeCheck()
1459 return UnsignedICmp; in simplifyUnsignedRangeCheck()
1463 return UnsignedICmp; in simplifyUnsignedRangeCheck()
1467 if (match(UnsignedICmp, m_ICmp(UnsignedPred, m_Value(X), m_Specific(Y))) && in simplifyUnsignedRangeCheck()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1055 ICmpInst *UnsignedICmp, bool IsAnd, in foldUnsignedUnderflowCheck() argument
1071 if (match(UnsignedICmp, in foldUnsignedUnderflowCheck()
1074 (ZeroICmp->hasOneUse() || UnsignedICmp->hasOneUse())) { in foldUnsignedUnderflowCheck()
1075 if (UnsignedICmp->getOperand(0) != ZeroCmpOp) in foldUnsignedUnderflowCheck()
1110 if (!match(UnsignedICmp, in foldUnsignedUnderflowCheck()
1114 if (UnsignedICmp->getOperand(0) != Base) in foldUnsignedUnderflowCheck()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1460 ICmpInst *UnsignedICmp, bool IsAnd) { in simplifyUnsignedRangeCheck() argument
1469 if (match(UnsignedICmp, m_ICmp(UnsignedPred, m_Value(X), m_Specific(Y))) && in simplifyUnsignedRangeCheck()
1472 else if (match(UnsignedICmp, in simplifyUnsignedRangeCheck()
1482 return IsAnd ? UnsignedICmp : ZeroICmp; in simplifyUnsignedRangeCheck()
1488 return getTrue(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
1489 return UnsignedICmp; in simplifyUnsignedRangeCheck()
1495 return getFalse(UnsignedICmp->getType()); in simplifyUnsignedRangeCheck()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp995 ICmpInst *UnsignedICmp, bool IsAnd, in foldUnsignedUnderflowCheck() argument
1011 if (match(UnsignedICmp, in foldUnsignedUnderflowCheck()
1014 (ZeroICmp->hasOneUse() || UnsignedICmp->hasOneUse())) { in foldUnsignedUnderflowCheck()
1047 if (!match(UnsignedICmp, in foldUnsignedUnderflowCheck()