Searched refs:ConstVec (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 235 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec() local 237 new ShuffleVectorInst(Inst, PVal, ConstVec, "", CI->getIterator()); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.cpp | 541 auto *ConstVec = in getOrCreateConstVector() local 544 return getOrCreateCompositeOrNull(ConstVal, I, SpvType, TII, ConstVec, BW, in getOrCreateConstVector() 560 auto *ConstVec = in getOrCreateConstVector() local 563 return getOrCreateCompositeOrNull(ConstVal, I, SpvType, TII, ConstVec, BW, in getOrCreateConstVector() 640 auto ConstVec = in getOrCreateConsIntVector() local 644 ConstVec, BW, in getOrCreateConsIntVector()
|
| H A D | SPIRVPreLegalizer.cpp | 71 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack() local 76 for (unsigned i = 0; i < ConstVec->getNumElements(); ++i) { in addConstantsToTrack() 79 Constant *ElemConst = ConstVec->getElementAsConstant(i); in addConstantsToTrack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrSIMD.td | 462 multiclass ConstVec<Vec vec, dag ops, dag pat, string args> { 470 defm "" : ConstVec<I8x16, 485 defm "" : ConstVec<I16x8, 495 defm "" : ConstVec<I32x4, 501 defm "" : ConstVec<I64x2, 505 defm "" : ConstVec<F32x4, 511 defm "" : ConstVec<F64x2,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 1861 auto *ConstVec = dyn_cast<Constant>(VecIns->getArgOperand(1)); in instCombineSVECmpNE() local 1862 if (!ConstVec) in instCombineSVECmpNE() 1865 auto *VecTy = dyn_cast<FixedVectorType>(ConstVec->getType()); in instCombineSVECmpNE() 1875 auto *Arg = dyn_cast<ConstantInt>(ConstVec->getAggregateElement(I)); in instCombineSVECmpNE()
|
| H A D | AArch64ISelLowering.cpp | 19240 SDValue ConstVec = Op->getOperand(1); in performFpToIntCombine() local 19241 if (!isa<BuildVectorSDNode>(ConstVec)) in performFpToIntCombine() 19260 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFpToIntCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 8109 SmallVector<Constant *, 4> ConstVec; in getConstantVector() local 8113 ConstVec.push_back(Val); in getConstantVector() 8115 ConstVec.push_back(PoisonVal); in getConstantVector() 8117 return ConstantVector::get(ConstVec); in getConstantVector()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 16980 SDValue ConstVec = Op->getOperand(1); in PerformVCVTCombine() local 16981 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVCVTCombine() 16998 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVCVTCombine() 17121 SDValue ConstVec = N->getOperand(1); in PerformVMulVCTPCombine() local 17122 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVMulVCTPCombine() 17138 ConstantFPSDNode *CN = isConstOrConstSplatFP(ConstVec, true); in PerformVMulVCTPCombine()
|