Displaying 3 results from an estimated 3 matches for "createwawanalyzer".
2015 Nov 17
2
Confused on how to do a machinefunction pass
...first backend pass. I created a file in
> target\x86\wawanalyzer.cpp based on hexagonHardwareLoops.cpp file. Now it's
> just a simple file that prints hello to the output. I have attached the
> file to this post.
>
> Then I did the following:
>
> 1. add "FunctionPass *createwawAnalyzer();" line to x86.h
> 2. add file name to CMakelist.txt.
> 3. This is going to run after postRAscheduler and before code emission so
> I changed the x86TrgetMachine.cpp as follow:
> void X86PassConfig::addPreEmitPass() {
> /////////////add mypass here///////
> addPass(createw...
2015 Nov 17
2
Confused on how to do a machinefunction pass
...ed a file in
>> target\x86\wawanalyzer.cpp based on hexagonHardwareLoops.cpp file. Now it's
>> just a simple file that prints hello to the output. I have attached the
>> file to this post.
>>
>> Then I did the following:
>>
>> 1. add "FunctionPass *createwawAnalyzer();" line to x86.h
>> 2. add file name to CMakelist.txt.
>> 3. This is going to run after postRAscheduler and before code emission so
>> I changed the x86TrgetMachine.cpp as follow:
>> void X86PassConfig::addPreEmitPass() {
>> /////////////add mypass here///////
&g...
2015 Nov 04
3
Confused on how to do a machinefunction pass
Thank you so much.
That helped alot.
Fami
On Wed, Nov 4, 2015 at 9:40 AM, John Criswell <jtcriswel at gmail.com> wrote:
> On 11/3/15 7:54 PM, fateme Hoseini wrote:
>
> Dear John,
> Thank you so much for your help. I looked at those documents. Could you
> kindly answer the following questions:
>
> Does it mean that I have to make my own backend target in order to write