Home
last modified time | relevance | path

Searched refs:opt_level (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer.h31 explicit GenericLayoutOptimizer(RewriterConfig::Toggle opt_level) in GenericLayoutOptimizer() argument
32 : GenericLayoutOptimizer(opt_level, in GenericLayoutOptimizer()
34 explicit GenericLayoutOptimizer(RewriterConfig::Toggle opt_level, in GenericLayoutOptimizer() argument
36 : opt_level_(opt_level), cpu_layout_conversion_(layout_conversion) {} in GenericLayoutOptimizer()
Darithmetic_optimizer.h39 explicit ArithmeticOptimizer(RewriterConfig::Toggle opt_level) in ArithmeticOptimizer() argument
40 : opt_level_(opt_level), in ArithmeticOptimizer()
41 options_(ArithmeticOptimizerOptions::Default(opt_level)) {} in ArithmeticOptimizer()
94 RewriterConfig::Toggle opt_level) { in Default()
Dremapper.h29 explicit Remapper(RewriterConfig::Toggle opt_level) : opt_level_(opt_level) {} in Remapper() argument
Dfunction_optimizer.h29 explicit FunctionOptimizer(RewriterConfig::Toggle opt_level, in FunctionOptimizer() argument
31 : opt_level_(opt_level), lower_control_flow_(lower_control_flow) {} in FunctionOptimizer()
Dcommon_subgraph_elimination.h40 explicit CommonSubgraphElimination(RewriterConfig::Toggle opt_level) in CommonSubgraphElimination() argument
41 : opt_level_(opt_level) {} in CommonSubgraphElimination()
Dloop_optimizer.h36 explicit LoopOptimizer(RewriterConfig::Toggle opt_level,
60 static LoopOptimizerOptions Default(RewriterConfig::Toggle opt_level) { in Default()
Dgraph_optimizer_stage.h53 RewriterConfig::Toggle opt_level) in GraphOptimizerContext()
59 opt_level(opt_level) {} in GraphOptimizerContext()
66 RewriterConfig::Toggle opt_level; member
Dshape_optimizer.h34 explicit ShapeOptimizer(RewriterConfig::Toggle opt_level) {} in ShapeOptimizer() argument
Dpin_to_host_optimizer.h42 explicit PinToHostOptimizer(RewriterConfig::Toggle opt_level) {} in PinToHostOptimizer() argument
Ddependency_optimizer.h33 explicit DependencyOptimizer(RewriterConfig::Toggle opt_level) {} in DependencyOptimizer() argument
/external/tensorflow/tensorflow/compiler/jit/
Dflags.cc42 int32 opt_level; in SetterForXlaAutoJitFlag() local
47 if (absl::SimpleAtoi(value, &opt_level)) { in SetterForXlaAutoJitFlag()
49 .optimization_level_single_gpu = opt_level; in SetterForXlaAutoJitFlag()
51 opt_level; in SetterForXlaAutoJitFlag()
67 !absl::SimpleAtoi(value_sv, &opt_level)) { in SetterForXlaAutoJitFlag()
72 opt_level; in SetterForXlaAutoJitFlag()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcompiler_functor.cc219 llvm::legacy::FunctionPassManager* function_passes, unsigned opt_level, in AddOptimizationPasses() argument
222 builder.OptLevel = opt_level; in AddOptimizationPasses()
225 if (opt_level > 1) { in AddOptimizationPasses()
232 builder.DisableUnrollLoops = opt_level == 0; in AddOptimizationPasses()
233 builder.LoopVectorize = opt_level > 0 && size_level == 0; in AddOptimizationPasses()
234 builder.SLPVectorize = opt_level > 1 && size_level == 0; in AddOptimizationPasses()
Dcompiler_functor.h36 llvm::TargetMachine* target_machine, int opt_level,
45 opt_level_(opt_level), in IRCompiler()
65 unsigned opt_level, unsigned size_level) const;
Dsimple_orc_jit.cc74 llvm::CodeGenOpt::Level opt_level) { in InferTargetMachineForJIT() argument
78 .setOptLevel(opt_level) in InferTargetMachineForJIT()
91 llvm::CodeGenOpt::Level opt_level, bool optimize_for_size, in SimpleOrcJIT() argument
96 : target_machine_(InferTargetMachineForJIT(target_options, opt_level)), in SimpleOrcJIT()
108 target_machine_.get(), opt_level, optimize_for_size,
161 llvm::CodeGenOpt::Level opt_level, bool optimize_for_size, in Create() argument
176 target_options, opt_level, optimize_for_size, disable_expensive_passes, in Create()
Dsimple_orc_jit.h60 llvm::CodeGenOpt::Level opt_level, bool optimize_for_size,
68 llvm::CodeGenOpt::Level opt_level, bool optimize_for_size,
95 llvm::CodeGenOpt::Level opt_level);
/external/python/cpython3/Lib/
Dcompileall.py204 for opt_level in optimize:
206 opt_cfiles[opt_level] = fullname + 'c'
208 if opt_level >= 0:
209 opt = opt_level if opt_level >= 1 else ''
212 opt_cfiles[opt_level] = cfile
215 opt_cfiles[opt_level] = cfile
236 for index, opt_level in enumerate(optimize):
237 cfile = opt_cfiles[opt_level]
239 optimize=opt_level,
/external/icu/icu4c/source/samples/coll/
Dcoll.cpp57 int opt_level = 0; variable
82 {"-level", OptSpec::NUM, &opt_level},
209 if (opt_level != 0) { in processCollator()
210 switch (opt_level) { in processCollator()
/external/icu/icu4c/source/samples/strsrch/
Dstrsrch.cpp61 int opt_level = 0; variable
90 {"-level", OptSpec::NUM, &opt_level},
199 if (opt_level != 0) { in processCollator()
200 switch (opt_level) { in processCollator()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Dgpu_backend_lib.cc188 void AddOptimizationPasses(unsigned opt_level, unsigned size_level, in AddOptimizationPasses() argument
194 builder.OptLevel = opt_level; in AddOptimizationPasses()
197 if (opt_level > 1) { in AddOptimizationPasses()
204 builder.DisableUnrollLoops = opt_level == 0; in AddOptimizationPasses()
205 builder.LoopVectorize = opt_level > 0; in AddOptimizationPasses()
206 builder.SLPVectorize = opt_level > 1 && size_level < 2; in AddOptimizationPasses()
415 int32 opt_level = in LinkAndOptimizeModule() local
418 if (opt_level < 2) { in LinkAndOptimizeModule()
422 LOG(ERROR) << "--xla_backend_optimization_level is set to " << opt_level in LinkAndOptimizeModule()
430 AddOptimizationPasses(opt_level, in LinkAndOptimizeModule()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dreduce_benchmark_test.py76 opt_level=config_pb2.OptimizerOptions.L0)))
92 opt_level=config_pb2.OptimizerOptions.L0)))
/external/llvm/bindings/ocaml/executionengine/
Dllvm_executionengine.ml20 opt_level: int; RecordField
27 opt_level = 0;
/external/llvm-project/llvm/bindings/ocaml/executionengine/
Dllvm_executionengine.ml19 opt_level: int; RecordField
26 opt_level = 0;
Dllvm_executionengine.mli29 opt_level: int; RecordField
36 [{ opt_level = 0; code_model = CodeModel.JIT_default;
/external/python/cpython3/Lib/test/
Dtest_compileall.py345 for opt_level in "", 1, 2, 3:
347 optimization=opt_level))
352 for opt_level in opt_combination:
353 self.assertTrue(os.path.isfile(bc[opt_level]))
355 os.unlink(bc[opt_level])
810 for opt_level in "", 1, 2, 3:
812 optimization=opt_level))
819 for opt_level in opt_combination:
820 self.assertTrue(os.path.isfile(bc[int(opt_level)]))
822 os.unlink(bc[opt_level])
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-optimizer-options.pbtxt30 name: "opt_level"

123