Lines Matching defs:Seen
262 Type *remapTypeImpl(Type *Ty, SmallPtrSetImpl<StructType *> &Seen);
301 Type *Ty, SmallPtrSetImpl<StructType *> &Seen) {
328 if (!Seen.insert(TyAsStruct).second) {
337 Type *NewElem = remapTypeImpl(OldElem, Seen);
1274 // conditional instructions visited during the search (`Seen`). If, after
1275 // removing the root of the search from `Seen` and `Roots`, `Seen` is a subset
1276 // of `Roots` and `Roots - Seen` contains one element, the resource part of
1277 // that element can replace the resource part of all other elements in `Seen`.
1279 SmallPtrSetImpl<Value *> &Seen);
1388 SmallPtrSetImpl<Value *> &Seen) {
1390 if (!Seen.insert(I).second)
1396 getPossibleRsrcRoots(cast<Instruction>(In), Roots, Seen);
1399 if (!Seen.insert(SI).second)
1406 getPossibleRsrcRoots(cast<Instruction>(TrueVal), Roots, Seen);
1408 getPossibleRsrcRoots(cast<Instruction>(FalseVal), Roots, Seen);
1417 SmallPtrSet<Value *, 4> Seen;
1431 Seen.clear();
1432 getPossibleRsrcRoots(I, Roots, Seen);
1437 for (Value *V : Seen)
1438 LLVM_DEBUG(dbgs() << "Seen: " << *V << "\n");
1445 Seen.erase(I);
1447 if (set_is_subset(Seen, Roots)) {
1448 auto Diff = set_difference(Roots, Seen);
1501 for (Value *V : Seen)
1507 for (Value *V : Seen)