/external/gemmlowp/meta/generators/ |
meta_neon.py | 30 def GenerateInternalFunctions(emitter): 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...] |
gemm_NxMxK_neon.py | 20 def GenerateCommonTempsCountersAndConsts(emitter, rows): 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...] |
gemv_1xMxK_neon.py | 21 def GenerateCommonTempsCountersAndConsts(emitter): 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...] |
zip_Nx8_neon.py | 27 def GenerateZipLanes(emitter, registers, zip_lanes, input_address, stride): 31 emitter: ARM/NEON emitter. 50 emitter.EmitAdd(address_register, last_address_register, stride) 64 def GenerateClearAggregators(emitter, lanes): 66 emitter.EmitVMov('i16', lane.aggregator, emitter.ImmediateConstant(0)) 69 def GenerateLoadAggregateStore(emitter, lanes, output_address, alignment): 71 emitter.EmitNewline() 72 emitter.EmitComment('Load Aggregate Store.' [all...] |
mul_Nx8_Mx8_neon.py | 48 def GenerateAndClearAggregators(emitter, registers, aggregator_count): 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, 66 emitter.EmitComment('General NxM lanes loop.') 67 emitter.EmitNumericalLabel(1) 68 emitter.EmitNewline( [all...] |
mul_1x8_Mx8_neon.py | 14 def GenerateLoadMultiplyAggregate(emitter, registers, lanes_count, aggregators, 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) [all...] |
quantized_mul_kernels_common.py | 19 def _ReadParams(emitter, registers, input_address, elements, min_register): 25 emitter.EmitVLoadAE(registers_count * 4, 32, registers, input_address, 64) 29 def _Duplicate(emitter, registers, rows, values): 38 emitter.EmitVDup('32', duplicated[i], 39 emitter.Lane(32, values[i / 4], i % 4)) 44 def _DuplicateGeneralRegister(emitter, registers, value, min_register): 46 emitter.EmitVDup('32', register, value) 53 def Prepare(self, emitter, registers, kernel_m, kernel_n, lhs, rhs): 55 emitter.EmitNewline() 56 emitter.EmitComment('StaticQuantization::Prepare' [all...] |
qnt_Nx8_neon.py | 35 def LoadAndDuplicateOffsets(emitter, registers, lanes, offsets): 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, 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) [all...] |
transform_kernels_common.py | 19 def _DuplicateGeneralRegister(size, emitter, registers, value, min_register): 21 emitter.EmitVDup(size, register, value) 25 def _DuplicateGeneralMemoryRegister(size, emitter, registers, value, 29 emitter.EmitLdr(general, value) 30 emitter.EmitVDup(size, register, general) 44 def Prepare(self, emitter, registers, unused_kernel_size): 45 emitter.EmitNewline() 46 emitter.EmitComment('MinMax::Prepare') 48 self.min = _DuplicateGeneralRegister(8, emitter, registers, 52 self.max = _DuplicateGeneralRegister(8, emitter, registers [all...] |
streams_common.py | 37 def _GenerateInputs(emitter, registers, lanes_count, input_address, stride): 47 emitter.EmitAdd(address_register, last_address_register, stride) 52 def _GenerateClear(emitter, clear_type, block): 54 emitter.EmitVMov(clear_type, row, emitter.ImmediateConstant(0)) 57 def _GenerateLoadAggregateStore(emitter, registers, lanes_count, elements_count, 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 [all...] |
common.py | 69 def __init__(self, emitter, name): 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): 92 self.emitter = emitter 101 self.emitter.EmitMemberFunctionBegin [all...] |
/external/autotest/site_utils/stats/ |
log_daemon_common.py | 16 @param matchers: A list of pairs of (matcher, emitter), where matcher is a 17 regex and emitter is a function called when the regex matches. 23 for matcher, emitter in matchers: 26 emitter(m)
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyErrorsTest.java | 28 import org.yaml.snakeyaml.emitter.Emitter; 29 import org.yaml.snakeyaml.emitter.EventConstructor; 110 File[] files = getStreamsByExtension(".emitter-error"); 116 Emitter emitter = new Emitter(writer, new DumperOptions()); local 119 emitter.emit(event);
|
PyEmitterTest.java | 29 import org.yaml.snakeyaml.emitter.Emitter; 30 import org.yaml.snakeyaml.emitter.EventConstructor; 73 Emitter emitter = new Emitter(stream, options); local 75 emitter.emit(event); 204 Emitter emitter = new Emitter(writer, new DumperOptions()) local 234 Emitter emitter = new Emitter(stream, new DumperOptions()); local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
viddec_pm_parser_ops.c | 8 extern void viddec_pm_utils_list_emit_pixel_tags(viddec_pm_utils_list_t *list, uint32_t start, viddec_emitter *emitter, uint32_t using_next); 9 extern void viddec_pm_utils_list_emit_slice_tags(viddec_pm_utils_list_t *list, uint32_t start, uint32_t end, viddec_emitter *emitter, uint32_t is_cur_wkld, viddec_workload_item_t *wi); 50 ret = viddec_emit_append(&(cxt->emitter.cur), item); 60 ret = viddec_emit_append(&(cxt->emitter.next), item); 90 viddec_pm_utils_list_emit_slice_tags(&(cxt->list), start, cxt->list.total_bytes -1, &(cxt->emitter), cur_wkld, &wi); 110 return cxt->emitter.cur.data; 119 return cxt->emitter.next.data; 149 viddec_pm_utils_list_emit_slice_tags(&(cxt->list), start, end, &(cxt->emitter), using_next, wi);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/serializer/ |
Serializer.java | 28 import org.yaml.snakeyaml.emitter.Emitable; 52 private final Emitable emitter; field in class:Serializer 64 public Serializer(Emitable emitter, Resolver resolver, DumperOptions opts, Tag rootTag) { 65 this.emitter = emitter; 82 this.emitter.emit(new StreamStartEvent(null, null)); 95 this.emitter.emit(new StreamEndEvent(null, null)); 106 this.emitter.emit(new DocumentStartEvent(null, null, this.explicitStart, this.useVersion, 113 this.emitter.emit(new DocumentEndEvent(null, null, this.explicitEnd)); 158 this.emitter.emit(new AliasEvent(tAlias, null, null)) [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
GenerateGL.java | 35 CodeEmitter emitter, 65 emitter.addNativeRegistration(nfunc); 68 emitter.setVersion(version, ext, pack); 69 emitter.emitCode(cfunc, s); 136 CodeEmitter emitter = local 162 emitter, spec10Reader, gl10Stream, glImplStream, cStream); 164 emitter, spec10ExtReader, gl10ExtStream, glImplStream, cStream); 166 emitter, spec11Reader, gl11Stream, glImplStream, cStream); 168 emitter, spec11ExtReader, gl11ExtStream, glImplStream, cStream); 170 emitter, spec11ExtPackReader, gl11ExtPackStream, glImplStream [all...] |
GenerateEGL.java | 34 private static void emit(EGLCodeEmitter emitter, 62 emitter.addNativeRegistration(nfunc); 65 emitter.emitCode(cfunc, s); 98 EGLCodeEmitter emitter = new EGLCodeEmitter( local 101 emit(emitter, specReader, egljStream, eglcStream); 102 emitter.emitNativeRegistration(
|
GenerateGLES.java | 34 private static void emit(GLESCodeEmitter emitter, 61 emitter.addNativeRegistration(nfunc); 64 emitter.emitCode(cfunc, s); 102 GLESCodeEmitter emitter = new GLESCodeEmitter( local 105 emit(emitter, spec11Reader, gl11Stream, gl11cStream); 106 emitter.emitNativeRegistration("register_android_opengl_jni_"
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
AMDGPUELFStreamer.h | 29 MCCodeEmitter *Emitter) 30 : MCELFStreamer(Context, MAB, OS, Emitter) { } 36 MCCodeEmitter *Emitter, bool RelaxAll);
|
AMDGPUELFStreamer.cpp | 18 MCCodeEmitter *Emitter, 20 return new AMDGPUELFStreamer(Context, MAB, OS, Emitter);
|
/external/llvm/test/MC/MachO/ |
empty-twice.ll | 1 ; Check that there is no persistent state in the MachO emitter that crashes
|
/external/llvm/test/MC/X86/AlignedBundling/ |
asm-printing-bundle-directives.s | 3 # Just a simple test for the assembly emitter - making sure it emits back the
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMWinCOFFStreamer.cpp | 42 MCCodeEmitter *Emitter, bool RelaxAll, bool IncrementalLinkerCompatible) { 43 auto *S = new ARMWinCOFFStreamer(Context, MAB, *Emitter, OS);
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCELFStreamer.h | 26 raw_pwrite_stream &OS, MCCodeEmitter *Emitter) 27 : MCELFStreamer(Context, TAB, OS, Emitter),
|