Lines Matching defs:O2
886 static bool notDifferentParent(const Value *O1, const Value *O2) {
889 const Function *F2 = getParent(O2);
1567 const Value *O2 = getUnderlyingObject(V2, MaxLookupSearchDepth);
1574 if (const ConstantPointerNull *CPN = dyn_cast<ConstantPointerNull>(O2))
1578 if (O1 != O2) {
1580 if (isIdentifiedObject(O1) && isIdentifiedObject(O2))
1585 if ((isa<Argument>(O1) && isIdentifiedFunctionLocal(O2)) ||
1586 (isa<Argument>(O2) && isIdentifiedFunctionLocal(O1)))
1599 O2, dyn_cast<Instruction>(O1), /*OrAt*/ true))
1601 if (isEscapeSource(O2) && AAQI.CI->isNotCapturedBefore(
1602 O1, dyn_cast<Instruction>(O2), /*OrAt*/ true))
1610 O2, getMinimalExtentFrom(*V1, V1Size, DL, NullIsValidLocation), DL,
1648 if ((O1 == HintO1 && O2 == HintO2) || (O1 == HintO2 && O2 == HintO1)) {
1650 // ValidAssumeForPtrContext checks; they're dominated by O1 and O2,
1711 aliasCheckRecursive(V1, V1Size, V2, V2Size, AAQI, O1, O2);
1765 AAQueryInfo &AAQI, const Value *O1, const Value *O2) {
1767 AliasResult Result = aliasGEP(GV1, V1Size, V2, V2Size, O1, O2, AAQI);
1771 AliasResult Result = aliasGEP(GV2, V2Size, V1, V1Size, O2, O1, AAQI);
1801 if (O1 == O2) {
1805 isObjectSize(O2, V2Size.getValue(), DL, TLI, NullIsValidLocation)))