Searched refs:ConstVec (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | SparseBitVectorTest.cpp | 35 const SparseBitVector<> ConstVec = Vec; in TEST() local 36 EXPECT_TRUE(ConstVec.test(5)); in TEST() 37 EXPECT_FALSE(ConstVec.test(17)); in TEST() 41 Vec = ConstVec; in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 64 if (auto *ConstVec = dyn_cast<ConstantDataVector>(Const)) { in addConstantsToTrack() local 68 for (unsigned i = 0; i < ConstVec->getNumElements(); ++i) in addConstantsToTrack() 69 GR->add(ConstVec->getElementAsConstant(i), &MF, in addConstantsToTrack()
|
| H A D | SPIRVGlobalRegistry.cpp | 256 auto ConstVec = in getOrCreateConsIntVector() local 258 Register Res = DT.find(ConstVec, CurMF); in getOrCreateConsIntVector() 274 DT.add(ConstVec, CurMF, SpvVecConst); in getOrCreateConsIntVector()
|
| /llvm-project-15.0.7/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,
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 735 auto *ConstVec = dyn_cast<Constant>(VecIns->getArgOperand(1)); in instCombineSVECmpNE() local 736 if (!ConstVec) in instCombineSVECmpNE() 739 auto *VecTy = dyn_cast<FixedVectorType>(ConstVec->getType()); in instCombineSVECmpNE() 749 auto *Arg = dyn_cast<ConstantInt>(ConstVec->getAggregateElement(I)); in instCombineSVECmpNE()
|
| H A D | AArch64ISelLowering.cpp | 14472 SDValue ConstVec = Op->getOperand(1); in performFpToIntCombine() local 14473 if (!isa<BuildVectorSDNode>(ConstVec)) in performFpToIntCombine() 14492 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFpToIntCombine() 14540 SDValue ConstVec = N->getOperand(1); in performFDivCombine() local 14541 if (!isa<BuildVectorSDNode>(ConstVec)) in performFDivCombine() 14559 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in performFDivCombine()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 7314 SmallVector<Constant *, 4> ConstVec; in getConstantVector() local 7318 ConstVec.push_back(Val); in getConstantVector() 7320 ConstVec.push_back(UndefVal); in getConstantVector() 7322 return ConstantVector::get(ConstVec); in getConstantVector()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 16700 SDValue ConstVec = Op->getOperand(1); in PerformVCVTCombine() local 16701 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVCVTCombine() 16718 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVCVTCombine() 16801 SDValue ConstVec = N->getOperand(1); in PerformVDIVCombine() local 16802 if (!isa<BuildVectorSDNode>(ConstVec)) in PerformVDIVCombine() 16819 BuildVectorSDNode *BV = cast<BuildVectorSDNode>(ConstVec); in PerformVDIVCombine()
|