Lines Matching refs:foreach
280 auto &foreach = foreaches[Ordinal]; in beginForEach() local
281 slangAssert(foreach.mState == File::ForEach::S_Initial); in beginForEach()
282 foreach.mState = File::ForEach::S_Collected; in beginForEach()
283 foreach.mName = Name; in beginForEach()
284 foreach.mIns.BeginCollecting(InCount); in beginForEach()
285 foreach.mParams.BeginCollecting(ParamCount); in beginForEach()
286 foreach.mOut = canon(OutType); in beginForEach()
287 foreach.mHasOut = HasOut; in beginForEach()
288 foreach.mSignatureMetadata = 0; in beginForEach()
289 foreach.mIsKernel = IsKernel; in beginForEach()
297 auto &foreach = foreaches[Ordinal]; in beginForEach() local
298 slangAssert(foreach.mState == File::ForEach::S_Collected); in beginForEach()
299 foreach.mState = File::ForEach::S_UseMatched; in beginForEach()
302 if (foreach.mName != Name) { in beginForEach()
310 if (foreach.mIsKernel != IsKernel) { in beginForEach()
318 if ((foreach.mHasOut != HasOut) || !foreach.mOut.equals(OutType)) { in beginForEach()
324 if (foreach.mHasOut && HasOut) { in beginForEach()
325 if (foreach.mOut.size() && OutType.size()) { in beginForEach()
330 << Name << foreach.mOut.str() << OutType; in beginForEach()
337 << Name << (foreach.mOut.str() + OutType) << hasTyped64; in beginForEach()
340 const std::string CombinedOutType = (foreach.mOut.str() + OutType); in beginForEach()
358 if (foreach.mIns.Size() != InCount) { in beginForEach()
362 << Name << unsigned(foreach.mIns.Size()) << unsigned(InCount); in beginForEach()
365 if (foreach.mParams.Size() != ParamCount) { in beginForEach()
369 << Name << unsigned(foreach.mParams.Size()) << unsigned(ParamCount); in beginForEach()
376 foreach.mIns.BeginUsing(); in beginForEach()
377 foreach.mParams.BeginUsing(); in beginForEach()