Searched refs:ToVal (Results 1 – 5 of 5) sorted by relevance
115 bool isValidRewrite(Value *FromVal, Value *ToVal);153 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument165 Value *ToPtr = ToVal; in isValidRewrite()169 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()172 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()
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()
139 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()
430 static void ReplaceFoldableUses(Instruction *Cond, Value *ToVal) { in ReplaceFoldableUses() argument431 assert(Cond->getType() == ToVal->getType()); in ReplaceFoldableUses()436 replaceNonLocalUsesWith(Cond, ToVal); in ReplaceFoldableUses()446 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()