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

References

lib/Transforms/Scalar/SCCP.cpp
  134       assert(getConstant() == V && "Marking constant with different value");
  146       if (V == getConstant()) return false;
  160       return dyn_cast<ConstantInt>(getConstant());
  168       return dyn_cast<BlockAddress>(getConstant());
  182       return ValueLatticeElement::get(getConstant());
  474       return markConstant(IV, V, MergeWithV.getConstant());
  475     if (IV.getConstant() != MergeWithV.getConstant())
  475     if (IV.getConstant() != MergeWithV.getConstant())
  812       OperandVal = IV.getConstant();
  822     if (IV.getConstant() != OperandVal)
  878     Constant *C = ConstantFoldCastOperand(I.getOpcode(), OpSt.getConstant(),
  965       TVal.getConstant() == FVal.getConstant())
  965       TVal.getConstant() == FVal.getConstant())
  966     return (void)markConstant(&I, FVal.getConstant());
  983     Constant *C = ConstantExpr::get(I.getOpcode(), V0State.getConstant());
 1007     Constant *C = ConstantExpr::get(I.getOpcode(), V1State.getConstant(),
 1008                                     V2State.getConstant());
 1024     if (V1State.isConstant() && V1State.getConstant()->isNullValue())
 1025       return (void)markConstant(IV, &I, V1State.getConstant());
 1047         if (NonOverdefVal->getConstant()->isNullValue())
 1048           return (void)markConstant(IV, &I, NonOverdefVal->getConstant());
 1053             return (void)markConstant(IV, &I, NonOverdefVal->getConstant());
 1117     Operands.push_back(State.getConstant());
 1163   Constant *Ptr = PtrVal.getConstant();
 1285         Operands.push_back(State.getConstant());
 1580         if (Op1LV.isConstant() && Op1LV.getConstant()->isZeroValue())
 1637           markForcedConstant(&I, Op1LV.getConstant());
 1764                               ? V.getConstant()
 1773     Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType());