Lines Matching defs:Features
205 FeatureBitset Features = coalesceFeatures(M);
207 std::string FeatureStr = getFeatureString(Features);
215 if (!Features[WebAssembly::FeatureAtomics]) {
218 } else if (!Features[WebAssembly::FeatureBulkMemory]) {
227 recordFeatures(M, Features, StrippedAtomics || StrippedTLS);
239 FeatureBitset Features;
245 Features |= WasmTM->getSubtargetImpl(F)->getFeatureBits();
252 Features =
259 return Features;
262 static std::string getFeatureString(const FeatureBitset &Features) {
265 if (Features[KV.Value])
273 void replaceFeatures(Function &F, const std::string &Features) {
276 F.addFnAttr("target-features", Features);
328 void recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) {
330 if (Features[KV.Value]) {