Searched refs:equalsInt (Results 1 – 6 of 6) sorted by relevance
1008 if (CI2->equalsInt(0)) return C1; // X + 0 == X in ConstantFoldBinaryInstruction()1011 if (CI2->equalsInt(0)) return C1; // X - 0 == X in ConstantFoldBinaryInstruction()1014 if (CI2->equalsInt(0)) return C2; // X * 0 == 0 in ConstantFoldBinaryInstruction()1015 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()1020 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()1022 if (CI2->equalsInt(0)) in ConstantFoldBinaryInstruction()1027 if (CI2->equalsInt(1)) in ConstantFoldBinaryInstruction()1029 if (CI2->equalsInt(0)) in ConstantFoldBinaryInstruction()1071 if (CI2->equalsInt(0)) return C1; // X | 0 == X in ConstantFoldBinaryInstruction()1076 if (CI2->equalsInt(0)) return C1; // X ^ 0 == X in ConstantFoldBinaryInstruction()[all …]
87 EXPECT_TRUE(cast<ConstantInt>(V)->equalsInt(42)); in TEST()
172 if (CI->equalsInt(1)) in getCanonicalInductionVariable()
2440 if (cast<SCEVConstant>(Ops[0])->getValue()->equalsInt(1)) { in getMulExpr()2644 if (RHSC->getValue()->equalsInt(1)) in getUDivExpr()6621 if (!StepC || StepC->getValue()->equalsInt(0)) in HowFarToZero()6635 if (StepC->getValue()->equalsInt(1) || StepC->getValue()->isAllOnesValue()) { in HowFarToZero()
133 bool equalsInt(uint64_t V) const { in equalsInt() function
471 if (CI0 && CI0->equalsInt(0)) in SimplifyX86extrq()