Displaying 1 result from an estimated 1 matches for "get_integer_value".
2015 Feb 16
2
[LLVMdev] LLVM Backend
I am working on LLVM backend and was wondering if there is any way by which
I can access the value stored SDValue so I can either assign it as a
literal or move it to register in an user defined instruction.
Something like:
SDValue Value = Op->getOperand(2);
intValue = Value.get_integer_value //get Value as an int
and then
if ( intValue > 31)
Thanks,
Ambuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150216/9a72caa2/attachment.html>