Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DInstructionsTest.cpp320 ICmpInst *ICmp2 = new ICmpInst(*BB0, ICmpInst::ICMP_SGE, PtrVecA, PtrVecB); in TEST() local
321 EXPECT_NE(ICmp0, ICmp2); // suppress warning. in TEST()
384 ICmp2->eraseFromParent(); in TEST()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1305 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(I1), *ICmp2 = dyn_cast<ICmpInst>(I2); in SinkThenElseCodeToEnd()
1307 if (ICmp1 && ICmp2 && in SinkThenElseCodeToEnd()
1308 ICmp1->getOperand(0) != ICmp2->getOperand(0) && in SinkThenElseCodeToEnd()
1309 ICmp1->getOperand(1) != ICmp2->getOperand(1) && in SinkThenElseCodeToEnd()
1310 (ICmp1->getOperand(0) == ICmp2->getOperand(1) || in SinkThenElseCodeToEnd()
1311 ICmp1->getOperand(1) == ICmp2->getOperand(0))) { in SinkThenElseCodeToEnd()
1312 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1317 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1336 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()