Home
last modified time | relevance | path

Searched refs:VFShape (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DVectorUtils.h82 struct VFShape { struct
86 bool operator==(const VFShape &Other) const { argument
99 static VFShape getScalarShape(const CallInst &CI) { in getScalarShape() argument
100 return VFShape::get(CI, ElementCount::getFixed(1), in getScalarShape()
108 static VFShape get(const CallInst &CI, ElementCount EC, bool HasGlobalPred) { in get() argument
124 VFShape Shape; /// Classification of the vector function.
268 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction()
269 if (Shape == VFShape::getScalarShape(CI)) in getVectorizedFunction()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DVectorUtilsTest.cpp501 VFShape Shape = {/*VF*/ ElementCount::getFixed(2), /*Parameters*/ {}};
502 VFShape Expected;
506 Shape = VFShape::get(*CI, VF, HasGlobalPred); in buildShape()
545 EXPECT_EQ(VFShape::getScalarShape(*CI), Shape); in TEST_F()
549 VFShape ScalarShape = VFShape::getScalarShape(*CI); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DVFABIDemangling.cpp454 const VFShape Shape({ElementCount::get(VF, IsScalable), Parameters}); in tryDemangleForVFABI()
H A DVectorUtils.cpp1517 bool VFShape::hasValidParameterList() const { in hasValidParameterList()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp5375 VFShape Shape = VFShape::get( in buildTree_rec()
5674 auto Shape = VFShape::get(*CI, ElementCount::getFixed(static_cast<unsigned>( in getVectorCallCosts()
8301 VFShape Shape = in vectorizeTree()
8302 VFShape::get(*CI, ElementCount::getFixed(static_cast<unsigned>( in vectorizeTree()
H A DLoopVectorize.cpp3452 VFShape Shape = VFShape::get(*CI, VF, false /*HasGlobalPred*/); in getVectorCallCost()
4226 const VFShape Shape = VFShape::get(CI, VF, false /*HasGlobalPred*/); in widenCallInstruction()