Lines Matching refs:sig
28 def parse_acc_signature(sig)
30 if sig.include?('->')
31 src_type, dst_type = sig.match(/inout:(\w+)->(\w+)/).captures
34 elsif sig.include?(':')
35 srcdst, type = sig.match(/(\w+):(\w+)/).captures
42 elsif sig != 'none'
43 raise "Unexpected accumulator signature: #{sig}"
48 def parse_operand_signature(sig)
49 operand_parts = sig.split(':')
61 raise "Unexpected operand signature: #{sig}"
98 sig.split(' ')[0]
154 return [] unless sig.include? ' '
156 _, operands = sig.match(/(\S+) (.+)/).captures