Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp1582 Constant *CondC = in visitSelectInst() local
1585 if (!CondC) { in visitSelectInst()
1611 Value *SelectedV = CondC->isAllOnesValue() in visitSelectInst()
1613 : (CondC->isNullValue()) ? FalseVal : nullptr; in visitSelectInst()
1619 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
DInstructionSimplify.cpp3980 if (auto *CondC = dyn_cast<Constant>(Cond)) { in SimplifySelectInst() local
3983 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
3986 if (isa<UndefValue>(CondC)) in SimplifySelectInst()
3992 if (CondC->isAllOnesValue()) in SimplifySelectInst()
3995 if (CondC->isNullValue()) in SimplifySelectInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1936 Constant *CondC; in canonicalizeSelectToShuffle() local
1937 if (!CondVal->getType()->isVectorTy() || !match(CondVal, m_Constant(CondC))) in canonicalizeSelectToShuffle()
1945 Constant *Elt = CondC->getAggregateElement(i); in canonicalizeSelectToShuffle()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp2223 ISD::CondCode CondC; in ExpandIntRes_MINMAX() local
2224 std::tie(CondC, LoOpc) = getExpandedMinMaxOps(N->getOpcode()); in ExpandIntRes_MINMAX()
2240 SDValue IsHiLeft = DAG.getSetCC(DL, CCT, LHSH, RHSH, CondC); in ExpandIntRes_MINMAX()
DSelectionDAG.cpp7253 if (auto *CondC = dyn_cast<ConstantSDNode>(Cond)) in simplifySelect() local
7254 return CondC->isNullValue() ? F : T; in simplifySelect()
DDAGCombiner.cpp8376 SDValue CondC = Cond.getOperand(1); in foldSelectOfConstantsUsingSra() local
8378 if (CC == ISD::SETGT && isAllOnesOrAllOnesSplat(CondC) && in foldSelectOfConstantsUsingSra()
8386 if (CC == ISD::SETLT && isNullOrNullSplat(CondC) && isNullOrNullSplat(C2)) { in foldSelectOfConstantsUsingSra()