Lines Matching defs:Features
203 FeatureBitset Features = coalesceFeatures(M);
205 std::string FeatureStr = getFeatureString(Features);
213 if (!Features[WebAssembly::FeatureAtomics]) {
216 } else if (!Features[WebAssembly::FeatureBulkMemory]) {
225 recordFeatures(M, Features, StrippedAtomics || StrippedTLS);
233 FeatureBitset Features =
239 Features |= WasmTM->getSubtargetImpl(F)->getFeatureBits();
240 return Features;
243 static std::string getFeatureString(const FeatureBitset &Features) {
246 if (Features[KV.Value])
254 void replaceFeatures(Function &F, const std::string &Features) {
257 F.addFnAttr("target-features", Features);
309 void recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) {
311 if (Features[KV.Value]) {