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()
2260 virtual std::optional<Value *> getReplacementValue(InternalControlVar ICV, in getReplacementValue()
2270 getUniqueReplacementValue(InternalControlVar ICV) const = 0;
2319 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2320 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in updateImpl()
2322 auto &ValuesMap = ICVReplacementValuesMap[ICV]; in updateImpl()
2337 std::optional<Value *> ReplVal = getValueForCall(A, I, ICV); in updateImpl()
2365 InternalControlVar &ICV) const { in getValueForCall()
2373 auto &GetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Getter]; in getValueForCall()
2374 auto &SetterRFI = OMPInfoCache.RFIs[OMPInfoCache.ICVs[ICV].Setter]; in getValueForCall()
2383 if (ICVReplacementValuesMap[ICV].count(&I)) in getValueForCall()
2384 return ICVReplacementValuesMap[ICV].lookup(&I); in getValueForCall()
2398 ICVTrackingAA->getUniqueReplacementValue(ICV); in getValueForCall()
2410 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2415 std::optional<Value *> getReplacementValue(InternalControlVar ICV, in getReplacementValue()
2418 const auto &ValuesMap = ICVReplacementValuesMap[ICV]; in getReplacementValue()
2454 std::optional<Value *> NewReplVal = getValueForCall(A, *CurrInst, ICV); in getReplacementValue()
2508 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2509 return ICVReplacementValuesMap[ICV]; in getUniqueReplacementValue()
2520 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2521 std::optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl()
2526 ICVTrackingAA->getReplacementValue(ICV, &I, A); in updateImpl()
2564 for (InternalControlVar ICV : TrackableICVs) { in initialize() local
2565 auto ICVInfo = OMPInfoCache.ICVs[ICV]; in initialize()
2619 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2649 getUniqueReplacementValue(InternalControlVar ICV) const override { in getUniqueReplacementValue()
2650 return ICVReplacementValuesMap[ICV]; in getUniqueReplacementValue()
2663 for (InternalControlVar ICV : TrackableICVs) { in updateImpl() local
2664 std::optional<Value *> &ReplVal = ICVReplacementValuesMap[ICV]; in updateImpl()
2666 ICVTrackingAA->getUniqueReplacementValue(ICV); in updateImpl()