Searched refs:ToVal (Results 1 – 3 of 3) sorted by relevance
1340 APValue &ToVal = ToResult.Val; in IsEqualExpr() local1342 if (FromVal.getKind() != ToVal.getKind()) return false; in IsEqualExpr()1346 return FromVal.getInt() == ToVal.getInt(); in IsEqualExpr()1349 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr()1358 return FromVal.getMemberPointerDecl() == ToVal.getMemberPointerDecl(); in IsEqualExpr()
2221 const llvm::APSInt &ToVal = ToEC->getInitVal(); in IsStructuralMatch() local2223 return FromVal.isSigned() == ToVal.isSigned() && in IsStructuralMatch()2224 FromVal.getBitWidth() == ToVal.getBitWidth() && in IsStructuralMatch()2225 FromVal == ToVal; in IsStructuralMatch()
108 bool isValidRewrite(Value *FromVal, Value *ToVal);143 bool IndVarSimplify::isValidRewrite(Value *FromVal, Value *ToVal) { in isValidRewrite() argument155 Value *ToPtr = ToVal; in isValidRewrite()159 if (GEPOperator *GEP = dyn_cast<GEPOperator>(ToVal)) { in isValidRewrite()162 if (FromPtr != FromVal || ToPtr != ToVal) { in isValidRewrite()