Lines Matching refs:Features
109 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() argument
114 Features["relaxed-simd"] = true; in setSIMDLevel()
117 Features["simd128"] = true; in setSIMDLevel()
128 Features["simd128"] = false; in setSIMDLevel()
131 Features["relaxed-simd"] = false; in setSIMDLevel()
136 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() argument
140 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
142 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
144 Features[Name] = Enabled; in setFeatureEnabled()
148 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
151 Features["nontrapping-fptoint"] = true; in initFeatureMap()
152 Features["sign-ext"] = true; in initFeatureMap()
153 Features["bulk-memory"] = true; in initFeatureMap()
154 Features["atomics"] = true; in initFeatureMap()
155 Features["mutable-globals"] = true; in initFeatureMap()
156 Features["tail-call"] = true; in initFeatureMap()
157 Features["reference-types"] = true; in initFeatureMap()
158 Features["multimemory"] = true; in initFeatureMap()
159 setSIMDLevel(Features, SIMD128, true); in initFeatureMap()
161 Features["sign-ext"] = true; in initFeatureMap()
162 Features["mutable-globals"] = true; in initFeatureMap()
165 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
169 std::vector<std::string> &Features, DiagnosticsEngine &Diags) { in handleTargetFeatures() argument
170 for (const auto &Feature : Features) { in handleTargetFeatures()