Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DInstructionsTest.cpp324 ICmpInst *ICmp2 = new ICmpInst(*BB0, ICmpInst::ICMP_SGE, PtrVecA, PtrVecB); in TEST() local
325 EXPECT_NE(ICmp0, ICmp2); // suppress warning. in TEST()
388 ICmp2->eraseFromParent(); in TEST()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1408 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(I1), *ICmp2 = dyn_cast<ICmpInst>(I2); in SinkThenElseCodeToEnd()
1410 if (ICmp1 && ICmp2 && ICmp1->getOperand(0) != ICmp2->getOperand(0) && in SinkThenElseCodeToEnd()
1411 ICmp1->getOperand(1) != ICmp2->getOperand(1) && in SinkThenElseCodeToEnd()
1412 (ICmp1->getOperand(0) == ICmp2->getOperand(1) || in SinkThenElseCodeToEnd()
1413 ICmp1->getOperand(1) == ICmp2->getOperand(0))) { in SinkThenElseCodeToEnd()
1414 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1419 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1437 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()