Displaying 4 results from an estimated 4 matches for "12_15_0xbe4ab94_0xbe4abd4_0xbe4ac54".
2013 Jul 25
2
[LLVMdev] Passing String to an external function in llvm
...quot;
The address of the "%x, %y, %a" are "0xbe4ab94, 0xbe4abd4, 0xbe4ac54"
respectively.
and the opcode of "*, /" are "12, 15" respectively.
Point (6.a to 6.e) are the result of use-def chain, with the help of which
I managed to make a string as -
"12_15_0xbe4ab94_0xbe4abd4_0xbe4ac54" (by converting getOpcode() and
getOperand() to string and than concatenating it)
Now I want to pass this whole string to some other external function, How
can I do this?
If you want I can show you the full code.
--
View this message in context: http://llvm.1065342.n5.nabble.com/Passing-...
2013 Jul 25
0
[LLVMdev] Passing String to an external function in llvm
On Thu, Jul 25, 2013 at 10:12 AM, Abhinash Jain <omnia at mailinator.com> wrote:
> I did some computation through llvm pass, and store those computed values on
> string. eg. :-
>
> stringstream lhs;
> lhs << instr->getOperand(1); // 'instr' is some instruction
> string lhsvar=lhs.str();
>
> Now I want to pass this 'lhsvar' to the external
2013 Jul 25
2
[LLVMdev] Passing String to an external function in llvm
I did some computation through llvm pass, and store those computed values on
string. eg. :-
stringstream lhs;
lhs << instr->getOperand(1); // 'instr' is some instruction
string lhsvar=lhs.str();
Now I want to pass this 'lhsvar' to the external function, so how can i do
this???
This is just the part of a code to make you understand. if you say I can
even provide the
2013 Jul 25
0
[LLVMdev] Passing String to an external function in llvm
...%x, %y, %a" are "0xbe4ab94, 0xbe4abd4, 0xbe4ac54"
> respectively.
> and the opcode of "*, /" are "12, 15" respectively.
>
> Point (6.a to 6.e) are the result of use-def chain, with the help of which
> I managed to make a string as -
>
> "12_15_0xbe4ab94_0xbe4abd4_0xbe4ac54" (by converting getOpcode() and
> getOperand() to string and than concatenating it)
>
> Now I want to pass this whole string to some other external function, How
> can I do this?
It's still rather unclear what you're attempting to achieve - are you
trying to pass this stri...