Lines Matching refs:Const
69 Constant *Const = getConstantOrNull(V); in tryToReplaceWithConstant() local
70 if (!Const) in tryToReplaceWithConstant()
91 LLVM_DEBUG(dbgs() << " Constant: " << *Const << " = " << *V << '\n'); in tryToReplaceWithConstant()
94 V->replaceAllUsesWith(Const); in tryToReplaceWithConstant()
104 if (auto *Const = dyn_cast<Constant>(Op)) in refineInstruction() local
105 return Const->toConstantRange(); in refineInstruction()
961 Constant *Const = nullptr; in getConstantOrNull() local
974 Const = ConstantStruct::get(ST, ConstVals); in getConstantOrNull()
979 Const = SCCPSolver::isConstant(LV) ? getConstant(LV, V->getType()) in getConstantOrNull()
982 assert(Const && "Constant is nullptr here!"); in getConstantOrNull()
983 return Const; in getConstantOrNull()