search for: randlc

Displaying 2 results from an estimated 2 matches for "randlc".

2011 Mar 29
2
[LLVMdev] Anomaly with CallGraph construction
...CalledFunction(CS, getOrInsertFunction(Callee)); else Node->addCalledFunction(CS, CallsExternalNode); } } ------ While analyzing the IS NAS Parallel Benchmark I find the following BasicBlock: ; <label>:24 ; preds = %20 %25 = call double (...)* bitcast (double (double*, double*)* @randlc to double (...)*)(double* %t1, double* %t1) store double %25, double* %t2, align 8 br label %26 As can be seen, the first Instruction after the label contains a call to randlc(). However, this gets counted by CallGraph as an external node, since @randlc has been bitcasted and CS.getCalledFunct...
2011 Mar 29
0
[LLVMdev] Anomaly with CallGraph construction
Hi Gabriel, ... > Summarizing, I have two questions: 1) is the CallGraph analysis "working as > intended" here?; and 2) what would be the correct approach > to modifying the proposed analysis in order to detect that randlc() is being > called in that CallInst ? the reason that the callgraph analysis does not try to understand indirect calls like this is that other passes are supposed to sort such things out if they can be sorted out. If they failed then there is no point in having the callgraph analysis try too....