Home | History | Annotate | Download | only in Utils

Lines Matching defs:Def

366   // Live in is normally defined as "all the blocks on the path from each def to
369 // This means we don't really have def-only instructions. The only
371 // variable (because LiveOnEntry can reach anywhere, and every def is a
423 // dominating clobbering def.
529 bool Def = bool(ModRef & MRI_Mod);
534 if (!Def && !Use)
537 assert((Def || Use) &&
541 if (Def)
637 assert(!isLiveOnEntryDef(MA) && "Trying to remove the live on entry def");
763 "Memory Def does not dominate it's uses");
769 /// \brief Verify the def-use lists in MemorySSA, by verifying that \p Use
770 /// appears in the use list of \p Def.
775 void MemorySSA::verifyUseInDefs(MemoryAccess *Def, MemoryAccess *Use) const {
776 // The live on entry use may cause us to get a NULL def here
777 if (!Def) {
779 llvm_unreachable("Null def but use not point to live on entry def");
780 } else if (std::find(Def->user_begin(), Def->user_end(), Use) ==
781 Def->user_end()) {
782 llvm_unreachable("Did not find use in def's use list");
788 /// appropriate def's use list
1062 // Making a def its own clobber is never correct, though.
1205 // If we found a clobbering def, the last element in the path will be our
1233 /// \brief Walk the use-def chains starting at \p MA and find
1267 // Unlike the other function, do not walk to the def of a def, because we are
1287 // access, since we only map BB's to PHI's. So, this must be a use or def.
1308 // At this point, DefiningAccess may be the live on entry def.