Lines Matching refs:Instance
152 bool hasScalarValue(Value *Key, const VPIteration &Instance) const { in hasScalarValue()
153 assert(Instance.Part < UF && "Queried Scalar Part is too large."); in hasScalarValue()
154 assert(Instance.Lane < VF && "Queried Scalar Lane is too large."); in hasScalarValue()
159 assert(Entry[Instance.Part].size() == VF && in hasScalarValue()
161 return Entry[Instance.Part][Instance.Lane] != nullptr; in hasScalarValue()
173 Value *getScalarValue(Value *Key, const VPIteration &Instance) { in getScalarValue()
174 assert(hasScalarValue(Key, Instance) && "Getting non-existent value."); in getScalarValue()
175 return ScalarMapStorage[Key][Instance.Part][Instance.Lane]; in getScalarValue()
191 void setScalarValue(Value *Key, const VPIteration &Instance, Value *Scalar) { in setScalarValue()
192 assert(!hasScalarValue(Key, Instance) && "Scalar value already set"); in setScalarValue()
201 ScalarMapStorage[Key][Instance.Part][Instance.Lane] = Scalar; in setScalarValue()
217 void resetScalarValue(Value *Key, const VPIteration &Instance, in resetScalarValue()
219 assert(hasScalarValue(Key, Instance) && in resetScalarValue()
221 ScalarMapStorage[Key][Instance.Part][Instance.Lane] = Scalar; in resetScalarValue()
238 : VF(VF), UF(UF), Instance(), LI(LI), DT(DT), Builder(Builder), in VPTransformState()
248 Optional<VPIteration> Instance; member