Home
last modified time | relevance | path

Searched refs:SubtargetFeatures (Results 1 – 25 of 59) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DSubtargetFeatureInfo.cpp25 std::vector<std::pair<Record *, SubtargetFeatureInfo>> SubtargetFeatures; in getAll() local
43 SubtargetFeatures.emplace_back( in getAll()
44 Pred, SubtargetFeatureInfo(Pred, SubtargetFeatures.size())); in getAll()
46 return SubtargetFeatures; in getAll()
50 const SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS, in emitSubtargetFeatureBitEnumeration() argument
54 unsigned Size = SubtargetFeatures.size(); in emitSubtargetFeatureBitEnumeration()
60 for (const auto &SF : SubtargetFeatures) { in emitSubtargetFeatureBitEnumeration()
66 unsigned Offset = SubtargetFeatures.size(); in emitSubtargetFeatureBitEnumeration()
77 SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS) { in emitNameTable() argument
82 for (const auto &SF : SubtargetFeatures) in emitNameTable()
[all …]
H A DSubtargetFeatureInfo.h59 const SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS,
62 static void emitNameTable(SubtargetFeatureInfoMap &SubtargetFeatures,
82 const SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS,
101 SubtargetFeatureInfoMap &SubtargetFeatures, raw_ostream &OS);
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DSubtargetFeature.cpp29 void SubtargetFeatures::Split(std::vector<std::string> &V, StringRef S) { in Split()
37 void SubtargetFeatures::AddFeature(StringRef String, bool Enable) { in AddFeature()
45 void SubtargetFeatures::addFeaturesVector( in addFeaturesVector()
50 SubtargetFeatures::SubtargetFeatures(StringRef Initial) { in SubtargetFeatures() function in SubtargetFeatures
55 std::string SubtargetFeatures::getString() const { in getString()
59 void SubtargetFeatures::print(raw_ostream &OS) const { in print()
66 LLVM_DUMP_METHOD void SubtargetFeatures::dump() const { in dump()
71 void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) { in getDefaultSubtargetFeatures()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTableExecutorEmitter.cpp17 SubtargetFeatureInfo::emitSubtargetFeatureBitEnumeration(SubtargetFeatures, in emitSubtargetFeatureBitsetImpl()
22 std::copy_if(SubtargetFeatures.begin(), SubtargetFeatures.end(), in emitSubtargetFeatureBitsetImpl()
28 std::copy_if(SubtargetFeatures.begin(), SubtargetFeatures.end(), in emitSubtargetFeatureBitsetImpl()
92 const auto &I = SubtargetFeatures.find(Feature); in emitSubtargetFeatureBitsetImpl()
93 assert(I != SubtargetFeatures.end() && "Didn't import predicate?"); in emitSubtargetFeatureBitsetImpl()
199 unsigned Size = SubtargetFeatures.size() + HwModes.size(); in emitPredicateBitset()
H A DGlobalISelMatchTableExecutorEmitter.h220 SubtargetFeatureInfoMap SubtargetFeatures; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.h109 Features = SubtargetFeatures(FeatureString); in setFeatures()
118 SubtargetFeatures &getFeatures() { return Features; } in getFeatures()
121 const SubtargetFeatures &getFeatures() const { return Features; } in getFeatures()
149 SubtargetFeatures Features;
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DELFObjectFile.cpp101 SubtargetFeatures ELFObjectFileBase::getMIPSFeatures() const { in getMIPSFeatures()
102 SubtargetFeatures Features; in getMIPSFeatures()
161 SubtargetFeatures ELFObjectFileBase::getARMFeatures() const { in getARMFeatures()
162 SubtargetFeatures Features; in getARMFeatures()
166 return SubtargetFeatures(); in getARMFeatures()
318 SubtargetFeatures ELFObjectFileBase::getHexagonFeatures() const { in getHexagonFeatures()
319 SubtargetFeatures Features; in getHexagonFeatures()
366 Expected<SubtargetFeatures> ELFObjectFileBase::getRISCVFeatures() const { in getRISCVFeatures()
367 SubtargetFeatures Features; in getRISCVFeatures()
400 SubtargetFeatures ELFObjectFileBase::getLoongArchFeatures() const { in getLoongArchFeatures()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCSubtargetInfo.cpp61 assert(SubtargetFeatures::hasFlag(Feature) && in ApplyFeatureFlag()
66 Find(SubtargetFeatures::StripFlag(Feature), FeatureTable); in ApplyFeatureFlag()
70 if (SubtargetFeatures::isEnabled(Feature)) { in ApplyFeatureFlag()
154 SubtargetFeatures Features(FS); in getFeatures()
271 Find(SubtargetFeatures::StripFlag(Feature), ProcFeatures); in ToggleFeature()
299 SubtargetFeatures T(FS); in checkFeatures()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrInfoEmitter.cpp734 std::map<Record *, SubtargetFeatureInfo, LessRecordByID> SubtargetFeatures; in emitFeatureVerifier() local
735 SubtargetFeatures.insert(All.begin(), All.end()); in emitFeatureVerifier()
748 SubtargetFeatureInfo::emitSubtargetFeatureBitEnumeration(SubtargetFeatures, in emitFeatureVerifier()
753 Target.getName(), "", "computeAvailableFeatures", SubtargetFeatures, OS); in emitFeatureVerifier()
759 const auto &I = SubtargetFeatures.find(Predicate); in emitFeatureVerifier()
760 if (I != SubtargetFeatures.end()) in emitFeatureVerifier()
796 const auto &I = SubtargetFeatures.find(Feature); in emitFeatureVerifier()
797 assert(I != SubtargetFeatures.end() && "Didn't import predicate?"); in emitFeatureVerifier()
810 const auto &I = SubtargetFeatures.find(Predicate); in emitFeatureVerifier()
811 if (I != SubtargetFeatures.end()) { in emitFeatureVerifier()
[all …]
H A DGlobalISelCombinerMatchTableEmitter.cpp
H A DGlobalISelCombinerEmitter.cpp644 SubtargetFeatureInfoMap &SubtargetFeatures, in CombineRuleBuilder() argument
648 SubtargetFeatures(SubtargetFeatures), RuleDef(RuleDef), RuleID(ID), in CombineRuleBuilder()
770 SubtargetFeatureInfoMap &SubtargetFeatures; member in __anon569e2aa20111::CombineRuleBuilder
1327 if (SubtargetFeatures.count(Def) == 0) { in addFeaturePredicates()
1328 SubtargetFeatures.emplace( in addFeaturePredicates()
1329 Def, SubtargetFeatureInfo(Def, SubtargetFeatures.size())); in addFeaturePredicates()
2600 CombineRuleBuilder CRB(Target, SubtargetFeatures, *Rec, NextRuleID++, in gatherRules()
H A DAsmMatcherEmitter.cpp764 std::map<Record *, SubtargetFeatureInfo, LessRecordByID> SubtargetFeatures; member in __anon44b0c7da0111::AsmMatcherInfo
813 const auto &I = SubtargetFeatures.find(Def); in getSubtargetFeature()
814 return I == SubtargetFeatures.end() ? nullptr : &I->second; in getSubtargetFeature()
1516 SubtargetFeatures.insert(SubtargetFeaturePairs.begin(), in buildInfo()
1519 for (const auto &Pair : SubtargetFeatures) in buildInfo()
2714 if (!Info.SubtargetFeatures.empty()) { in emitGetSubtargetFeatureName()
2716 for (const auto &SF : Info.SubtargetFeatures) { in emitGetSubtargetFeatureName()
3371 Info.SubtargetFeatures, OS); in run()
3428 Info.SubtargetFeatures, OS); in run()
3492 const auto &I = Info.SubtargetFeatures.find(Feature); in run()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DGOFFObjectFile.h60 Expected<SubtargetFeatures> getFeatures() const override { return SubtargetFeatures(); } in getFeatures()
H A DELFObjectFile.h62 SubtargetFeatures getMIPSFeatures() const;
63 SubtargetFeatures getARMFeatures() const;
64 SubtargetFeatures getHexagonFeatures() const;
65 Expected<SubtargetFeatures> getRISCVFeatures() const;
66 SubtargetFeatures getLoongArchFeatures() const;
98 Expected<SubtargetFeatures> getFeatures() const override;
H A DObjectFile.h35 class SubtargetFeatures; variable
342 virtual Expected<SubtargetFeatures> getFeatures() const = 0;
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DSubtargetFeature.h174 class SubtargetFeatures {
178 explicit SubtargetFeatures(StringRef Initial = "");
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp80 SubtargetFeatures Features; in selectTarget()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FMV.td20 // encode dependencies between themselves and other SubtargetFeatures.
33 // SubtargetFeatures enabled for codegen when this FMV feature is present.
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFFLinkGraphBuilder.h41 SubtargetFeatures Features,
H A DELF_loongarch.cpp133 SubtargetFeatures Features) in ELFLinkGraphBuilder_loongarch()
H A DMachOLinkGraphBuilder.h87 SubtargetFeatures Features,
H A DELFLinkGraphBuilder.h62 SubtargetFeatures Features, StringRef FileName,
192 const ELFFile &Obj, Triple TT, SubtargetFeatures Features, in ELFLinkGraphBuilder()
H A DELF_i386.cpp213 Triple TT, SubtargetFeatures Features) in ELFLinkGraphBuilder_i386()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLink.h999 LinkGraph(std::string Name, const Triple &TT, SubtargetFeatures Features, in LinkGraph()
1009 : LinkGraph(std::move(Name), TT, SubtargetFeatures(), PointerSize, in LinkGraph()
1014 : LinkGraph(std::move(Name), TT, SubtargetFeatures(), in LinkGraph()
1035 const SubtargetFeatures &getFeatures() const { return Features; } in getFeatures()
1543 SubtargetFeatures Features;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVDWARFReader.cpp1163 Expected<SubtargetFeatures> Features = Obj.getFeatures(); in loadTargetInfo()
1164 SubtargetFeatures FeaturesValue; in loadTargetInfo()
1167 FeaturesValue = SubtargetFeatures(); in loadTargetInfo()

123