Home
last modified time | relevance | path

Searched refs:ICmp2 (Results 1 – 3 of 3) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp336 ICmpInst *ICmp2 = new ICmpInst(*BB0, ICmpInst::ICMP_SGE, PtrVecA, PtrVecB); in TEST() local
337 EXPECT_NE(ICmp0, ICmp2); // suppress warning. in TEST()
400 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()