Home
last modified time | relevance | path

Searched refs:GetCasePair (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
H A Dswitch_lowerer.cpp65 float tmp2 = static_cast<float>(stmt->GetCasePair(static_cast<size_t>(static_cast<uint32>(j))).first) - in FindClusters()
66 static_cast<float>(stmt->GetCasePair(static_cast<size_t>(static_cast<uint32>(i))).first); in FindClusters()
110 node->SetTagOffset(static_cast<int32>(stmt->GetCasePair(static_cast<size_t>(startIdx)).first)); in BuildRangeGotoNode()
112 node->AddRangeGoto(curTag, stmt->GetCasePair(startIdx).second); in BuildRangeGotoNode()
119 while ((stmt->GetCasePair(i).first != (lastCaseTag + 1)) && (stmt->GetCasePair(i).first != lastCaseTag)) { in BuildRangeGotoNode()
126 curTag = static_cast<uint32>(stmt->GetCasePair(static_cast<size_t>(i)).first - node->GetTagOffset()); in BuildRangeGotoNode()
127 node->AddRangeGoto(curTag, stmt->GetCasePair(i).second); in BuildRangeGotoNode()
128 lastCaseTag = stmt->GetCasePair(i).first; in BuildRangeGotoNode()
142 MIRConst *constVal = GlobalTables::GetIntConstTable().GetOrCreateIntConst(stmt->GetCasePair(id in BuildCmpNode()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_nodes.h1406 CasePair GetCasePair(size_t idx) const in GetCasePair() function in SwitchNode
1408 DEBUG_ASSERT(idx < switchTable.size(), "out of range in SwitchNode::GetCasePair"); in GetCasePair()

Completed in 8 milliseconds