Displaying 2 results from an estimated 2 matches for "aba93ec4079f8d709a1d5b47453107".
2012 Dec 19
0
[LLVMdev] GetElementPtrConstantExpr
...le:
> > @yyy = linkonce_odr constant %xxx { [4 x i8] c"hello\00" }, but it's wrong.
> >
> > How do I do?
>
> You can use the ConstantExpr::getBitCast static member function:
>
> http://llvm.org/doxygen/classllvm_1_1ConstantExpr.html#aba93ec4079f8d709a1d5b4745310782e
>
> This is a common idiom on LLVM: a base class has static methods for
> creating instances of derived classes.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu&...
2012 Dec 19
2
[LLVMdev] GetElementPtrConstantExpr
...lowing variable:
> > @yyy = linkonce_odr constant %xxx { [4 x i8] c"hello\00" }, but it's
> wrong.
> >
> > How do I do?
>
> You can use the ConstantExpr::getBitCast static member function:
>
>
> http://llvm.org/doxygen/classllvm_1_1ConstantExpr.html#aba93ec4079f8d709a1d5b4745310782e
>
> This is a common idiom on LLVM: a base class has static methods for
> creating instances of derived classes.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.u...