Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance
140 bool isValidRewrite(Value *FromVal, Value *ToVal);173 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument185 Value *ToPtr = ToVal; in isValidRewrite()189 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()192 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
435 static void ReplaceFoldableUses(Instruction *Cond, Value *ToVal) { in ReplaceFoldableUses() argument436 assert(Cond->getType() == ToVal->getType()); in ReplaceFoldableUses()441 replaceNonLocalUsesWith(Cond, ToVal); in ReplaceFoldableUses()451 I.replaceUsesOfWith(Cond, ToVal); in ReplaceFoldableUses()
2040 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2042 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2043 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2044 FromVal == ToVal; in IsStructuralMatch()