Searched refs:CondC (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2578 Constant *CondC = getSimplifiedValue<Constant>(SI.getCondition()); in visitSelectInst() local 2580 if (!CondC) { in visitSelectInst() 2606 Value *SelectedV = CondC->isAllOnesValue() ? TrueVal in visitSelectInst() 2607 : (CondC->isNullValue()) ? FalseVal in visitSelectInst() 2614 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| H A D | InstructionSimplify.cpp | 4823 if (auto *CondC = dyn_cast<Constant>(Cond)) { in simplifySelectInst() local 4826 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst() 4830 if (isa<PoisonValue>(CondC)) in simplifySelectInst() 4834 if (Q.isUndefValue(CondC)) in simplifySelectInst() 4841 if (match(CondC, m_One())) in simplifySelectInst() 4843 if (match(CondC, m_Zero())) in simplifySelectInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2314 Constant *CondC; in canonicalizeSelectToShuffle() local 2316 if (!CondValTy || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle() 2323 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
|
| H A D | InstCombineCalls.cpp | 1305 Value *CondC = Builder.CreateICmp(Pred, C0, C1); in reassociateMinMaxWithConstants() local 1306 Value *NewC = Builder.CreateSelect(CondC, C0, C1); in reassociateMinMaxWithConstants()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeIntegerTypes.cpp | 3513 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local 3514 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX() 3519 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
|
| H A D | DAGCombiner.cpp | 11873 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local 11875 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra() 11882 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()
|