Lines Matching refs:writing
21 <writing-an-llvm-pass-ModulePass>` , :ref:`CallGraphSCCPass
22 <writing-an-llvm-pass-CallGraphSCCPass>`, :ref:`FunctionPass
23 <writing-an-llvm-pass-FunctionPass>` , or :ref:`LoopPass
24 <writing-an-llvm-pass-LoopPass>`, or :ref:`RegionPass
25 <writing-an-llvm-pass-RegionPass>`, or :ref:`BasicBlockPass
26 <writing-an-llvm-pass-BasicBlockPass>` classes, which gives the system more
99 Which are needed because we are writing a `Pass
132 <writing-an-llvm-pass-FunctionPass>`. The different builtin pass subclasses
133 are described in detail :ref:`later <writing-an-llvm-pass-pass-classes>`, but
154 We declare a :ref:`runOnFunction <writing-an-llvm-pass-runOnFunction>` method,
156 <writing-an-llvm-pass-FunctionPass>`. This is where we are supposed to do our
172 Lastly, we :ref:`register our class <writing-an-llvm-pass-registration>`
235 <writing-an-llvm-pass-registration>`). Because the Hello pass does not modify
264 pass is. The :ref:`PassManager <writing-an-llvm-pass-passmanager>` provides a
302 <writing-an-llvm-pass-basiccode>` example uses the :ref:`FunctionPass
303 <writing-an-llvm-pass-FunctionPass>` class for its implementation, but we did
375 :ref:`FunctionPass <writing-an-llvm-pass-FunctionPass>` or :ref:`BasicBlockPass
376 <writing-an-llvm-pass-BasicBlockPass>`, you should derive from
391 <writing-an-llvm-pass-runOnSCC>` (including global data).
434 <writing-an-llvm-pass-runOnSCC>` for every SCC in the program being compiled.
455 <writing-an-llvm-pass-runOnFunction>` (including global data).
458 World <writing-an-llvm-pass-basiccode>` pass for example).
510 <writing-an-llvm-pass-runOnFunction>` for every function in the program being
572 <writing-an-llvm-pass-runOnLoop>` for every loop in the program being compiled.
579 ``RegionPass`` is similar to :ref:`LoopPass <writing-an-llvm-pass-LoopPass>`,
625 <writing-an-llvm-pass-runOnRegion>` for every region in the program being
634 <writing-an-llvm-pass-FunctionPass>` , except that they must limit their scope
640 <writing-an-llvm-pass-runOnBasicBlock>`.
643 <writing-an-llvm-pass-FunctionPass>`.
647 <writing-an-llvm-pass-doInitialization-mod>` and :ref:`doFinalization(Module &)
648 <writing-an-llvm-pass-doFinalization-mod>` methods that :ref:`FunctionPass's
649 <writing-an-llvm-pass-FunctionPass>` have, but also have the following virtual
689 <writing-an-llvm-pass-runOnBasicBlock>` for every ``BasicBlock`` in the program
712 <writing-an-llvm-pass-runOnMachineFunction>` (including global data).
740 In the :ref:`Hello World <writing-an-llvm-pass-basiccode>` example pass we
781 :ref:`optimize the execution of passes <writing-an-llvm-pass-passmanager>` it
791 <writing-an-llvm-pass-getAnalysisUsage>` method, it defaults to not having any
845 :ref:`BasicBlockPass <writing-an-llvm-pass-BasicBlockPass>`\ es).
870 with the :ref:`getAnalysisUsage <writing-an-llvm-pass-getAnalysisUsage>`
884 <writing-an-llvm-pass-getAnalysisUsage>` implementation. This method can be
945 <writing-an-llvm-pass-passmanager>` scans the available passes to see if any
948 :ref:`interaction between passes <writing-an-llvm-pass-interaction>` still
951 Although :ref:`Pass Registration <writing-an-llvm-pass-registration>` is
954 <writing-an-llvm-pass-RegisterAnalysisGroup>` template to join the
957 <writing-an-llvm-pass-RegisterAnalysisGroup>`.
1047 passes, ensures their :ref:`prerequisites <writing-an-llvm-pass-interaction>`
1060 <writing-an-llvm-pass-releaseMemory>` allocated to holding analysis results
1066 of consecutive :ref:`FunctionPass <writing-an-llvm-pass-FunctionPass>`, it
1068 <writing-an-llvm-pass-FunctionPass>` on the first function, then all of the
1069 :ref:`FunctionPasses <writing-an-llvm-pass-FunctionPass>` on the second
1078 :ref:`interesting enhancements <writing-an-llvm-pass-SMP>` in the future.
1083 unimplemented :ref:`getAnalysisUsage <writing-an-llvm-pass-getAnalysisUsage>`
1094 :ref:`Hello World <writing-an-llvm-pass-basiccode>` pass interacts with other
1132 <writing-an-llvm-pass-basiccode>` pass in between the two passes:
1161 Here we see that the :ref:`Hello World <writing-an-llvm-pass-basiccode>` pass
1164 <writing-an-llvm-pass-getAnalysisUsage>` method to our pass:
1219 If you are writing an analysis or any other pass that retains a significant
1221 the :ref:`getAnalysis <writing-an-llvm-pass-getAnalysis>` method) you should