Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp2167 Constant *IdC = ConstantExpr::getBinOpIdentity(BOpcode, Shuf.getType(), true); in foldSelectShuffleWith1Binop() local
2168 if (!IdC) in foldSelectShuffleWith1Binop()
2189 Constant *NewC = Op0IsBinop ? ConstantExpr::getShuffleVector(C, IdC, Mask) : in foldSelectShuffleWith1Binop()
2190 ConstantExpr::getShuffleVector(IdC, C, Mask); in foldSelectShuffleWith1Binop()
H A DInstCombineSelect.cpp83 Constant *IdC = ConstantExpr::getBinOpIdentity(BO->getOpcode(), Ty, true); in foldSelectBinOpIdentity() local
84 if (IdC != C) { in foldSelectBinOpIdentity()
85 if (!IdC || !CmpInst::isFPPredicate(Pred)) in foldSelectBinOpIdentity()
87 if (!match(IdC, m_AnyZeroFP()) || !match(C, m_AnyZeroFP())) in foldSelectBinOpIdentity()