Searched refs:ConstVec (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVRegularizer.cpp | 240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec() local 241 Value *NewVec = new ShuffleVectorInst(Inst, PVal, ConstVec, "", CI); in visitCallScalToVec()
|
H A D | SPIRVGlobalRegistry.cpp | 450 auto *ConstVec = in getOrCreateConstVector() local 453 return getOrCreateCompositeOrNull(ConstVal, I, SpvType, TII, ConstVec, BW, in getOrCreateConstVector() 469 auto *ConstVec = in getOrCreateConstVector() local 472 return getOrCreateCompositeOrNull(ConstVal, I, SpvType, TII, ConstVec, BW, in getOrCreateConstVector() 548 auto ConstVec = in getOrCreateConsIntVector() local 552 ConstVec, BW, in getOrCreateConsIntVector()
|
H A D | SPIRVPreLegalizer.cpp | 68 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack() local 72 for (unsigned i = 0; i < ConstVec->getNumElements(); ++i) { in addConstantsToTrack() 75 Constant *ElemConst = ConstVec->getElementAsConstant(i); in addConstantsToTrack()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyInstrSIMD.td | 456 multiclass ConstVec<Vec vec, dag ops, dag pat, string args> { 464 defm "" : ConstVec<I8x16, 479 defm "" : ConstVec<I16x8, 489 defm "" : ConstVec<I32x4, 495 defm "" : ConstVec<I64x2, 499 defm "" : ConstVec<F32x4, 505 defm "" : ConstVec<F64x2,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.cpp | 1155 auto *ConstVec = dyn_cast<Constant>(VecIns->getArgOperand(1)); in instCombineSVECmpNE() local 1156 if (!ConstVec) in instCombineSVECmpNE() 1159 auto *VecTy = dyn_cast<FixedVectorType>(ConstVec->getType()); in instCombineSVECmpNE() 1169 auto *Arg = dyn_cast<ConstantInt>(ConstVec->getAggregateElement(I)); in instCombineSVECmpNE()
|
H A D | AArch64ISelLowering.cpp | 18597 SDValue ConstVec = Op->getOperand(1); in performFpToIntCombine() local 18598 if (!isa<BuildVectorSDNode>(ConstVec)) in performFpToIntCombine() 18617 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFpToIntCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 7717 SmallVector<Constant *, 4> ConstVec; in getConstantVector() local 7721 ConstVec.push_back(Val); in getConstantVector() 7723 ConstVec.push_back(UndefVal); in getConstantVector() 7725 return ConstantVector::get(ConstVec); in getConstantVector()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 16907 SDValue ConstVec = Op->getOperand(1); in PerformVCVTCombine() local 16908 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVCVTCombine() 16925 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVCVTCombine() 17048 SDValue ConstVec = N->getOperand(1); in PerformVMulVCTPCombine() local 17049 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVMulVCTPCombine() 17065 ConstantFPSDNode *CN = isConstOrConstSplatFP(ConstVec, true); in PerformVMulVCTPCombine()
|