Home
last modified time | relevance | path

Searched refs:hasFlag (Results 1 – 24 of 24) sorted by relevance

/external/clang/unittests/Driver/
DMultilibTest.cpp169 static bool hasFlag(const Multilib &M, StringRef Flag) { in hasFlag() function
210 .Case("", hasFlag(*I, "-sof")) in TEST()
211 .Case("/sof", hasFlag(*I, "+sof")) in TEST()
212 .Case("/el", hasFlag(*I, "-sof")) in TEST()
213 .Case("/sof/el", hasFlag(*I, "+sof")) in TEST()
217 .Case("", hasFlag(*I, "-EL")) in TEST()
218 .Case("/sof", hasFlag(*I, "-EL")) in TEST()
219 .Case("/el", hasFlag(*I, "+EL")) in TEST()
220 .Case("/sof/el", hasFlag(*I, "+EL")) in TEST()
/external/llvm/lib/MC/
DSubtargetFeature.cpp32 static inline bool hasFlag(StringRef Feature) { in hasFlag() function
43 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag()
69 Features.push_back(hasFlag(String) ? String.lower() in AddFeature()
194 assert(hasFlag(Feature)); in ApplyFeatureFlag()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DSubtargetFeature.cpp36 static inline bool hasFlag(StringRef Feature) { in hasFlag() function
46 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag()
69 Features.push_back(hasFlag(String) ? String.lower() in AddFeature()
179 assert(hasFlag(Feature)); in ApplyFeatureFlag()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DRouterImpl.java171 assert messageWithHeader.getHeader().hasFlag(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG); in acceptWithResponder()
220 if (header.hasFlag(MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG)) { in handleIncomingMessage()
228 } else if (header.hasFlag(MessageHeader.MESSAGE_IS_RESPONSE_FLAG)) { in handleIncomingMessage()
DMessageHeader.java125 public boolean hasFlag(int flag) { in hasFlag() method in MessageHeader
/external/clang/lib/Driver/
DTools.cpp280 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
296 !O.hasFlag(options::DriverOption) && !O.hasFlag(options::LinkerInput); in forwardToGCC()
1113 if (!Args.hasFlag(options::OPT_mimplicit_float, in AddARMTargetArgs()
1151 if (!Args.hasFlag(options::OPT_mred_zone, options::OPT_mno_red_zone, true) || in AddAArch64TargetArgs()
1156 if (!Args.hasFlag(options::OPT_mimplicit_float, in AddAArch64TargetArgs()
1632 HasQPX = Args.hasFlag(options::OPT_mqpx, options::OPT_mno_qpx, HasQPX); in AddPPCTargetArgs()
1767 if (Args.hasFlag(options::OPT_mbackchain, options::OPT_mno_backchain, false)) in AddSystemZTargetArgs()
2224 if (!Args.hasFlag(options::OPT_mred_zone, options::OPT_mno_red_zone, true) || in AddX86TargetArgs()
2255 if (Args.hasFlag(options::OPT_miamcu, options::OPT_mno_iamcu, false)) { in AddX86TargetArgs()
2657 bool EH = Args.hasFlag(options::OPT_fexceptions, options::OPT_fno_exceptions, in addExceptionArgs()
[all …]
DToolChain.cpp84 return Args.hasFlag(options::OPT_fintegrated_as, in useIntegratedAs()
314 if (Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs, in needsProfileRT()
491 if ((InputType != types::TY_PP_Asm && Args.hasFlag(options::OPT_mthumb, in ComputeLLVMTriple()
DDriver.cpp139 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings()
284 if (Args.hasFlag(options::OPT_miamcu, options::OPT_mno_iamcu, false)) in TranslateInputArgs()
379 if (Args.hasFlag(options::OPT_miamcu, options::OPT_mno_iamcu, false)) { in computeTargetTriple()
404 if (!Args.hasFlag(options::OPT_flto, options::OPT_flto_EQ, in setLTOMode()
498 Args.hasFlag(options::OPT_ccc_pch_is_pch, options::OPT_ccc_pch_is_pth); in BuildCompilation()
1334 } else if (A->getOption().hasFlag(options::LinkerInput)) { in BuildInputs()
1728 if (!Args.hasFlag(options::OPT_frewrite_includes, in ConstructPhaseAction()
1853 if (A->getOption().hasFlag(options::NoArgumentUnused)) in BuildJobs()
2665 return Args.hasFlag(options::OPT_Ofast, options::OPT_O_Group, false); in isOptimizationLevelFast()
DSanitizerArgs.cpp438 CfiCrossDso = Args.hasFlag(options::OPT_fsanitize_cfi_cross_dso, in SanitizerArgs()
445 Stats = Args.hasFlag(options::OPT_fsanitize_stats, in SanitizerArgs()
DToolChains.cpp259 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
841 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs()
855 if (A->getOption().hasFlag(options::LinkerInput)) { in TranslateArgs()
2451 Args.hasFlag(options::OPT_mthumb, options::OPT_mno_thumb, false) || in findAndroidArmMultilibs()
2806 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
4751 if (DriverArgs.hasFlag(options::OPT_fcuda_flush_denormals_to_zero, in addClangTargetOptions()
4755 if (DriverArgs.hasFlag(options::OPT_fcuda_approx_transcendentals, in addClangTargetOptions()
4816 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs()
5035 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp174 static bool hasFlag(SVal val, ProgramStateRef state) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
248 bool isNSError = hasFlag<NSErrorOut>(loc, state); in checkEvent()
251 isCFError = hasFlag<CFErrorOut>(loc, state); in checkEvent()
/external/swiftshader/third_party/LLVM/lib/MC/
DSubtargetFeature.cpp30 static inline bool hasFlag(const StringRef Feature) { in hasFlag() function
41 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag()
59 if (hasFlag(Feature)) in PrependFlag()
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureFilterMinmaxTests.cpp664 if (!dataTypeIter->hasFlag(TextureFilterMinmaxUtils::MINMAX)) in iterate()
667 …if (dataTypeIter->hasFlag(TextureFilterMinmaxUtils::EXCLUDE_3D) && textureType->getType() == GL_TE… in iterate()
670 if (dataTypeIter->hasFlag(TextureFilterMinmaxUtils::EXCLUDE_CUBE) && in iterate()
789 if (!dataTypeIter->hasFlag(TextureFilterMinmaxUtils::MINMAX)) in iterate()
792 …if (dataTypeIter->hasFlag(TextureFilterMinmaxUtils::EXCLUDE_3D) && textureType->getType() == GL_TE… in iterate()
795 if (dataTypeIter->hasFlag(TextureFilterMinmaxUtils::EXCLUDE_CUBE) && in iterate()
Dgl4cTextureFilterMinmaxTests.hpp66 inline bool hasFlag(TextureTestFlag flag) const in hasFlag() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Option/
DArgList.cpp74 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
80 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() function in ArgList
DOptTable.cpp361 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
363 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
/external/clang/lib/Frontend/
DCompilerInvocation.cpp526 Args.hasFlag(OPT_funroll_loops, OPT_fno_unroll_loops, in ParseCodeGenArgs()
543 Args.hasFlag(OPT_fcoverage_mapping, OPT_fno_coverage_mapping, false); in ParseCodeGenArgs()
598 Opts.FunctionSections = Args.hasFlag(OPT_ffunction_sections, in ParseCodeGenArgs()
600 Opts.DataSections = Args.hasFlag(OPT_fdata_sections, in ParseCodeGenArgs()
602 Opts.UniqueSectionNames = Args.hasFlag(OPT_funique_section_names, in ParseCodeGenArgs()
756 Args.hasFlag(OPT_femulated_tls, OPT_fno_emulated_tls, false); in ParseCodeGenArgs()
934 Opts.ShowColumn = Args.hasFlag(OPT_fshow_column, in ParseDiagnosticArgs()
1702 Opts.GNUKeywords = Args.hasFlag(OPT_fgnu_keywords, OPT_fno_gnu_keywords, in ParseLangArgs()
1847 Args.hasFlag(OPT_ftrigraphs, OPT_fno_trigraphs, Opts.Trigraphs); in ParseLangArgs()
1849 Opts.DollarIdents = Args.hasFlag(OPT_fdollars_in_identifiers, in ParseLangArgs()
[all …]
/external/llvm/include/llvm/Option/
DOption.h161 bool hasFlag(unsigned Val) const { in hasFlag() function
DArgList.h248 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
254 bool hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Option/
DOption.h171 bool hasFlag(unsigned Val) const { in hasFlag() function
DArgList.h296 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
302 bool hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
/external/llvm/lib/Option/
DOptTable.cpp226 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
228 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
DArgList.cpp221 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
227 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() function in ArgList
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTest.java159 if (header.hasFlag(MessageHeader.MESSAGE_IS_RESPONSE_FLAG)) { in accept()