Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp124 if (!Arg.use_empty() && tryToReplaceWithConstant(&Arg)) in specializeFunctions()
133 bool tryToReplaceWithConstant(Value *V) { in tryToReplaceWithConstant() function in FunctionSpecializer
619 FS.tryToReplaceWithConstant(&I); in runFunctionSpecialization()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp100 static bool tryToReplaceWithConstant(SCCPSolver &Solver, Value *V) { in tryToReplaceWithConstant() function
159 if (tryToReplaceWithConstant(Solver, &Inst)) { in simplifyInstsInBlock()
480 if (!Arg.use_empty() && tryToReplaceWithConstant(Solver, &Arg)) { in runIPSCCP()