Displaying 20 results from an estimated 1000 matches similar to: "Value &operator=(const Value &) = delete;"
2020 Feb 13
3
setOperands(int, Value*)
Hello,
I am trying to reset the operands of instructions. What I am doing is, I am
finding all Uses of a specific operand in an Instruction and resetting it
with a new value using "setOperands(int, Value*)". I am doing as:
for (auto vmitr=vm.begin(), vsitr=vs.begin(); vmitr!=vm.end() &&
vsitr!=vs.end(); vmitr++, vsitr++){
// I have two *Value ( operands)
for ( auto myitr
2020 Jan 19
3
Instruction arguments
Hello,
I am loop over the arguments of a call instruction :
---->
for (Value *arg: c->args()){
errs() << *arg << "\n";
arg->print(llvm::errs(), false);
errs()<<"\n";
}
----->
How can I convert the arg for binary comparison(== etc.)? If I am correct,
it is not a string. If the argument is "i32 1",
2020 Jan 23
2
Replacing operands in a call instruction
Hello,
I am trying to replace a pointer argument of a call instruction with
another pointer argument( new argument value for the call instruction).
What is the best way to do it? I could not find any hint/guidance on the
web or LLVM manual.
Thanks,
--
Abid M. Malik
******************************************************
"I have learned silence from the talkative, toleration from the
2015 Feb 28
1
[LLVMdev] LLVM short comings regarding polyhedral and vectorization optimizations
Dear All;
Is there any work that discusses ​LLVM framework's short comings regarding
auto vectorization and polyhedral optimizations?
Regards,
>
--
Abid M. Malik
******************************************************
"I have learned silence from the talkative, toleration from the intolerant,
and kindness from the unkind"---Gibran
"Success is not for the chosen few, but
2012 Sep 13
1
[LLVMdev] Clang support for CUDA
Hi:
Does Clang support CUDA? I am looking for a front end for my compiler that
can take CUDA programming framework.
Thanks,
--
*Abid
******************************************************
"I have learned silence from the talkative, toleration from the intolerant,
and kindness from the unkind"---Gibran
"Success is not for the chosen few, but for the few who choose" --- John
2020 Sep 30
2
lifetime_start/end
Hello,
What intrinsics "@llvm.lifetime.start/@llvm.lifetime.end" really do? As per
my knowledge, they define the live ranges of variables. In the following
code section, they seem redundant. However, when I remove them, the
behavior of the code becomes non-deterministic. The live ranges of the
variables defined by them are never used in the code.
Thanks,
---------------
%37 = bitcast
2011 Mar 31
3
** to disconnect and make a new call
Hi,
Does anyone know how to implement the feature in asterisk calling card when a user has dialed the access number and during the IVR or any time during the call, he can press ## or ** to end the current call and dial a new destination number?
Please help and give me a step by step help. Thanks.
Rgrds-------------Abid
-------------- next part --------------
An HTML attachment was
2008 Mar 30
2
How many maximum SIP Registrations can Asterisk Handle
Hi All,
I am new to this community and just subscribed.
We have Asterisk running in production but I could not find out in documentation as well as web that how many maximum number of registrations an Asterisk Server can support. We have it on a 1.4 GHz Processor, 2 GB RAM and 40 GB HDD IBM Server. Please suggest urgently.
Thanks.
Best Regards,
-------------------------------------
Abid
2018 May 10
4
Migrating the llvm-emacs mode to a separate git repository
Hello llvm devs,
Melpa[1] is pretty much the most common package manager for emacs and very
recently the llvm-mode got removed from it[2] due to performance issues.
This issue is not unique to llvm-mode, but affects a bunch of projects with
very large git repositories[3].
Will it be possible to split this into a new separate git repo? This should
make it easier for the emacs community to work
2012 Feb 07
1
[LLVMdev] Not Understanding Use
Let's say I have the following IR code:
21> %tmp = load i32* @myrand.z, align 4
22> %tmp1 = and i32 %tmp, 5535
23> %tmp2 = mul nsw i32 %tmp1, 36969
24> %tmp3 = ashr i32 %tmp, 16
And I have an Instruction *inst that is the instruction on line 22.
then have the code:
Use *operand1 = &(inst->getOperandUse(0));
I expect that operand1->getNext() will return the the Use*
2008 Jul 01
2
[LLVMdev] vmkit on x86_64
Hello,
I'm trying to compile vmkit on a x86_64 linux box with gcc-4.1.2, but
I'm running into troubles because of various problems with casts
between pointers and integers. Is there anybody who succeeded in this
task? Az I see, some of the problems can be fixed with an appropriate
typedef/macro declaration, but in VMCore/JavaObject.cpp some lowlevel
bitmanipulation is used, to mark
2018 Jul 05
3
trying to resurrect discussion about "Cannot signal a process over a channel (rfc 4254, section 6.9)"
> At one point, I had wondered about separating out the client and server
> support as well. At first glance, that would seem to help move things
> forward and would address most of the reported use cases. However, I
> have some users who would need the client support as well.
>
> I suspect that adding the server support first might be a problem for
> the developers. Such a
2008 Jul 01
0
[LLVMdev] vmkit on x86_64
Hi Zsombor,
Thanks for the patch! Unfortunately I can't apply it because the llvm
API has moved from BinaryOperator::create to BinaryOperator::Create. Are
you using svn head?
Now on the x86_64 part. There has been very little work on porting vmkit
on x86_64. If you're having compilation problems, I suppose it's in the
garbage collector directory (GCMmap2). If you could make the
2016 Feb 10
4
Memory Store/Load Optimization Issue (Emulating stack)
Thank you for the hint.
I adjusted the code and it works:
The code after replacing inttoptr with getelementptr:
define { i32, i32, i8* } @test(i32 %foo, i32 %bar, i8* %sp) {
entry:
; push foo (On "stack")
%sp_1 = getelementptr i8, i8* %sp, i32 -4
%sp_1_ptr = bitcast i8* %sp_1 to i32*
store i32 %foo, i32* %sp_1_ptr, align 4
; push bar
%sp_2 = getelementptr i8, i8* %sp_1,
2016 Feb 08
2
Memory Store/Load Optimization Issue (Emulating stack)
Hello,
I am trying to emulate the "stack" as like on x86 when using push/pop so
afterwards I can use LLVM's optimizer passes to simplify (reduce junk) the
code.
The LLVM IR code:
define { i32, i32, i32 } @test(i32 %foo, i32 %bar, i32 %sp) {
; push foo (On "stack")
%sp_1 = sub i32 %sp, 4
%sp_1_ptr = inttoptr i32 %sp_1 to i32*
store i32 %foo, i32* %sp_1_ptr, align
2011 Mar 10
1
How to use conditional statement
Dear R helpers
Suppose
val1 = c(10, 20, 35, 80, 12)
val2 = c(3, 8, 11, 7)
I want to select either val1 or val2 depending on value of third quantity val3.
val3 assumes either of the values "Monthly" or "Yearly".
If val3 = "Monthly", then val = val1 and if val3 = "Yearly", then val = val2.
I tried the ifelse statement as
ifelse(val3 =
2012 Nov 23
2
Barplot with lines
Hi,
I'm trying to plot stacked barplot with lines on it. Here is the data.
emp days val1 val2 score
1 21 1 0 1200
2 35 1 1 na
3 42 na na 3000
4 53 2 1 2100
5 64 1 0 na
6 73 na na 1400
My X-axis is days. I'm looking to plot val1,val2 as stacked bars and score
as lines with different y-axis. I could get the bar plot and lines on it
but the problem is the bars and lines are not aligning
2008 Oct 13
3
lattice panel question
Dear R users,
How to change lattice panel label/text from the automatically generated
label (based on the conditioning) to our own set of label?
for example:
someStuff <- data.frame(area = rep(c("SOUTH", "NORTH", "EAST", "WEST"), each
= 25),
group = rep(c("A","B","C","D"), each = 5),
2018 May 10
0
Migrating the llvm-emacs mode to a separate git repository
On 10 May 2018 at 06:07, Jaseem Abid via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Melpa[1] is pretty much the most common package manager for emacs and very
> recently the llvm-mode got removed from it[2] due to performance issues.
Wouldn't svn be better here? It ought to allow you to checkout just
the utils/emacs directory (or not even that with "svn cat").
2011 Aug 15
1
2 matrix scatter x [a lot]
Hello,
I'm pretty new to R. Basically, how do I speed up the for loop below. Or
better yet, get rid of the for loop all together.
objective: plot two data sets column against column by index. These data
sets have alot NA's. Some columns are all NA's. I need the plots to overlay.
I don't like the plots in matplot(). Needs to be much faster than the code
below...
#simple sample