Lines Matching refs:Features
204 FeatureBitset Features = coalesceFeatures(M); in runOnModule() local
206 std::string FeatureStr = getFeatureString(Features); in runOnModule()
214 if (!Features[WebAssembly::FeatureAtomics]) in runOnModule()
217 if (!Features[WebAssembly::FeatureBulkMemory]) in runOnModule()
225 recordFeatures(M, Features, StrippedAtomics || StrippedTLS); in runOnModule()
233 FeatureBitset Features = in coalesceFeatures() local
239 Features |= WasmTM->getSubtargetImpl(F)->getFeatureBits(); in coalesceFeatures()
240 return Features; in coalesceFeatures()
243 std::string getFeatureString(const FeatureBitset &Features) { in getFeatureString() argument
246 if (Features[KV.Value]) in getFeatureString()
252 void replaceFeatures(Function &F, const std::string &Features) { in replaceFeatures() argument
255 F.addFnAttr("target-features", Features); in replaceFeatures()
296 void recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) { in recordFeatures() argument
298 if (Features[KV.Value]) { in recordFeatures()