Home
last modified time | relevance | path

Searched refs:FeatureBitsets (Results 1 – 6 of 6) sorted by relevance

/src/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTableExecutorEmitter.cpp52 std::vector<std::pair<std::vector<Record *>, int>> FeatureBitsets; in emitSubtargetFeatureBitsetImpl() local
53 FeatureBitsets.reserve(Rules.size()); in emitSubtargetFeatureBitsetImpl()
55 FeatureBitsets.emplace_back(Rule.getRequiredFeatures(), in emitSubtargetFeatureBitsetImpl()
57 llvm::sort(FeatureBitsets, in emitSubtargetFeatureBitsetImpl()
73 FeatureBitsets.erase(llvm::unique(FeatureBitsets), FeatureBitsets.end()); in emitSubtargetFeatureBitsetImpl()
77 for (const auto &FeatureBitset : FeatureBitsets) { in emitSubtargetFeatureBitsetImpl()
87 for (const auto &FeatureBitset : FeatureBitsets) { in emitSubtargetFeatureBitsetImpl()
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGIMatchTableExecutor.h629 const PredicateBitset *FeatureBitsets, in ExecInfoTy()
632 : TypeObjects(TypeObjects), FeatureBitsets(FeatureBitsets), in ExecInfoTy()
640 const PredicateBitset *FeatureBitsets; member
H A DGIMatchTableExecutorImpl.h204 if ((AvailableFeatures & ExecInfo.FeatureBitsets[ExpectedBitsetID]) != in executeMatchTable()
205 ExecInfo.FeatureBitsets[ExpectedBitsetID]) { in executeMatchTable()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrInfoEmitter.cpp755 std::vector<std::vector<Record *>> FeatureBitsets; in emitFeatureVerifier() local
757 FeatureBitsets.emplace_back(); in emitFeatureVerifier()
761 FeatureBitsets.back().push_back(I->second.TheDef); in emitFeatureVerifier()
765 llvm::sort(FeatureBitsets, [&](const std::vector<Record *> &A, in emitFeatureVerifier()
779 FeatureBitsets.erase(llvm::unique(FeatureBitsets), FeatureBitsets.end()); in emitFeatureVerifier()
781 << " enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n" in emitFeatureVerifier()
783 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier()
791 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier()
803 << " static constexpr " << getMinimalTypeForRange(FeatureBitsets.size()) in emitFeatureVerifier()
H A DAsmMatcherEmitter.cpp3452 std::vector<std::vector<Record *>> FeatureBitsets; in run() local
3456 FeatureBitsets.emplace_back(); in run()
3458 FeatureBitsets.back().push_back(MI->RequiredFeatures[I]->TheDef); in run()
3461 llvm::sort(FeatureBitsets, [&](const std::vector<Record *> &A, in run()
3475 FeatureBitsets.erase(llvm::unique(FeatureBitsets), FeatureBitsets.end()); in run()
3477 << "enum : " << getMinimalTypeForRange(FeatureBitsets.size()) << " {\n" in run()
3479 for (const auto &FeatureBitset : FeatureBitsets) { in run()
3487 for (const auto &FeatureBitset : FeatureBitsets) { in run()
3515 OS << " " << getMinimalTypeForRange(FeatureBitsets.size()) in run()
4112 MaxMnemonicIndex, FeatureBitsets.size(), in run()
/src/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp639 FeatureBitsets[it->RequiredFeaturesIdx]; in mnemonicIsValid()