Home | History | Annotate | Download | only in SPIRV

Lines Matching refs:switchInst

2418     Instruction* switchInst = new Instruction(NoResult, NoType, OpSwitch);
2419 switchInst->addIdOperand(selector);
2421 switchInst->addIdOperand(defaultOrMerge->getId());
2424 switchInst->addImmediateOperand(caseValues[i]);
2425 switchInst->addIdOperand(segmentBlocks[valueIndexToSegment[i]]->getId());
2428 buildPoint->addInstruction(std::unique_ptr<Instruction>(switchInst));