Home
last modified time | relevance | path

Searched refs:CondVT (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp450 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
459 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
460 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT()
466 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
473 auto BoolVT = getSetCCResultType(CondVT); in ScalarizeVecRes_VSELECT()
474 if (BoolVT.bitsLT(CondVT)) in ScalarizeVecRes_VSELECT()
3914 EVT CondVT = Cond->getValueType(0); in WidenVSELECTAndMask() local
3915 if (CondVT.getScalarSizeInBits() != 1) in WidenVSELECTAndMask()
3939 } else if (CondVT.getScalarType() == MVT::i1) { in WidenVSELECTAndMask()
3942 while (TLI.getTypeAction(Ctx, CondVT) != TargetLowering::TypeLegal) in WidenVSELECTAndMask()
[all …]
DDAGCombiner.cpp8401 EVT CondVT = Cond.getValueType(); in foldSelectOfConstants() local
8416 if (CondVT == MVT::i1 && !LegalOperations) { in foldSelectOfConstants()
8488 if (CondVT.isInteger() && in foldSelectOfConstants()
8495 DAG.getNode(ISD::XOR, DL, CondVT, Cond, DAG.getConstant(1, DL, CondVT)); in foldSelectOfConstants()
8496 if (VT.bitsEq(CondVT)) in foldSelectOfConstants()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp17466 MVT CondVT = Cond.getSimpleValueType(); in LowerVSELECT() local
17487 DAG.getConstant(0, dl, CondVT), in LowerVSELECT()
37524 EVT CondVT = Cond.getValueType(); in combineVSelectWithAllOnesOrZeros() local
37531 assert(CondVT.isVector() && "Vector select expects a vector selector!"); in combineVSelectWithAllOnesOrZeros()
37550 Cond.hasOneUse() && CondVT.getVectorElementType() == MVT::i1) { in combineVSelectWithAllOnesOrZeros()
37552 SDValue CondNew = DAG.getNOT(DL, Cond, CondVT); in combineVSelectWithAllOnesOrZeros()
37562 if (CondVT.getScalarSizeInBits() != VT.getScalarSizeInBits()) in combineVSelectWithAllOnesOrZeros()
37573 CondVT) { in combineVSelectWithAllOnesOrZeros()
37580 Cond = DAG.getSetCC(DL, CondVT, Cond.getOperand(0), Cond.getOperand(1), in combineVSelectWithAllOnesOrZeros()
37589 if (DAG.ComputeNumSignBits(Cond) != CondVT.getScalarSizeInBits()) in combineVSelectWithAllOnesOrZeros()
[all …]