Displaying 3 results from an estimated 3 matches for "haveall".
Did you mean:
hareall
2006 Apr 26
0
[LLVMdev] finding implicit casts
...?
I'm not sure I follow here. It sounds like you are detecting things like:
short A = ...
int B = ...
int C = (int)A + B;
However, there isn't a way to tell if the "(int)" was implicit or
explicit.
> I've asked at least a few questions on this mailing-list and you haveall
> been VERY helpful. Thank you all so much.
:)
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2006 Apr 26
1
[LLVMdev] finding implicit casts
...unds like you are detecting things like:
>
> short A = ...
> int B = ...
> int C = (int)A + B;
>
> However, there isn't a way to tell if the "(int)" was implicit or
> explicit.
>
> > I've asked at least a few questions on this mailing-list and you haveall
> > been VERY helpful. Thank you all so much.
>
> :)
>
> -Chris
>
> --
> http://nondot.org/sabre/
> http://llvm.org/
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu...
2006 Apr 26
2
[LLVMdev] finding implicit casts
I'm trying to find all the implicit casts in a program compiled with
llvm-gcc. What I've been doing is for each function taking all the
instruction and going through each of their operands (and the opreands of
their operands etc...) and checking to see if any are an instance of
UnaryConstantExpr. When I encounter such an instance, I determine whether
the type of that value and its 0th