Home
last modified time | relevance | path

Searched refs:ConstVec (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp87 auto *ConstVec = dyn_cast<ConstantVector>(MaskVal); in isAllTrueMask() local
88 return ConstVec && ConstVec->isAllOnesValue(); in isAllTrueMask()
H A DCodeGenPrepare.cpp7207 SmallVector<Constant *, 4> ConstVec; in getConstantVector() local
7211 ConstVec.push_back(Val); in getConstantVector()
7213 ConstVec.push_back(UndefVal); in getConstantVector()
7215 return ConstantVector::get(ConstVec); in getConstantVector()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td429 multiclass ConstVec<Vec vec, dag ops, dag pat, string args> {
437 defm "" : ConstVec<I8x16,
452 defm "" : ConstVec<I16x8,
462 defm "" : ConstVec<I32x4,
468 defm "" : ConstVec<I64x2,
472 defm "" : ConstVec<F32x4,
478 defm "" : ConstVec<F64x2,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp491 auto *ConstVec = dyn_cast<Constant>(VecIns->getArgOperand(1)); in instCombineSVECmpNE() local
492 if (!ConstVec) in instCombineSVECmpNE()
495 auto *VecTy = dyn_cast<FixedVectorType>(ConstVec->getType()); in instCombineSVECmpNE()
505 auto *Arg = dyn_cast<ConstantInt>(ConstVec->getAggregateElement(I)); in instCombineSVECmpNE()
H A DAArch64ISelLowering.cpp12824 SDValue ConstVec = Op->getOperand(1); in performFpToIntCombine() local
12825 if (!isa<BuildVectorSDNode>(ConstVec)) in performFpToIntCombine()
12843 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFpToIntCombine()
12898 SDValue ConstVec = N->getOperand(1); in performFDivCombine() local
12899 if (!isa<BuildVectorSDNode>(ConstVec)) in performFDivCombine()
12917 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFDivCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp15872 SDValue ConstVec = Op->getOperand(1); in PerformVCVTCombine() local
15873 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVCVTCombine()
15890 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVCVTCombine()
15930 SDValue ConstVec = N->getOperand(1); in PerformVDIVCombine() local
15931 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVDIVCombine()
15948 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVDIVCombine()