Searched refs:CondVT (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 345 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local 354 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT() 355 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT() 361 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT() 368 auto BoolVT = getSetCCResultType(CondVT); in ScalarizeVecRes_VSELECT() 369 if (BoolVT.bitsLT(CondVT)) in ScalarizeVecRes_VSELECT() 3184 EVT CondVT = Cond->getValueType(0); in WidenVSELECTAndMask() local 3185 if (CondVT.getScalarSizeInBits() != 1) in WidenVSELECTAndMask() 3209 } else if (CondVT.getScalarType() == MVT::i1) { in WidenVSELECTAndMask() 3212 while (TLI.getTypeAction(Ctx, CondVT) != TargetLowering::TypeLegal) in WidenVSELECTAndMask() [all …]
|
D | DAGCombiner.cpp | 7056 EVT CondVT = Cond.getValueType(); in foldSelectOfConstants() local 7071 if (CondVT == MVT::i1 && !LegalOperations) { in foldSelectOfConstants() 7129 if (CondVT.isInteger() && in foldSelectOfConstants() 7136 DAG.getNode(ISD::XOR, DL, CondVT, Cond, DAG.getConstant(1, DL, CondVT)); in foldSelectOfConstants() 7137 if (VT.bitsEq(CondVT)) in foldSelectOfConstants()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 310 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/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 1916 EVT CondVT = Cond1.getValueType(); in WidenVecRes_SELECT() local 1917 if (CondVT.isVector()) { in WidenVecRes_SELECT() 1918 EVT CondEltVT = CondVT.getVectorElementType(); in WidenVecRes_SELECT() 1921 if (getTypeAction(CondVT) == TargetLowering::TypeWidenVector) in WidenVecRes_SELECT()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 32378 EVT CondVT = Cond.getValueType(); in combineVSelectWithAllOnesOrZeros() local 32385 assert(CondVT.isVector() && "Vector select expects a vector selector!"); in combineVSelectWithAllOnesOrZeros() 32391 CondVT.getVectorElementType() == MVT::i1) { in combineVSelectWithAllOnesOrZeros() 32393 SDValue CondNew = DAG.getNOT(DL, Cond, CondVT); in combineVSelectWithAllOnesOrZeros() 32403 if (CondVT.getScalarSizeInBits() != VT.getScalarSizeInBits()) in combineVSelectWithAllOnesOrZeros() 32416 CondVT) { in combineVSelectWithAllOnesOrZeros() 32424 Cond = DAG.getSetCC(DL, CondVT, Cond.getOperand(0), Cond.getOperand(1), in combineVSelectWithAllOnesOrZeros() 32433 if (DAG.ComputeNumSignBits(Cond) != CondVT.getScalarSizeInBits()) in combineVSelectWithAllOnesOrZeros() 32440 if (!DCI.isBeforeLegalize() && !TLI.isTypeLegal(CondVT)) in combineVSelectWithAllOnesOrZeros() 32445 SDValue CastRHS = DAG.getBitcast(CondVT, RHS); in combineVSelectWithAllOnesOrZeros() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 26591 EVT CondVT = Cond.getValueType(); in combineSelect() local 26592 if (Subtarget.hasAVX512() && VT.isVector() && CondVT.isVector() && in combineSelect() 26593 CondVT.getVectorElementType() == MVT::i1) { in combineSelect() 26800 if (N->getOpcode() == ISD::VSELECT && CondVT == VT) { in combineSelect() 26814 CondVT) { in combineSelect() 26823 Cond = DAG.getSetCC(DL, CondVT, Cond.getOperand(0), Cond.getOperand(1), NewCC); in combineSelect() 26837 DAG.getNode(ISD::OR, DL, CondVT, Cond, DAG.getBitcast(CondVT, RHS)); in combineSelect() 26839 Ret = DAG.getNode(ISD::AND, DL, CondVT, Cond, in combineSelect() 26840 DAG.getBitcast(CondVT, LHS)); in combineSelect()
|