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

References

include/llvm/Analysis/ValueLattice.h
  165     if (isConstant() && isa<ConstantInt>(getConstant())) {
  166       return cast<ConstantInt>(getConstant())->getValue();
  193     assert((!isConstant() || getConstant() == V) &&
  209     assert((!isConstant() || getConstant() != V) &&
  254       if (RHS.isConstant() && getConstant() == RHS.getConstant())
  254       if (RHS.isConstant() && getConstant() == RHS.getConstant())
  285     assert(isConstant() && isa<ConstantInt>(getConstant()) &&
  287     return cast<ConstantInt>(getConstant());
  299       return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant());
  299       return ConstantExpr::getCompare(Pred, getConstant(), Other.getConstant());
lib/Analysis/LazyValueInfo.cpp
 1705     return Result.getConstant();
 1727   assert(!(Result.isConstant() && isa<ConstantInt>(Result.getConstant())) &&
 1742     return Result.getConstant();
 1766   assert(!(Result.isConstant() && isa<ConstantInt>(Result.getConstant())) &&
 1777     Res = ConstantFoldCompareInstOperands(Pred, Val.getConstant(), C, DL, TLI);
lib/Analysis/ValueLattice.cpp
   23   return OS << "constant<" << *Val.getConstant() << ">";