Home
last modified time | relevance | path

Searched full:setoperandstype (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_templates.yaml58 inst->SetOperandsType(<%= get_type(inst.type(0)) %>);
72 inst->SetOperandsType(<%= get_type(inst.type(0)) %>);
80 inst->SetOperandsType(<%= get_type(inst.type(0)) %>);
88 inst_jump->SetOperandsType(DataType::BOOL);
194 cmp_inst->SetOperandsType(DataType::ANY);
198 jmp_inst->SetOperandsType(DataType::BOOL);
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dir_constructor.h1006 inst->CastToCompare()->SetOperandsType(type); in SrcType()
1009 inst->CastToCmp()->SetOperandsType(type); in SrcType()
1012 inst->CastToIf()->SetOperandsType(type); in SrcType()
1015 inst->CastToAddOverflow()->SetOperandsType(type); in SrcType()
1018 inst->CastToSubOverflow()->SetOperandsType(type); in SrcType()
1021 inst->CastToSelect()->SetOperandsType(type); in SrcType()
1024 inst->CastToSelectImm()->SetOperandsType(type); in SrcType()
1027 inst->CastToIfImm()->SetOperandsType(type); in SrcType()
1030 inst->CastToCast()->SetOperandsType(type); in SrcType()
1033 inst->CastToBitcast()->SetOperandsType(type); in SrcType()
[all …]
Dinst.h1788 void SetOperandsType(DataType::Type type) in SetOperandsType() function
3060 SetOperandsType(operType); in CompareInst()
4693 SetOperandsType(operType); in CastInst()
4725 SetOperandsType(operType); in CmpInst()
6082 SetOperandsType(operType); in SelectInst()
6124 SetOperandsType(operType); in SelectImmInst()
6169 SetOperandsType(operType); in Base()
6223 SetOperandsType(operType); in Base()
6858 SetOperandsType(compare->GetOperandsType());
6901 SetOperandsType(compare->GetOperandsType());
[all …]
/arkcompiler/runtime_core/compiler/tests/
Drpo_test.cpp128 cmp->SetOperandsType(DataType::Type::INT64); in TEST_F()
131 if_inst->SetOperandsType(DataType::BOOL); in TEST_F()
248 cmp->SetOperandsType(DataType::Type::INT64); in TEST_F()
251 if_inst->SetOperandsType(DataType::BOOL); in TEST_F()
Ddom_tree_test.cpp155 cmp->SetOperandsType(DataType::Type::INT64); in TEST_F()
158 if_inst->SetOperandsType(DataType::BOOL); in TEST_F()
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/templates/
Dinst_templates.yaml50 inst->SetOperandsType(compiler::<%= get_type(inst.type(0)) %>);
64 inst->SetOperandsType(compiler::<%= get_type(inst.type(0)) %>);
184 ifInst->SetOperandsType(compiler::DataType::ANY);
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dir_constructor.h800 inst->CastToCmp()->SetOperandsType(type); in SrcType()
803 inst->CastToCompare()->SetOperandsType(type); in SrcType()
806 inst->CastToIf()->SetOperandsType(type); in SrcType()
809 inst->CastToIfImm()->SetOperandsType(type); in SrcType()
879 inst->CastToCmp()->SetOperandsType(type); in CheckInputType()
882 inst->CastToCompare()->SetOperandsType(type); in CheckInputType()
885 inst->CastToIf()->SetOperandsType(type); in CheckInputType()
888 inst->CastToIfImm()->SetOperandsType(type); in CheckInputType()
891 inst->CastToSelect()->SetOperandsType(type); in CheckInputType()
894 inst->CastToSelectImm()->SetOperandsType(type); in CheckInputType()
Dinst.cpp298 clone->CastToCompare()->SetOperandsType(GetOperandsType()); in Clone()
305 clone->CastToCmp()->SetOperandsType(GetOperandsType()); in Clone()
313 static_cast<IfInst *>(clone)->SetOperandsType(GetOperandsType()); in Clone()
Dinst.h1445 void SetOperandsType(DataType::Type type) in SetOperandsType() function
2758 clone->CastToIfImm()->SetOperandsType(GetOperandsType()); in Clone()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.cpp122 replace->SetOperandsType(input->CastToCompare()->GetOperandsType()); in LowerIf()
138 inst->SetOperandsType(input->CastToCompare()->GetOperandsType()); in InPlaceLowerIfImm()
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dinstruction.rb270 … Output.println("#{local_var_name}->SetOperandsType(DataType::#{@inputs.first.get_type_for_cpp});")
322 mod[0] = 'SetOperandsType' if mod[0] == :SrcType
Dir_generator.rb116 Output << "#{var_name}->SetOperandsType(DataType::#{inst.inputs.first.get_type_for_cpp});"
/arkcompiler/runtime_core/static_core/compiler/tests/
Dinst_generator.cpp944 inst->CastToCast()->SetOperandsType(opcodeXPossibleTypes_[opCode][i]); in GenerateOperations()
966 inst->SetOperandsType(type); in GenerateOperations()
978 inst->SetOperandsType(DataType::FLOAT64); in GenerateOperations()
983 inst->SetOperandsType(DataType::FLOAT64); in GenerateOperations()
1001 inst->SetOperandsType(type); in GenerateOperations()
1020 inst->SetOperandsType(type); in GenerateOperationsImm()
1049 inst->SetOperandsType(cmpType); in GenerateOperations()
1073 inst->SetOperandsType(cmpType); in GenerateOperationsImm()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dpeepholes.cpp695 cast->CastToCast()->SetOperandsType(op1->GetInput(0).GetInst()->GetType()); in VisitAShr()
786 cast->CastToCast()->SetOperandsType(input0->GetInput(0).GetInst()->GetType()); in VisitAnd()
990 cmpInst->SetOperandsType(DataType::BOOL); in TrySimplifyCompareAnyTypeCase1()
1029 cmpInst->SetOperandsType(DataType::BOOL); in TrySimplifyCompareAnyTypeCase2()
1214 cast->SetOperandsType(origInst->GetType()); in VisitCastCase2()
1246 inst->CastToCast()->SetOperandsType(op0->GetType()); in VisitCastCase3()
1398 cast->CastToCast()->SetOperandsType(inputType); in VisitCastAnyTypeValue()
2251 compare->SetOperandsType(cmpOpType); in TrySimplifyCmpCompareWithZero()
2756 cmpInst->CastToCompare()->SetOperandsType(DataType::BOOL); in CreateCompareInsteadOfXorAdd()
2764 cast->SetOperandsType(DataType::BOOL); in CreateCompareInsteadOfXorAdd()
Dlowering.cpp1345 inst->SetOperandsType(inputType); in InPlaceLowerIfImm()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/
Dets_intrinsics_peephole.cpp35 compare->SetOperandsType(input0->GetType()); in ReplaceWithCompareEQ()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h366 inst->SetOperandsType(GetMethodArgumentType(methodId, 0)); in BuildIsNanIntrinsic()
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/
Dcodegen_test_1.cpp521 static_cast<CmpInst *>(fcmp)->SetOperandsType(type); in SRC_GRAPH()