Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp475 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
484 Cond = DAG.getNode(ISD::AND, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
485 Cond, DAG.getConstant(1, SDLoc(N), CondVT)); in ScalarizeVecRes_VSELECT()
491 Cond = DAG.getNode(ISD::SIGN_EXTEND_INREG, SDLoc(N), CondVT, in ScalarizeVecRes_VSELECT()
498 auto BoolVT = getSetCCResultType(CondVT); in ScalarizeVecRes_VSELECT()
499 if (BoolVT.bitsLT(CondVT)) in ScalarizeVecRes_VSELECT()
4252 EVT CondVT = Cond->getValueType(0); in WidenVSELECTMask() local
4253 if (CondVT.getScalarSizeInBits() != 1) in WidenVSELECTMask()
4277 } else if (CondVT.getScalarType() == MVT::i1) { in WidenVSELECTMask()
4280 while (TLI.getTypeAction(Ctx, CondVT) != TargetLowering::TypeLegal) in WidenVSELECTMask()
[all …]
H A DDAGCombiner.cpp9263 EVT CondVT = Cond.getValueType(); in foldSelectOfConstants() local
9278 if (CondVT == MVT::i1 && !LegalOperations) { in foldSelectOfConstants()
9350 if (CondVT.isInteger() && in foldSelectOfConstants()
9357 DAG.getNode(ISD::XOR, DL, CondVT, Cond, DAG.getConstant(1, DL, CondVT)); in foldSelectOfConstants()
9358 if (VT.bitsEq(CondVT)) in foldSelectOfConstants()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp6009 const auto *CondVT = CondType->castAs<VectorType>(); in CheckVectorConditionalTypes() local
6010 QualType CondElementTy = CondVT->getElementType(); in CheckVectorConditionalTypes()
6011 unsigned CondElementCount = CondVT->getNumElements(); in CheckVectorConditionalTypes()
6021 if (isa<ExtVectorType>(CondVT) != isa<ExtVectorType>(LHSVT)) { in CheckVectorConditionalTypes()
6023 << /*isExtVector*/ isa<ExtVectorType>(CondVT); in CheckVectorConditionalTypes()
6059 Context.getExtVectorType(ResultElementTy, CondVT->getNumElements()); in CheckVectorConditionalTypes()
6062 ResultElementTy, CondVT->getNumElements(), VectorType::GenericVector); in CheckVectorConditionalTypes()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp11171 EVT CondVT = Cond.getValueType(); in createShuffleMaskFromVSELECT() local
11172 unsigned EltSizeInBits = CondVT.getScalarSizeInBits(); in createShuffleMaskFromVSELECT()
11173 unsigned NumElts = CondVT.getVectorNumElements(); in createShuffleMaskFromVSELECT()
18549 MVT CondVT = Cond.getSimpleValueType(); in LowerVSELECT() local
18574 DAG.getConstant(0, dl, CondVT), in LowerVSELECT()
24445 EVT CondVT = Cond.getValueType(); in LowerBRCOND() local
24450 DAG.getNode(ISD::AND, dl, CondVT, Cond, DAG.getConstant(1, dl, CondVT)); in LowerBRCOND()
24453 SDValue RHS = DAG.getConstant(0, dl, CondVT); in LowerBRCOND()
41145 EVT CondVT = Cond.getValueType(); in combineVSelectWithAllOnesOrZeros() local
41152 assert(CondVT.isVector() && "Vector select expects a vector selector!"); in combineVSelectWithAllOnesOrZeros()
[all …]