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

References

lib/Transforms/Utils/Evaluator.cpp
  399       InstResult = ConstantExpr::get(BO->getOpcode(),
  403                         << *InstResult << "\n");
  405       InstResult = ConstantExpr::getCompare(CI->getPredicate(),
  408       LLVM_DEBUG(dbgs() << "Found a CmpInst! Simplifying: " << *InstResult
  411       InstResult = ConstantExpr::getCast(CI->getOpcode(),
  414       LLVM_DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResult
  417       InstResult = ConstantExpr::getSelect(getVal(SI->getOperand(0)),
  420       LLVM_DEBUG(dbgs() << "Found a Select! Simplifying: " << *InstResult
  423       InstResult = ConstantExpr::getExtractValue(
  426                         << *InstResult << "\n");
  428       InstResult = ConstantExpr::getInsertValue(
  432                         << *InstResult << "\n");
  439       InstResult =
  442       LLVM_DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult << "\n");
  457       InstResult = ComputeLoadResult(Ptr);
  458       if (!InstResult) {
  465       LLVM_DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n");
  476       InstResult = AllocaTmps.back().get();
  477       LLVM_DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n");
  572           InstResult = castCallResultIfNeeded(CS.getCalledValue(), C);
  573           if (!InstResult)
  576                             << *InstResult << "\n");
  595         InstResult = castCallResultIfNeeded(CS.getCalledValue(), RetVal);
  596         if (RetVal && !InstResult)
  599         if (InstResult) {
  601                             << *InstResult << "\n\n");
  651       if (auto *FoldedInstResult = ConstantFoldConstant(InstResult, DL, TLI))
  652         InstResult = FoldedInstResult;
  654       setVal(&*CurInst, InstResult);