Home
last modified time | relevance | path

Searched refs:emitter (Results 1 – 25 of 135) sorted by relevance

123456

/external/gemmlowp/meta/generators/
Dgemm_NxMxK_neon.py20 def GenerateCommonTempsCountersAndConsts(emitter, rows): argument
21 emitter.EmitDeclare('const std::int32_t', 'row_chunks', 'm / 3')
22 emitter.EmitDeclare('const std::int32_t', 'col_chunks', 'n / 3')
23 emitter.EmitDeclare('const std::int32_t', 'padded_k', '((k + 7) / 8) * 8')
24 emitter.EmitDeclare('const std::int32_t', 'chunk_size', 'k * 3')
25 emitter.EmitDeclare('const std::int32_t', 'zipped_chunk_size',
27 emitter.EmitDeclare('const std::int32_t', 'zipped_rhs_size',
29 emitter.EmitDeclare('const std::uint8_t*', 'lhs_chunk', 'lhs')
30 emitter.EmitDeclare('const std::uint8_t*', 'rhs_chunk', 'rhs')
31 emitter.EmitDeclare('std::uint8_t*', 'zipped_lhs', 'scratch')
[all …]
Dquantized_mul_kernels_common.py19 def _ReadParams(emitter, registers, input_address, elements, min_register): argument
25 emitter.EmitVLoadAE(registers_count * 4, 32, registers, input_address, 64)
29 def _Duplicate(emitter, registers, rows, values): argument
38 emitter.EmitVDup('32', duplicated[i],
39 emitter.Lane(32, values[i / 4], i % 4))
44 def _DuplicateGeneralRegister(emitter, registers, value, min_register): argument
46 emitter.EmitVDup('32', register, value)
53 def Prepare(self, emitter, registers, kernel_m, kernel_n, lhs, rhs): argument
55 emitter.EmitNewline()
56 emitter.EmitComment('StaticQuantization::Prepare')
[all …]
Dgemv_1xMxK_neon.py21 def GenerateCommonTempsCountersAndConsts(emitter): argument
23 emitter.EmitDeclare('const std::int32_t', 'col_chunks', 'n / 8')
24 emitter.EmitDeclare('const std::int32_t', 'padded_k', '((k + 7) / 8) * 8')
25 emitter.EmitDeclare('const std::int32_t', 'chunk_size', 'k * 4')
26 emitter.EmitDeclare('const std::int32_t', 'zipped_chunk_size',
28 emitter.EmitDeclare('const std::uint8_t*', 'rhs_chunk', 'rhs')
29 emitter.EmitDeclare('std::uint8_t*', 'zipped_lhs', 'scratch')
30 emitter.EmitDeclare('std::int32_t*', 'zipped_lhs_offsets',
32 emitter.EmitDeclare('std::uint8_t*', 'zipped_rhs_1',
34 emitter.EmitDeclare('std::uint8_t*', 'zipped_rhs_2',
[all …]
Dzip_Nx8_neon.py27 def GenerateZipLanes(emitter, registers, zip_lanes, input_address, stride): argument
50 emitter.EmitAdd(address_register, last_address_register, stride)
64 def GenerateClearAggregators(emitter, lanes): argument
66 emitter.EmitVMov('i16', lane.aggregator, emitter.ImmediateConstant(0))
69 def GenerateLoadAggregateStore(emitter, lanes, output_address, alignment): argument
71 emitter.EmitNewline()
72 emitter.EmitComment('Load Aggregate Store.')
75 emitter.EmitVLoad(
77 emitter.DereferenceIncrement(lane.input_address, alignment))
81 emitter.EmitVAddw('u8', lane.aggregator, lane.aggregator, lane.load)
[all …]
Dmul_Nx8_Mx8_neon.py48 def GenerateAndClearAggregators(emitter, registers, aggregator_count): argument
50 emitter.EmitComment('Clear aggregators.')
56 emitter.EmitVMov('i32', aggregator, emitter.ImmediateConstant(0))
58 emitter.EmitVMov('i32', aggregator, aggregators[i - 3])
59 emitter.EmitNewline()
63 def GenerateNxMLoadMultiplyAggregate(emitter, registers, left_lanes, argument
66 emitter.EmitComment('General NxM lanes loop.')
67 emitter.EmitNumericalLabel(1)
68 emitter.EmitNewline()
69 emitter.EmitComment('Subtract counter.')
[all …]
Dmul_1x8_Mx8_neon.py14 def GenerateLoadMultiplyAggregate(emitter, registers, lanes_count, aggregators, argument
17 emitter.EmitComment('General 1xM lanes loop.')
18 emitter.EmitNumericalLabel(1)
19 emitter.EmitNewline()
20 emitter.EmitComment('Subtract counter.')
21 emitter.EmitSubs(count, count, emitter.ImmediateConstant(8))
22 emitter.EmitNewline()
27 emitter.EmitVLoad('1.8', left_load, emitter.DereferenceIncrement(lhs, 64))
28 emitter.EmitVLoadA('1.8', right_load, emitter.DereferenceIncrement(rhs_1, 64))
30 emitter.EmitPldOffset(lhs, emitter.ImmediateConstant(64))
[all …]
Dtransform_kernels_common.py19 def _DuplicateGeneralRegister(size, emitter, registers, value, min_register): argument
21 emitter.EmitVDup(size, register, value)
25 def _DuplicateGeneralMemoryRegister(size, emitter, registers, value, argument
29 emitter.EmitLdr(general, value)
30 emitter.EmitVDup(size, register, general)
44 def Prepare(self, emitter, registers, unused_kernel_size): argument
45 emitter.EmitNewline()
46 emitter.EmitComment('MinMax::Prepare')
48 self.min = _DuplicateGeneralRegister(8, emitter, registers,
52 self.max = _DuplicateGeneralRegister(8, emitter, registers,
[all …]
Dqnt_Nx8_neon.py35 def LoadAndDuplicateOffsets(emitter, registers, lanes, offsets): argument
40 emitter.EmitVLoadA('1.32', [emitter.AllLanes(registers.Low(register)),
41 emitter.AllLanes(registers.High(register))],
42 emitter.DereferenceIncrement(offsets, 32))
49 def GenerateQntLanes(emitter, registers, qnt_lanes, source, stride, destination, argument
52 offset_registers = LoadAndDuplicateOffsets(emitter, registers, qnt_lanes,
73 emitter.EmitAdd(input_register, last_input_register, stride)
74 emitter.EmitAdd(output_register, last_output_register, destination_stride)
80 def DuplicateRegister(emitter, registers, value): argument
82 emitter.EmitVDup('32', register, value)
[all …]
Dmeta_neon.py30 def GenerateInternalFunctions(emitter): argument
33 emitter.EmitNewline()
37 emitter.EmitNewline()
41 emitter.EmitNewline()
45 emitter.EmitNewline()
49 emitter.EmitNewline()
53 emitter.EmitNewline()
57 emitter.EmitNewline()
59 qnt_Nx8_neon.GenerateFunctions(neon_emitter.NeonEmitter(), emitter)
60 emitter.EmitNewline()
[all …]
Dstreams_common.py37 def _GenerateInputs(emitter, registers, lanes_count, input_address, stride): argument
47 emitter.EmitAdd(address_register, last_address_register, stride)
52 def _GenerateClear(emitter, clear_type, block): argument
54 emitter.EmitVMov(clear_type, row, emitter.ImmediateConstant(0))
57 def _GenerateLoadAggregateStore(emitter, registers, lanes_count, elements_count, argument
60 emitter.EmitNewline()
61 emitter.EmitComment('Load Aggregate Store: %dx%d.' % (lanes_count,
67 _GenerateClear(emitter, 'i8', block)
70 emitter.EmitVLoadE(8, elements_count, row, input_address, None)
73 emitter.EmitVAddw('u8', aggregator, aggregator, row)
[all …]
Dcommon.py69 def __init__(self, emitter, name): argument
71 self.emitter = emitter
76 self.emitter.EmitMemberFunctionBegin(
80 GenerateDebugLog(self.emitter,
83 self.emitter.EmitFunctionEnd()
89 def __init__(self, emitter, kernel_name, output_stream_name): argument
92 self.emitter = emitter
101 self.emitter.EmitMemberFunctionBegin(
108 GenerateDebugLog(self.emitter, '%s::Multiply()' %
112 self.emitter.EmitFunctionEnd()
[all …]
/external/jemalloc_new/include/jemalloc/internal/
Demitter.h86 emitter_init(emitter_t *emitter, emitter_output_t emitter_output, in emitter_init() argument
88 emitter->output = emitter_output; in emitter_init()
89 emitter->write_cb = write_cb; in emitter_init()
90 emitter->cbopaque = cbopaque; in emitter_init()
91 emitter->item_at_depth = false; in emitter_init()
92 emitter->nesting_depth = 0; in emitter_init()
98 emitter_printf(emitter_t *emitter, const char *format, ...) { in emitter_printf() argument
102 malloc_vcprintf(emitter->write_cb, emitter->cbopaque, format, ap); in emitter_printf()
109 emitter_table_printf(emitter_t *emitter, const char *format, ...) { in emitter_table_printf() argument
110 if (emitter->output == emitter_output_table) { in emitter_table_printf()
[all …]
/external/jemalloc_new/test/unit/
Demitter.c70 emitter_t emitter; in assert_emit_output() local
78 emitter_init(&emitter, emitter_output_json, &forwarding_cb, in assert_emit_output()
80 (*emit_fn)(&emitter); in assert_emit_output()
87 emitter_init(&emitter, emitter_output_table, &forwarding_cb, in assert_emit_output()
89 (*emit_fn)(&emitter); in assert_emit_output()
94 emit_dict(emitter_t *emitter) { in emit_dict() argument
100 emitter_begin(emitter); in emit_dict()
101 emitter_dict_begin(emitter, "foo", "This is the foo table:"); in emit_dict()
102 emitter_kv(emitter, "abc", "ABC", emitter_type_bool, &b_false); in emit_dict()
103 emitter_kv(emitter, "def", "DEF", emitter_type_bool, &b_true); in emit_dict()
[all …]
/external/jemalloc_new/src/
Dstats.c193 mutex_stats_emit(emitter_t *emitter, emitter_row_t *row, in mutex_stats_emit() argument
197 emitter_table_row(emitter, row); in mutex_stats_emit()
210 emitter_json_kv(emitter, #counter, EMITTER_TYPE_##type, \ in mutex_stats_emit()
219 stats_arena_bins_print(emitter_t *emitter, bool mutex, unsigned i) { in stats_arena_bins_print() argument
288 emitter_table_printf(emitter, "bins:"); in stats_arena_bins_print()
289 emitter_table_row(emitter, &header_row); in stats_arena_bins_print()
290 emitter_json_arr_begin(emitter, "bins"); in stats_arena_bins_print()
306 emitter_table_printf(emitter, in stats_arena_bins_print()
336 emitter_json_arr_obj_begin(emitter); in stats_arena_bins_print()
337 emitter_json_kv(emitter, "nmalloc", emitter_type_uint64, in stats_arena_bins_print()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/
DSerializer.java28 import org.yaml.snakeyaml.emitter.Emitable;
52 private final Emitable emitter; field in Serializer
64 public Serializer(Emitable emitter, Resolver resolver, DumperOptions opts, Tag rootTag) { in Serializer() argument
65 this.emitter = emitter; in Serializer()
82 this.emitter.emit(new StreamStartEvent(null, null)); in open()
95 this.emitter.emit(new StreamEndEvent(null, null)); in close()
106 this.emitter.emit(new DocumentStartEvent(null, null, this.explicitStart, this.useVersion, in serialize()
113 this.emitter.emit(new DocumentEndEvent(null, null, this.explicitEnd)); in serialize()
158 this.emitter.emit(new AliasEvent(tAlias, null, null)); in serializeNode()
170 this.emitter.emit(event); in serializeNode()
[all …]
/external/snakeyaml/src/test/java/org/pyyaml/
DPyErrorsTest.java28 import org.yaml.snakeyaml.emitter.Emitter;
29 import org.yaml.snakeyaml.emitter.EventConstructor;
116 Emitter emitter = new Emitter(writer, new DumperOptions()); in testEmitterErrors() local
119 emitter.emit(event); in testEmitterErrors()
DPyEmitterTest.java29 import org.yaml.snakeyaml.emitter.Emitter;
30 import org.yaml.snakeyaml.emitter.EventConstructor;
73 Emitter emitter = new Emitter(stream, options); in _testEmitter() local
75 emitter.emit(event); in _testEmitter()
204 Emitter emitter = new Emitter(writer, new DumperOptions()); in emit() local
206 emitter.emit(event); in emit()
234 Emitter emitter = new Emitter(stream, new DumperOptions()); in testEmitterEvents() local
236 emitter.emit(event); in testEmitterEvents()
/external/autotest/site_utils/stats/
Dlog_daemon_common.py23 for matcher, emitter in matchers:
26 emitter(m)
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java16 package org.yaml.snakeyaml.emitter;
127 Emitter emitter = new Emitter(output, options); in testWriteSupplementaryUnicode() local
129 emitter.emit(new StreamStartEvent(null, null)); in testWriteSupplementaryUnicode()
130 emitter.emit(new DocumentStartEvent(null, null, false, null, null)); in testWriteSupplementaryUnicode()
131 emitter.emit(new ScalarEvent(null, null, new ImplicitTuple(true, false), burger in testWriteSupplementaryUnicode()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java33 import org.yaml.snakeyaml.emitter.Emitable;
34 import org.yaml.snakeyaml.emitter.Emitter;
336 SilentEmitter emitter = new SilentEmitter(); in serialize() local
337 Serializer serializer = new Serializer(emitter, resolver, dumperOptions, null); in serialize()
345 return emitter.getEvents(); in serialize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DCMakeLists.txt5 tablegen(LLVM RISCVGenCompressInstEmitter.inc -gen-compress-inst-emitter)
9 tablegen(LLVM RISCVGenMCCodeEmitter.inc -gen-emitter)
/external/swiftshader/third_party/SPIRV-Tools/test/
Ddiagnostic_test.cpp138 auto emitter = [&consumer]() -> DiagnosticStream { in TEST() local
143 emitter() << "Second"; in TEST()
/external/deqp-deps/SPIRV-Tools/test/
Ddiagnostic_test.cpp138 auto emitter = [&consumer]() -> DiagnosticStream { in TEST() local
143 emitter() << "Second"; in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/
Doptimization-remarks-invalidation.ll11 ; Check that passes which preserve BFI don't invalidate the emitter.
17 ; Check that invalidating BFI computes a fresh emitter.
23 ; Check that invalidating BFI desn't compute a fresh emitter when we don't
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
DEmitterState.java16 package org.yaml.snakeyaml.emitter;

123456