Lines Matching refs:V2

503                          const Value *V2, uint64_t V2Size,
511 const Value *V2, uint64_t V2Size,
517 const Value *V2, uint64_t V2Size,
522 const Value *V2, uint64_t V2Size,
837 /// anything about V2. UnderlyingV1 is GetUnderlyingObject(GEP1, TD),
838 /// UnderlyingV2 is the same for V2.
843 const Value *V2, uint64_t V2Size,
853 if (const GEPOperator *GEP2 = dyn_cast<GEPOperator>(V2)) {
927 V2, V2Size, V2TBAAInfo);
929 // If V2 may alias GEP base pointer, conservatively returns MayAlias.
930 // If V2 is known not to alias GEP base pointer, then the two values
952 // In the other case, if we have getelementptr <ptr>, 0, 0, 0, 0, ... and V2
1022 const Value *V2, uint64_t V2Size,
1026 if (const SelectInst *SI2 = dyn_cast<SelectInst>(V2))
1039 // If both arms of the Select node NoAlias or MustAlias V2, then returns
1042 aliasCheck(V2, V2Size, V2TBAAInfo, SI->getTrueValue(), SISize, SITBAAInfo);
1047 aliasCheck(V2, V2Size, V2TBAAInfo, SI->getFalseValue(), SISize, SITBAAInfo);
1056 const Value *V2, uint64_t V2Size,
1061 if (const PHINode *PN2 = dyn_cast<PHINode>(V2))
1064 Location(V2, V2Size, V2TBAAInfo));
1065 if (PN > V2)
1130 AliasResult Alias = aliasCheck(V2, V2Size, V2TBAAInfo,
1132 // Early exit if the check of the first PHI source against V2 is MayAlias.
1137 // If all sources of the PHI node NoAlias or MustAlias V2, then returns
1142 AliasResult ThisAlias = aliasCheck(V2, V2Size, V2TBAAInfo,
1158 const Value *V2, uint64_t V2Size,
1167 V2 = V2->stripPointerCasts();
1170 if (V1 == V2) return MustAlias;
1172 if (!V1->getType()->isPointerTy() || !V2->getType()->isPointerTy())
1177 const Value *O2 = GetUnderlyingObject(V2, TD);
1189 // If V1/V2 point to two different objects we know that we have no alias.
1234 Location(V2, V2Size, V2TBAAInfo));
1235 if (V1 > V2)
1244 if (!isa<GEPOperator>(V1) && isa<GEPOperator>(V2)) {
1245 std::swap(V1, V2);
1250 AliasResult Result = aliasGEP(GV1, V1Size, V1TBAAInfo, V2, V2Size, V2TBAAInfo, O1, O2);
1254 if (isa<PHINode>(V2) && !isa<PHINode>(V1)) {
1255 std::swap(V1, V2);
1260 V2, V2Size, V2TBAAInfo);
1264 if (isa<SelectInst>(V2) && !isa<SelectInst>(V1)) {
1265 std::swap(V1, V2);
1270 V2, V2Size, V2TBAAInfo);
1284 Location(V2, V2Size, V2TBAAInfo));