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

References

lib/Transforms/Utils/LowerSwitch.cpp
  343   if (Leaf.Low == Leaf.High) {
  343   if (Leaf.Low == Leaf.High) {
  346                         Leaf.Low, "SwitchLeaf");
  349     if (Leaf.Low == LowerBound) {
  351       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SLE, Val, Leaf.High,
  353     } else if (Leaf.High == UpperBound) {
  355       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_SGE, Val, Leaf.Low,
  357     } else if (Leaf.Low->isZero()) {
  359       Comp = new ICmpInst(*NewLeaf, ICmpInst::ICMP_ULE, Val, Leaf.High,
  363       Constant* NegLo = ConstantExpr::getNeg(Leaf.Low);
  367       Constant *UpperBound = ConstantExpr::getAdd(NegLo, Leaf.High);
  374   BasicBlock* Succ = Leaf.BB;
  382     uint64_t Range = Leaf.High->getSExtValue() -
  383                      Leaf.Low->getSExtValue();