Lines Matching defs:O2
458 static bool notDifferentParent(const Value *O1, const Value *O2) {
461 const Function *F2 = getParent(O2);
1198 const Value *O2 = GetUnderlyingObject(V2, TD);
1205 if (const ConstantPointerNull *CPN = dyn_cast<ConstantPointerNull>(O2))
1209 if (O1 != O2) {
1211 if (isIdentifiedObject(O1) && isIdentifiedObject(O2))
1215 if ((isa<Constant>(O1) && isIdentifiedObject(O2) && !isa<Constant>(O2)) ||
1216 (isa<Constant>(O2) && isIdentifiedObject(O1) && !isa<Constant>(O1)))
1221 if ((isa<Argument>(O1) && isIdentifiedFunctionLocal(O2)) ||
1222 (isa<Argument>(O2) && isIdentifiedFunctionLocal(O1)))
1226 if ((isa<ConstantPointerNull>(O2) && isKnownNonNull(O1)) ||
1227 (isa<ConstantPointerNull>(O1) && isKnownNonNull(O2)))
1239 if (isEscapeSource(O1) && isNonEscapingLocalObject(O2))
1241 if (isEscapeSource(O2) && isNonEscapingLocalObject(O1))
1248 if ((V1Size != UnknownSize && isObjectSmallerThan(O2, V1Size, *TD, *TLI)) ||
1268 std::swap(O1, O2);
1272 AliasResult Result = aliasGEP(GV1, V1Size, V1TBAAInfo, V2, V2Size, V2TBAAInfo, O1, O2);
1301 if (TD && O1 == O2)
1303 (V2Size != UnknownSize && isObjectSize(O2, V2Size, *TD, *TLI)))