Lines Matching refs:WasOn
77 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
80 Value *V = RK.WasOn->stripInBoundsOffsets([&](const Value *Strip) { in canonicalizedKnowledge()
85 RK.WasOn = V; in canonicalizedKnowledge()
91 Value *V = GetPointerBaseWithConstantOffset(RK.WasOn, Offset, DL, in canonicalizedKnowledge()
96 RK.WasOn = V; in canonicalizedKnowledge()
118 if (!InstBeingModified || !RK.WasOn) in tryToPreserveWithoutAddingAssume()
123 RK.WasOn, {RK.AttrKind}, AC, in tryToPreserveWithoutAddingAssume()
148 if (!RK.WasOn) in isKnowledgeWorthPreserving()
150 if (RK.WasOn->getType()->isPointerTy()) { in isKnowledgeWorthPreserving()
151 Value *UnderlyingPtr = getUnderlyingObject(RK.WasOn); in isKnowledgeWorthPreserving()
155 if (auto *Arg = dyn_cast<Argument>(RK.WasOn)) { in isKnowledgeWorthPreserving()
162 if (auto *Inst = dyn_cast<Instruction>(RK.WasOn)) in isKnowledgeWorthPreserving()
164 if (RK.WasOn->use_empty()) in isKnowledgeWorthPreserving()
166 Use *SingleUse = RK.WasOn->getSingleUndroppableUse(); in isKnowledgeWorthPreserving()
181 MapKey Key{RK.WasOn, RK.AttrKind}; in addKnowledge()
196 void addAttribute(Attribute Attr, Value *WasOn) { in addAttribute()
204 addKnowledge({Attr.getKindAsEnum(), AttrArg, WasOn}); in addAttribute()
422 if (auto *Arg = dyn_cast_or_null<Argument>(RK.WasOn)) { in dropRedundantKnowledge()
442 auto &Lookup = Knowledge[{RK.WasOn, RK.AttrKind}]; in dropRedundantKnowledge()
485 if (auto *I = dyn_cast_or_null<Instruction>(RK.WasOn)) in mergeRange()