Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] TarjanSCCInterator"
2002 Nov 16
2
[LLVMdev] question
When I tried to compile the program, I got this error:
../../../include/llvm/Analysis/DSGraph.h: In member function `virtual bool
<unnamed>::GlobalMemLeakage::run(Module&)':
../../../include/llvm/Analysis/DSGraph.h:38: `void
DSGraph::operator=(const
DSGraph&)' is private
MemLeakage.cpp:87: within this context
gmake: *** [Debug/MemLeakage.o] Error 1
I don't
2002 Nov 16
5
[LLVMdev] question
Thanks Bill. One more question, when I use the DSNode iterator to
traverse a node's children. The return value of I.getNode() can only
be 'const DSNode *', I cannot use 'DSNode *' type. So as a result, I
always get error message like this:
MemLeakage.cpp:159: invalid conversion from `const DSNode*' to `DSNode*'
MemLeakage.cpp:159: initializing argument 1 of `void
2002 Dec 06
1
[LLVMdev] WRT: function pointers + DSG
LLVM,
What do I pass into the DSG in order to access the globals vector of
functions that a function pointer may be calling. The code:
CallInst *calli = dynamic_cast<CallInst*>(*i);
std::vector<GlobalValue*> funcVect =
theGraph.getNodeForValue(calli->getCalledFunction()).getNode()->getGlobals();
Doesn't appear to work... getCalledFunction() returns 0
Dave
On Fri, 6 Dec
2002 Nov 08
1
[LLVMdev] Iterating on the DSGraph... (fwd)
I use the following code to do the depth first search on the DSGraph. And
I always got this error message. Couldn't figure out what's wrong. Could
you please let me know? Besides, I really have no idea about what those
functions do. Is there any documentation about DSGraph functions besides
the pool allocation paper?
Thanks,
xiaodong
Code:
for( df_iterator<DSNode*> I =
2002 Nov 14
1
[LLVMdev] problem checking out llvm
When I check out llvm this morning. I got this error, so I couldn't check
out. Looks like the disk is full.. Please let me know how to fix this
problem.
Thanks,
xiaodong
xli3|csil-suna33|/usr/dcs/projects/cs426/xli3/llvm|[10]% cvs update
cvs update: Updating .
? gnumake.out
cvs update: Updating Support
cvs update: Updating include
cvs update: Updating include/Support
cvs update: cannot close
2002 Dec 06
1
[LLVMdev] Tarjan+function_ptrs == trouble ?
Thanks,
I've been through the documentation, and if I visit main, i think
everything will turn out correctly... Printing out the Call graph reveals
that main is calling this external node i think you are making reference
to. Could this be the problem?
Dave
On Fri, 6 Dec 2002, Chris Lattner wrote:
> > if you take the time to print out the function each non-looping node iter
>
2002 Nov 16
0
[LLVMdev] question
Also sprach Xiaodong Li:
}
} When I tried to compile the program, I got this error:
}
} ../../../include/llvm/Analysis/DSGraph.h: In member function `virtual bool
} <unnamed>::GlobalMemLeakage::run(Module&)':
} ../../../include/llvm/Analysis/DSGraph.h:38: `void
} DSGraph::operator=(const
} DSGraph&)' is private
} MemLeakage.cpp:87: within this context
} gmake: ***
2002 Nov 16
0
[LLVMdev] question
Also sprach Xiaodong Li:
} Thanks Bill. One more question, when I use the DSNode iterator to
} traverse a node's children. The return value of I.getNode() can only
} be 'const DSNode *', I cannot use 'DSNode *' type. So as a result, I
} always get error message like this:
}
} MemLeakage.cpp:159: invalid conversion from `const DSNode*' to `DSNode*'
} MemLeakage.cpp:159:
2002 Dec 06
3
[LLVMdev] Tarjan+function_ptrs == trouble ? (fwd)
Test Cases:
(attached)
Iteration code:
(...)
typedef TarjanSCC_iterator<CallGraph*> MyTarjan;
CallGraph& callGraph = getAnalysis<CallGraph>();
MyTarjan iter = tarj_begin(&callGraph);
MyTarjan end = tarj_end(&callGraph);
while(iter!=end)
iter++;
(...)
if you take the time to print out the function each non-looping node iter
traverses, it never reaches main...
2002 Nov 12
0
[LLVMdev] (no subject)
P.S. If anyone can take a little time to write a GraphTraits class for
the call graph, using the call sites returned by the TDGraph, that would
be great.
Then you could directly use the PostOrderIterator,
ReversePostOrderIterator, and TarjanSCCIterator on this call graph,
without having to do any extra work. You can also do other things like
print out the call graph to dot files and view them.
2002 Dec 06
0
[LLVMdev] Tarjan+function_ptrs == trouble ?
> if you take the time to print out the function each non-looping node iter
> traverses, it never reaches main...
Ok, first note that the CallGraph class does really stupid (but correct)
things for function pointers, so you're not going to see anything
remarkably nice here... Make sure to read the CallGraph.h comments to
understand exactly what is going on.
Despite that, I can verify
2007 Nov 20
0
FXO incomming call hangup problem
Dear all
I have asterisk with TDM808B FXO port with i call in asterisk and i promt IVR then user dial extention for user then my SIP phone rining but i disconnect or hangup my mobile phone but still SIP phone rining and stop rining after timeout
is there any PSTN problme or FXO signalling problme i have configuraed singalling=fxs_ks
----PGP Signature--
Satish
2009 Feb 22
1
a coding problem from Ross Simulation book
Hi, there
could you help me coding this problme?
I am just starting to leard the R. So I really need help
Question is from Ross, Simulation, 4th Edition. ch3
14.
with x1=23, x2=66
Xn=3*Xn-1+5*Xn-2 mod(100) n>=3
we will call the sequence Un=Xn/100 n>=1
find the first 14 values
thank you
sophia
2007 Nov 23
2
TDM808B 8 port FXO setting problem
Dear all
I have TDM808B 8 port FXO it is configure perfectly but i got some problem of incomming phone Hangup and callerid display problem
i am going to explain you the issue i have install asterisk 1.4 and i have 100 of SIP phone now everything is fine but problem is when i incoming call on FXO and dial sip extention SIP phone is rining but when i disconnect my incoming
2002 Oct 29
2
[LLVMdev] problems with llvmgcc
Dear llvm,
I just tried to compile a simple file hello.c. But each time I used
llvmgcc hello.c, it gave me the following error:
xli3|csil-suna33|~/cs426|[13]% llvmgcc hello.c
as: error opening '/var/tmp//ccapglpE.o': file exists!
Use -f command line argument to force output
I really got confused. Could you please let me know what's wrong?
thanks,
Jerry
2002 Oct 30
2
[LLVMdev] running out of space in /usr/dcs/projects
% df -k /usr/dcs/projects
Filesystem kbytes used avail capacity Mounted on
csil-server1:/usr/dcs/csil-projects
17332442 16991416 167702 100% /usr/dcs/projects
% date
Wed Oct 30 21:21:25 CST 2002
if anybody has good ideas on how to reduce disk usage, better speak up
now....
2002 Oct 31
1
[LLVMdev] problems with llvmgcc
Dear Prof. Adve,
Now I can use llvmgcc to compile a .c file into .bc file. But I still have
trouble simply run the .bc code. Below is the sequence I got when I tried.
I really don't know what's going on here. Please let me know how can I fix
it.
Thanks,
xiaodong
xli3|csil-suna48|~/cs426|[13]% llvmgcc scalarize.c -o scalarize
xli3|csil-suna48|~/cs426|[14]% scalarize
Cannot load value of
2002 Oct 30
2
[LLVMdev] problems with llvmgcc
Thanks, Chris,
Below is the output of 'llvmgcc he.c -v'
xli3|csil-suna27|~/cs426|[35]% llvmgcc he.c -v
Reading specs from
/usr/dcs/projects/cs426/Software/gcc_install/bin/../lib/gcc-lib/llvm/3.1/specs
Configured with: /home/vadve/lattner/cvs/gcc/configure
--srcdir=/home/vadve/lattner/cvs/gcc
--prefix=/home/vadve/lattner/cvs/gcc_install_sparc --target=llvm
--enable-languages=c
2008 Oct 14
0
swat cann't start
Hi everyone!
i used slackware version 12.1 and kernel version 2.6.24.5.
When i upgrade samba to version 3.2.4.
i want to use swat to configure my samba server,
and i got the message "swat cann't load share file libtalloc.so.1:no =
such file or directory"=20
How can i soultion thih problme=A1H thanks From leva at ecentrum.hu Tue Oct 14 08:11:34 2008
From: leva at ecentrum.hu
2003 Jan 16
0
Samba Print error
Hello
I'm new to samba and this list, hopefully someone can help me with this strange problem.
Samba 2.2.3a-12
debian 2.2.20-idepci
I have the following smb.conf:
---cut---
tux:/shr/pdfdropbox# more /etc/samba/smb.conf
[global]
workgroup = xxxxxx
netbios name = tux
server string = tux
kernel oplocks = No
encrypt passwords = Yes