Home
last modified time | relevance | path

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

/external/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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp459 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
468 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
469 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT()
475 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
482 auto BoolVT = getSetCCResultType(CondVT); in ScalarizeVecRes_VSELECT()
483 if (BoolVT.bitsLT(CondVT)) in ScalarizeVecRes_VSELECT()
4080 EVT CondVT = Cond->getValueType(0); in WidenVSELECTMask() local
4081 if (CondVT.getScalarSizeInBits() != 1) in WidenVSELECTMask()
4105 } else if (CondVT.getScalarType() == MVT::i1) { in WidenVSELECTMask()
4108 while (TLI.getTypeAction(Ctx, CondVT) != TargetLowering::TypeLegal) in WidenVSELECTMask()
[all …]
DDAGCombiner.cpp9091 EVT CondVT = Cond.getValueType(); in foldSelectOfConstants() local
9106 if (CondVT == MVT::i1 && !LegalOperations) { in foldSelectOfConstants()
9178 if (CondVT.isInteger() && in foldSelectOfConstants()
9185 DAG.getNode(ISD::XOR, DL, CondVT, Cond, DAG.getConstant(1, DL, CondVT)); in foldSelectOfConstants()
9186 if (VT.bitsEq(CondVT)) in foldSelectOfConstants()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp310 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
318 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
319 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT()
325 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
2941 EVT CondVT = Cond1.getValueType(); in WidenVecRes_SELECT() local
2942 if (CondVT.isVector()) { in WidenVecRes_SELECT()
2943 EVT CondEltVT = CondVT.getVectorElementType(); in WidenVecRes_SELECT()
2946 if (getTypeAction(CondVT) == TargetLowering::TypeWidenVector) in WidenVecRes_SELECT()
2954 if (getTypeAction(CondVT) == TargetLowering::TypeSplitVector) { in WidenVecRes_SELECT()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp10977 EVT CondVT = Cond.getValueType(); in createShuffleMaskFromVSELECT() local
10978 unsigned EltSizeInBits = CondVT.getScalarSizeInBits(); in createShuffleMaskFromVSELECT()
10979 unsigned NumElts = CondVT.getVectorNumElements(); in createShuffleMaskFromVSELECT()
18347 MVT CondVT = Cond.getSimpleValueType(); in LowerVSELECT() local
18372 DAG.getConstant(0, dl, CondVT), in LowerVSELECT()
24133 EVT CondVT = Cond.getValueType(); in LowerBRCOND() local
24138 DAG.getNode(ISD::AND, dl, CondVT, Cond, DAG.getConstant(1, dl, CondVT)); in LowerBRCOND()
24141 SDValue RHS = DAG.getConstant(0, dl, CondVT); in LowerBRCOND()
40268 EVT CondVT = Cond.getValueType(); in combineVSelectWithAllOnesOrZeros() local
40275 assert(CondVT.isVector() && "Vector select expects a vector selector!"); in combineVSelectWithAllOnesOrZeros()
[all …]
/external/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 …]
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp5938 const auto *CondVT = CondType->castAs<VectorType>(); in CheckGNUVectorConditionalTypes() local
5939 QualType CondElementTy = CondVT->getElementType(); in CheckGNUVectorConditionalTypes()
5940 unsigned CondElementCount = CondVT->getNumElements(); in CheckGNUVectorConditionalTypes()