Displaying 16 results from an estimated 16 matches for "creategcra".
2016 Feb 26
0
Help Required llc runtime error for simple MachineFunctionPass
...c MachineFunctionPass {
public:
static char id; // Pass Identification
GCRA() : MachineFunctionPass(id) {
}
bool runOnMachineFunction(MachineFunction &MFn) {
return false;
}
void getAnalysisUsage(AnalysisUsage &AU) const {
}
};
char GCRA::id = 0;
}
namespace llvm {
FunctionPass *createGCRA() { return new GCRA(); }
}
static RegisterRegAlloc register_gcra("gc",
"graph-coloring register allocator",
createGCRA);
Please help!
Sincerely,
*Vivek Pandya*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/piperm...
2012 Nov 09
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...39;m afraid.
>
> I've attached my modified version of
> Gcra.cpp. I built llvm
> 3.1 by dropping this file into
> lib/CodeGen, and adding
> references to createGcra to
> include/lib/CodeGen/Passes.h and
>
> include/lib/CodeGen/LinkAllCodeGenComponents.h.
> (If you
> search for createRegAllocPBQP you'll see
>...
2012 Nov 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
Hi Susan,
Without debugging symbols I can't make much out of that stack trace I'm
afraid.
I've attached my modified version of Gcra.cpp. I built llvm 3.1 by dropping
this file into lib/CodeGen, and adding references to createGcra to
include/lib/CodeGen/Passes.h and
include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you search for
createRegAllocPBQP you'll see where to add the declarations).
With that setup, running your allocator on the tst.c file you attached
previously yielded a sane assembly file.
Cheers,
Lang.
O...
2012 Nov 08
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...t stack
>>>>> trace I'm afraid.
>>>>>
>>>>> I've attached my modified version of Gcra.cpp. I built llvm
>>>>> 3.1 by dropping this file into lib/CodeGen, and adding
>>>>> references to createGcra to include/lib/CodeGen/Passes.h and
>>>>> include/lib/CodeGen/**LinkAllCodeGenComponents.h. (If you
>>>>> search for createRegAllocPBQP you'll see where to add the
>>>>> declarations).
>>>>>
>>>>>...
2012 Nov 03
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...:28 PM, Lang Hames wrote:
> Hi Susan,
>
> Without debugging symbols I can't make much out of that stack trace
> I'm afraid.
>
> I've attached my modified version of Gcra.cpp. I built llvm 3.1 by
> dropping this file into lib/CodeGen, and adding references to
> createGcra to include/lib/CodeGen/Passes.h and
> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you search for
> createRegAllocPBQP you'll see where to add the declarations).
>
> With that setup, running your allocator on the tst.c file you attached
> previously yielded a sane assem...
2012 Nov 04
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...5:28 PM, Lang Hames wrote:
>
> Hi Susan,
>
> Without debugging symbols I can't make much out of that stack trace I'm
> afraid.
>
> I've attached my modified version of Gcra.cpp. I built llvm 3.1 by
> dropping this file into lib/CodeGen, and adding references to createGcra to
> include/lib/CodeGen/Passes.h and
> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you search for
> createRegAllocPBQP you'll see where to add the declarations).
>
> With that setup, running your allocator on the tst.c file you attached
> previously yielded a sane as...
2012 Nov 04
3
[LLVMdev] problem trying to write an LLVM register-allocation pass
...>
>> Without debugging symbols I can't make much out of that stack
>> trace I'm afraid.
>>
>> I've attached my modified version of Gcra.cpp. I built llvm 3.1
>> by dropping this file into lib/CodeGen, and adding references to
>> createGcra to include/lib/CodeGen/Passes.h and
>> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you search
>> for createRegAllocPBQP you'll see where to add the declarations).
>>
>> With that setup, running your allocator on the tst.c file you
>> attache...
2012 Nov 05
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...gt;
>> Hi Susan,
>>
>> Without debugging symbols I can't make much out of that stack trace I'm
>> afraid.
>>
>> I've attached my modified version of Gcra.cpp. I built llvm 3.1 by
>> dropping this file into lib/CodeGen, and adding references to createGcra to
>> include/lib/CodeGen/Passes.h and
>> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you search for
>> createRegAllocPBQP you'll see where to add the declarations).
>>
>> With that setup, running your allocator on the tst.c file you attached
>> prev...
2012 Nov 01
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I still get a coredump:
0 libLLVM-3.1.so 0x00007f0158a4e67f
1 libLLVM-3.1.so 0x00007f0158a500ca
2 libpthread.so.0 0x0000003a86c0f500
3 libLLVM-3.1.so 0x00007f01583c346c
4 libLLVM-3.1.so 0x00007f0158546349
llvm::FPPassManager::runOnFunction(llvm::Function&) + 521
5 libLLVM-3.1.so 0x00007f01585463e3
llvm::FPPassManager::runOnModule(llvm::Module&) + 51
6 libLLVM-3.1.so
2012 Nov 05
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...symbols I can't make much out of that stack
>>> trace I'm afraid.
>>>
>>> I've attached my modified version of Gcra.cpp. I built llvm
>>> 3.1 by dropping this file into lib/CodeGen, and adding
>>> references to createGcra to include/lib/CodeGen/Passes.h and
>>> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you
>>> search for createRegAllocPBQP you'll see where to add the
>>> declarations).
>>>
>>> With that setup, running your all...
2012 Nov 07
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...make much out of that stack
>>>> trace I'm afraid.
>>>>
>>>> I've attached my modified version of Gcra.cpp. I built llvm
>>>> 3.1 by dropping this file into lib/CodeGen, and adding
>>>> references to createGcra to include/lib/CodeGen/Passes.h and
>>>> include/lib/CodeGen/**LinkAllCodeGenComponents.h. (If you
>>>> search for createRegAllocPBQP you'll see where to add the
>>>> declarations).
>>>>
>>>> With that s...
2012 Nov 11
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
...>>> trace I'm afraid.
>>>>>>
>>>>>> I've attached my modified version of Gcra.cpp. I built llvm
>>>>>> 3.1 by dropping this file into lib/CodeGen, and adding
>>>>>> references to createGcra to include/lib/CodeGen/Passes.h and
>>>>>> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you
>>>>>> search for createRegAllocPBQP you'll see where to add the
>>>>>> declarations).
>>>>>>
>&g...
2012 Nov 11
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...I've attached my modified version of
>> Gcra.cpp. I built llvm
>> 3.1 by dropping this file into
>> lib/CodeGen, and adding
>> references to createGcra to
>> include/lib/CodeGen/Passes.h and
>> include/lib/CodeGen/LinkAllCodeGenComponents.h.
>> (If you
>> search for createRegAllocPBQP you'll
>>...
2012 Nov 13
5
[LLVMdev] problem trying to write an LLVM register-allocation pass
...trace I'm afraid.
>>>>>>>
>>>>>>> I've attached my modified version of Gcra.cpp. I built llvm
>>>>>>> 3.1 by dropping this file into lib/CodeGen, and adding
>>>>>>> references to createGcra to include/lib/CodeGen/Passes.h and
>>>>>>> include/lib/CodeGen/LinkAllCodeGenComponents.h. (If you
>>>>>>> search for createRegAllocPBQP you'll see where to add the
>>>>>>> declarations).
>>>>>...
2012 Nov 13
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ched my modified version
>>> of Gcra.cpp. I built llvm
>>> 3.1 by dropping this file into
>>> lib/CodeGen, and adding
>>> references to createGcra to
>>> include/lib/CodeGen/Passes.h and
>>>
>>> include/lib/CodeGen/LinkAllCodeGenComponents.h.
>>> (If you
>>> search for createRegAl...
2012 Nov 14
1
[LLVMdev] problem trying to write an LLVM register-allocation pass
...version
>>>> of Gcra.cpp. I built llvm
>>>> 3.1 by dropping this file into
>>>> lib/CodeGen, and adding
>>>> references to createGcra to
>>>> include/lib/CodeGen/Passes.h and
>>>>
>>>> include/lib/CodeGen/**
>>>> LinkAllCodeGenComponents.h.
>>>> (If you
>>>>...