Home
last modified time | relevance | path

Searched full:raise (Results 1 – 25 of 58) sorted by relevance

123

/arkcompiler/runtime_core/tests/cts-generator/runner/reporters/
Dbase_test_reporter.rb18 raise NotImplementedError, "#{self.class} does not implement prologue()."
22 raise NotImplementedError, "#{self.class} does not implement epilogue()."
26 raise NotImplementedError, "#{self.class} does not implement log_exclusion()."
30 raise NotImplementedError, "#{self.class} does not implement log_skip_include()."
34 raise NotImplementedError, "#{self.class} does not implement log_skip_bugid()."
38 raise NotImplementedError, "#{self.class} does not implement log_skip_ignore()."
42 raise NotImplementedError, "#{self.class} does not implement log_skip_only_ignore()."
46 raise NotImplementedError, "#{self.class} does not implement log_ignore_ignored()."
50 raise NotImplementedError, "#{self.class} does not implement log_start_command()."
54 raise NotImplementedError, "#{self.class} does not implement log_failed_compilation()."
[all …]
Dstring_logger.rb24 raise IOError,
/arkcompiler/runtime_core/irtoc/lang/
Dregmask.rb46 raise "RegMask is initialized with symbol, but Regmap wasn't specified" unless @regmap
49 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer)
67 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer)
73 raise "Wrong `position` type" unless position.is_a? Integer
83 raise "Wrong `position` type" unless position.is_a? Integer
96 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap
98 raise "Register '#{other}' is not found in regmap" unless value
101 raise "Unsupported type: #{other.class}"
114 raise "Symbol argument is only allowed if Regmap was specified" unless @regmap
116 raise "Register '#{other}' is not found in regmap" unless value
[all …]
Doptions.rb65 raise "Irtoc plugin doesn't specifiy its name: #{full_plugin_path}" unless line_matches
87 raise "Wrong arch: #{arch_str}" unless possible_arch.include?(self.arch.to_s)
91 raise "Compiler config doesn't contain `arch_info`" unless arch_info
93 raise "Arch info not found for #{self.arch}" unless arch_info
96raise 'Supported IR APIs: ir-constructor, ir-builder, ir-inline' unless self.ir_api =~ /^ir-(const…
Dregmap.rb24 raise "Regmap doesn't contain data for required arch" unless @data
43 raise "Unsupported type: #{other.class}"
53 raise "Unsupported type: #{other.class}"
Dvalidation.rb32raise "[Validation] `spills_count_max` failed for method `#{self.name}`: expected(#{value}) > real…
39raise "[Validation] `code_size_max` failed for method `#{self.name}`: expected(#{value}) > real(#{…
79 raise "Method not found: #{method_name}" unless method
Dfunction.rb97 …@validation.each { |name, v| raise "#{@name}: no target arch in validation value: #{name}" unless …
141raise "Wrong place of `WhilePhi` instruction" unless @cf_stack[-1].kind == CfBlock::Kind::While
142 raise "Invalid `While` block" if @cf_stack[-1].head_bb.nil?
168 raise "Unresolved variable is defined more than once: #{var_name}" unless resolved.inst.nil?
197 raise "Compilation mode is not specified" unless @mode
282 raise "Current basic block is nil" if @current_block.nil?
339 raise "Unresolved variable: #{input.name}" if input.inst.nil?
342 raise "Input is nil for: #{inst}, input"
348 raise "Variable cannot be resolved: #{name}" if var.inst.nil?
356 raise "`If` block not found"
Dir_generator.rb65 raise "Terminator block should have no successors" if bb.true_succ || bb.false_succ
88raise 'No LiveIn/LiveOut are allowed in IR Builder generator' if inst.IsLiveIn? || inst.IsLiveOut?
92 raise "ReturnVoid is not allowed in cpp mode"
94 raise "Return has #{inst.inputs.size}" if inst.inputs.size != 1
133raise 'SaveState is added only for instructions with dynamic number of inputs' if need_save_state …
Dinstruction.rb37 raise "Trying to set argument index for non Parameter instruction" unless IsParameter?
124 raise "Instruction has unresolved inputs: #{self}" if @inputs.any? {|x| x.nil? }
166 raise "Wrong type: #{@type}" if res.nil?
198 …# TODO(mbolshov): raise 'No LiveIn/LiveOut are allowed in IR Builder generator' if IsLiveIn? || Is…
202 raise "Return has #{@inputs.size}" if @inputs.size != 1
249raise 'SaveState is added only for instructions with dynamic number of inputs' if need_save_state …
/arkcompiler/ets_runtime/script/
Drun_ark_executable.py60 raise RuntimeError('Run [', cmd, '] timeout, timeout_limit = ', timeout_limit, 's')
71 raise RuntimeError("Run [" + cmd + "] failed!")
79 raise RuntimeError("Run [" + cmd + "] failed!")
91 raise RuntimeError("Run [" + cmd + "] failed!")
93 raise RuntimeError("Run [" + cmd + "] with no expect !")
/arkcompiler/runtime_core/templates/
Dcommon.rb31 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type)
32raise "Compound option should not have `default` field, it is always `false``" if respond_to?(:def…
40 raise "Wrong reference syntax: #{possible_values}" if possible_values[0] != '$'
43 raise "Invalid reference #{possible_values}" if target.nil?
171 raise "Only boolean option can have sub options: #{option.name}" unless option.type == 'bool'
Dmessages.rb41 raise "Message template '#{msg}' has a '${' not followed by a '}'"
61 raise "Message name '#{string}' is not in UpperCamelCase"
Dmerge.rb35 raise "Update your ruby version, #{RUBY_VERSION} is not supported" unless check_version
67raise "Option '#{name}' conflicts for key '#{key}'" unless options_hash[name][key] == option[key]
/arkcompiler/runtime_core/isa/
Disapi.rb43 raise "Unexpected accumulator signature: #{sig}"
61 raise "Unexpected operand signature: #{sig}"
84 raise "Method '#{name}' has been already defined" if frozen?(name)
304 raise "Incorrect format name #{name}" if bits % 8 != 0
315 encoding.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
339 raise "Incorrect operand #{name}"
344 raise "Incorrect type #{type}" unless types.include?(type.sub('[]', '').to_sym)
453 raise 'Cannot consume instruction without opcode' unless item.opcode_idx
517 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
577 hash.default_proc = proc { |_, k| raise KeyError, "#{k} not found" }
[all …]
Dcombine.rb47raise 'Plugged in instructions must be prefixed' unless instructions.reject { |i| i['prefix'] }.em…
50 raise "Uknown data property: #{attr}" unless data.key?(attr)
/arkcompiler/runtime_core/tests/cts-coverage-tool/bin/
Dspectrac.rb25raise OptionParser::InvalidOption, "File #{file} not found" unless File.exist? File.expand_path(fi…
29 raise OptionParser::InvalidOption, 'No ISA spec files found' if arr.length.zero?
37raise OptionParser::InvalidOption, "Directory #{dir} not found." unless File.directory? File.expan…
65 raise OptionParser::MissingArgument, missing.join(', ') unless missing.empty?
/arkcompiler/toolchain/build/prebuilts_download/
Dutil.py34 raise
37 raise
54 raise
/arkcompiler/runtime_core/bytecode_optimizer/
Dbytecode_optimizer_isapi.rb19 raise "There is no src acc for #{mnemonic}" unless op
25 raise "There is no dst acc for #{mnemonic}" unless op
42 raise "Unexpected operand type #{op.type} in data_kind_helper"
48 @instruction_hash = Hash.new { |_, key| raise "No instruction with '#{key}' mnemonic" }
/arkcompiler/runtime_core/tests/cts-generator/generator/
Dparser.rb35raise "'#{Generator::DEFINITIONS}' is not found in main yaml" unless @data.key? Generator::DEFINIT…
51raise "Schema validation error, please update template '#{file_name}' to match schema to generate …
Ddefinitions.rb32 raise "Definition of '#{item_name}' is not found"
/arkcompiler/runtime_core/tests/cts-generator/
Dgenerate-cts.rb37 raise "Chunk arguments are not valid: #{chunk} of #{chunks}"
104 raise 'Schema validation error, please update template to match schema to generate tests'
/arkcompiler/runtime_core/scripts/
Dmemusage.py151 raise Exception('Invalid file format')
155 raise Exception('Invalid file format')
159 raise Exception('Invalid file format')
/arkcompiler/runtime_core/tests/checked/
Dchecker.rb62 raise msg
308 raise SkipException if condition
381 raise "Method not found: #{match_str(match)}" if start_index.nil?
408 raise "Can not find asm instruction: #{match}" if start_index.nil?
506 raise "Checker with name '#{name}'' already exists" if checks.any? { |x| x.name == name }
/arkcompiler/runtime_core/runtime/entrypoints/
Dentrypoints_compiler_checksum.inl.erb21 % raise "Invalid cross-values path (" + cross_values_path + "/generated_values/*_values_gen.h" + …
/arkcompiler/runtime_core/runtime/templates/
Dbridge_helpers_dynamic.rb16raise "Instruction " + insn.mnemonic + " has unexpected format " + insn.format.pretty if ! op.reg?…

123