Displaying 7 results from an estimated 7 matches for "afterpass".
2018 Jun 07
5
RFC: Pass Execution Instrumentation interface
...h context owning this object).
2. every single point of Pass execution in the (new) PassManager(s)
will query
this analysis and run instrumentation call specific to a
particular point.
Instrumentation points:
bool BeforePass (PassID, PassExecutionCounter);
void AfterPass (PassID, PassExecutionCounter);
Run before/after a particular pass execution
BeforePass instrumentation call returns true if this
execution is allowed to run.
'PassID'
certain unique identifier for a pass (pass name?).
...
2008 Oct 16
0
[LLVMdev] Requiring a pass to run before/after a pass? (Adding PHIs and updating uses)
On Oct 16, 2008, at 8:29 AM, Edward Lee wrote:
> Is there a simple way to require a pass, e.g., Reg2Mem/Mem2Reg, to
> run before/after my transformation pass? Or do I do something like:
One simplest way is to handle this is to add these passes around your
pass in the pass manager.
pm.add(Reg2Mem)
pm.add(MyPass)
pm.add(Mem2Reg)
>
>
> struct myOpt {
> myOpt() {
>
2018 Jun 08
2
RFC: Pass Execution Instrumentation interface
...ith context owning this object).
2. every single point of Pass execution in the (new) PassManager(s)
will query
this analysis and run instrumentation call specific to a
particular point.
Instrumentation points:
bool BeforePass (PassID, PassExecutionCounter);
void AfterPass (PassID, PassExecutionCounter);
Run before/after a particular pass execution
BeforePass instrumentation call returns true if this
execution is allowed to run.
'PassID'
certain unique identifier for a pass (pass name?).
&...
2018 Jun 07
2
RFC: Pass Execution Instrumentation interface
...ution in the (new)
> PassManager(s)
> will query
> this analysis and run instrumentation call specific to a
> particular point.
>
> Instrumentation points:
>
> bool BeforePass (PassID, PassExecutionCounter);
> void AfterPass (PassID, PassExecutionCounter);
>
> Run before/after a particular pass execution
> BeforePass instrumentation call returns true if this
> execution is allowed to run.
>
> 'PassID'
> certain uniqu...
2008 Oct 16
2
[LLVMdev] Requiring a pass to run before/after a pass? (Adding PHIs and updating uses)
Is there a simple way to require a pass, e.g., Reg2Mem/Mem2Reg, to run
before/after my transformation pass? Or do I do something like:
struct myOpt {
myOpt() {
mBefore = createDemoteRegisterToMemoryPass();
mAfter = createPromoteMemoryToRegisterPass();
}
getAnalysisUsage(AU) {
AU.addRequired(my stuff);
mBefore.getAnalysisUsage(AU);
mAfter.getAnalysisUsage(AU);
}
2018 Jun 08
2
RFC: Pass Execution Instrumentation interface
...gt;>>> this analysis and run instrumentation call specific to a
>>>> particular point.
>>>>
>>>> Instrumentation points:
>>>>
>>>> bool BeforePass (PassID, PassExecutionCounter);
>>>> void AfterPass (PassID, PassExecutionCounter);
>>>>
>>>> Run before/after a particular pass execution
>>>> BeforePass instrumentation call returns true if this
>>>> execution is allowed to run.
>>>>
>>>> &...
2018 Jun 11
2
RFC: Pass Execution Instrumentation interface
...ntation call
> specific to a
> particular point.
>
> Instrumentation points:
>
> bool BeforePass (PassID, PassExecutionCounter);
> void AfterPass (PassID, PassExecutionCounter);
>
> Run before/after a particular pass execution
> BeforePass instrumentation call returns true if
> this
> execution is allowed to run.
>...