search for: cloutier

Displaying 20 results from an estimated 37 matches for "cloutier".

2010 May 06
2
problem with trustrpid
...ally its not behaving the way I expected it to or maybe I am missing a configuration option or something else. When a call from a phone is sent to the * box it has the following sip headers: From: "From Phone" <sip:1001 at 10.0.0.29>;tag=4bf4bb4e11e92476. Remote-Party-ID: "Cloutier" <sip:5147714203 at 10.0.0.29>;privacy=off;screen=no;party=calling;id-type=subscriber;screen=yes. And when the second leg of the call from the * box to our voip provider is setup the call has the following sip headers: From: "From Phone" <sip:5147714203 at 10.0.0.24&gt...
2015 May 20
3
[LLVMdev] Processing functions in call graph SCC "order" with function-level analyses
...at the passes that use these have INITIALIZE_PASS_DEPENDENCY macros and it makes me a little nervous, but the resulting function for my pass is seemingly never called. Félix > Le 2015-05-19 à 12:47:32, John Criswell <jtcriswel at gmail.com> a écrit : > > On 5/19/15 10:04 AM, Félix Cloutier wrote: >> Thanks John. >> >> Does this solve the problem of analysis availability though? If I still have to run the function analyses manually, I might as well keep rolling with the CallGraphSCCPass. (I probably should have mentioned that this is what I’m using right now.) >...
2015 May 19
3
[LLVMdev] Processing functions in call graph SCC "order" with function-level analyses
...o run the function analyses manually, I might as well keep rolling with the CallGraphSCCPass. (I probably should have mentioned that this is what I’m using right now.) Félix > Le 2015-05-19 à 10:12:32, John Criswell <jtcriswel at gmail.com> a écrit : > > On 5/18/15 10:45 PM, Félix Cloutier wrote: >> Hi all, >> >> I have one analysis pass that I want to perform on call graph SCCs. However, for each function in the SCC, I need function-level analyses, like the dominator tree and the memory dependency analysis. >> >> I’ve been told before <http://stack...
2010 Jun 24
4
[LLVMdev] Hello World
...missed something I'll ask you guys: is there a "standard", LLVM-backed way to make a Function object from a function or method with C++ linkage? (I know I could also make an extern "C" function to wrap the call, but that's not quite as fun). Thanks for your help! Félix Cloutier
2016 Aug 24
2
LLVM 3.9 RC2's SCCP pass removing calls to external functions?!
Hi Félix, Sanjoy Das wrote: > Félix Cloutier via llvm-dev wrote: > > Assuming that this is a bug, what are the next steps? > > Looks like you already have a very small test case -- have you tried > sticking it in a debugger to see why SCCP thinks removing the call is > okay? > > Alternatively, file a bug at llv...
2011 Feb 22
4
[LLVMdev] Can I use Clang to parse snippets of C++ code?
Hello guys, I'd like to use Clang to parse snippets of (and emit bytecode for) C++ code that come from larger files that don't contain only C++, but looking at the clang interpreter example, either I didn't get it, or it looks like the driver expects only files, and not strings or char buffers. Is there a simple way to achieve this? Do I have to split my input into small files and
2015 May 21
2
[LLVMdev] MemoryDependenceAnalysis reports dependencies between NoAlias pointers
...s Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150521/31abf2d3/attachment.obj> -------------- next part -------------- > Le 2015-05-21 à 14:53:44, Daniel Berlin <dberlin at dberlin.org> a écrit : > > On Thu, May 21, 2015 at 11:37 AM, Félix Cloutier <felixcca at yahoo.ca> wrote: >> Hi all, >> >> I have a custom alias analysis pass that enforces that pointers from different address spaces do not alias, and I'm using MemoryDependenceAnalysis to, well, figure out dependence analysis. >> >> The AA pass is...
2010 Jun 26
2
[LLVMdev] IRBuilder<>::CreateCall, CreateCall2, CreateCall3, ...
Hey guys, Whys are there like 5 variants of CreateCall in IRBuilder<> with numbers appended to them? The only difference I can see is the number of arguments. Aren't C++ function overloads be suited for this? Félix
2010 Jun 26
0
[LLVMdev] IRBuilder<>::CreateCall, CreateCall2, CreateCall3, ...
On Jun 25, 2010, at 6:24 PM, Félix Cloutier wrote: > Hey guys, > > Whys are there like 5 variants of CreateCall in IRBuilder<> with numbers appended to them? The only difference I can see is the number of arguments. Aren't C++ function overloads be suited for this? An overload could work, but this sort of API makes it m...
2011 Mar 01
0
[LLVMdev] Using clang+llvm from Xcode 3 project yields 1.5k linkage warnings
On Feb 28, 2011, at 8:07 PM, Félix Cloutier wrote: > I'm using Xcode 3 to program with LLVM and Clang (both about yesterday's latest revisions), and when I compile, I get 1501 link-time warnings. All those I read were about symbol visibility. Here's an example: > > ld: warning: namespace::class::method() has different...
2016 Aug 24
2
LLVM 3.9 RC2's SCCP pass removing calls to external functions?!
Hi, I've been porting a project to LLVM 3.9 and found that the SCCP pass may remove calls to external functions if their return type is declared to be an empty struct. For instance: > %empty = type {} > > declare %empty @foo() > > define i32 @main() { > %1 = call %empty @foo() > ret i32 0 > } opt -sccp -S file.ll returns: > %empty = type {} > >
2011 Feb 22
0
[LLVMdev] Can I use Clang to parse snippets of C++ code?
...nclude, you can do something similar to PCH to parse the fragment in context of all of the headers. I don't know much about feeding clang buffers instead of files, but I believe it can be done with some of the "virtual" file suport that has been added recently. Reid 2011/2/21 Félix Cloutier <felixcca at yahoo.ca>: > Hello guys, > > I'd like to use Clang to parse snippets of (and emit bytecode for) C++ code that come from larger files that don't contain only C++, but looking at the clang interpreter example, either I didn't get it, or it looks like the driver...
2010 Jul 07
0
[LLVMdev] Debug just-in-time compiled code on Mac OS
...ture was released. Most Linux distributions have picked this up, so it should Just Work on Linux. Apple's GDB is stale (6.3 + lots of patches). They've stopped updating the version of GDB they ship with XCode, and now they're spending their time working on LLDB. Reid 2010/7/4 Félix Cloutier <felixcca at yahoo.ca>: > Hey guys, > > I'd need to debug just-in-time compiled code under Mac OS. As predicted, GDB doesn't cope really well with it. The LLVM manual seems to say it's possible to patch GDB under Linux, but there seems to be no option for Mac OS. > &gt...
2010 Jul 08
0
[LLVMdev] Why shouldn't function entry blocks have predecessors?
...%tmp = sub nsw i32 %loop.n, 1 %cmp = icmp eq i32 %tmp, 0 br i1 %cmp, label %exit, label %loop exit: ret i32 0 } declare void @bar() nounwind Try to merge the blocks "entry" and "loop" and all becomes clear when you hit the phi node. Alistair On 8 Jul 2010, at 07:16, Félix Cloutier wrote: > The title says it all. verifyFunction checks it (Verifier.cpp, line 728). > > Why can't BasicBlocks that serve as a function's entry point also have predecessors? What keeps a function from looping back to its beginning? > > Félix > ____________________________...
2011 Mar 01
2
[LLVMdev] Using clang+llvm from Xcode 3 project yields 1.5k linkage warnings
I'm using Xcode 3 to program with LLVM and Clang (both about yesterday's latest revisions), and when I compile, I get 1501 link-time warnings. All those I read were about symbol visibility. Here's an example: ld: warning: namespace::class::method() has different visibility (default) in /usr/local/lib/libclangCodeGen.a(CodeGenAction.o) and (hidden) in
2010 Jul 08
1
[LLVMdev] Why shouldn't function entry blocks have predecessors?
...t; br i1 %cmp, label %exit, label %loop > exit: > ret i32 0 > } > > declare void @bar() nounwind > > Try to merge the blocks "entry" and "loop" and all becomes clear when you hit the phi node. > > Alistair > > On 8 Jul 2010, at 07:16, Félix Cloutier wrote: > >> The title says it all. verifyFunction checks it (Verifier.cpp, line 728). >> >> Why can't BasicBlocks that serve as a function's entry point also have predecessors? What keeps a function from looping back to its beginning? >> >> Félix >>...
2010 Jul 08
2
[LLVMdev] Why shouldn't function entry blocks have predecessors?
The title says it all. verifyFunction checks it (Verifier.cpp, line 728). Why can't BasicBlocks that serve as a function's entry point also have predecessors? What keeps a function from looping back to its beginning? Félix -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jul 05
2
[LLVMdev] Debug just-in-time compiled code on Mac OS
Hey guys, I'd need to debug just-in-time compiled code under Mac OS. As predicted, GDB doesn't cope really well with it. The LLVM manual seems to say it's possible to patch GDB under Linux, but there seems to be no option for Mac OS. What can I do? I'd prefer a solution that integrates with Xcode, but I'll manage if it doesn't and I have to run the debugger externally.
2015 May 19
2
[LLVMdev] Processing functions in call graph SCC "order" with function-level analyses
Hi all, I have one analysis pass that I want to perform on call graph SCCs. However, for each function in the SCC, I need function-level analyses, like the dominator tree and the memory dependency analysis. I’ve been told before <http://stackoverflow.com/questions/30059622/using-dominatortreewrapperpass-in-callgraphsccpass> that these were not available from a CallGraphSCCPass. What would
2015 Jul 16
2
[LLVMdev] Regions according to LLVM
Hi all, I'm working with regions, and I was surprised by the region set of this function: > define void @foo() { > br i1 false, label %loop, label %end > > loop: > br i1 false, label %loop, label %end > > end: > ret void > } .dot file as generated by opt —view-regions attached. Essentially, there are 3 regions: one that has the whole function, one that has