Home
last modified time | relevance | path

Searched full:createinst (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
Diterators_test.cpp212 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
228 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
248 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
250 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
258 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
260 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
269 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
271 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
280 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
282 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
Dcodegen_test.cpp238 auto st_arr = graph->CreateInst(Opcode::StoreArray); in CheckStoreArray()
244 auto ret = graph->CreateInst(Opcode::ReturnVoid); in CheckStoreArray()
310 auto ld_arr = graph->CreateInst(Opcode::LoadArray); in CheckLoadArray()
315 auto ret = graph->CreateInst(Opcode::Return); in CheckLoadArray()
401 auto ret = graph->CreateInst(Opcode::ReturnVoid); in CheckStoreArrayPair()
491 auto sum = graph->CreateInst(Opcode::Add); in CheckLoadArrayPair()
497 auto ret = graph->CreateInst(Opcode::Return); in CheckLoadArrayPair()
566 auto ret = graph->CreateInst(Opcode::Return); in CheckBounds()
628 auto fcmp = graph->CreateInst(Opcode::Cmp); in CheckCmp()
637 auto ret = graph->CreateInst(Opcode::Return); in CheckCmp()
Dinst_generator.cpp518 auto new_inst = graph->CreateInst(opcode); in GenerateCheckOperation()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dadjust_arefs.cpp140 auto arr_data = GetGraph()->CreateInst(Opcode::AddI); in ProcessChain()
160 ldst = bb->GetGraph()->CreateInst(Opcode::Store); in ProcessChain()
164 ldst = bb->GetGraph()->CreateInst(Opcode::Load); in ProcessChain()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
37 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
186 …auto inst = graph_->CreateInst<%= opcode %>(GetCurrentMethodReturnType(), GetPc(instruction->GetAd…
/arkcompiler/runtime_core/docs/
Dir_format.md349 Inst* phi1 = graph->CreateInst(Opcode::Phi);
350 Inst* ph2 = graph->CreateInst(Opcode::Phi);
351 Inst* compare = graph->CreateInst(Opcode::Compare);
352 Inst* add = graph->CreateInst(Opcode::Add);
/arkcompiler/runtime_core/irtoc/lang/
Dir_generator.rb108 …Output << "auto* #{var_name} = graph->CreateInst#{inst.name}(DataType::#{inst.get_type_for_cpp}, p…
Dinstruction.rb219 …Output.println("auto* #{local_var_name} = graph->CreateInst#{@name}(DataType::#{get_type_for_cpp},…
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h883 [[nodiscard]] Inst* CreateInst(Opcode opc) const in CreateInst() function
906 [[nodiscard]] BASE* CreateInst##OPCODE(Args&&... args) const { \
Dinst.cpp341 auto clone = targetGraph->CreateInst(GetOpcode()); in Clone()
Dir_constructor.h120 auto inst = graph_->CreateInst(std::forward<Args>(args)...); in NewInst()