Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance
1088 static bool isValidRewrite(ScalarEvolution *SE, Value *FromVal, Value *ToVal) { in isValidRewrite() argument1100 Value *ToPtr = ToVal; in isValidRewrite()1104 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) in isValidRewrite()1107 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
492 static void replaceFoldableUses(Instruction *Cond, Value *ToVal) { in replaceFoldableUses() argument493 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()498 replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()508 I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()
2229 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2231 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2232 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2233 FromVal == ToVal; in IsStructuralMatch()