Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 7332) sorted by relevance

12345678910>>...294

/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h83 extern llvm::cl::opt<bool> Symbols;
84 extern llvm::cl::opt<bool> Globals;
85 extern llvm::cl::opt<bool> Classes;
86 extern llvm::cl::opt<bool> Enums;
87 extern llvm::cl::opt<bool> Funcsigs;
88 extern llvm::cl::opt<bool> Arrays;
92 extern llvm::cl::opt<bool> All;
120 extern llvm::cl::opt<bool> NameMap;
121 extern llvm::cl::opt<bool> Fpm;
128 extern llvm::cl::opt<bool> ECData;
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
H A Dassign_value.pass.cpp90 opt = 3; in test_with_test_type()
102 opt = 3; in test_with_test_type()
114 opt = {1, 2}; in test_with_test_type()
127 opt = {1, 2}; in test_with_test_type()
140 opt = {1}; in test_with_test_type()
153 opt = {}; in test_with_test_type()
179 opt = t; in test_with_type()
191 opt = {}; in test_with_type()
201 opt = {1, 2}; in test_with_type_multi()
207 opt = {1, 2}; in test_with_type_multi()
[all …]
H A Demplace.pass.cpp52 Opt opt; in test_one_arg() local
60 Opt opt; in test_one_arg() local
68 Opt opt(2); in test_one_arg() local
76 Opt opt(2); in test_one_arg() local
93 Opt opt; in test_multi_arg() local
101 Opt opt; in test_multi_arg() local
109 Opt opt; in test_multi_arg() local
123 optional<T> opt; in test_on_test_type() local
216 assert(*opt == 42); in test_empty_emplace()
218 opt.emplace(); in test_empty_emplace()
[all …]
H A Dnullopt_t.pass.cpp41 optional<int> opt; in test() local
43 opt = nullopt; in test()
47 optional<int> opt(3); in test() local
48 opt = nullopt; in test()
52 optional<StateTracker> opt; in test() local
53 opt = nullopt; in test()
60 opt = nullopt; in test()
77 optional<TT> opt; in main() local
80 opt = nullopt; in main()
90 optional<TT> opt(42); in main() local
[all …]
H A Dconst_optional_U.pass.cpp88 optional<T> opt; in test_with_test_type() local
90 opt = other; in test_with_test_type()
106 opt = other; in test_with_test_type()
122 opt = other; in test_with_test_type()
132 optional<T> opt; in test_with_test_type() local
135 opt = other; in test_with_test_type()
206 opt = opt2; in main()
213 opt = opt2; in main()
222 opt = opt2; in main()
229 opt = opt2; in main()
[all …]
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DCommonArgs.h27 const llvm::opt::ArgList &Args,
34 void claimNoWarnArgs(const llvm::opt::ArgList &Args);
43 llvm::opt::ArgStringList &CmdArgs);
49 llvm::opt::ArgStringList &CmdArgs,
50 const llvm::opt::ArgList &Args);
72 llvm::opt::ArgStringList &CmdArgs,
106 const llvm::opt::ArgList &Args,
119 const llvm::opt::ArgList &Args,
137 llvm::opt::Arg *getLastProfileUseArg(const llvm::opt::ArgList &Args);
138 llvm::opt::Arg *getLastProfileSampleUseArg(const llvm::opt::ArgList &Args);
[all …]
H A DClang.h55 const llvm::opt::ArgList &Args,
60 void AddMIPSTargetArgs(const llvm::opt::ArgList &Args,
62 void AddPPCTargetArgs(const llvm::opt::ArgList &Args,
72 void AddX86TargetArgs(const llvm::opt::ArgList &Args,
80 void AddVETargetArgs(const llvm::opt::ArgList &Args,
117 const llvm::opt::ArgList &TCArgs,
138 const llvm::opt::ArgList &TCArgs,
151 const llvm::opt::ArgList &TCArgs,
169 const llvm::opt::ArgList &TCArgs,
182 const llvm::opt::ArgList &TCArgs,
[all …]
H A DDarwin.h37 void AddMachOArch(const llvm::opt::ArgList &Args,
58 const llvm::opt::ArgList &TCArgs,
65 llvm::opt::ArgStringList &CmdArgs,
77 const llvm::opt::ArgList &TCArgs,
91 const llvm::opt::ArgList &TCArgs,
155 const llvm::opt::ArgList &Args);
232 llvm::opt::DerivedArgList *
333 const llvm::opt::ArgList &Args);
529 llvm::opt::DerivedArgList *
579 const llvm::opt::ArgList &Args);
[all …]
H A DLinux.h22 const llvm::opt::ArgList &Args);
31 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
34 const llvm::opt::ArgList &DriverArgs,
35 llvm::opt::ArgStringList &CC1Args) const override;
36 void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs,
38 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs,
40 void AddHIPRuntimeLibArgs(const llvm::opt::ArgList &Args,
42 void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs,
49 bool isPIEDefault(const llvm::opt::ArgList &Args) const override;
52 void addProfileRTLibs(const llvm::opt::ArgList &Args,
[all …]
H A DHIPAMD.h32 const llvm::opt::ArgList &TCArgs,
38 const llvm::opt::ArgList &Args) const;
59 llvm::opt::DerivedArgList *
63 addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
64 llvm::opt::ArgStringList &CC1Args,
69 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
72 const llvm::opt::ArgList &Args,
73 llvm::opt::ArgStringList &CC1Args) const override;
74 void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs,
76 void AddHIPIncludeArgs(const llvm::opt::ArgList &DriverArgs,
[all …]
H A DHexagon.h34 const llvm::opt::ArgList &TCArgs,
49 const llvm::opt::ArgList &TCArgs,
71 const llvm::opt::ArgList &Args);
75 llvm::opt::ArgStringList &CC1Args,
78 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
81 const llvm::opt::ArgList &DriverArgs,
82 llvm::opt::ArgStringList &CC1Args) const override;
93 void AddCXXStdlibLibArgs(const llvm::opt::ArgList &Args,
101 void getHexagonLibraryPaths(const llvm::opt::ArgList &Args,
106 static bool isAutoHVXEnabled(const llvm::opt::ArgList &Args);
[all …]
/llvm-project-15.0.7/flang/tools/f18/
H A Dflang-to-external-fc.in98 opt=$1
200 [[ $opt == "-o" ]] ||
211 [[ $opt == "-E" ]] ||
233 flang_opts+=($opt)
236 [[ $opt == "-Mfixed" ]] || [[ $opt == "-Mfree" ]]; then
237 case $opt in
253 [[ $opt =~ -I.* ]] ||
254 [[ $opt =~ -J.* ]] ||
257 flang_opts+=($opt)
258 fc_opts+=($opt)
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/bugprone/
H A Dunchecked-optional-access.cpp6 opt.value(); in unchecked_value_access()
11 *opt; in unchecked_deref_operator_access()
20 opt->foo(); in unchecked_arrow_operator_access()
25 if (opt.has_value()) { in checked_access()
26 opt.value(); in checked_access()
32 opt.value(); // no-warning in function_template_without_user()
37 opt.value(); in function_template_with_user()
48 opt.value(); // no-warning in function_template_with_specialization()
54 opt.value(); in function_template_with_specialization()
75 opt.value(); in f()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/
H A Ddeduct.pass.cpp27 std::optional opt(5); in main() local
30 assert(*opt == 5); in main()
35 std::optional opt(A{}); in main() local
43 std::optional opt(source); in main() local
46 assert(*opt == 5); in main()
52 std::optional opt(source); in main() local
55 assert(*opt == nullptr); in main()
61 std::optional opt(source); in main() local
64 assert((*opt)[0] == 1); in main()
71 std::optional opt(source); in main() local
[all …]
H A Drvalue_T.pass.cpp41 constexpr optional<T> opt(T(5)); in main() local
43 static_assert(*opt == 5, ""); in main()
53 constexpr optional<T> opt(T(3)); in main() local
55 static_assert(*opt == 3, ""); in main()
71 optional<T> opt = T{3}; in main()
75 assert(opt.value().value == 3); in main()
81 optional<T> opt(T{3}); in main() local
85 assert(opt.value().value == 3); in main()
90 optional<T> opt = {3}; in main() local
96 assert(opt.value().value == 3); in main()
[all …]
H A Din_place_t.pass.cpp66 static_assert(*opt == 5, ""); in main()
78 assert(*opt == 5); in main()
81 const optional<X> opt(in_place); in main() local
83 assert(*opt == X()); in main()
86 const optional<X> opt(in_place, 5); in main() local
88 assert(*opt == X(5)); in main()
93 assert(*opt == X(5, 4)); in main()
96 constexpr optional<Y> opt(in_place); in main() local
98 static_assert(*opt == Y(), ""); in main()
111 static_assert(*opt == Y(5), ""); in main()
[all …]
H A Dconst_T.pass.cpp32 constexpr optional<T> opt(t); in main() local
34 static_assert(*opt == 5, ""); in main()
46 constexpr optional<T> opt(t); in main() local
48 static_assert(*opt == 3, ""); in main()
66 optional<T> opt = t; in main() local
70 assert(opt.value().value == 3); in main()
77 optional<T> opt(t); in main() local
81 assert(opt.value().value == 3); in main()
86 constexpr optional<T> opt = {t}; in main() local
100 constexpr optional<T> opt(t); in main() local
[all …]
/llvm-project-15.0.7/bolt/include/bolt/Utils/
H A DCommandLineOpts.h32 extern llvm::cl::opt<unsigned> AlignText;
36 extern llvm::cl::opt<bool> DiffOnly;
37 extern llvm::cl::opt<bool> EnableBAT;
39 extern llvm::cl::opt<bool> RemoveSymtab;
44 extern llvm::cl::opt<bool> HotData;
46 extern llvm::cl::opt<bool> HotText;
47 extern llvm::cl::opt<bool> Instrument;
52 extern llvm::cl::opt<bool> SplitEH;
53 extern llvm::cl::opt<bool> StrictMode;
54 extern llvm::cl::opt<bool> TimeOpts;
[all …]
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DToolChain.h36 namespace opt {
130 const llvm::opt::ArgList &Args;
133 const llvm::opt::Arg *const CachedRTTIArg;
189 const llvm::opt::ArgList &Args);
312 virtual llvm::opt::DerivedArgList *
329 const llvm::opt::DerivedArgList &Args, llvm::opt::Arg *&A,
330 llvm::opt::DerivedArgList *DAL,
336 virtual llvm::opt::DerivedArgList *
587 ComputeLLVMTriple(const llvm::opt::ArgList &Args,
596 const llvm::opt::ArgList &Args,
[all …]
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_arg.c47 child = opt; in set_default_child()
201 if (!opt) in isl_args_free()
206 free(opt); in isl_args_free()
520 unsigned *p = opt ? (unsigned *)(((char *) opt) + decl->offset) : NULL; in print_bool_help()
672 child = opt; in print_help()
716 void *opt) in print_help_and_exit() argument
1121 child = opt; in parse_child_option()
1142 prefixes, opt); in parse_option()
1146 prefixes, opt); in parse_option()
1168 opt); in parse_option()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.hash/
H A Dhash.pass.cpp43 optional<B> opt; in main() local
44 ASSERT_NOT_NOEXCEPT(std::hash<optional<B>>()(opt)); in main()
50 optional<T> opt; in main() local
52 opt = 2; in main()
53 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main()
57 optional<T> opt; in main() local
59 opt = std::string("123"); in main()
60 assert(std::hash<optional<T>>{}(opt) == std::hash<T>{}(*opt)); in main()
64 optional<T> opt; in main() local
66 opt = std::unique_ptr<int>(new int(3)); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.specalg/
H A Dmake_optional.pass.cpp30 auto opt = std::make_optional(arr); in main() local
32 assert(*opt == arr); in main()
35 constexpr auto opt = std::make_optional(2); in main() local
37 static_assert(opt.value() == 2); in main()
40 auto opt = std::make_optional(2); in main() local
41 ASSERT_SAME_TYPE(decltype(opt), std::optional<int>); in main()
42 assert(*opt == 2); in main()
46 auto opt = std::make_optional(s); in main() local
48 assert(*opt == "123"); in main()
52 auto opt = std::make_optional(std::move(s)); in main() local
[all …]
/llvm-project-15.0.7/llvm/test/tools/gold/X86/
H A Dopt-remarks.ll5 ; RUN: -plugin-opt=opt-remarks-passes=inline \
6 ; RUN: -plugin-opt=opt-remarks-format=yaml \
10 ; RUN: -plugin-opt=opt-remarks-passes=inline \
11 ; RUN: -plugin-opt=opt-remarks-format=yaml \
12 ; RUN: -plugin-opt=opt-remarks-with-hotness \
15 ; RUN: -plugin-opt=opt-remarks-passes=inline \
16 ; RUN: -plugin-opt=opt-remarks-format=yaml \
17 ; RUN: -plugin-opt=opt-remarks-with-hotness \
21 ; RUN: -plugin-opt=opt-remarks-passes=inline \
22 ; RUN: -plugin-opt=opt-remarks-format=yaml \
[all …]
/llvm-project-15.0.7/bolt/lib/Utils/
H A DCommandLineOpts.cpp52 cl::opt<bool>
58 cl::opt<unsigned>
63 cl::opt<bool>
69 cl::opt<bool>
85 cl::opt<unsigned>
94 cl::opt<unsigned>
127 cl::opt<bool>
132 cl::opt<std::string>
138 cl::opt<std::string>
163 cl::opt<bool>
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.mod/
H A Dreset.pass.cpp34 optional<int> opt; in check_reset() local
36 opt.reset(); in check_reset()
37 assert(static_cast<bool>(opt) == false); in check_reset()
40 optional<int> opt(3); in check_reset() local
41 opt.reset(); in check_reset()
42 assert(static_cast<bool>(opt) == false); in check_reset()
54 optional<X> opt; in main() local
57 opt.reset(); in main()
59 assert(static_cast<bool>(opt) == false); in main()
62 optional<X> opt(X{}); in main() local
[all …]

12345678910>>...294