Home
last modified time | relevance | path

Searched refs:tryToReplaceWithConstant (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp106 static bool tryToReplaceWithConstant(SCCPSolver &Solver, Value *V) { in tryToReplaceWithConstant() function
165 if (tryToReplaceWithConstant(Solver, &Inst)) { in simplifyInstsInBlock()
538 if (!Arg.use_empty() && tryToReplaceWithConstant(Solver, &Arg)) { in runIPSCCP()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp351 bool tryToReplaceWithConstant(Value *V) { in tryToReplaceWithConstant() function in __anonfb6321fa0211::FunctionSpecializer
818 if (!Arg.use_empty() && tryToReplaceWithConstant(&Arg)) in updateSpecializedFuncs()
913 Changed |= FS.tryToReplaceWithConstant(&I); in runFunctionSpecialization()