Searched refs:CondC (Results 1 – 7 of 7) sorted by relevance
/openbsd/gnu/llvm/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 2283 Constant *CondC = in visitSelectInst() local 2286 if (!CondC) { in visitSelectInst() 2312 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst() 2313 : (CondC->isNullValue()) ? FalseVal in visitSelectInst() 2320 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
|
H A D | InstructionSimplify.cpp | 4550 if (auto *CondC = dyn_cast<Constant>(Cond)) { in simplifySelectInst() local 4553 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in simplifySelectInst() 4556 if (isa<PoisonValue>(CondC)) in simplifySelectInst() 4560 if (Q.isUndefValue(CondC)) in simplifySelectInst() 4567 if (match(CondC, m_One())) in simplifySelectInst() 4569 if (match(CondC, m_Zero())) in simplifySelectInst()
|
/openbsd/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSelect.cpp | 2075 Constant *CondC; in canonicalizeSelectToShuffle() local 2077 if (!CondValTy || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 2084 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
|
H A D | InstCombineCalls.cpp | 1007 Constant *CondC = ConstantExpr::getICmp(Pred, C0, C1); in reassociateMinMaxWithConstants() local 1008 Constant *NewC = ConstantExpr::getSelect(CondC, C0, C1); in reassociateMinMaxWithConstants()
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 2878 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local 2879 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX() 2909 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
|
H A D | SelectionDAG.cpp | 9067 if (auto *CondC = dyn_cast<ConstantSDNode>(Cond)) in simplifySelect() local 9068 return CondC->isZero() ? F : T; in simplifySelect() 9072 if (ConstantSDNode *CondC = isConstOrConstSplat(Cond, /*AllowUndefs*/ false, in simplifySelect() local 9074 if (CondC->isZero()) in simplifySelect()
|
H A D | DAGCombiner.cpp | 10476 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local 10478 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra() 10486 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()
|