Home
last modified time | relevance | path

Searched full:opt (Results 1 – 25 of 11414) sorted by relevance

12345678910>>...457

/external/mesa3d/src/panfrost/bifrost/
DISA.xml31 <opt>b0</opt>
32 <opt>b1</opt>
33 <opt>b2</opt>
34 <opt>b3</opt>
43 <opt>b00</opt>
44 <opt>b11</opt>
45 <opt>b22</opt>
46 <opt>b33</opt>
47 <opt>b01</opt>
48 <opt>b23</opt>
[all …]
/external/rust/crates/structopt/tests/
Doptions.rs14 struct Opt { in required_option() struct
19 Opt { arg: 42 }, in required_option()
20 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a42"])) in required_option()
23 Opt { arg: 42 }, in required_option()
24 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a", "42"])) in required_option()
27 Opt { arg: 42 }, in required_option()
28 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--arg", "42"])) in required_option()
30 assert!(Opt::clap().get_matches_from_safe(&["test"]).is_err()); in required_option()
31 assert!(Opt::clap() in required_option()
39 struct Opt { in optional_option() struct
[all …]
Dargument_naming.rs6 enum Opt { in test_single_word_enum_variant_is_default_renamed_into_kebab_case() enum
11 Opt::Command { foo: 0 }, in test_single_word_enum_variant_is_default_renamed_into_kebab_case()
12 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "command", "0"])) in test_single_word_enum_variant_is_default_renamed_into_kebab_case()
19 enum Opt { in test_multi_word_enum_variant_is_renamed() enum
24 Opt::FirstCommand { foo: 0 }, in test_multi_word_enum_variant_is_renamed()
25 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "first-command", "0"])) in test_multi_word_enum_variant_is_renamed()
33 struct Opt { in test_standalone_long_generates_kebab_case() struct
39 Opt { FOO_OPTION: true }, in test_standalone_long_generates_kebab_case()
40 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--foo-option"])) in test_standalone_long_generates_kebab_case()
47 struct Opt { in test_custom_long_overwrites_default_name() struct
[all …]
Dflags.rs14 struct Opt { in unique_flag() struct
20 Opt { alice: false }, in unique_flag()
21 Opt::from_clap(&Opt::clap().get_matches_from(&["test"])) in unique_flag()
24 Opt { alice: true }, in unique_flag()
25 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "-a"])) in unique_flag()
28 Opt { alice: true }, in unique_flag()
29 Opt::from_clap(&Opt::clap().get_matches_from(&["test", "--alice"])) in unique_flag()
31 assert!(Opt::clap().get_matches_from_safe(&["test", "-i"]).is_err()); in unique_flag()
32 assert!(Opt::clap() in unique_flag()
35 assert!(Opt::clap() in unique_flag()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dpasses.h20 #include "source/opt/aggressive_dead_code_elim_pass.h"
21 #include "source/opt/amd_ext_to_khr.h"
22 #include "source/opt/block_merge_pass.h"
23 #include "source/opt/ccp_pass.h"
24 #include "source/opt/cfg_cleanup_pass.h"
25 #include "source/opt/code_sink.h"
26 #include "source/opt/combine_access_chains.h"
27 #include "source/opt/compact_ids_pass.h"
28 #include "source/opt/convert_to_half_pass.h"
29 #include "source/opt/copy_prop_arrays.h"
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpasses.h20 #include "source/opt/aggressive_dead_code_elim_pass.h"
21 #include "source/opt/amd_ext_to_khr.h"
22 #include "source/opt/block_merge_pass.h"
23 #include "source/opt/ccp_pass.h"
24 #include "source/opt/cfg_cleanup_pass.h"
25 #include "source/opt/code_sink.h"
26 #include "source/opt/combine_access_chains.h"
27 #include "source/opt/compact_ids_pass.h"
28 #include "source/opt/convert_to_half_pass.h"
29 #include "source/opt/copy_prop_arrays.h"
[all …]
/external/llvm/test/CodeGen/WebAssembly/
Dcfg-stackify.ll1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -disable-block-placement -v…
2 …=false -disable-wasm-fallthrough-return-opt -verify-machineinstrs -fast-isel=false | FileCheck -ch…
30 ; OPT-LABEL: test0:
31 ; OPT: loop
32 ; OPT-NEXT: i32.const
33 ; OPT-NEXT: i32.add
34 ; OPT: i32.ge_s
35 ; OPT-NEXT: br_if
36 ; OPT-NOT: br
37 ; OPT: call
[all …]
/external/llvm-project/llvm/tools/llvm-pdbutil/
Dllvm-pdbutil.h79 extern llvm::cl::opt<bool> Compilands;
80 extern llvm::cl::opt<bool> Symbols;
81 extern llvm::cl::opt<bool> Globals;
82 extern llvm::cl::opt<bool> Classes;
83 extern llvm::cl::opt<bool> Enums;
84 extern llvm::cl::opt<bool> Funcsigs;
85 extern llvm::cl::opt<bool> Arrays;
86 extern llvm::cl::opt<bool> Typedefs;
87 extern llvm::cl::opt<bool> Pointers;
88 extern llvm::cl::opt<bool> VTShapes;
[all …]
/external/deqp-deps/SPIRV-Tools/
DBUILD.gn502 "source/opt/aggressive_dead_code_elim_pass.cpp",
503 "source/opt/aggressive_dead_code_elim_pass.h",
504 "source/opt/amd_ext_to_khr.cpp",
505 "source/opt/amd_ext_to_khr.h",
506 "source/opt/basic_block.cpp",
507 "source/opt/basic_block.h",
508 "source/opt/block_merge_pass.cpp",
509 "source/opt/block_merge_pass.h",
510 "source/opt/block_merge_util.cpp",
511 "source/opt/block_merge_util.h",
[all …]
/external/swiftshader/third_party/SPIRV-Tools/
DBUILD.gn502 "source/opt/aggressive_dead_code_elim_pass.cpp",
503 "source/opt/aggressive_dead_code_elim_pass.h",
504 "source/opt/amd_ext_to_khr.cpp",
505 "source/opt/amd_ext_to_khr.h",
506 "source/opt/basic_block.cpp",
507 "source/opt/basic_block.h",
508 "source/opt/block_merge_pass.cpp",
509 "source/opt/block_merge_pass.h",
510 "source/opt/block_merge_util.cpp",
511 "source/opt/block_merge_util.h",
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer_test.py84 def _run_fn_with_grad_check(self, strategy, var, opt, expected_grad): argument
88 return lambda: opt.minimize(loss, var_list=[var])
94 opt = gradient_descent.SGD(2.0)
96 opt = loss_scale_optimizer.LossScaleOptimizer(opt, dynamic=False,
98 self.assertEqual(self.evaluate(opt.loss_scale), loss_scale)
99 self.assertIsInstance(opt.loss_scale, ops.Tensor)
105 strategy, var, opt, loss_scale / strategy.num_replicas_in_sync)
116 opt = gradient_descent.SGD(1.0)
118 opt = loss_scale_optimizer.LossScaleOptimizer(opt, dynamic=False,
123 run_op = opt.get_gradients(loss, [var])
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dcgp-bitfield-extract.ll1 ; RUN: opt -S -mtriple=amdgcn-- -codegenprepare < %s | FileCheck -check-prefix=OPT %s
2 ; RUN: opt -S -mtriple=amdgcn-- -mcpu=tonga -codegenprepare < %s | FileCheck -check-prefix=OPT %s
9 ; OPT-LABEL: @sink_ubfe_i32(
10 ; OPT: entry:
11 ; OPT-NEXT: br i1
13 ; OPT: bb0:
14 ; OPT: %0 = lshr i32 %arg1, 8
15 ; OPT-NEXT: %val0 = and i32 %0, 255
16 ; OPT: br label
18 ; OPT: bb1:
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dcgp-bitfield-extract.ll1 ; RUN: opt -S -mtriple=amdgcn-- -codegenprepare < %s | FileCheck -check-prefix=OPT %s
2 ; RUN: opt -S -mtriple=amdgcn-- -mcpu=tonga -mattr=-flat-for-global -codegenprepare < %s | FileChec…
9 ; OPT-LABEL: @sink_ubfe_i32(
10 ; OPT: entry:
11 ; OPT-NEXT: br i1
13 ; OPT: bb0:
14 ; OPT: %0 = lshr i32 %arg1, 8
15 ; OPT-NEXT: %val0 = and i32 %0, 255
16 ; OPT: br label
18 ; OPT: bb1:
[all …]
Dwiden_extending_scalar_loads.ll1 ; RUN: opt -S -mtriple=amdgcn-- -amdgpu-codegenprepare -amdgpu-codegenprepare-widen-constant-loads …
5 ; OPT-LABEL: @constant_load_i1
6 ; OPT: load i1
7 ; OPT-NEXT: store i1
14 ; OPT-LABEL: @constant_load_i1_align2
15 ; OPT: load i1
16 ; OPT-NEXT: store
23 ; OPT-LABEL: @constant_load_i1_align4
24 ; OPT: bitcast
25 ; OPT-NEXT: load i32
[all …]
Dpropagate-attributes-clone.ll1 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -O1 < %s | FileCheck -check-prefixes=OPT,OPT-EXT %s
2 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -O1 --amdgpu-internalize-symbols < %s | FileCheck -check-p…
5 ; OPT: declare void @foo4() local_unnamed_addr #0
6 ; OPT: define internal fastcc void @0() unnamed_addr #1
7 ; OPT-EXT: define void @foo3() local_unnamed_addr #1
8 ; OPT-INT: define internal fastcc void @foo3.2() unnamed_addr #1
9 ; OPT-EXT: define void @foo2() local_unnamed_addr #1
10 ; OPT-INT: define internal fastcc void @foo2.3() unnamed_addr #1
11 ; OPT-EXT: define void @foo1() local_unnamed_addr #1
12 ; OPT-EXT: tail call void @foo4()
[all …]
Dlower-mem-intrinsics.ll2 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size…
3 ; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -amdgpu-lower-intrinsics -amdgpu-mem-intrinsic-expand-size…
45 ; OPT-LABEL: @min_size_large_static_memcpy_caller0(
46 ; OPT-NEXT: [[TMP1:%.*]] = bitcast i8 addrspace(1)* [[SRC:%.*]] to <4 x i32> addrspace(1)*
47 ; OPT-NEXT: [[TMP2:%.*]] = bitcast i8 addrspace(1)* [[DST:%.*]] to <4 x i32> addrspace(1)*
48 ; OPT-NEXT: br label [[LOAD_STORE_LOOP:%.*]]
49 ; OPT: load-store-loop:
50 ; OPT-NEXT: [[LOOP_INDEX:%.*]] = phi i64 [ 0, [[TMP0:%.*]] ], [ [[TMP6:%.*]], [[LOAD_STORE_LOOP]…
51 ; OPT-NEXT: [[TMP3:%.*]] = getelementptr inbounds <4 x i32>, <4 x i32> addrspace(1)* [[TMP1]], i…
52 ; OPT-NEXT: [[TMP4:%.*]] = load <4 x i32>, <4 x i32> addrspace(1)* [[TMP3]], align 1
[all …]
/external/llvm-project/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp50 using Opt = std::optional<T>; in test_one_arg() typedef
52 Opt opt; in test_one_arg() local
53 auto & v = opt.emplace(); in test_one_arg()
55 assert(static_cast<bool>(opt) == true); in test_one_arg()
56 assert(*opt == T(0)); in test_one_arg()
57 assert(&v == &*opt); in test_one_arg()
60 Opt opt; in test_one_arg() local
61 auto & v = opt.emplace(1); in test_one_arg()
63 assert(static_cast<bool>(opt) == true); in test_one_arg()
64 assert(*opt == T(1)); in test_one_arg()
[all …]
Dassign_value.pass.cpp51 using Opt = std::optional<FromOptionalType>; typedef
55 constexpr FromOptionalType(Opt&) { Dummy::BARK; } in FromOptionalType()
57 constexpr FromOptionalType& operator=(Opt&) { Dummy::BARK; return *this; } in operator =()
89 optional<T> opt; in test_with_test_type() local
90 opt = 3; in test_with_test_type()
96 assert(static_cast<bool>(opt) == true); in test_with_test_type()
97 assert(*opt == T(3)); in test_with_test_type()
100 optional<T> opt(42); in test_with_test_type() local
102 opt = 3; in test_with_test_type()
108 assert(static_cast<bool>(opt) == true); in test_with_test_type()
[all …]
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Demplace.pass.cpp51 using Opt = std::optional<T>; in test_one_arg() typedef
53 Opt opt; in test_one_arg() local
54 auto & v = opt.emplace(); in test_one_arg()
56 assert(static_cast<bool>(opt) == true); in test_one_arg()
57 assert(*opt == T(0)); in test_one_arg()
58 assert(&v == &*opt); in test_one_arg()
61 Opt opt; in test_one_arg() local
62 auto & v = opt.emplace(1); in test_one_arg()
64 assert(static_cast<bool>(opt) == true); in test_one_arg()
65 assert(*opt == T(1)); in test_one_arg()
[all …]
Dassign_value.pass.cpp52 using Opt = std::optional<FromOptionalType>; typedef
56 constexpr FromOptionalType(Opt&) { Dummy::BARK; } in FromOptionalType()
58 constexpr FromOptionalType& operator=(Opt&) { Dummy::BARK; return *this; } in operator =()
90 optional<T> opt; in test_with_test_type() local
91 opt = 3; in test_with_test_type()
97 assert(static_cast<bool>(opt) == true); in test_with_test_type()
98 assert(*opt == T(3)); in test_with_test_type()
101 optional<T> opt(42); in test_with_test_type() local
103 opt = 3; in test_with_test_type()
109 assert(static_cast<bool>(opt) == true); in test_with_test_type()
[all …]
/external/llvm/test/Feature/
Doptnone-opt.ll1 ; RUN: opt -S -debug %s 2>&1 | FileCheck %s --check-prefix=OPT-O0
2 ; RUN: opt -O1 -S -debug %s 2>&1 | FileCheck %s --check-prefix=OPT-O1
3 ; RUN: opt -O2 -S -debug %s 2>&1 | FileCheck %s --check-prefix=OPT-O1 --check-prefix=OPT-O2O3
4 ; RUN: opt -O3 -S -debug %s 2>&1 | FileCheck %s --check-prefix=OPT-O1 --check-prefix=OPT-O2O3
5 ; RUN: opt -bb-vectorize -dce -die -loweratomic -S -debug %s 2>&1 | FileCheck %s --check-prefix=OPT
6opt -indvars -licm -loop-deletion -loop-extract -loop-idiom -loop-instsimplify -loop-reduce -loop-…
37 ; OPT-O0-NOT: Skipping pass
40 ; OPT-O1-DAG: Skipping pass 'Aggressive Dead Code Elimination'
41 ; OPT-O1-DAG: Skipping pass 'Combine redundant instructions'
42 ; OPT-O1-DAG: Skipping pass 'Dead Store Elimination'
[all …]
/external/llvm-project/llvm/test/CodeGen/AArch64/
Darm64-bitfield-extract.ll2 ; RUN: opt -codegenprepare -mtriple=arm64-apple=ios -S -o - %s | FileCheck --check-prefix=OPT %s
17 ; OPT-LABEL: @foo(
18 ; OPT-NEXT: [[TMP:%.*]] = bitcast %struct.X* [[X:%.*]] to i32*
19 ; OPT-NEXT: [[TMP1:%.*]] = load i32, i32* [[TMP]], align 4
20 ; OPT-NEXT: [[B:%.*]] = getelementptr inbounds [[STRUCT_Y:%.*]], %struct.Y* [[Y:%.*]], i64 0, i3…
21 ; OPT-NEXT: [[BF_CLEAR:%.*]] = lshr i32 [[TMP1]], 3
22 ; OPT-NEXT: [[BF_CLEAR_LOBIT:%.*]] = and i32 [[BF_CLEAR]], 1
23 ; OPT-NEXT: [[FROMBOOL:%.*]] = trunc i32 [[BF_CLEAR_LOBIT]] to i8
24 ; OPT-NEXT: store i8 [[FROMBOOL]], i8* [[B]], align 1
25 ; OPT-NEXT: ret void
[all …]
/external/oss-fuzz/projects/llvm/
Dbuild.sh29 llvm-opt-fuzzer \
70 # Same for llvm-opt-fuzzer
71 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-earlycse
72 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-simplifycfg
73 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-gvn
74 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-sccp
76 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-loop_predication
77 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-guard_widening
78 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-loop_vectorize
80 cp $OUT/llvm-opt-fuzzer $OUT/llvm-opt-fuzzer--x86_64-loop_rotate
[all …]
/external/llvm-project/llvm/test/CodeGen/Thumb/
Dconsthoist-few-dependents.ll1 ; RUN: opt -consthoist -S %s -o - | FileCheck %s --check-prefix=OPT
2 ; RUN: opt -consthoist -S -consthoist-min-num-to-rebase=1 %s -o - | FileCheck %s --check-prefix=OPT
3 ; RUN: opt -consthoist -S -consthoist-min-num-to-rebase=2 %s -o - | FileCheck %s --check-prefix=OPT
4 ; RUN: opt -consthoist -S -consthoist-min-num-to-rebase=3 %s -o - | FileCheck %s --check-prefix=OPT
14 ; OPT-LABEL: avalon
15 ; OPT: bb1:
16 ; OPT: store i1 true
17 ; OPT: bb2:
18 ; OPT: store i1 false
19 ; OPT: bb3:
[all …]
/external/llvm-project/clang/lib/Driver/ToolChains/
DClang.h30 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
32 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
34 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
39 const Driver &D, const llvm::opt::ArgList &Args,
40 llvm::opt::ArgStringList &CmdArgs,
45 const llvm::opt::ArgList &Args, bool KernelOrKext,
46 llvm::opt::ArgStringList &CmdArgs) const;
48 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
49 llvm::opt::ArgStringList &CmdArgs) const;
51 const llvm::opt::ArgList &Args,
[all …]

12345678910>>...457