Displaying 20 results from an estimated 30 matches for "isa_impl".
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
...it with mem2reg I get a seg fault in dyn_cast! Here's output:
Starting program:
/mounts/zion/disks/0/localhome/pmeredit/llvm/tools/Debug/opt -load
../Debug/libmetasplit.so -mem2reg -metasplit < test3.s.bc > out.bc
Program received signal SIGSEGV, Segmentation fault.
0x083b6a22 in llvm::isa_impl_wrap<llvm::Instruction, llvm::Value const,
llvm::Value const>::doit(llvm::Value const&) (Val=@0x894e850)
at
/mounts/zion/disks/0/localhome/pmeredit/llvm/include/Support/Casting.h:69
69 return isa_impl<To,FromTy>(Val);
(gdb) bt
#0 0x083b6a22 in llvm::isa_impl_wrap<ll...
2007 Dec 07
2
[LLVMdev] isa<UnaryInstruction> borked in 2.1
...;. Strangely
enough not only the instructions which inherited UnaryInstructions but also:
GetElemPtrInst, SwitchInst , xor, shl
where true on isa<UnaryInstruction>. While the first two seem to be at least
semantically ok the latter seem somehow wrong?
I didn't find the place where the isa_impl templates where resolved to the
real thing, so i didn't dare to file a bug report... but i would happy if
somebody could tell me... and yes i have looked at Casting.h.
Thanks
ST
2004 Jun 23
2
[LLVMdev] weird issue with mem2reg
...s I recommend trying out bugpoint for something like this. Try
running:
bugpoint -load ... -mem2reg -metasplit test3.s.bc
and it will probably tell you what I just did, and give you a better
testcase. :)
-Chris
> Program received signal SIGSEGV, Segmentation fault.
> 0x083b6a22 in llvm::isa_impl_wrap<llvm::Instruction, llvm::Value const,
> llvm::Value const>::doit(llvm::Value const&) (Val=@0x894e850)
> at
> /mounts/zion/disks/0/localhome/pmeredit/llvm/include/Support/Casting.h:69
> 69 return isa_impl<To,FromTy>(Val);
> (gdb) bt
> #0 0x083b6a2...
2011 Apr 21
2
[LLVMdev] Compilation error with LLVM 2.9
...vm/Value.h:20:
/usr/include/llvm/Support/Casting.h:55:12: error: incomplete type
'llvm::PHINode'
named in nested name specifier
return To::classof(&Val);
^~~~
/usr/include/llvm/Support/Casting.h:73:33: note: in instantiation of
member function
'llvm::isa_impl<llvm::PHINode, llvm::User>::doit' requested here
return isa_impl<To,FromTy>::doit(Val);
^
/usr/include/llvm/Support/Casting.h:85:71: note: in instantiation of
member function
'llvm::isa_impl_wrap<llvm::PHINode, const llvm::User, c...
2009 Jul 04
2
[LLVMdev] Pool Allocation Segfaulting with opt
.../home/vadve/simmon12/llvm/llvm/projects/llvm-poolalloc/Debug/lib/poolalloc.so
-poolalloc hello.bc > hello.pool
0 opt 0x08469ccb
1 libLLVMDataStructure.so 0x0022f5a4
llvm::ConstantArray::classof(llvm::Value const*) + 30
2 libLLVMDataStructure.so 0x0022f57a bool
llvm::isa_impl<llvm::ConstantArray, llvm::Constant>(llvm::Constant
const&) + 30
3 libLLVMDataStructure.so 0x0022e942
llvm::isa_impl_wrap<llvm::ConstantArray, llvm::Constant const,
llvm::Constant const>::doit(llvm::Constant const&) + 30
4 libLLVMDataStructure.so 0x0022e22a bool
llvm::is...
2006 Mar 14
2
[LLVMdev] Port to Solaris' Sun Studio 8
...rs:
"~/bin/../src/include/llvm/Support/Casting.h", line 51: Error: Could not
find a match for llvm::AllocationInst::classof(const
llvm::ilist_iterator<llvm::Instruction>*).
"~/bin/../src/include/llvm/Support/Casting.h", line 68: Where: While
instantiating "llvm::isa_impl<llvm::AllocationInst,
llvm::ilist_iterator<llvm::Instruction>>(const
llvm::ilist_iterator<llvm::Instruction>&)".
"~/bin/../src/include/llvm/Support/Casting.h", line 68: Where:
Instantiated from non-template code.
This seems to be linked with line 364 in...
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
...is. Try
> running:
>
> bugpoint -load ... -mem2reg -metasplit test3.s.bc
>
> and it will probably tell you what I just did, and give you a better
> testcase. :)
>
> -Chris
>
>
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x083b6a22 in llvm::isa_impl_wrap<llvm::Instruction, llvm::Value const,
> > llvm::Value const>::doit(llvm::Value const&) (Val=@0x894e850)
> > at
> >
/mounts/zion/disks/0/localhome/pmeredit/llvm/include/Support/Casting.h:69
> > 69 return isa_impl<To,FromTy>(Val);
> > (g...
2009 Sep 01
1
[LLVMdev] Problem building libprofile.
...debug-obj/../llvm-svn-debug-install/lib/libprofile_rt.so
0 llvm-ld 0x0000000000981568
1 llvm-ld 0x0000000000981ac7
2 libpthread.so.0 0x00002aaaaacd6a80
3 llvm-ld 0x00000000006c036c llvm::Value::getValueID() const + 12
4 llvm-ld 0x00000000006c038a bool
llvm::isa_impl<llvm::Constant, llvm::Value>(llvm::Value const&) + 21
5 llvm-ld 0x00000000006c40a0
llvm::isa_impl_wrap<llvm::Constant, llvm::Value const, llvm::Value
const>::doit(llvm::Value const&) + 21
6 llvm-ld 0x00000000006c40b7 bool
llvm::isa_impl_cl<llvm::Value>:...
2004 Jun 23
3
[LLVMdev] IRC: Discussion About Upgrades To Bugzilla
I thought this conversation was worth saving. DannyB who did wonderful
things with GCC's use of bugzilla has offered the same capability to
LLVM.
Thanks, Danny!
<DannyB> sabre: BTW, if you need any of the bugzilla fun i have implemented for gcc, let me know
[22:47] <sabre> Cool, what kinds of things do you have?
[22:47] <DannyB> Besides the triplet stuff, i changed some of
2011 Aug 24
2
[LLVMdev] VMKit Development
...t (build on Linux with llvm-ld
v3.0svn build):
make[2]: Entering directory `/root/code/vmkit/mmtk/mmtk-j3'
llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
0 llvm-ld 0x0884c66e
1 llvm-ld 0x0884c3fb
2 0xb7891400 __kernel_sigreturn + 0
3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
llvm::Value>::doit(llvm::Value const&) + 29
4 llvm-ld 0x083ccba4 llvm::isa_impl_cl<llvm::Constant,
llvm::Value*>::doit(llvm::Value const*) + 29
5 llvm-ld 0x083cb81c llvm::isa_impl_wrap<llvm::Constant, llvm::Value*,
llvm::Value*>::doit(llvm::Value* const&a...
2006 Feb 14
1
[LLVMdev] dynamic_cast error
...from LLVM Programmer's Manual is not compiling.
CallInst* callInst = dyn_cast<CallInst>(&*basic_block_iterator_1);
The gcc version is :
gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
============
Error message
============
llvm/include/llvm/Support/Casting.h: In function 'bool
llvm::isa_impl(const From&) [with To = llvm::CallInst, From =
llvm::Instruction]':
llvm/include/llvm/Support/Casting.h:69: instantiated from 'static
bool llvm::isa_impl_wrap<To, const FromTy, const FromTy>::doit(const
FromTy&) [with To = llvm::CallInst, FromTy = llvm::Instruction]'
l...
2006 Mar 14
0
[LLVMdev] Port to Solaris' Sun Studio 8
...rs:
"~/bin/../src/include/llvm/Support/Casting.h", line 51: Error: Could not
find a match for llvm::AllocationInst::classof(const
llvm::ilist_iterator<llvm::Instruction>*).
"~/bin/../src/include/llvm/Support/Casting.h", line 68: Where: While
instantiating "llvm::isa_impl<llvm::AllocationInst,
llvm::ilist_iterator<llvm::Instruction>>(const
llvm::ilist_iterator<llvm::Instruction>&)".
"~/bin/../src/include/llvm/Support/Casting.h", line 68: Where:
Instantiated from non-template code.
This seems to be linked with line 364 in...
2007 Dec 08
0
[LLVMdev] isa<UnaryInstruction> borked in 2.1
...naryInstructions
> but also:
> GetElemPtrInst, SwitchInst , xor, shl
> where true on isa<UnaryInstruction>. While the first two seem to be
> at least
> semantically ok the latter seem somehow wrong?
Yeah, that's really wrong.
> I didn't find the place where the isa_impl templates where resolved
> to the
> real thing, so i didn't dare to file a bug report... but i would
> happy if
> somebody could tell me... and yes i have looked at Casting.h.
This is implemented with the 'classof' method on the class. Since it
isn't implemented...
2010 May 20
1
[LLVMdev] crash in 2.7: SCCPSolver::ResolvedUndefsIn
....7/include/llvm/Value.h:247
#1 llvm::Instruction::getOpcode (this=0xfffffd7fecbef3c0, F=<value optimized out>) at ./llvm-2.7/include/llvm/Instruction.h:80
#2 llvm::BranchInst::classof (this=0xfffffd7fecbef3c0, F=<value optimized out>) at ./llvm-2.7/include/llvm/Instructions.h:2083
#3 isa_impl<llvm::BranchInst, llvm::TerminatorInst> (this=0xfffffd7fecbef3c0, F=<value optimized out>)
at ./llvm-2.7/include/llvm/Support/Casting.h:54
#4 llvm::isa_impl_wrap<llvm::BranchInst, llvm::TerminatorInst const, llvm::TerminatorInst const>::doit (this=0xfffffd7fecbef3c0,
F=&l...
2009 Jul 06
0
[LLVMdev] Pool Allocation Segfaulting with opt
...m/projects/llvm-poolalloc/Debug/lib/poolalloc.so
> -poolalloc hello.bc > hello.pool
> 0 opt 0x08469ccb
> 1 libLLVMDataStructure.so 0x0022f5a4
> llvm::ConstantArray::classof(llvm::Value const*) + 30
> 2 libLLVMDataStructure.so 0x0022f57a bool
> llvm::isa_impl<llvm::ConstantArray, llvm::Constant>(llvm::Constant
> const&) + 30
> 3 libLLVMDataStructure.so 0x0022e942
> llvm::isa_impl_wrap<llvm::ConstantArray, llvm::Constant const,
> llvm::Constant const>::doit(llvm::Constant const&) + 30
> 4 libLLVMDataStructure.so...
2011 Aug 24
0
[LLVMdev] VMKit Development
...ao, Duncan.
>
> make[2]: Entering directory `/root/code/vmkit/mmtk/mmtk-j3'
> llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
> 0 llvm-ld 0x0884c66e
> 1 llvm-ld 0x0884c3fb
> 2 0xb7891400 __kernel_sigreturn + 0
> 3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
> llvm::Value>::doit(llvm::Value const&) + 29
> 4 llvm-ld 0x083ccba4 llvm::isa_impl_cl<llvm::Constant,
> llvm::Value*>::doit(llvm::Value const*) + 29
> 5 llvm-ld 0x083cb81c llvm::isa_impl_wrap<llvm::Constant, llvm::Value*,
> llvm::Value*>::...
2011 Aug 25
2
[LLVMdev] VMKit Development
...ke[2]: Entering directory `/root/code/vmkit/mmtk/mmtk-j3'
> > llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
> > 0 llvm-ld 0x0884c66e
> > 1 llvm-ld 0x0884c3fb
> > 2 0xb7891400 __kernel_sigreturn + 0
> > 3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
> > llvm::Value>::doit(llvm::Value const&) + 29
> > 4 llvm-ld 0x083ccba4 llvm::isa_impl_cl<llvm::Constant,
> > llvm::Value*>::doit(llvm::Value const*) + 29
> > 5 llvm-ld 0x083cb81c llvm::isa_impl_wrap<llvm::Constant, llvm::Value*,
>...
2006 Mar 15
0
[LLVMdev] RE: Port to Solaris' Sun Studio 8
...nclude/llvm/Support/Casting.h", line 51: Error: Could not
> find a match for llvm::AllocationInst::classof(const
> llvm::ilist_iterator<llvm::Instruction>*).
>
> "~/bin/../src/include/llvm/Support/Casting.h", line 68: Where: While
> instantiating "llvm::isa_impl<llvm::AllocationInst,
> llvm::ilist_iterator<llvm::Instruction>>(const
> llvm::ilist_iterator<llvm::Instruction>&)".
>
> "~/bin/../src/include/llvm/Support/Casting.h", line 68: Where:
> Instantiated from non-template code.
>
>
>...
2011 Aug 25
2
[LLVMdev] VMKit Development
...kit/mmtk/mmtk-j3'
>>> > llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
>>> > 0 llvm-ld 0x0884c66e
>>> > 1 llvm-ld 0x0884c3fb
>>> > 2 0xb7891400 __kernel_sigreturn + 0
>>> > 3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
>>> > llvm::Value>::doit(llvm::Value const&) + 29
>>> > 4 llvm-ld 0x083ccba4 llvm::isa_impl_cl<llvm::Constant,
>>> > llvm::Value*>::doit(llvm::Value const*) + 29
>>> > 5 llvm-ld 0x083cb81c llvm::isa_impl_wrap<l...
2011 Aug 25
0
[LLVMdev] VMKit Development
...ctory `/root/code/vmkit/mmtk/mmtk-j3'
>> > llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
>> > 0 llvm-ld 0x0884c66e
>> > 1 llvm-ld 0x0884c3fb
>> > 2 0xb7891400 __kernel_sigreturn + 0
>> > 3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
>> > llvm::Value>::doit(llvm::Value const&) + 29
>> > 4 llvm-ld 0x083ccba4 llvm::isa_impl_cl<llvm::Constant,
>> > llvm::Value*>::doit(llvm::Value const*) + 29
>> > 5 llvm-ld 0x083cb81c llvm::isa_impl_wrap<llvm::Constant,
&...