Searched refs:ToVal (Results 1 – 3 of 3) 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()
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()