Lines Matching refs:pass

58   // Runs the given |pass| on the binary assembled from the |original|.
60 // from pass Process() function.
62 Pass* pass, const std::string& original, bool skip_nop) {
74 const auto status = pass->Run(context());
83 // Runs a single pass of class |PassT| on the binary assembled from the
85 // from the pass Process() function.
89 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...);
90 pass->SetMessageConsumer(consumer_);
91 return OptimizeToBinary(pass.get(), assembly, skip_nop);
94 // Runs a single pass of class |PassT| on the binary assembled from the
96 // disassembly string and the boolean value from the pass Process() function.
125 // Runs a single pass of class |PassT| on the binary assembled from the
128 // the optimized binary. This does *not* involve pass manager. Callers
138 // Check whether the pass returns the correct modification indication.
162 // Runs a single pass of class |PassT| on the binary assembled from the
164 // disassembled to the |expected| assembly. This does *not* involve pass
174 // Runs a single pass of class |PassT| on the binary assembled from the
177 // This does *not* involve pass manager. Callers are suggested to use
179 // Returns a tuple of disassembly string and the boolean value from the pass
195 // Runs a single pass of class |PassT| on the binary assembled from the
197 // to pass when run on the diagnostic messages. This does *not* involve
198 // pass manager. Callers are suggested to use SCOPED_TRACE() for better
210 auto pass = MakeUnique<PassT>(std::forward<Args>(args)...);
211 pass->SetMessageConsumer(error_consumer);
212 const auto status = pass->Run(context());
220 // Adds a pass to be run.
226 // Renews the pass manager, including clearing all previously added passes.
232 // Runs the passes added thus far using a pass manager on the binary assembled
284 std::unique_ptr<PassManager> manager_; // The pass manager.