Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance
1148 static bool isValidRewrite(ScalarEvolution *SE, Value *FromVal, Value *ToVal) { in isValidRewrite() argument1160 Value *ToPtr = ToVal; in isValidRewrite()1164 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) in isValidRewrite()1167 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
493 static void replaceFoldableUses(Instruction *Cond, Value *ToVal) { in replaceFoldableUses() argument494 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()499 replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()509 I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()
2211 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2213 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2214 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2215 FromVal == ToVal; in IsStructuralMatch()