Lines Matching refs:Features
112 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() argument
117 Features["relaxed-simd"] = true; in setSIMDLevel()
120 Features["simd128"] = true; in setSIMDLevel()
131 Features["simd128"] = false; in setSIMDLevel()
134 Features["relaxed-simd"] = false; in setSIMDLevel()
139 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() argument
143 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
145 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
147 Features[Name] = Enabled; in setFeatureEnabled()
151 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
154 Features["multivalue"] = true; in initFeatureMap()
155 Features["mutable-globals"] = true; in initFeatureMap()
156 Features["reference-types"] = true; in initFeatureMap()
157 Features["sign-ext"] = true; in initFeatureMap()
161 Features["atomics"] = true; in initFeatureMap()
162 Features["bulk-memory"] = true; in initFeatureMap()
163 Features["exception-handling"] = true; in initFeatureMap()
164 Features["extended-const"] = true; in initFeatureMap()
165 Features["half-precision"] = true; in initFeatureMap()
166 Features["multimemory"] = true; in initFeatureMap()
167 Features["nontrapping-fptoint"] = true; in initFeatureMap()
168 Features["tail-call"] = true; in initFeatureMap()
169 setSIMDLevel(Features, RelaxedSIMD, true); in initFeatureMap()
177 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
181 std::vector<std::string> &Features, DiagnosticsEngine &Diags) { in handleTargetFeatures() argument
182 for (const auto &Feature : Features) { in handleTargetFeatures()