/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CmpInstAnalysis.cpp | 35 case ICmpInst::ICMP_ULE: return 6; // 110 in getICmpCode() 54 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue() 114 case ICmpInst::ICMP_ULE: in decomposeBitTestICmp()
|
D | InstructionSimplify.cpp | 1472 (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGE)) in simplifyOrOfICmpsWithSameOperands() 1583 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in simplifyAndOfICmpsWithAdd() 1594 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in simplifyAndOfICmpsWithAdd() 1662 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in simplifyOrOfICmpsWithAdd() 1665 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in simplifyOrOfICmpsWithAdd() 2171 case CmpInst::ICMP_ULE: in computePointerICmp() 2365 case CmpInst::ICMP_ULE: // X <=u 1 -> true in simplifyICmpOfBools() 2391 case ICmpInst::ICMP_ULE: in simplifyICmpOfBools() 2415 case ICmpInst::ICMP_ULE: in simplifyICmpWithZero() 2765 if (Pred == ICmpInst::ICMP_ULE) in simplifyICmpWithBinOp() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CmpInstAnalysis.cpp | 57 case ICmpInst::ICMP_ULE: return 6; // 110 in getICmpCode() 83 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue()
|
D | LowerSwitch.cpp | 317 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock() 326 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitcodeDecoders.cpp | 208 case naclbitc::ICMP_ULE: in DecodeIcmpPredicate() 209 LLVMPredicate = CmpInst::ICMP_ULE; in DecodeIcmpPredicate()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1092 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in foldICmpAddOpConst() 1706 : CmpInst::ICMP_ULE; in foldICmpAndConstant() 1747 Pred = (Pred == CmpInst::ICMP_EQ) ? CmpInst::ICMP_ULE : CmpInst::ICMP_UGT; in foldICmpOrConstant() 1822 Pred = ICmpInst::ICMP_ULE; in foldICmpShlOne() 2093 return new ICmpInst(ICmpInst::ICMP_ULE, Y, in foldICmpUDivConstant() 2713 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT; in foldICmpBinOpEqualityWithConstant() 2891 DstPred = ICmpInst::Predicate::ICMP_ULE; in foldICmpWithLowBitMaskedVal() 2905 DstPred = ICmpInst::Predicate::ICMP_ULE; in foldICmpWithLowBitMaskedVal() 2912 case ICmpInst::Predicate::ICMP_ULE: in foldICmpWithLowBitMaskedVal() 2915 DstPred = ICmpInst::Predicate::ICMP_ULE; in foldICmpWithLowBitMaskedVal() [all …]
|
D | InstCombineAndOrXor.cpp | 791 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 854 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE; in foldAndOrOfEqualityCmpsWithConstants() 1000 if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE || in foldAndOfICmps() 1001 PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE || in foldAndOfICmps() 1796 if ((PredL == ICmpInst::ICMP_ULT || PredL == ICmpInst::ICMP_ULE) && in foldOrOfICmps() 1924 if (PredL == ICmpInst::ICMP_UGE || PredL == ICmpInst::ICMP_ULE || in foldOrOfICmps() 1925 PredR == ICmpInst::ICMP_UGE || PredR == ICmpInst::ICMP_ULE || in foldOrOfICmps()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 198 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock() 207 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClLLVMBitCodes.h | 299 ICMP_ULE = 37, ///< unsigned less or equal enumerator
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Instructions.cpp | 3252 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 3255 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 3308 case ICmpInst::ICMP_ULE: return "ule"; in getPredicateName() 3321 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate() 3329 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3334 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate() 3346 case ICMP_ULT: return ICMP_ULE; in getFlippedStrictnessPredicate() 3348 case ICMP_ULE: return ICMP_ULT; in getFlippedStrictnessPredicate() 3372 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate() 3373 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate() [all …]
|
D | ConstantFold.cpp | 1601 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation() 1786 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction() 1926 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1944 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1956 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1958 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1543 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1554 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() 1725 if (Pred0 == ICmpInst::ICMP_UGE && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps() 1728 if (Pred0 == ICmpInst::ICMP_UGT && Pred1 == ICmpInst::ICMP_ULE) in SimplifyOrOfICmps() 2003 case CmpInst::ICMP_ULE: in computePointerICmp() 2227 case ICmpInst::ICMP_ULE: { in SimplifyICmpInst() 2245 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 2514 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 2594 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 2703 if (Pred == ICmpInst::ICMP_ULE) in SimplifyICmpInst() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 1505 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 1676 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 1758 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 1841 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 1868 case ICmpInst::ICMP_ULE: in SimplifyICmpInst() 1995 EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B". in SimplifyICmpInst() 2002 EqP = CmpInst::ICMP_ULE; // "A == umin(A, B)" iff "A ule B". in SimplifyICmpInst() 2013 case CmpInst::ICMP_ULE: in SimplifyICmpInst() 2085 if (Pred == CmpInst::ICMP_ULE) in SimplifyICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LowerSwitch.cpp | 329 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High, in newLeafBlock() 338 Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Add, UpperBound, in newLeafBlock()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 1147 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst() 1853 : ICmpInst::ICMP_ULE, in visitICmpInstWithInstAndIntCst() 1937 Pred = ICmpInst::ICMP_ULE; in visitICmpInstWithInstAndIntCst() 2102 return new ICmpInst(ICmpInst::ICMP_ULE, X, in visitICmpInstWithInstAndIntCst() 2801 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom() 2890 case ICmpInst::ICMP_ULE: in ProcessUMulZExtIdiom() 3102 Pred != ICmpInst::ICMP_ULE && Pred != ICmpInst::ICMP_UGE) in canonicalizeCmpWithConstant() 3117 bool IsLE = (Pred == ICmpInst::ICMP_SLE || Pred == ICmpInst::ICMP_ULE); in canonicalizeCmpWithConstant() 3220 case ICmpInst::ICMP_ULE: { // icmp ule i1 A, B -> ~A | B in visitICmpInst() 3587 case ICmpInst::ICMP_ULE: in visitICmpInst() [all …]
|
D | InstCombineAndOrXor.cpp | 293 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest() 851 case ICmpInst::ICMP_SLE: NewPred = ICmpInst::ICMP_ULE; break; in simplifyRangeCheck() 954 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps() 955 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps() 1731 if ((LHSCC == ICmpInst::ICMP_ULT || LHSCC == ICmpInst::ICMP_ULE) && in FoldOrOfICmps() 1854 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps() 1855 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3440 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 3443 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 3479 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate() 3487 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 3492 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate() 3531 case ICmpInst::ICMP_ULE: in makeConstantRange() 3570 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate() 3571 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate() 3597 case CmpInst::ICMP_ULE: in getSignedPredicate() 3609 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned() [all …]
|
D | ConstantFold.cpp | 1581 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation() 1761 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction() 1901 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1919 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1931 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 1933 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | dynamic_update_slice_util.cc | 71 : llvm::ICmpInst::ICMP_ULE, in EmitDynamicUpdateSliceInPlaceImpl()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instructions.cpp | 2896 case ICMP_UGT: return ICMP_ULE; in getInversePredicate() 2899 case ICMP_ULE: return ICMP_UGT; in getInversePredicate() 2933 case ICMP_ULE: return ICMP_SLE; in getSignedPredicate() 2941 case ICMP_UGT: case ICMP_ULT: case ICMP_UGE: case ICMP_ULE: in getUnsignedPredicate() 2946 case ICMP_SLE: return ICMP_ULE; in getUnsignedPredicate() 2985 case ICmpInst::ICMP_ULE: in makeConstantRange() 3024 case ICMP_UGE: return ICMP_ULE; in getSwappedPredicate() 3025 case ICMP_ULE: return ICMP_UGE; in getSwappedPredicate() 3046 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_ULE: case ICmpInst::ICMP_UGT: in isUnsigned() 3080 case ICMP_EQ: case ICMP_UGE: case ICMP_ULE: case ICMP_SGE: case ICMP_SLE: in isTrueWhenEqual()
|
D | ConstantFold.cpp | 1748 return isSigned ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; in evaluateICmpRelation() 1918 case ICmpInst::ICMP_ULE: return ConstantInt::get(ResultTy, V1.ule(V2)); in ConstantFoldCompareInstruction() 2053 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_NE: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2071 case ICmpInst::ICMP_ULT: case ICmpInst::ICMP_EQ: case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2083 case ICmpInst::ICMP_ULE: in ConstantFoldCompareInstruction() 2085 if (pred == ICmpInst::ICMP_ULT || pred == ICmpInst::ICMP_ULE) Result = 1; in ConstantFoldCompareInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 100 case ICmpInst::ICMP_ULE: return 6; // 110 in getICmpCode() 153 case 6: Pred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break; in getICmpValue() 341 ICmpInst::ICMP_SLE:ICmpInst::ICMP_ULE), Lo, Hi))->getZExtValue() && in InsertRangeTest() 814 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps() 815 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldAndOfICmps() 1521 if (LHSCC == ICmpInst::ICMP_UGE || LHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps() 1522 RHSCC == ICmpInst::ICMP_UGE || RHSCC == ICmpInst::ICMP_ULE || in FoldOrOfICmps()
|
D | InstCombineCompares.cpp | 706 if (Pred == ICmpInst::ICMP_ULT || Pred == ICmpInst::ICMP_ULE) { in FoldICmpAddOpCst() 1820 case ICmpInst::ICMP_ULE: { // icmp ule i1 A, B -> ~A | B in visitICmpInst() 1879 case ICmpInst::ICMP_ULE: in visitICmpInst() 2108 case ICmpInst::ICMP_ULE: in visitICmpInst() 2629 Pred = LHSUnsigned ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_SLE; in FoldFCmp_IntToFP_Cst() 2669 Pred == ICmpInst::ICMP_ULE) in FoldFCmp_IntToFP_Cst() 2709 case ICmpInst::ICMP_ULE: in FoldFCmp_IntToFP_Cst() 2726 Pred = ICmpInst::ICMP_ULE; in FoldFCmp_IntToFP_Cst()
|
/external/llvm/lib/Fuzzer/ |
D | FuzzerTraceState.cpp | 106 ICMP_ULE = 37, ///< unsigned less or equal enumerator 121 case ICMP_ULE: return Arg1 <= Arg2; in ComputeCmp()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | Analysis.cpp | 189 case ICmpInst::ICMP_ULE: return ISD::SETULE; in getICmpCondCode()
|