Lines Matching refs:VF

75 Value *getRuntimeVF(IRBuilderBase &B, Type *Ty, ElementCount VF);
78 Value *createStepForVF(IRBuilderBase &B, Type *Ty, ElementCount VF,
112 ElementCount VF; member
115 iterator(ElementCount VF) : VF(VF) {} in iterator()
117 bool operator==(const iterator &Other) const { return VF == Other.VF; }
119 ElementCount operator*() const { return VF; }
122 VF *= 2;
169 static VPLane getLastLaneForVF(const ElementCount &VF) { in getLastLaneForVF() argument
170 unsigned LaneOffset = VF.getKnownMinValue() - 1; in getLastLaneForVF()
172 if (VF.isScalable()) in getLastLaneForVF()
190 Value *getAsRuntimeExpr(IRBuilderBase &Builder, const ElementCount &VF) const;
199 unsigned mapToCacheIndex(const ElementCount &VF) const { in mapToCacheIndex() argument
202 assert(VF.isScalable() && Lane < VF.getKnownMinValue()); in mapToCacheIndex()
203 return VF.getKnownMinValue() + Lane; in mapToCacheIndex()
205 assert(Lane < VF.getKnownMinValue()); in mapToCacheIndex()
212 static unsigned getNumCachedLanes(const ElementCount &VF) { in getNumCachedLanes() argument
213 return VF.getKnownMinValue() * (VF.isScalable() ? 2 : 1); in getNumCachedLanes()
237 VPTransformState(ElementCount VF, unsigned UF, LoopInfo *LI, in VPTransformState()
240 : VF(VF), UF(UF), LI(LI), DT(DT), Builder(Builder), ILV(ILV), Plan(Plan), in VPTransformState()
244 ElementCount VF; member
284 unsigned CacheIdx = Instance.Lane.mapToCacheIndex(VF); in hasScalarValue()
313 unsigned CacheIdx = Instance.Lane.mapToCacheIndex(VF); in set()
327 unsigned CacheIdx = Instance.Lane.mapToCacheIndex(VF); in reset()
1648 bool onlyScalarsGenerated(ElementCount VF);
2763 void addVF(ElementCount VF) { VFs.insert(VF); } in addVF() argument
2765 void setVF(ElementCount VF) { in setVF() argument
2766 assert(hasVF(VF) && "Cannot set VF not already in plan"); in setVF()
2768 VFs.insert(VF); in setVF()
2771 bool hasVF(ElementCount VF) { return VFs.count(VF); } in hasVF() argument