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

References

lib/Transforms/Scalar/SCCP.cpp
 1754   if (V->getType()->isStructTy()) {
 1755     std::vector<LatticeVal> IVs = Solver.getStructLatticeValueFor(V);
 1760     auto *ST = cast<StructType>(V->getType());
 1769     const LatticeVal &IV = Solver.getLatticeValueFor(V);
 1773     Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType());
 1779   CallInst *CI = dyn_cast<CallInst>(V);
 1793   LLVM_DEBUG(dbgs() << "  Constant: " << *Const << " = " << *V << '\n');
 1796   V->replaceAllUsesWith(Const);