Home
last modified time | relevance | path

Searched refs:equalsInt (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/IR/
DConstantFold.cpp1008 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 …]
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp87 EXPECT_TRUE(cast<ConstantInt>(V)->equalsInt(42)); in TEST()
/external/llvm/lib/Analysis/
DLoopInfo.cpp172 if (CI->equalsInt(1)) in getCanonicalInductionVariable()
DScalarEvolution.cpp2440 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()
/external/llvm/include/llvm/IR/
DConstants.h133 bool equalsInt(uint64_t V) const { in equalsInt() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp471 if (CI0 && CI0->equalsInt(0)) in SimplifyX86extrq()