Searched refs:SwInst (Results 1 – 2 of 2) sorted by relevance
370 const SwitchInst &SwInst = cast<SwitchInst>(U); in translateSwitch() local371 const unsigned SwCondValue = getOrCreateVReg(*SwInst.getCondition()); in translateSwitch()372 const BasicBlock *OrigBB = SwInst.getParent(); in translateSwitch()375 for (auto &CaseIt : SwInst.cases()) { in translateSwitch()388 MF->CreateMachineBasicBlock(SwInst.getParent()); in translateSwitch()397 const BasicBlock *DefaultBB = SwInst.getDefaultDest(); in translateSwitch()
4458 auto *SwInst = CGF.Builder.CreateSwitch(Res, DefaultBB, /*NumCases=*/2); in emitReduction() local4467 SwInst->addCase(CGF.Builder.getInt32(1), Case1BB); in emitReduction()4506 SwInst->addCase(CGF.Builder.getInt32(2), Case2BB); in emitReduction()