Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2141 Constant *CondC = in visitSelectInst() local
2144 if (!CondC) { in visitSelectInst()
2170 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
2171 : (CondC->isNullValue()) ? FalseVal in visitSelectInst()
2178 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4206 if (auto *CondC = dyn_cast<Constant>(Cond)) { in SimplifySelectInst() local
4209 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
4212 if (isa<PoisonValue>(CondC)) in SimplifySelectInst()
4216 if (Q.isUndefValue(CondC)) in SimplifySelectInst()
4223 if (match(CondC, m_One())) in SimplifySelectInst()
4225 if (match(CondC, m_Zero())) in SimplifySelectInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1977 Constant *CondC; in canonicalizeSelectToShuffle() local
1979 if (!CondValTy || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle()
1986 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp2559 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local
2560 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX()
2576 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
H A DSelectionDAG.cpp7820 if (auto *CondC = dyn_cast<ConstantSDNode>(Cond)) in simplifySelect() local
7821 return CondC->isNullValue() ? F : T; in simplifySelect()
H A DDAGCombiner.cpp9319 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local
9321 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra()
9329 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()