Lines Matching refs:Features
106 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() argument
111 Features["relaxed-simd"] = true; in setSIMDLevel()
114 Features["simd128"] = true; in setSIMDLevel()
125 Features["simd128"] = false; in setSIMDLevel()
128 Features["relaxed-simd"] = false; in setSIMDLevel()
133 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() argument
137 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
139 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
141 Features[Name] = Enabled; in setFeatureEnabled()
145 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
148 Features["nontrapping-fptoint"] = true; in initFeatureMap()
149 Features["sign-ext"] = true; in initFeatureMap()
150 Features["bulk-memory"] = true; in initFeatureMap()
151 Features["atomics"] = true; in initFeatureMap()
152 Features["mutable-globals"] = true; in initFeatureMap()
153 Features["tail-call"] = true; in initFeatureMap()
154 setSIMDLevel(Features, SIMD128, true); in initFeatureMap()
156 Features["sign-ext"] = true; in initFeatureMap()
157 Features["mutable-globals"] = true; in initFeatureMap()
160 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
164 std::vector<std::string> &Features, DiagnosticsEngine &Diags) { in handleTargetFeatures() argument
165 for (const auto &Feature : Features) { in handleTargetFeatures()