Displaying 20 results from an estimated 400 matches similar to: "How to add NOP?"
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 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 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 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 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?
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
2005 May 21
2
Plotting functions on the same figure
Hi there,
i am a newbie :P
My simple question is:
Is there command which is equal of the m*tl*abs `hold on` command.
In other words i want to plot 5 functions in the same figure.
Thanx,
volkan
2017 Apr 07
2
Phabricator stopped sending email to llvm-commits
It seems it hasn’t been working for a few hours. Any ideas?
Volkan
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:
2008 Jun 20
3
problems using effects.morph && effect.appear
Hi,
i wrote a sliding navigation using effect.morph and effect.appear. I
don''t know why but there are a couple of problems:
1. effect.appear seems not to work in IE6
2. The effects aren''t really "smooth".
3. When using effect appear. The new element triggers onmouseover the
onmouseout function....
It''s a small script:
www.rhizom.nl/volkan/scriptalicous
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
2013 Aug 07
3
[LLVMdev] Address space extension
On Aug 7, 2013, at 2:54 PM, Michele Scandale <michele.scandale at gmail.com> wrote:
>> I don’t know if CUDA has aliasing address spaces, but that would also be
>> useful to consider. Something simple like this might work. Note i’m
>> using the examples from the clang discussion, that is "1 = opencl/cuda
>> global, 2 = opencl_local/cuda_shared, 3 = opencl/cuda
2011 Jan 07
2
"No route matches" error?
I am new Rspec and just started by generating a new controller on
Rails 3. It generates some Rspec tests by default. I have a question
about how to make them pass though. As it stands, I see this test in
my terminal"
> 1) BuildingsController GET ''show''
> should be successful
> Failure/Error: get ''show''
> No route matches
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: