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.cpp1284 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(I1), *ICmp2 = dyn_cast<ICmpInst>(I2); in SinkThenElseCodeToEnd()
1286 if (ICmp1 && ICmp2 && in SinkThenElseCodeToEnd()
1287 ICmp1->getOperand(0) != ICmp2->getOperand(0) && in SinkThenElseCodeToEnd()
1288 ICmp1->getOperand(1) != ICmp2->getOperand(1) && in SinkThenElseCodeToEnd()
1289 (ICmp1->getOperand(0) == ICmp2->getOperand(1) || in SinkThenElseCodeToEnd()
1290 ICmp1->getOperand(1) == ICmp2->getOperand(0))) { in SinkThenElseCodeToEnd()
1291 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1296 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()
1315 ICmp2->swapOperands(); in SinkThenElseCodeToEnd()