Home
last modified time | relevance | path

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

1234

/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/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/autotest/site_utils/stats/
Dlog_daemon_common.py23 for matcher, emitter in matchers:
27 emitter.__name__, line.strip())
28 emitter(m)
/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/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/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
DEmitterState.java16 package org.yaml.snakeyaml.emitter;
DEmitterException.java16 package org.yaml.snakeyaml.emitter;
DEmitable.java16 package org.yaml.snakeyaml.emitter;
DScalarAnalysis.java16 package org.yaml.snakeyaml.emitter;
/external/llvm/test/MC/ELF/
Dempty-twice.ll1 ; Check that there is no persistent state in the ELF emitter that crashes us
/external/llvm/docs/CommandGuide/
Dtblgen.rst68 .. option:: -gen-emitter
70 Generate machine code emitter.
/external/llvm/test/MC/X86/AlignedBundling/
Dasm-printing-bundle-directives.s3 # Just a simple test for the assembly emitter - making sure it emits back the
/external/llvm/test/MC/MachO/
Dempty-twice.ll1 ; Check that there is no persistent state in the MachO emitter that crashes

1234