Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVRegularizer.cpp240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec() local
241 Value *NewVec = new ShuffleVectorInst(Inst, PVal, ConstVec, "", CI); in visitCallScalToVec()
H A DSPIRVPreLegalizer.cpp63 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack() local
67 for (unsigned i = 0; i < ConstVec->getNumElements(); ++i) in addConstantsToTrack()
68 GR->add(ConstVec->getElementAsConstant(i), &MF, in addConstantsToTrack()
H A DSPIRVGlobalRegistry.cpp323 auto ConstVec = in getOrCreateConsIntVector() local
326 return getOrCreateIntCompositeOrNull(Val, I, SpvType, TII, ConstVec, BW, in getOrCreateConsIntVector()
393 auto ConstVec = in getOrCreateConsIntVector() local
397 ConstVec, BW, in getOrCreateConsIntVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrSIMD.td432 multiclass ConstVec<Vec vec, dag ops, dag pat, string args> {
440 defm "" : ConstVec<I8x16,
455 defm "" : ConstVec<I16x8,
465 defm "" : ConstVec<I32x4,
471 defm "" : ConstVec<I64x2,
475 defm "" : ConstVec<F32x4,
481 defm "" : ConstVec<F64x2,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp1014 auto *ConstVec = dyn_cast<Constant>(VecIns->getArgOperand(1)); in instCombineSVECmpNE() local
1015 if (!ConstVec) in instCombineSVECmpNE()
1018 auto *VecTy = dyn_cast<FixedVectorType>(ConstVec->getType()); in instCombineSVECmpNE()
1028 auto *Arg = dyn_cast<ConstantInt>(ConstVec->getAggregateElement(I)); in instCombineSVECmpNE()
H A DAArch64ISelLowering.cpp17345 SDValue ConstVec = Op->getOperand(1); in performFpToIntCombine() local
17346 if (!isa<BuildVectorSDNode>(ConstVec)) in performFpToIntCombine()
17365 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFpToIntCombine()
17413 SDValue ConstVec = N->getOperand(1); in performFDivCombine() local
17414 if (!isa<BuildVectorSDNode>(ConstVec)) in performFDivCombine()
17432 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFDivCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7603 SmallVector<Constant *, 4> ConstVec; in getConstantVector() local
7607 ConstVec.push_back(Val); in getConstantVector()
7609 ConstVec.push_back(UndefVal); in getConstantVector()
7611 return ConstantVector::get(ConstVec); in getConstantVector()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp16892 SDValue ConstVec = Op->getOperand(1); in PerformVCVTCombine() local
16893 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVCVTCombine()
16910 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVCVTCombine()
17033 SDValue ConstVec = N->getOperand(1); in PerformVDIVCombine() local
17034 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVDIVCombine()
17051 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVDIVCombine()