Home
last modified time | relevance | path

Searched refs:ICmp1 (Results 1 – 3 of 3) 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/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()