Displaying 5 results from an estimated 5 matches for "refrerence".
Did you mean:
reference
2009 Sep 10
1
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
...rrent MachineBasicBlock:
>
> PI->getExecutionCount(bb.getBasicBlock())
What does "llc -debug-pass=Structure" say? Is the ProfileLoaderPass
really the last pass to touch the ProfileInfo before you are using it?
Also, does bb.getBasicBlock() for sure always returns a valid block
refrerence?
You are getting the PI by getAnalysis<ProfileInfo>() I presume? Is this
really the instance created by ProfileLoaderPass?
(I guess for the last two questions its best to use gdb, are you
familiar with it?)
Andi
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Thanks for such a rapid response!
> Don't know about Passes in the backend, but this could be a problem of
> an FunctionPassManager trying to use a ModulePass.
I manually applied the patch you provided for llc (I'm using the 2.5
release of LLVM not ToT) and it fixed my compilation error. When your
patch replaced the FunctionPassManager used by llc with a PassManager
the error went
2009 Sep 10
0
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
...FG
Optimize for code generation
Insert stack protectors
X86 DAG->DAG Instruction Selection
X86 FP_REG_KILL inserter
X86 Maximal Stack Alignment Calculator
<MY PASS RUNS HERE>
> Also, does bb.getBasicBlock() for sure always returns a valid block
> refrerence?
Yes. I am printing bb and *bb.getBasicBlock() in order to compare the
contents of the IR in the BasicBlock and the target assembly in the
MachineBasicBlock.
> You are getting the PI by getAnalysis<ProfileInfo>() I presume? Is this
> really the instance created by ProfileLoaderPass?...
2000 Feb 25
3
Disable Profile Caching?
Hi,
I'm wondering if there is a registry hack to disable
the caching of user's profiles workstation hard disks.
We run Win 95/98 on workstations. Samba on the server.
Eddie.
2009 Sep 10
2
[LLVMdev] Loading ProfileInfo in Backend. (Was: [PATCH] & Question: Preserving ProfileInfo for backend.)
...Insert stack protectors
> X86 DAG->DAG Instruction Selection
> X86 FP_REG_KILL inserter
> X86 Maximal Stack Alignment Calculator
> <MY PASS RUNS HERE>
>
>
>> Also, does bb.getBasicBlock() for sure always returns a valid block
>> refrerence?
>
> Yes. I am printing bb and *bb.getBasicBlock() in order to compare the
> contents of the IR in the BasicBlock and the target assembly in the
> MachineBasicBlock.
>
>> You are getting the PI by getAnalysis<ProfileInfo>() I presume? Is this
>> really the instanc...