similar to: Registering a MachineFunctionPass

Displaying 20 results from an estimated 300 matches similar to: "Registering a MachineFunctionPass"

2015 Sep 28
2
Registering a MachineFunctionPass
I had INITIALIZE_PASS_BEGIN and INITIALIZE_PASS_END macros. I replaced them with INITIALIZE_PASS but I get the same error. If I understand correctly, I need to modify Passes.h, InitializePasses.h, and Codegen.cpp files to register my pass, right? Another question is: Is it necessary to have the createNoopInserterPass function? Erdem -------------- next part -------------- An HTML
2015 Oct 04
2
How to add NOP?
Hi Erdem, Since it is a target specific pass, you should put your pass inside the target's folder (e.g. lib/Target/X86/) and declare your pass in Target.h. Then you need to modify the target's TargetPassConfig ( http://llvm.org/docs/doxygen/html/classllvm_1_1TargetPassConfig.html) to enable your pass. You can check out the existing MachineFunction passes (e.g. X86ExpandPseudo.cpp) to get
2015 Oct 14
2
Changing address space
Dear all, I would like to store thread local variables in a different address space than global variables in an OpenMP program. Is it possible to do it using LLVM (perhaps with an optimization pass)? Erdem Derebasoglu -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Feb 16
2
LLVM IR to C++
Hi, I want to convert LLVM bitcode files to cpp. I use these commands: 1. clang -c -emit-llvm -fopenmp=libiomp5 oh2.c -o oh2.bc2. llc -march=cpp oh2.bc -o oh2.cpp3. g++ -fno-rtti -O0 -g `$HOME/llvmbuild/bin/llvm-config --cxxflags` oh2.cpp `$HOME/llvmbuild/bin/llvm-config --ldflags --libs --system-libs` -o oh2c After the 3rd command, I get a lot of compilation errors. Is it possible that llc
2015 Sep 17
2
How to add NOP?
This seems to be what I am looking for. That was very helpful. Thank you. Erdem From: vlknkls at gmail.com Date: Wed, 16 Sep 2015 16:25:29 +0000 Subject: Re: [llvm-dev] How to add NOP? To: erdemderebasoglu at hotmail.com; llvm-dev at lists.llvm.org Use MachineInstr::memoperands() function to get memory operands then you can get the address space by using MachineMemOperand::getAddrSpace(). Volkan
2015 Oct 11
2
How to add NOP?
Can you send the IR you are using? Volkan On Thu, Oct 8, 2015 at 6:28 AM Erdem Derebaşoğlu < erdemderebasoglu at hotmail.com> wrote: > Thanks. I enabled my pass. I have one resolved issue though: > MachineMemOperand::getAddrSpace() always returns zero. How can I use it to > distinguish private memory accesses? > > Erdem > > ------------------------------ > From:
2015 Sep 15
3
How to add NOP?
I would like to convert a C file that uses OpenMP library to X86 code with a condition: I want to insert a NOP before each instruction that does a private memory access.I have written an optimization pass that inserts an inline assembly call (NOP) but it is applied at IR level, and I cannot determine where to insert it. How can I use LLVM to add NOPs accordingly? Thanks. --------------
2005 Jul 15
2
RES: Meet Me - this is not a valid conference number, please try again
Hello Haki I fixed this problem following the instructions in /usr/src/zaptel-1.0.9/README.udev. Regards Cec?lia -----Mensagem original----- De: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]Em nome de Erdem HAKI Enviada em: sexta-feira, 15 de julho de 2005 05:11 Para: 'Asterisk Users Mailing List - Non-Commercial Discussion' Assunto:
2015 Nov 01
2
Re-numbering address space with a pass
Hi all, I would like my optimization pass to change an object's address space that is created by llvm.lifetime.start intrinsic. Because I want to be able to identify them later in a codegen pass. I can get a pointer from the intrinsic using CallInst::getArgOperand() function. However, I don't know what to do with it (or if it is the pointer that I want). How can I change its address space?
2005 Jun 19
1
help for making several calls at the same time..
Hi, I have installed latest stable version of Asterisk. I registered 1 Quintum Gateway and 5 eyeBeam SoftPhone. But I can make just one call at the same time, if i try to make calls from 2 softphones to anotherone, second caller listens " the person have extension xxxx is on the phone ...." . So we couldn't make two or more calls at the same time for a SoftPhone. What should we
2005 Jun 24
2
RTP session between two end users
Is it possible that a RTP session between two end users (so i want to use asterisk as a signaling proxy and bypass RTP sessions)? I used "canreinvite=yes" but it didn't work. Description from asterisk conf. File; (canreinvite=yes ; allow RTP voice traffic to bypass Asterisk) Thanks Erdem HAKI - erdemh@tesas.com -------------- next part
2020 Jul 15
5
[PATCH v4 00/75] x86: SEV-ES Guest Support
On Wed, Jul 15, 2020 at 11:24:56AM +0200, Peter Zijlstra wrote: > Can we get some more words -- preferably in actual code comments, on > when exactly #VC happens? Sure, will add this as a comment before the actual runtime VC handler. > Because the only thing I remember is that #VC could happen on any memop, > but I also have vague memories of that being a later extention. Currently
2020 Jul 15
5
[PATCH v4 00/75] x86: SEV-ES Guest Support
On Wed, Jul 15, 2020 at 11:24:56AM +0200, Peter Zijlstra wrote: > Can we get some more words -- preferably in actual code comments, on > when exactly #VC happens? Sure, will add this as a comment before the actual runtime VC handler. > Because the only thing I remember is that #VC could happen on any memop, > but I also have vague memories of that being a later extention. Currently
2005 Jun 22
1
call divert to TRUNK , if one number is unregistered?
I have a question. I have two numbers on Asterisk like 902121234567 and 902123645789 and i want to divert first number's call to Trunk if second number is unregistered. Is it possible? ?f yes, how? Flow Diagram: *Two numbers are registered on Asterisk 902121234567---------------------------- registered to Asterisk
2005 Jul 15
1
Meet Me - this is not a valid conference number, please try again
Hello, I'm trying Meet Me Feature. I read wiki , searched google and i configured my extension.conf and meetme.conf. But I receive "this is not a valid conference number, please try again" message, so what could be the problem? Thanks for your interest. Erdem HAKI -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Oct 05
1
how can i let the user in 1th Asterisk can call the user in 2nd Asterisk?
Hi list, I set up two asterisk servers , 1001 is the first asterisk server's sip user, and 2001 is the second asterisk server's sip user. Each of them work well, but I don't konw how to connect them. I want to let the user in 1th Asterisk can call the user in 2nd Asterisk. First asterisk server ip : 192.168.3.101 Second asterisk server ip : 192.168.3.102 can someone
2007 Sep 18
1
OSError Exception
Hi I am getting this one on an HP nx6325 on Pardus 2007.2 with xen 3.1.0 built from packages. Started domain pardus-av.sxp Unexpected error: exceptions.OSError Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in ? main.main(sys.argv) File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 2453, in
2017 Feb 22
1
Best practice scheduler for SMB server
Hi, short question: Which schedulers are recommended on running a samba smb server using > 1000 files but high I/O on reads/writes on those files? - Julian Wichtiger Hinweis: Der Inhalt dieser E-Mail ist vertraulich und ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte,
2005 May 26
1
VIDEO ON 1.0.7 stable
--- listas iPfone <listas@ipfone.com.br> wrote: > Hi all > > I need to know if the video support for h.263 is > active in version stable > 1.0.7 to use with eyeBeam in asterisk it works for me... [2222] type=friend secret=xxxx auth=md5 callerid="myCallerId" <2222> canreinvite=no host=dynamic disallow=all context=default allow=alaw allow=ulaw allow=speex
2005 May 30
1
astpp database creation failed!
Hello, I'm setting up AST Post Paid application, is there anybody who set up astpp ? I followed the directions, i visited the astpp admin page in my web browser. But i couldn't setup the brands and routes etc. "Database unavailable -- please check configuration" appeared on the top of the page, so i went to "configure" section, I filled in the blanks according to my