Home
last modified time | relevance | path

Searched refs:getNumLanes (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/
H A DVecUtils.h91 static unsigned getNumLanes(Type *Ty) {
100 static unsigned getNumLanes(Value *V) {
101 return VecUtils::getNumLanes(Utils::getExpectedType(V));
105 static unsigned getNumLanes(ArrayRef<Value *> Bndl) {
108 Lanes += getNumLanes(V);
235 unsigned ExpectedNumInserts = VecUtils::getNumLanes(I);
H A DInstrMaps.h92 Lane += VecUtils::getNumLanes(Orig); in registerVector()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp120 if (VecUtils::getNumLanes(Cond0) != VecUtils::getNumLanes(Sel0)) in notVectorizableBasedOnOpcodesAndTypes()
202 for (unsigned Ln = 0, Lanes = VecUtils::getNumLanes(V); Ln != Lanes; ++Ln) in getHowToCollectValues()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DLaneBitmask.h76 unsigned getNumLanes() const { return llvm::popcount(Mask); } in getNumLanes() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp76 auto *VecTy = VecUtils::getWideType(ScalarTy, VecUtils::getNumLanes(Bndl)); in createVectorInstr()
208 unsigned Lanes = VecUtils::getNumLanes(ToPack); in createPack()
425 auto NumLanesToInsert = VecUtils::getNumLanes(ValueToInsert); in emitVectors()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetRegisterInfo.cpp585 unsigned PopCount = SubRegMask.getNumLanes(); in getCoveringSubRegIndexes()
620 const int Cover = (SubRegMask & LanesLeft).getNumLanes(); in getCoveringSubRegIndexes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp2520 for (unsigned Lane = 0, NumLanes = getNumLanes(); Lane != NumLanes; in clearUsed()
2546 for (unsigned Ln : seq<unsigned>(getNumLanes())) { in getSplatScore()
2611 LookAheadHeuristics LookAhead(TLI, DL, SE, R, getNumLanes(), in getLookAheadScore()
2773 for (int I = getNumLanes(); I > 0; --I) { in getBestLaneToStartReordering()
2887 return VL.size() == getNumLanes(); in appendOperands()
2937 unsigned getNumLanes() const { return OpsVec[0].size(); } in getNumLanes() function in llvm::slpvectorizer::BoUpSLP::VLOperands
2957 if (isa<LoadInst>(Op) && getNumLanes() == 2 && getNumOperands() == 2) in shouldBroadcast()
2962 for (unsigned Ln = 0, Lns = getNumLanes(); Ln != Lns; ++Ln) { in shouldBroadcast()
3006 return getNumLanes() == 2 || Cnt > 1; in shouldBroadcast()
3015 for (unsigned Ln = 0, Lns = getNumLanes(); Ln != Lns; ++Ln) { in canBeVectorized()
[all …]