Searched full:raise (Results 1 – 25 of 58) sorted by relevance
123
| /arkcompiler/runtime_core/tests/cts-generator/runner/reporters/ |
| D | base_test_reporter.rb | 18 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 …]
|
| D | string_logger.rb | 24 raise IOError,
|
| /arkcompiler/runtime_core/irtoc/lang/ |
| D | regmask.rb | 46 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 …]
|
| D | options.rb | 65 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 96 …raise 'Supported IR APIs: ir-constructor, ir-builder, ir-inline' unless self.ir_api =~ /^ir-(const…
|
| D | regmap.rb | 24 raise "Regmap doesn't contain data for required arch" unless @data 43 raise "Unsupported type: #{other.class}" 53 raise "Unsupported type: #{other.class}"
|
| D | validation.rb | 32 …raise "[Validation] `spills_count_max` failed for method `#{self.name}`: expected(#{value}) > real… 39 …raise "[Validation] `code_size_max` failed for method `#{self.name}`: expected(#{value}) > real(#{… 79 raise "Method not found: #{method_name}" unless method
|
| D | function.rb | 97 …@validation.each { |name, v| raise "#{@name}: no target arch in validation value: #{name}" unless … 141 … raise "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"
|
| D | ir_generator.rb | 65 raise "Terminator block should have no successors" if bb.true_succ || bb.false_succ 88 … raise '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 133 …raise 'SaveState is added only for instructions with dynamic number of inputs' if need_save_state …
|
| D | instruction.rb | 37 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 249 …raise 'SaveState is added only for instructions with dynamic number of inputs' if need_save_state …
|
| /arkcompiler/ets_runtime/script/ |
| D | run_ark_executable.py | 60 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/ |
| D | common.rb | 31 raise "Compound option should not have `type` field, it is always bool" if respond_to?(:type) 32 …raise "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'
|
| D | messages.rb | 41 raise "Message template '#{msg}' has a '${' not followed by a '}'" 61 raise "Message name '#{string}' is not in UpperCamelCase"
|
| D | merge.rb | 35 raise "Update your ruby version, #{RUBY_VERSION} is not supported" unless check_version 67 … raise "Option '#{name}' conflicts for key '#{key}'" unless options_hash[name][key] == option[key]
|
| /arkcompiler/runtime_core/isa/ |
| D | isapi.rb | 43 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 …]
|
| D | combine.rb | 47 …raise '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/ |
| D | spectrac.rb | 25 …raise 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? 37 …raise 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/ |
| D | util.py | 34 raise 37 raise 54 raise
|
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | bytecode_optimizer_isapi.rb | 19 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/ |
| D | parser.rb | 35 …raise "'#{Generator::DEFINITIONS}' is not found in main yaml" unless @data.key? Generator::DEFINIT… 51 …raise "Schema validation error, please update template '#{file_name}' to match schema to generate …
|
| D | definitions.rb | 32 raise "Definition of '#{item_name}' is not found"
|
| /arkcompiler/runtime_core/tests/cts-generator/ |
| D | generate-cts.rb | 37 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/ |
| D | memusage.py | 151 raise Exception('Invalid file format') 155 raise Exception('Invalid file format') 159 raise Exception('Invalid file format')
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | checker.rb | 62 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/ |
| D | entrypoints_compiler_checksum.inl.erb | 21 % raise "Invalid cross-values path (" + cross_values_path + "/generated_values/*_values_gen.h" + …
|
| /arkcompiler/runtime_core/runtime/templates/ |
| D | bridge_helpers_dynamic.rb | 16 …raise "Instruction " + insn.mnemonic + " has unexpected format " + insn.format.pretty if ! op.reg?…
|
123