Lines Matching refs:OptMap
29 return OptMap.contains(Ext); in isKnown()
37 auto &OptInfo = OptMap.find(Ext)->getValue(); in isAvailableOption()
45 auto I = OptMap.find(Ext); in isEnabled()
46 return I != OptMap.end() && I->getValue().Enabled; in isEnabled()
50 auto E = OptMap.find(Ext); in isWithPragma()
51 return E != OptMap.end() && E->second.WithPragma; in isWithPragma()
56 auto I = OptMap.find(Ext); in isSupported()
57 return I != OptMap.end() && I->getValue().Supported && in isSupported()
63 auto I = OptMap.find(Ext); in isSupportedCore()
64 return I != OptMap.end() && I->getValue().Supported && in isSupportedCore()
70 auto I = OptMap.find(Ext); in isSupportedOptionalCore()
71 return I != OptMap.end() && I->getValue().Supported && in isSupportedOptionalCore()
82 auto I = OptMap.find(Ext); in isSupportedExtension()
83 return I != OptMap.end() && I->getValue().Supported && in isSupportedExtension()
89 OptMap[Ext].Enabled = V; in enable()
93 OptMap[Ext].WithPragma = V; in acceptsPragma()
99 OptMap[Ext].Supported = V; in support()
104 OptMap.insert_or_assign(#Ext, OpenCLOptionInfo{__VA_ARGS__}); in OpenCLOptions()
112 if (F.getValue() && isKnown(Name) && OptMap[Name].isAvailableIn(Opts)) in addSupport()
118 for (auto &Opt : OptMap) in disableAll()