Lines Matching refs:WasOn
73 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
76 Value *V = RK.WasOn->stripInBoundsOffsets([&](const Value *Strip) { in canonicalizedKnowledge()
82 RK.WasOn = V; in canonicalizedKnowledge()
89 RK.WasOn, Offset, M->getDataLayout(), /*AllowNonInBounds*/ false); in canonicalizedKnowledge()
93 RK.WasOn = V; in canonicalizedKnowledge()
115 if (!InstBeingRemoved || !RK.WasOn) in tryToPreserveWithoutAddingAssume()
120 RK.WasOn, {RK.AttrKind}, AC, in tryToPreserveWithoutAddingAssume()
146 if (!RK.WasOn) in isKnowledgeWorthPreserving()
148 if (RK.WasOn->getType()->isPointerTy()) { in isKnowledgeWorthPreserving()
149 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
153 if (auto *Arg = dyn_cast<Argument>(RK.WasOn)) { in isKnowledgeWorthPreserving()
160 if (auto *Inst = dyn_cast<Instruction>(RK.WasOn)) in isKnowledgeWorthPreserving()
162 if (RK.WasOn->use_empty()) in isKnowledgeWorthPreserving()
164 Use *SingleUse = RK.WasOn->getSingleUndroppableUse(); in isKnowledgeWorthPreserving()
179 MapKey Key{RK.WasOn, RK.AttrKind}; in addKnowledge()
194 void addAttribute(Attribute Attr, Value *WasOn) { in addAttribute()
202 addKnowledge({Attr.getKindAsEnum(), AttrArg, WasOn}); in addAttribute()
391 if (auto *Arg = dyn_cast_or_null<Argument>(RK.WasOn)) { in dropRedundantKnowledge()
411 auto &Lookup = Knowledge[{RK.WasOn, RK.AttrKind}]; in dropRedundantKnowledge()
453 if (auto *I = dyn_cast_or_null<Instruction>(RK.WasOn)) in mergeRange()