Displaying 6 results from an estimated 6 matches for "calledfunc".
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=&...
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) {
&...
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() - 1...
2009 Nov 05
0
[LLVMdev] Debug Information for LLVM 2.6 and TOT
...==================
--- Utils/InlineFunction.cpp (revision 86036)
+++ Utils/InlineFunction.cpp (working copy)
@@ -386,7 +386,7 @@
// (which can happen, e.g., because an argument was constant), but we'll be
// happy with whatever the cloner can do.
CloneAndPruneFunctionInto(Caller, CalledFunc, ValueMap, Returns, ".i",
- &InlinedFunctionInfo, TD);
+ &InlinedFunctionInfo, TD, TheCall);
// Remember the first block that is newly cloned over.
FirstNewBlock = LastBlock; ++FirstNewBlock;
2009 Nov 05
2
[LLVMdev] Debug Information for LLVM 2.6 and TOT
Devang Patel wrote:
> Hi John,
>
> On Wed, Nov 4, 2009 at 12:04 PM, John Criswell <criswell at uiuc.edu> wrote:
>
>> Dear All,
>>
>> 1) I recall reading somewhere that a few optimizations in LLVM 2.6 strip
>> away debug information when such information interferes with
>> optimization. Is this correct,
>>
>
> Yes.
>
>