Home
last modified time | relevance | path

Searched refs:GetCc (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.cpp52 auto cc = cmp->CastToCompare()->GetCc(); in BetterToSwapCompareInputs()
71 auto cc = if_inst->CastToIf()->GetCc(); in OptimizeIfInput()
80 ASSERT(inst->GetCc() == ConditionCode::CC_NE || inst->GetCc() == ConditionCode::CC_EQ); in LowerIf()
104 auto cc = input->CastToCompare()->GetCc(); in LowerIf()
111 auto cc = input->CastToCompare()->GetCc(); in LowerIf()
113 if (inst->GetCc() == ConditionCode::CC_EQ && inst->GetImm() == 0) { in LowerIf()
/arkcompiler/runtime_core/compiler/tests/
Ddump_test.cpp297 auto value = GetCondCodeToString(imm_inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
301 auto value1 = GetCondCodeToString(inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
306 auto result = GetCondCodeToString(ifImm_inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
310 auto num = GetCondCodeToString(ifImm.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
315 auto number = GetCondCodeToString(ifInst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
319 auto info = GetCondCodeToString(imm_inst1.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
324 auto testData = GetCondCodeToString(ifImm_inst1.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
328 auto code = GetCondCodeToString(first_imm_inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
333 auto number1 = GetCondCodeToString(first_inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
337 auto number2 = GetCondCodeToString(second_inst.GetCc(), graph->GetAllocator()); in __anonb8e9e89d0402()
[all …]
Dgraph_comparator.h129 CHECK(Compare, GetCc) in Compare()
132 CHECK(If, GetCc) in Compare()
135 CHECK(IfImm, GetCc) in Compare()
139 CHECK(Select, GetCc) in Compare()
142 CHECK(SelectImm, GetCc) in Compare()
Dcompiler_inst_test.cpp110 auto cc = if_inst.GetCc();
112 auto data = if_Inst.GetCc();
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp155 vn_obj->Add(static_cast<uint32_t>(GetCc())); in SetVnObject()
160 vn_obj->Add(static_cast<uint32_t>(GetCc())); in SetVnObject()
165 vn_obj->Add(static_cast<uint32_t>(GetCc())); in SetVnObject()
296 clone->CastToCompare()->SetCc(GetCc()); in Clone()
311 static_cast<IfInst *>(clone)->SetCc(GetCc()); in Clone()
469 ASSERT(GetCc() == ConditionCode::CC_NE || GetCc() == ConditionCode::CC_EQ); in GetTrueInputEdgeIdx()
471 return GetCc() == CC_NE ? 0 : 1; in GetTrueInputEdgeIdx()
Ddump.cpp305 ArenaString cc(GetCondCodeToString(GetCc(), allocator), adapter); in DumpOpcode()
343 ArenaString cc(GetCondCodeToString(GetCc(), allocator), adapter); in DumpOpcode()
354 ArenaString cc(GetCondCodeToString(GetCc(), allocator), adapter); in DumpOpcode()
Dgraph_checker.cpp777 [[maybe_unused]] auto cc = inst->CastToIf()->GetCc(); in VisitIf()
807 [[maybe_unused]] auto cc = inst->CastToIfImm()->GetCc(); in VisitIfImm()
Dinst.h1583 auto GetCc() const in GetCc() function
1593 SetCc(GetInverseConditionCode(GetCc())); in InverseConditionCode()
2751 clone->CastToIfImm()->SetCc(GetCc()); in Clone()
/arkcompiler/runtime_core/bytecode_optimizer/templates/
Dcheck_width.cpp.erb21 switch (inst->GetCc()) {
39 switch (inst->GetCc()) {
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcommon.h368 CHECK(Compare, GetCc) in Compare()
371 CHECK(If, GetCc) in Compare()
374 CHECK(IfImm, GetCc) in Compare()
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.cpp407 switch (inst->GetCc()) { in IfEcma()
454 switch (inst->GetCc()) { in IfImmZero()