Searched refs:Feature (Results 1 - 24 of 24) sorted by relevance

/freebsd-11.0-release/contrib/llvm/lib/MC/
H A DSubtargetFeature.cpp31 static inline bool hasFlag(StringRef Feature) { argument
32 assert(!Feature.empty() && "Empty string");
34 char Ch = Feature[0];
41 static inline std::string StripFlag(StringRef Feature) { argument
42 return hasFlag(Feature) ? Feature.substr(1) : Feature;
47 static inline bool isEnabled(StringRef Feature) { argument
48 assert(!Feature.empty() && "Empty string");
50 char Ch = Feature[
165 ToggleFeature(FeatureBitset &Bits, StringRef Feature, ArrayRef<SubtargetFeatureKV> FeatureTable) argument
190 ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, ArrayRef<SubtargetFeatureKV> FeatureTable) argument
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetMachine.cpp37 for (auto &Feature : Features) {
38 if (Feature == "vector" || Feature == "+vector")
40 if (Feature == "-vector")
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DTargets.cpp928 bool hasFeature(StringRef Feature) const override;
1079 for (const auto &Feature : Features) {
1080 if (Feature == "+vsx") {
1082 } else if (Feature == "+bpermd") {
1084 } else if (Feature == "+extdiv") {
1086 } else if (Feature == "+power8-vector") {
1088 } else if (Feature == "+crypto") {
1090 } else if (Feature == "+direct-move") {
1092 } else if (Feature == "+qpx") {
1094 } else if (Feature
[all...]
H A DModule.cpp60 static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, argument
62 bool HasFeature = llvm::StringSwitch<bool>(Feature)
72 .Default(Target.hasFeature(Feature));
76 Feature) != LangOpts.ModuleFeatures.end();
185 void Module::addRequirement(StringRef Feature, bool RequiredState, argument
188 Requirements.push_back(Requirement(Feature, RequiredState));
191 if (hasFeature(Feature, LangOpts, Target) == RequiredState)
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/
H A DSubtargetFeature.h111 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature,
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DTargetParser.cpp86 const char *Feature; member in struct:__anon2666::__anon2669
342 if (AE.Feature && ArchExt == AE.getName())
343 return AE.Feature;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPPMacroExpansion.cpp1047 StringRef Feature = II->getName();
1050 if (Feature.startswith("__") && Feature.endswith("__") && Feature.size() >= 4)
1051 Feature = Feature.substr(2, Feature.size() - 4);
1053 return llvm::StringSwitch<bool>(Feature)
1640 StringRef Feature = FeatureII->getName();
1641 Value = llvm::StringSwitch<bool>(Feature)
[all...]
H A DModuleMap.cpp1608 /// Whether to add the requirement \p Feature to the module \p M.
1623 static bool shouldAddRequirement(Module *M, StringRef Feature, argument
1629 if (Feature == "excluded" && (M->fullModuleNameIs(DarwinCExcluded) ||
1633 } else if (Feature == "cplusplus" && M->fullModuleNameIs(IOKitAVC)) {
1672 std::string Feature = Tok.getString(); local
1677 shouldAddRequirement(ActiveModule, Feature, IsRequiresExcludedHack);
1684 ActiveModule->addRequirement(Feature, RequiredState, Map.LangOpts,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DModule.h434 /// \param Feature The feature that is required by this module (and
445 void addRequirement(StringRef Feature, bool RequiredState,
H A DTargetInfo.h825 virtual bool hasFeature(StringRef Feature) const {
/freebsd-11.0-release/contrib/llvm/utils/TableGen/
H A DSubtargetEmitter.cpp171 Record *Feature = FeatureList[i]; local
173 const std::string &Name = Feature->getName();
174 const std::string &CommandLineName = Feature->getValueAsString("Name");
175 const std::string &Desc = Feature->getValueAsString("Desc");
186 Feature->getValueAsListOfDefs("Implies");
H A DAsmMatcherEmitter.cpp870 if (const SubtargetFeatureInfo *Feature =
872 RequiredFeatures.push_back(Feature);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendActions.cpp491 for (StringRef Feature : LangOpts.ModuleFeatures)
492 Out.indent(6) << Feature << "\n";
H A DCompilerInvocation.cpp2175 for (StringRef Feature : LangOpts->ModuleFeatures)
2176 code = hash_combine(code, Feature);
/freebsd-11.0-release/sys/dev/mps/mpi/
H A Dmpi2_ioc.h1478 U8 Feature; /* 0x00 */ member in struct:_MPI2_PWR_MGMT_CONTROL_REQUEST
1497 /* defines for the Feature field */
1505 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_DA_PHY_POWER_COND Feature */
1513 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_PORT_WIDTH_MODULATION Feature */
1526 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_PCIE_LINK Feature */
1538 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_IOC_SPEED Feature */
1550 U8 Feature; /* 0x00 */ member in struct:_MPI2_PWR_MGMT_CONTROL_REPLY
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp1898 ReqFeatures.begin(), ReqFeatures.end(), [&](StringRef Feature) {
1900 Feature.split(OrFeatures, "|");
1902 [&](StringRef Feature) {
1903 if (!CallerFeatureMap.lookup(Feature)) {
1904 FirstMissing = Feature.str();
H A DCGBuiltin.cpp6194 X86Features Feature = StringSwitch<X86Features>(FeatureStr) local
6213 assert(Feature != X86Features::MAX && "Invalid feature!");
6240 Features, llvm::ConstantInt::get(Int32Ty, 1 << Feature));
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp256 bool parseSetFeature(uint64_t Feature);
345 // | Feature | Implies |
367 void setFeatureBits(uint64_t Feature, StringRef FeatureString) { argument
368 if (!(getSTI().getFeatureBits()[Feature])) {
376 void clearFeatureBits(uint64_t Feature, StringRef FeatureString) { argument
377 if (getSTI().getFeatureBits()[Feature]) {
385 void setModuleFeatureBits(uint64_t Feature, StringRef FeatureString) { argument
386 setFeatureBits(Feature, FeatureString);
390 void clearModuleFeatureBits(uint64_t Feature, StringRef FeatureString) { argument
391 clearFeatureBits(Feature, FeatureStrin
5189 parseSetFeature(uint64_t Feature) argument
[all...]
/freebsd-11.0-release/sys/dev/mpr/mpi/
H A Dmpi2_ioc.h1805 U8 Feature; /* 0x00 */ member in struct:_MPI2_PWR_MGMT_CONTROL_REQUEST
1824 /* defines for the Feature field */
1833 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_DA_PHY_POWER_COND Feature */
1841 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_PORT_WIDTH_MODULATION Feature */
1855 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_PCIE_LINK Feature */
1867 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_IOC_SPEED Feature */
1875 /* parameter usage for the MPI2_PM_CONTROL_FEATURE_GLOBAL_PWR_MGMT_MODE Feature */
1890 U8 Feature; /* 0x00 */ member in struct:_MPI2_PWR_MGMT_CONTROL_REPLY
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp302 for (StringRef Feature : UnmatchedReadFeatures)
304 << /* is-existing-feature */ false << Feature; local
305 for (StringRef Feature : UnmatchedExistingFeatures)
307 << /* is-existing-feature */ true << Feature; local
H A DASTWriter.cpp1320 for (StringRef Feature : LangOpts.ModuleFeatures)
1321 AddString(Feature, Record);
2431 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Feature
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Driver/
H A DTools.cpp612 for (StringRef Feature : Split) {
613 const char *FeatureName = llvm::ARM::getArchExtFeature(Feature);
2088 for (StringRef Feature : Split) {
2089 const char *result = llvm::StringSwitch<const char *>(Feature)
2105 else if (Feature == "neon" || Feature == "noneon")
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp1085 StringRef Feature =
1087 if (!S.Context.getTargetInfo().validateCpuSupports(Feature))
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp9200 for (auto Feature : Features)
9201 STI.ApplyFeatureFlag(Feature);

Completed in 364 milliseconds