Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2380 Constant *CondC = in visitSelectInst() local
2383 if (!CondC) { in visitSelectInst()
2409 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst()
2410 : (CondC->isNullValue()) ? FalseVal in visitSelectInst()
2417 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4797 if (auto *CondC = dyn_cast<Constant>(Cond)) { in simplifySelectInst() local
4800 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst()
4804 if (isa<PoisonValue>(CondC)) in simplifySelectInst()
4808 if (Q.isUndefValue(CondC)) in simplifySelectInst()
4815 if (match(CondC, m_One())) in simplifySelectInst()
4817 if (match(CondC, m_Zero())) in simplifySelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2260 Constant *CondC; in canonicalizeSelectToShuffle() local
2262 if (!CondValTy || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle()
2269 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
H A DInstCombineCalls.cpp1252 Value *CondC = Builder.CreateICmp(Pred, C0, C1); in reassociateMinMaxWithConstants() local
1253 Value *NewC = Builder.CreateSelect(CondC, C0, C1); in reassociateMinMaxWithConstants()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeIntegerTypes.cpp3316 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local
3317 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX()
3322 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
H A DSelectionDAG.cpp9917 if (auto *CondC = dyn_cast<ConstantSDNode>(Cond)) in simplifySelect() local
9918 return CondC->isZero() ? F : T; in simplifySelect()
9922 if (ConstantSDNode *CondC = isConstOrConstSplat(Cond, /*AllowUndefs*/ false, in simplifySelect() local
9924 if (CondC->isZero()) in simplifySelect()
H A DDAGCombiner.cpp11340 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local
11342 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra()
11349 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()