Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp599 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
608 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
609 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT()
615 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
622 auto BoolVT = getSetCCResultType(CondVT); in ScalarizeVecRes_VSELECT()
623 if (BoolVT.bitsLT(CondVT)) in ScalarizeVecRes_VSELECT()
6469 EVT CondVT = Cond->getValueType(0); in WidenVSELECTMask() local
6470 if (CondVT.getScalarSizeInBits() != 1) in WidenVSELECTMask()
6500 } else if (CondVT.getScalarType() == MVT::i1) { in WidenVSELECTMask()
6503 while (TLI.getTypeAction(Ctx, CondVT) != TargetLowering::TypeLegal) in WidenVSELECTMask()
[all …]
H A DDAGCombiner.cpp6729 EVT CondVT = Cond.getValueType(); in combineSelectAsExtAnd() local
6730 if (TLI.getBooleanContents(CondVT) != in combineSelectAsExtAnd()
6743 OpVT == CondVT ? Cond : DAG.getBoolExtOrTrunc(Cond, DL, OpVT, CondVT); in combineSelectAsExtAnd()
11915 EVT CondVT = Cond.getValueType(); in foldSelectOfConstants() local
11926 if (CondVT != MVT::i1 || LegalOperations) { in foldSelectOfConstants()
11936 if (CondVT.isInteger() && in foldSelectOfConstants()
11943 DAG.getNode(ISD::XOR, DL, CondVT, Cond, DAG.getConstant(1, DL, CondVT)); in foldSelectOfConstants()
11944 if (VT.bitsEq(CondVT)) in foldSelectOfConstants()
11956 assert(CondVT == MVT::i1 && !LegalOperations); in foldSelectOfConstants()
13086 EVT CondVT = Cond.getValueType(); in combineVSelectWithAllOnesOrZeros() local
[all …]
H A DLegalizeVectorOps.cpp1002 EVT CondVT = TLI.getSetCCResultType( in Expand() local
1005 DAG.getNode(ISD::SETCC, SDLoc(Node), CondVT, Node->getOperand(0), in Expand()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp5660 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes() local
5661 QualType CondElementTy = CondVT->getElementType(); in CheckVectorConditionalTypes()
5662 unsigned CondElementCount = CondVT->getNumElements(); in CheckVectorConditionalTypes()
5672 if (isa<ExtVectorType>(CondVT) != isa<ExtVectorType>(LHSVT)) { in CheckVectorConditionalTypes()
5674 << /*isExtVector*/ isa<ExtVectorType>(CondVT); in CheckVectorConditionalTypes()
5710 Context.getExtVectorType(ResultElementTy, CondVT->getNumElements()); in CheckVectorConditionalTypes()
5713 ResultElementTy, CondVT->getNumElements(), VectorKind::Generic); in CheckVectorConditionalTypes()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp4982 EVT CondVT = Cond.getValueType(); in isTargetCanonicalSelect() local
4984 CondVT.getVectorElementType() == MVT::i1 && in isTargetCanonicalSelect()
6063 EVT CondVT = Cond.getValueType(); in createShuffleMaskFromVSELECT() local
6064 unsigned EltSizeInBits = CondVT.getScalarSizeInBits(); in createShuffleMaskFromVSELECT()
6065 unsigned NumElts = CondVT.getVectorNumElements(); in createShuffleMaskFromVSELECT()
18486 MVT CondVT = Cond.getSimpleValueType(); in LowerVSELECT() local
18509 DAG.getConstant(0, dl, CondVT), in LowerVSELECT()
25755 EVT CondVT = Cond.getValueType(); in LowerBRCOND() local
25760 DAG.getNode(ISD::AND, dl, CondVT, Cond, DAG.getConstant(1, dl, CondVT)); in LowerBRCOND()
25763 SDValue RHS = DAG.getConstant(0, dl, CondVT); in LowerBRCOND()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp18545 EVT CondVT = Cond.getValueType(); in useInversedSetcc() local
18562 DAG.getSetCC(DL, CondVT, LHS, RHS, ISD::SETNE), in useInversedSetcc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp4411 EVT CondVT = VT.changeElementType(MVT::i1); in LowerFP_ROUND() local
4412 SDValue IsNaN = DAG.getSetCC(DL, CondVT, SrcVal, SrcVal, ISD::SETUO); in LowerFP_ROUND()