Lines Matching refs:SwitchInst
419 MainSwitch(SwitchInst *SI, OptimizationRemarkEmitter *ORE) { in MainSwitch()
432 SwitchInst *getInstr() const { return Instr; } in getInstr()
441 bool isPredictable(const SwitchInst *SI) { in isPredictable()
551 SwitchInst *Instr = nullptr;
562 SwitchInst *getSwitchInst() { return Switch; } in getSwitchInst()
694 SwitchInst *Switch;
722 SwitchInst *Switch = SwitchPaths->getSwitchInst(); in isLegalAndProfitableToTransform()
1015 SwitchInst *Switch = SwitchPaths->getSwitchInst(); in updateSuccessorPhis()
1085 isa<SwitchInst>(Inst)) { in updateDefMap()
1114 if (!isa<SwitchInst>(LastBlock->getTerminator())) in updateLastSuccessor()
1116 SwitchInst *Switch = cast<SwitchInst>(LastBlock->getTerminator()); in updateLastSuccessor()
1176 BasicBlock *getNextCaseSuccessor(SwitchInst *Switch, uint64_t NextState) { in getNextCaseSuccessor()
1218 auto *SI = dyn_cast<SwitchInst>(BB.getTerminator()); in run()