Displaying 20 results from an estimated 400 matches similar to: "Changing address space"
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 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 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 Sep 27
2
Registering a MachineFunctionPass
Dear all,
I wrote a machine function pass to run with llc. But I get this error while building: 
"/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference to 'llvm::initializeNoopInserterPass(llvm::PassRegistry&)'"
NoopInserter is the name of my pass. I already added this line to InitializePasses.h: "void
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 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. 		 	   		  
--------------
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 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 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:
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
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
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
                                   
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,
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
2020 Jul 22
0
[PATCH v4 00/75] x86: SEV-ES Guest Support
Hi Erdem,
On Tue, Jul 21, 2020 at 09:48:51AM -0700, Erdem Aktas wrote:
> Yes, I am using OVMF with SEV-ES (sev-es-v12 patches applied). I am
> running Ubuntu 18.04 distro. My grub target is x86_64-efi. I also
> tried installing the grub-efi-amd64 package. In all cases, the grub is
> running in 64bit but enters the startup_32 in 32 bit mode. I think
> there should be a 32bit #VC
2016 Sep 06
3
Winbind / Samba auth problem after username change
Hi,
before we switched to SSSD we've been implementing the ssh authentication method via Domain using winbind+samba.
Version installed on our machines is (still) 2:4.1.6+dfsg-1ubuntu2.14.04.13. So far everything has been working fine, however
after we had to change a user's logon name in the domain he can't login anymore. auth.log shows still his old username followed by "from