Searched refs:ToVal (Results 1 – 4 of 4) sorted by relevance
99 bool isValidRewrite(Value *FromVal, Value *ToVal);132 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument144 Value *ToPtr = ToVal; in isValidRewrite()148 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()151 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
146 bool isValidRewrite(Value *FromVal, Value *ToVal);184 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument196 Value *ToPtr = ToVal; in isValidRewrite()200 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()203 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
451 static void ReplaceFoldableUses(Instruction *Cond, Value *ToVal) { in ReplaceFoldableUses() argument452 assert(Cond->getType() == ToVal->getType()); in ReplaceFoldableUses()457 replaceNonLocalUsesWith(Cond, ToVal); in ReplaceFoldableUses()467 I.replaceUsesOfWith(Cond, ToVal); in ReplaceFoldableUses()
2394 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2396 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2397 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2398 FromVal == ToVal; in IsStructuralMatch()