Home
last modified time | relevance | path

Searched full:setoperandstype (Results 1 – 17 of 17) 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.h1004 inst->CastToCmp()->SetOperandsType(type); in SrcType()
1007 inst->CastToCompare()->SetOperandsType(type); in SrcType()
1010 inst->CastToIf()->SetOperandsType(type); in SrcType()
1013 inst->CastToAddOverflow()->SetOperandsType(type); in SrcType()
1016 inst->CastToSubOverflow()->SetOperandsType(type); in SrcType()
1019 inst->CastToIfImm()->SetOperandsType(type); in SrcType()
1022 inst->CastToSelect()->SetOperandsType(type); in SrcType()
1025 inst->CastToSelectImm()->SetOperandsType(type); in SrcType()
1028 inst->CastToCast()->SetOperandsType(type); in SrcType()
1031 inst->CastToBitcast()->SetOperandsType(type); in SrcType()
[all …]
Dinst.h1778 void SetOperandsType(DataType::Type type) in SetOperandsType() function
3046 SetOperandsType(operType); in CompareInst()
4676 SetOperandsType(operType); in CastInst()
4708 SetOperandsType(operType); in CmpInst()
6057 SetOperandsType(operType); in SelectInst()
6098 SetOperandsType(operType); in SelectImmInst()
6143 SetOperandsType(operType); in Base()
6196 SetOperandsType(operType); in Base()
6828 SetOperandsType(compare->GetOperandsType());
6870 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/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.cpp942 inst->CastToCast()->SetOperandsType(opcodeXPossibleTypes_[opCode][i]); in GenerateOperations()
964 inst->SetOperandsType(type); in GenerateOperations()
976 inst->SetOperandsType(DataType::FLOAT64); in GenerateOperations()
981 inst->SetOperandsType(DataType::FLOAT64); in GenerateOperations()
999 inst->SetOperandsType(type); in GenerateOperations()
1018 inst->SetOperandsType(type); in GenerateOperationsImm()
1047 inst->SetOperandsType(cmpType); in GenerateOperations()
1071 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()
2270 compare->SetOperandsType(cmpOpType); in TrySimplifyCmpCompareWithZero()
2746 cmpInst->CastToCompare()->SetOperandsType(DataType::BOOL); in CreateCompareInsteadOfXorAdd()
2754 cast->SetOperandsType(DataType::BOOL); in CreateCompareInsteadOfXorAdd()
Dlowering.cpp1369 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.h346 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()