Lines Matching refs:ICV
441 auto &ICV = ICVs[_Name]; \ in initializeInternalControlVars()
442 ICV.Setter = RTL; \ in initializeInternalControlVars()
446 auto &ICV = ICVs[Name]; \ in initializeInternalControlVars()
447 ICV.Getter = RTL; \ in initializeInternalControlVars()
451 auto &ICV = ICVs[Enum]; \ in initializeInternalControlVars()
452 ICV.Name = _Name; \ in initializeInternalControlVars()
453 ICV.Kind = Enum; \ in initializeInternalControlVars()
454 ICV.InitKind = Init; \ in initializeInternalControlVars()
455 ICV.EnvVarName = _EnvVarName; \ in initializeInternalControlVars()
456 switch (ICV.InitKind) { \ in initializeInternalControlVars()
458 ICV.InitValue = nullptr; \ in initializeInternalControlVars()
461 ICV.InitValue = ConstantInt::get( \ in initializeInternalControlVars()
465 ICV.InitValue = ConstantInt::getFalse(OMPBuilder.Int1->getContext()); \ in initializeInternalControlVars()
995 for (auto ICV : ICVs) { in printICVs() local
996 auto ICVInfo = OMPInfoCache.ICVs[ICV]; in printICVs()
2261 virtual std::optional<Value *> getReplacementValue(InternalControlVar ICV, in getReplacementValue()
2271 getUniqueReplacementValue(InternalControlVar ICV) const = 0;
2320 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2321 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in updateImpl()
2323 auto &ValuesMap = ICVReplacementValuesMap[ICV]; in updateImpl()
2338 std::optional<Value *> ReplVal = getValueForCall(A, I, ICV); in updateImpl()
2366 InternalControlVar &ICV) const { in getValueForCall()
2374 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2375 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in getValueForCall()
2384 if (ICVReplacementValuesMap[ICV].count(&I)) in getValueForCall()
2385 return ICVReplacementValuesMap[ICV].lookup(&I); in getValueForCall()
2399 ICVTrackingAA->getUniqueReplacementValue(ICV); in getValueForCall()
2411 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2416 std::optional<Value *> getReplacementValue(InternalControlVar ICV, in getReplacementValue()
2419 const auto &ValuesMap = ICVReplacementValuesMap[ICV]; in getReplacementValue()
2455 std::optional<Value *> NewReplVal = getValueForCall(A, *CurrInst, ICV); in getReplacementValue()
2509 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2510 return ICVReplacementValuesMap[ICV]; in getUniqueReplacementValue()
2521 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2522 std::optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl()
2527 ICVTrackingAA->getReplacementValue(ICV, &I, A); in updateImpl()
2565 for (InternalControlVar ICV : TrackableICVs) { in initialize() local
2566 auto ICVInfo = OMPInfoCache.ICVs[ICV]; in initialize()
2620 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2650 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2651 return ICVReplacementValuesMap[ICV]; in getUniqueReplacementValue()
2664 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2665 std::optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl()
2667 ICVTrackingAA->getUniqueReplacementValue(ICV); in updateImpl()