Home | History | Annotate | Download | only in Scalar

Lines Matching refs:rewrite

277   /// \brief Instructions which will become dead if we rewrite the alloca.
285 /// \brief Operands which will become dead if we rewrite the alloca.
288 /// undef when we rewrite the alloca. These show up in out-of-bounds inputs
837 rewrite a use of an alloca other
1054 // Rewrite all loads of the PN to use the new PHI.
1541 /// This is a quick test to check whether we can rewrite a particular alloca
1650 /// This is a quick test to check whether we can rewrite the integer loads and
1831 /// \brief Visitor to rewrite instructions using p particular slice of an alloca
1952 // Every instruction which can end up as a user must have a rewrite rule.
1954 DEBUG(dbgs() << " !!!! Cannot rewrite: " << I << "\n");
1955 llvm_unreachable("No rewrite rule for this instruction!");
2419 // Rewrite the size as needed.
2622 /// \brief Visitor to rewrite aggregate loads and stores as scalar.
2633 /// Queue of pointer uses to analyze and potentially rewrite.
2646 /// Rewrite loads and stores through a pointer and all pointers derived from
2648 bool rewrite(Instruction &I) {
2669 // Conservative default is to not rewrite anything.
2975 /// \brief Rewrite an alloca partition's users.
2978 /// to rewrite uses of an alloca partition to be conducive for SSA value
2981 /// rewrite the uses of the old alloca to point at the new one and have the
2982 /// appropriate new offsets. It also evaluates how successful the rewrite was
3018 // Check for the case where we're going to rewrite to a new alloca of the
3199 // we'll have to rewrite uses and erase old split uses.
3201 // Rewrite a sequence of overlapping slices.
3237 // Otherwise, we have a tail of split slices. Rewrite them with an empty
3288 Changed |= AggRewriter.rewrite(AI);