Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DInstructionsTest.cpp319 ICmpInst *ICmp1 = new ICmpInst(ICmpInst::ICMP_ULT, PtrVecA, PtrVecB); in TEST() local
320 EXPECT_NE(ICmp0, ICmp1); // suppress warning. in TEST()
392 delete ICmp1; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp331 ICmpInst *ICmp1 = new ICmpInst(ICmpInst::ICMP_ULT, PtrVecA, PtrVecB); in TEST() local
332 EXPECT_NE(ICmp0, ICmp1); // suppress warning. in TEST()
404 delete ICmp1; in TEST()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1408 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(I1), *ICmp2 = dyn_cast<ICmpInst>(I2); in SinkThenElseCodeToEnd() local
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()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1258 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(Cast1Src); in foldCastedBitwiseLogic() local
1259 if (ICmp0 && ICmp1) { in foldCastedBitwiseLogic()
1260 Value *Res = LogicOpc == Instruction::And ? FoldAndOfICmps(ICmp0, ICmp1) in foldCastedBitwiseLogic()
1261 : FoldOrOfICmps(ICmp0, ICmp1, &I); in foldCastedBitwiseLogic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1261 ICmpInst *ICmp1 = dyn_cast<ICmpInst>(Cast1Src); in foldCastedBitwiseLogic() local
1262 if (ICmp0 && ICmp1) { in foldCastedBitwiseLogic()
1263 Value *Res = LogicOpc == Instruction::And ? foldAndOfICmps(ICmp0, ICmp1, I) in foldCastedBitwiseLogic()
1264 : foldOrOfICmps(ICmp0, ICmp1, I); in foldCastedBitwiseLogic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1746 auto *ICmp1 = dyn_cast<ICmpInst>(Op1); in simplifyAndOrOfCmps() local
1747 if (ICmp0 && ICmp1) in simplifyAndOrOfCmps()
1748 V = IsAnd ? simplifyAndOfICmps(ICmp0, ICmp1) : in simplifyAndOrOfCmps()
1749 simplifyOrOfICmps(ICmp0, ICmp1); in simplifyAndOrOfCmps()