Lines Matching defs: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
858 /// directly promoted. Finally, each time we rewrite a use of an alloca other
1607 /// This is a quick test to check whether we can rewrite a particular alloca
1716 /// This is a quick test to check whether we can rewrite the integer loads and
1897 /// \brief Visitor to rewrite instructions using p particular slice of an alloca
2018 // Every instruction which can end up as a user must have a rewrite rule.
2020 DEBUG(dbgs() << " !!!! Cannot rewrite: " << I << "\n");
2021 llvm_unreachable("No rewrite rule for this instruction!");
2688 /// \brief Visitor to rewrite aggregate loads and stores as scalar.
2699 /// Queue of pointer uses to analyze and potentially rewrite.
2714 bool rewrite(Instruction &I) {
2735 // Conservative default is to not rewrite anything.
3044 /// to rewrite uses of an alloca partition to be conducive for SSA value
3047 /// rewrite the uses of the old alloca to point at the new one and have the
3048 /// appropriate new offsets. It also evaluates how successful the rewrite was
3084 // Check for the case where we're going to rewrite to a new alloca of the
3265 // we'll have to rewrite uses and erase old split uses.
3354 Changed |= AggRewriter.rewrite(AI);