Lines Matching refs:InstResult

2421     Constant *InstResult = nullptr;  in EvaluateBlock()  local
2499 InstResult = ConstantExpr::get(BO->getOpcode(), in EvaluateBlock()
2502 DEBUG(dbgs() << "Found a BinaryOperator! Simplifying: " << *InstResult in EvaluateBlock()
2505 InstResult = ConstantExpr::getCompare(CI->getPredicate(), in EvaluateBlock()
2508 DEBUG(dbgs() << "Found a CmpInst! Simplifying: " << *InstResult in EvaluateBlock()
2511 InstResult = ConstantExpr::getCast(CI->getOpcode(), in EvaluateBlock()
2514 DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResult in EvaluateBlock()
2517 InstResult = ConstantExpr::getSelect(getVal(SI->getOperand(0)), in EvaluateBlock()
2520 DEBUG(dbgs() << "Found a Select! Simplifying: " << *InstResult in EvaluateBlock()
2523 InstResult = ConstantExpr::getExtractValue( in EvaluateBlock()
2525 DEBUG(dbgs() << "Found an ExtractValueInst! Simplifying: " << *InstResult in EvaluateBlock()
2528 InstResult = ConstantExpr::getInsertValue( in EvaluateBlock()
2531 DEBUG(dbgs() << "Found an InsertValueInst! Simplifying: " << *InstResult in EvaluateBlock()
2539 InstResult = in EvaluateBlock()
2542 DEBUG(dbgs() << "Found a GEP! Simplifying: " << *InstResult in EvaluateBlock()
2557 InstResult = ComputeLoadResult(Ptr); in EvaluateBlock()
2558 if (!InstResult) { in EvaluateBlock()
2564 DEBUG(dbgs() << "Evaluated load: " << *InstResult << "\n"); in EvaluateBlock()
2574 InstResult = AllocaTmps.back().get(); in EvaluateBlock()
2575 DEBUG(dbgs() << "Found an alloca. Result: " << *InstResult << "\n"); in EvaluateBlock()
2667 InstResult = C; in EvaluateBlock()
2669 *InstResult << "\n"); in EvaluateBlock()
2688 InstResult = RetVal; in EvaluateBlock()
2690 if (InstResult) { in EvaluateBlock()
2692 InstResult << "\n\n"); in EvaluateBlock()
2740 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(InstResult)) in EvaluateBlock()
2741 InstResult = ConstantFoldConstantExpression(CE, DL, TLI); in EvaluateBlock()
2743 setVal(&*CurInst, InstResult); in EvaluateBlock()