Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance
1402 APValue &ToVal = ToResult.Val; in IsEqualExpr() local1404 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()1408 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()1411 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr()1420 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
2273 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2275 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2276 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2277 FromVal == ToVal; in IsStructuralMatch()
127 bool isValidRewrite(Value *FromVal, Value *ToVal);166 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument178 Value *ToPtr = ToVal; in isValidRewrite()182 if (auto *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()185 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()