Home
last modified time | relevance | path

Searched refs:Output (Results 1 - 9 of 9) sorted by relevance

/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Dir_generator.rb28 Output.scoped_puts "inline bool #{func.name}(Inst* source_inst) {" do
29 Output << "Graph* graph = source_inst->GetBasicBlock()->GetGraph();"
30 Output << "[[maybe_unused]] auto pc = source_inst->GetPc();"
31 Output << "[[maybe_unused]] auto save_state = source_inst->GetSaveState();"
32 Output << "[[maybe_unused]] auto current_inst = source_inst;" if @func.simple_control_flow?
34 Output << "Inst* p_#{index} = source_inst->GetInput(#{index}).GetInst();"
36 Output << "[[maybe_unused]] auto *runtime = graph->GetRuntime();"
45 Output << "source_inst->GetBasicBlock()->RemoveInst(source_inst);"
46 Output << "return true;"
51 Output << "// NOLINTNEXTLIN
[all...]
H A Dfunction.rb222 Output.printlni("COMPILE(#{@name}#{suffix}) {")
224 Output.println("if(GetGraph()->GetArch() != #{Options.cpp_arch}) LOG(FATAL, IRTOC) << \"Arch doesn't match\";")
226 Output.println("GetGraph()->SetIrtocPrologEpilogOptimized();")
228 Output.println("GetGraph()->SetRelocationHandler(this);")
229 Output.println("SetLanguage(SourceLanguage::#{@lang});")
230 Output.println("[[maybe_unused]] auto *graph = GetGraph();")
231 Output.println("[[maybe_unused]] auto *runtime = GetGraph()->GetRuntime();")
232 Output.println("SetArgsCount(#{@params.length});")
239 Output.println(ss)
242 Output
[all...]
H A Dinstruction.rb146 Output << "// #{self.to_s}"
147 Output << "// #{self.annotation}"
151 Output.println "PARAMETER(#{@index}, #{@fields[:ArgIndex]}).#{@type}();"
180 Output.println ss
244 Output << "// #{self.to_s}"
245 Output << "// #{self.annotation}"
248 Output.println('return nullptr;')
252 Output.println("return #{@inputs.first.local_var_name};")
254 Output.println("// NOLINTNEXTLINE(readability-magic-numbers)")
255 Output
[all...]
H A Dirtoc.rb215 Output.setup Options.output_files[0]
216 Output.println(FILE_BEGIN)
220 Output.println(FILE_END)
222 Output.setup Options.output_files[1]
227 Output.println(FILE_BEGIN)
231 Output.println(FILE_END)
236 Output.setup Options.output_files[0]
237 Output.println('#include "optimizer/ir/graph.h"')
238 Output.println('#include "optimizer/ir/basicblock.h"')
239 Output
[all...]
H A Dcpp_function.rb59 Output.scoped_puts "inline #{@return_type} #{@name}(#{params}) {" do
62 Output.scoped_puts "if (#{variant.cond}) {" do
63 Output << "return #{variant.name}(inst);"
69 Output << "return false;"
71 Output << "return #{defaults[0].name}(inst);"
H A Dbasic_block.rb81 Output.printlni("BASIC_BLOCK(#{index}, #{strue_str}#{sfalse_str}) {")
83 Output.printlnd("}")
H A Doutput.rb17 class Output class
/arkcompiler/ets_frontend/ets2panda/declgen_ets2ts/
H A DdeclgenEts2Ts.h36 std::stringstream &Output() in Output() function in ark::es2panda::declgen_ets2ts::TSDeclGen
H A DdeclgenEts2Ts.cpp683 outStream << declBuilder.Output().str(); in GenerateTsDeclarations()

Completed in 4 milliseconds