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