Lines Matching defs:O1
886 static bool notDifferentParent(const Value *O1, const Value *O2) {
888 const Function *F1 = getParent(O1);
1566 const Value *O1 = getUnderlyingObject(V1, MaxLookupSearchDepth);
1571 if (const ConstantPointerNull *CPN = dyn_cast<ConstantPointerNull>(O1))
1578 if (O1 != O2) {
1580 if (isIdentifiedObject(O1) && isIdentifiedObject(O2))
1585 if ((isa<Argument>(O1) && isIdentifiedFunctionLocal(O2)) ||
1586 (isa<Argument>(O2) && isIdentifiedFunctionLocal(O1)))
1598 if (isEscapeSource(O1) && AAQI.CI->isNotCapturedBefore(
1599 O2, dyn_cast<Instruction>(O1), /*OrAt*/ true))
1602 O1, dyn_cast<Instruction>(O2), /*OrAt*/ true))
1613 O1, getMinimalExtentFrom(*V2, V2Size, DL, NullIsValidLocation), DL,
1618 for (AssumptionCache::ResultElem &Elem : AC.assumptionsFor(O1)) {
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) {
1804 (isObjectSize(O1, V1Size.getValue(), DL, TLI, NullIsValidLocation) ||