Home
last modified time | relevance | path

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

12

/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()
Ddump_test.cpp483 auto inst = graph->CreateInst(Opcode::SaveState); in __anon32f033400802()
Dcompiler_regalloc_test.cpp527 auto inst = graph->CreateInst(Opcode::SaveState); in __anonbbc8952d0d02()
/arkcompiler/runtime_core/static_core/compiler/tests/
Diterators_test.cpp233 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
249 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()
279 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
281 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
290 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
292 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
301 inst = GetGraph()->CreateInst(Opcode::Phi); in TEST_F()
303 inst = GetGraph()->CreateInst(Opcode::Add); in TEST_F()
Dinst_generator.cpp572 auto newInst = pack.graph->CreateInst(pack.opcode); in CreateCheckInstByPackArgs()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
41 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
65 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
75 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
241 …auto inst = graph_->CreateInst<%= opcode %>(GetCurrentMethodReturnType(), GetPc(instruction->GetAd…
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml20 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
33 …auto inst = graph_->CreateInst<%= opc %>(<%= get_type(inst.dtype) %>, GetPc(instruction->GetAddres…
134 …auto inst = graph_->CreateInst<%= opcode %>(GetCurrentMethodReturnType(), GetPc(instruction->GetAd…
/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…
166 …auto inst = graph_->CreateInst<%= opcode %>(GetCurrentMethodReturnType(), GetPc(instruction->GetAd…
/arkcompiler/runtime_core/docs/
Dir_format.md342 Inst* phi1 = graph->CreateInst(Opcode::Phi);
343 Inst* ph2 = graph->CreateInst(Opcode::Phi);
344 Inst* compare = graph->CreateInst(Opcode::Compare);
345 Inst* add = graph->CreateInst(Opcode::Add);
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dadjust_arefs.cpp208 ldst = GetGraph()->CreateInst(Opcode::Store); in InsertMem()
212 ldst = GetGraph()->CreateInst(Opcode::Load); in InsertMem()
Dlowering.cpp989 auto newInst = static_cast<T *>(graph->CreateInst(newOpcode)); in LowerOperationWithShiftedOperand()
1153 auto newInst = graph->CreateInst(lowLevelOpcode); in LowerConstArrayIndex()
Dchecks_elimination.cpp932 newLeft = GetGraph()->CreateInst(newLeftOpcode); in InsertBoundsCheckDeoptimization()
Dpeepholes.cpp1650 auto newInst = graph->CreateInst(newOpc); in CreateAndInsertInst()
/arkcompiler/runtime_core/static_core/docs/
Dir_format.md351 Inst* phi1 = graph->CreateInst(Opcode::Phi);
352 Inst* ph2 = graph->CreateInst(Opcode::Phi);
353 Inst* compare = graph->CreateInst(Opcode::Compare);
354 Inst* add = graph->CreateInst(Opcode::Add);
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dgraph.h1057 [[nodiscard]] Inst* CreateInst(Opcode opc) const in CreateInst() function
1081 [[nodiscard]] BASE* CreateInst##OPCODE(Args&&... args) const { \
1097 [[nodiscard]] BASE* CreateInst##OPCODE(Inst* inst, Args&&... args) const { \
1098 …auto new_inst = CreateInst##OPCODE(inst->GetType(), inst->GetPc(), std::forward<Args>(args)...); \
1109 [[nodiscard]] BASE* CreateInst##OPCODE(Inst* inst, Args&&... args) const { \ in OPCODE_LIST()
1110 …auto new_inst = CreateInst##OPCODE(inst->GetType(), inst->GetPc(), std::forward<Args>(args)...); \ in OPCODE_LIST()
Dinst.cpp546 auto clone = targetGraph->CreateInst(GetOpcode()); in Clone()
Dir_constructor.h125 auto inst = graph_->CreateInst(std::forward<Args>(args)...); in NewInst()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecodeopt_peepholes.cpp58 auto *initObject = static_cast<CallInst *>(graph->CreateInst(compiler::Opcode::InitObject)); in CreateInitObject()
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/
Dcodegen_test_1.cpp128 auto stArr = graph->CreateInst(Opcode::StoreArray); in SRC_GRAPH()
134 auto ret = graph->CreateInst(Opcode::ReturnVoid); in SRC_GRAPH()
203 auto ldArr = graph->CreateInst(Opcode::LoadArray); in SRC_GRAPH()
208 auto ret = graph->CreateInst(Opcode::Return); in SRC_GRAPH()
285 auto ret = graph->CreateInst(Opcode::ReturnVoid); in SRC_GRAPH()
371 auto sum = graph->CreateInst(Opcode::Add); in SRC_GRAPH()
377 auto ret = graph->CreateInst(Opcode::Return); in SRC_GRAPH()
451 auto ret = graph->CreateInst(Opcode::Return); in SRC_GRAPH()
516 auto fcmp = graph->CreateInst(Opcode::Cmp); in SRC_GRAPH()
525 auto ret = graph->CreateInst(Opcode::Return); in SRC_GRAPH()
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dir_generator.rb111 …Output << "auto* #{var_name} = graph->CreateInst#{inst.name}(DataType::#{inst.get_type_for_cpp}, p…
Dinstruction.rb266 …Output.println("auto* #{local_var_name} = graph->CreateInst#{@name}(DataType::#{get_type_for_cpp},…
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.h832 [[nodiscard]] Inst* CreateInst(Opcode opc) const in CreateInst() function
855 [[nodiscard]] BASE* CreateInst##OPCODE(Args&&... args) const { \
Dinst.cpp266 auto clone = targetGraph->CreateInst(GetOpcode()); in Clone()
Dir_constructor.h120 auto inst = graph_->CreateInst(std::forward<Args>(args)...); in NewInst()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/
Dets_intrinsics_peephole.cpp31 auto compare = graph->CreateInst(Opcode::Compare)->CastToCompare(); in ReplaceWithCompareEQ()

12