Searched refs:CondC (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2231 Constant *CondC = in visitSelectInst() local 2234 if (!CondC) { in visitSelectInst() 2260 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst() 2261 : (CondC->isNullValue()) ? FalseVal in visitSelectInst() 2268 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| H A D | InstructionSimplify.cpp | 4401 if (auto *CondC = dyn_cast<Constant>(Cond)) { in simplifySelectInst() local 4404 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in simplifySelectInst() 4407 if (isa<PoisonValue>(CondC)) in simplifySelectInst() 4411 if (Q.isUndefValue(CondC)) in simplifySelectInst() 4418 if (match(CondC, m_One())) in simplifySelectInst() 4420 if (match(CondC, m_Zero())) in simplifySelectInst()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2017 Constant *CondC; in canonicalizeSelectToShuffle() local 2019 if (!CondValTy || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 2026 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
|
| H A D | InstCombineCalls.cpp | 988 Constant *CondC = ConstantExpr::getICmp(Pred, C0, C1); in reassociateMinMaxWithConstants() local 989 Constant *NewC = ConstantExpr::getSelect(CondC, C0, C1); in reassociateMinMaxWithConstants()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 2866 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local 2867 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX() 2883 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
|
| H A D | SelectionDAG.cpp | 8816 if (auto *CondC = dyn_cast<ConstantSDNode>(Cond)) in simplifySelect() local 8817 return CondC->isZero() ? F : T; in simplifySelect()
|
| H A D | DAGCombiner.cpp | 10121 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local 10123 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra() 10131 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()
|