Lines Matching refs:Features
101 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() argument
106 Features["relaxed-simd"] = true; in setSIMDLevel()
109 Features["simd128"] = true; in setSIMDLevel()
120 Features["simd128"] = false; in setSIMDLevel()
123 Features["relaxed-simd"] = false; in setSIMDLevel()
128 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() argument
132 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled()
134 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled()
136 Features[Name] = Enabled; in setFeatureEnabled()
140 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() argument
143 Features["nontrapping-fptoint"] = true; in initFeatureMap()
144 Features["sign-ext"] = true; in initFeatureMap()
145 Features["bulk-memory"] = true; in initFeatureMap()
146 Features["atomics"] = true; in initFeatureMap()
147 Features["mutable-globals"] = true; in initFeatureMap()
148 Features["tail-call"] = true; in initFeatureMap()
149 setSIMDLevel(Features, SIMD128, true); in initFeatureMap()
152 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in initFeatureMap()
156 std::vector<std::string> &Features, DiagnosticsEngine &Diags) { in handleTargetFeatures() argument
157 for (const auto &Feature : Features) { in handleTargetFeatures()