Displaying 6 results from an estimated 6 matches for "calledfunctions".
Did you mean:
calledfunction
2004 Nov 18
3
[LLVMdev] A few beginner level questions..
1. If we run a few passes in a sequence ..is the bytecode file
transformed after each pass in sequence i.e
if we have
a) opt -pass1 -pass2 -pass3 < in.bc > out.bc
b)opt -pass1 -pass2 < in.bc > tmp.bc
opt -pass3 < tmp.bc > out.bc
are the above two equivalent ?
what I basically want is to run my pass on an optimised bytecode , so
should i optimize it and get a new bytecode
2004 Nov 18
0
[LLVMdev] A few beginner level questions..
On Wed, 2004-11-17 at 23:19, Abhijit Ray wrote:
> 1. If we run a few passes in a sequence ..is the bytecode file
> transformed after each pass in sequence i.e
>
> if we have
> a) opt -pass1 -pass2 -pass3 < in.bc > out.bc
> b)opt -pass1 -pass2 < in.bc > tmp.bc
> opt -pass3 < tmp.bc > out.bc
>
> are the above two equivalent ?
Yes, they're
2015 Nov 13
5
How to efficiently extract the calledFunction from a complex CallInst?
Hi all,
Usually if we want to get the called Function we can directly use
CallInst->getCalledFunction(), however, today i encounter an unusual
CallInst as follows:
%call11 = call double (...)* bitcast (double ()* @quantum_frand to double
(...)*)()
the original C source involve type cast:
float u,v;
extern double quantum_frand();
u = 2 * quantum_frand() - 1;
v = 2 * quantum_frand() -
2016 Jan 19
2
Why getFunction() of CallGraphNode return NULL function?
Hi all,
I want to find all the called functions in each function, thus I iterate
the calledFunctions of each CallGraphNode in CallGraph as follow:
for (CallGraph::iterator it = CG->begin(); it != CG->end(); ++it) {
CallGraphNode* node = it->second;
for (CallGraphNode::iterator it2 = node->begin(); it2 != node->end();
++it2) {
Function* calledFunc = it2->second=>ge...
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
...*Sent:* Tuesday, January 19, 2016 5:35 PM
> *To:* llvm-dev at lists.llvm.org
> *Subject:* [llvm-dev] Why getFunction() of CallGraphNode return NULL
> function?
>
>
>
> Hi all,
>
>
>
> I want to find all the called functions in each function, thus I iterate
> the calledFunctions of each CallGraphNode in CallGraph as follow:
>
>
>
> for (CallGraph::iterator it = CG->begin(); it != CG->end(); ++it) {
>
> CallGraphNode* node = it->second;
>
> for (CallGraphNode::iterator it2 = node->begin(); it2 != node->end();
> ++it2) {
>
&...
2016 Jan 20
2
Why getFunction() of CallGraphNode return NULL function?
...*Sent:* Tuesday, January 19, 2016 5:35 PM
> *To:* llvm-dev at lists.llvm.org
> *Subject:* [llvm-dev] Why getFunction() of CallGraphNode return NULL
> function?
>
>
>
> Hi all,
>
>
>
> I want to find all the called functions in each function, thus I iterate
> the calledFunctions of each CallGraphNode in CallGraph as follow:
>
>
>
> for (CallGraph::iterator it = CG->begin(); it != CG->end(); ++it) {
>
> CallGraphNode* node = it->second;
>
> for (CallGraphNode::iterator it2 = node->begin(); it2 != node->end();
> ++it2) {
>
&...