Displaying 8 results from an estimated 8 matches for "fromty".
2003 Nov 15
2
[LLVMdev] C++ Casting
...nly in Support/Casting.h and llvm/Use.h. They
may occur elsewhere but these are the only ones I've found so far.
A case in point:
/proj/work/llvm/include/Support/Casting.h: In static member function `static
typename llvm::cast_retty<To, From>::ret_type llvm::cast_convert_val<To,
FromTy, FromTy>::doit(const FromTy&)':
/proj/work/llvm/include/Support/Casting.h:181: warning: use of old-style cast
The offending code looks like:
template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
// This _is_ a simple type, just cast it.
static typ...
2016 Jan 30
0
Question: C-style casting in Casting.h
I was poking through the black magic in Casting.h, and I see this
interesting struct/function:
template<class To, class FromTy> struct cast_convert_val<To,FromTy,FromTy> {
// This _is_ a simple type, just cast it.
static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
typename cast_retty<To, FromTy>::ret_type Res2
= (typename cast_retty<To, FromTy>::ret_type)c...
2006 Feb 14
1
[LLVMdev] dynamic_cast error
...===========
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]'
llvm/include/llvm/Support/Casting.h:81: instantiated from 'static
bool llvm::isa_impl_cl<FromCl>::isa(const FromCl&) [with ToCl =
llvm::CallInst, FromCl = llvm::Instruction]'...
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
...ived 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<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
#1 0x083b69f7 in isa<llvm::Instruction> (Val...
2004 Jun 23
2
[LLVMdev] weird issue with mem2reg
...entation 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<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
> #1 0x083b69f7 in isa...
2011 Apr 21
2
[LLVMdev] Compilation error with LLVM 2.9
...INode'
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, const
llvm::User>::doit'
requested here
typename simplify_t...
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
...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<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
&...
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