reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/LowerSwitch.cpp
  443   BasicBlock *OrigBlock = SI->getParent();
  445   Value *Val = SI->getCondition();  // The value we are switching on...
  446   BasicBlock* Default = SI->getDefaultDest();
  458   const unsigned NumSimpleCases = Clusterify(Cases, SI);
  468     SI->eraseFromParent();
  494     KnownBits Known = computeKnownBits(Val, DL, /*Depth=*/0, AC, SI);
  498     const ConstantRange LVIRange = LVI->getConstantRange(Val, OrigBlock, SI);
  509     LowerBound = ConstantInt::get(SI->getContext(), Min);
  510     UpperBound = ConstantInt::get(SI->getContext(), Max);
  564     const unsigned NumDefaultEdges = SI->getNumCases() + 1 - NumSimpleCases;
  580       SI->eraseFromParent();
  591     Val = SI->getCondition();
  596   BasicBlock *NewDefault = BasicBlock::Create(SI->getContext(), "NewDefault");
  612   BasicBlock *OldDefault = SI->getDefaultDest();
  613   OrigBlock->getInstList().erase(SI);