Searched refs:CurrentSwitch (Results 1 – 1 of 1) sorted by relevance
987 InstSwitch *CurrentSwitch = nullptr; member in IceBuilder993 assert(!CurrentSwitch); in Switch()998 CurrentSwitch = InstSwitch::create(Func, Count - 1, Key, Default); in Switch()1007 assert(CurrentSwitch); in IfValue()1009 CurrentSwitch->addBranch(SwitchIndex++, Value, Target); in IfValue()1014 assert(CurrentSwitch); in IfDefault()1015 assert(CurrentSwitch->getLabelDefault()); in IfDefault()1017 assert(SwitchIndex == CurrentSwitch->getNumCases()); in IfDefault()1018 SwitchNode->appendInst(CurrentSwitch); in IfDefault()1020 auto Default = Node(CurrentSwitch->getLabelDefault()); in IfDefault()[all …]