Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] LLVM IR on different platforms"
2015 Jan 07
4
[LLVMdev] ARM disassembler
Hi,
I am newbie for LLVM. I need some help,
I want to disassemble ARM binaries and perform some operation on LLVM IR
and again back to generate ARM binary from modified ARM LLVM IR. How I can
proceed for the same.
Any tool or document will be highly appreciated.
Thanks and Regards,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Feb 10
2
Modified LLVM IR
Hi,
My requirement is something like as given below,
a.c => a.obj contains a1() and a2() function
b.c => b.obj contains b1() and b2() function
main.c => main.obj call to a1, a2, b1, b2
Now, I want to move a1(), a2() from a.obj to b2.obj and on top of function
b1()
When I call b1() from main, it should call first a1, a2 and then function
definition of b1
Can you please give me some
2016 Feb 10
2
Modified LLVM IR
Hi,
Yes I am looking for IR pass that will do insert call of functions that
defined in another file.
Links/suggestions that guide me to start for adding IR pass will help me so
much.
Regards,
Deepika
On Wed, Feb 10, 2016 at 1:03 PM, mats petersson <mats at planetcatfish.com>
wrote:
> So how do you know what you want to modify (conceptually)?
>
> Have you got a IR pass that you
2014 Dec 05
2
[LLVMdev] Lowering x64bit LLVM IR to x86bit LLVM IR
Hi,
I need some help,
As per my requirement, I am trying to lower down the x86_64bit binary LLVM
IR to x86 LLVM IR.
Instruction of x86_64 binary are as follows,
mov rax, 1122334455667788
mov rax, 8877665544332211
To lower down the same in x86, I need to split 'rax' register into
'rax_lower' and 'rax_higher'.
Can anybody please give me some pointer to do the same or any
2016 Feb 10
2
Modified LLVM IR
Hi,
I want to call/add some functions(that defined in another file) on top of
some functions, and reflect the same changes in object file.
No, I am not looking for contractor.
Thanks,
Deepika
On Tue, Feb 9, 2016 at 7:04 PM, mats petersson <mats at planetcatfish.com>
wrote:
> What is the condition for adding this code?
>
> What have you tried so far? [Or are you looking for a
2014 Dec 18
2
[LLVMdev] Lowering x64bit LLVM IR to x86bit LLVM IR
Hi Tim,
Thank you for this information.
I have another request for help from you,
Below is my test case,
iGetValueFromASM proc
mov rax, 5
mov rax, 5
mov rax, 2
mov rax, 5
mov rax, 2
mov rax, 112233445566
add rax, 2
mov rax, 112233445566
add rax, 5
add rax, 2
I have lowered 32bit LLVM IR,
%0 = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32,
i32, i32, i32, i32, i32, i32, i32,
2015 Sep 25
2
Upper 32bits from 64bit value
Hi,
I need to fetch lower and higher 32bits from 64bit value. I found
"CreateLShr" function to fetch lower 32bits,
llvm::Value *intermediateValue = LLVMIRBuilder->CreateLShr(x64BitValue, 32);
What function I need to use for fetching upper 32bits from 64bit value.
Thanks in advance,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Jul 10
1
Error 4105 TS Licensing
Hi Team,
Error 4105 - Remote Desktop Licensing server can?t update attributes of
AD user I?m getting this error on Production Samba Server, can someone
please help urgently.
Many Thanks,
Sandeep
*Arbor Financial Systems *
Mobile: +44 7031960158
Support : +44 203-290-9975
www.arborfs.com
--
www.arborfs.com
This e-mail and any attachment are confidential and contain proprietary
2009 Mar 17
4
[LLVMdev] Consumer ARM platform suitable for LLVM development?
What change did you need?
deep
2009/3/17 Misha Brukman <brukman at gmail.com>:
> On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at gmail.com>
> wrote:
>>
>> Attached is the patch I've been building arm-eabi with, which might
>> help with linux-gnueabi. I disable multilib to get around several bugs
>> with thumb. I build cross binutils
2013 Jul 02
2
Samba Domain Rename
Hi Team,
I am using samba 4 Domain in my production environment and everything is
working fine but now for some reason I have to rename the domain
Can you please help on this, I need to do this asap
Waiting for your response???
Many Thanks,
Sandeep Kumar
*Arbor Financial Systems Ltd***
Direct: +91 172 400 6144
Support: +44 (0) 203 070 9650
www.arborfs.com
--
2009 Mar 17
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Tue, Mar 17, 2009 at 4:17 PM, Sandeep Patel <deeppatel1987 at gmail.com>wrote:
> What change did you need?
Even with your change, it was still complaining about not having a
definition of MACHO_DYNAMIC_NO_PIC_P somewhere, so I took the easy way out
with inserting this in arm.h:
/* Overridden by arm/darwin.h, whether it is included first or not. */
#ifndef TARGET_MACHO
#define
2015 Oct 07
2
LLVM IR from static/dynamic libraries
Hi All,
Is this possible to generate LLVM IR from any static/dynamic link library?
I have some static and dynamic link library and I want to generate LLVM IR
as I want to obfuscate these libraries.
Is there any way to do the same.
Please give me some pointers on this.
Thanks,
Deep
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Mar 14
3
[LLVMdev] stability of llvm ir across releases
Are you saying the textual form of IR can change, but bitcode doesn't? I
don't know what you mean by assembly syntax.
Is there a changlog entry when the textual IR changes?
On Sat, Mar 14, 2015 at 5:22 AM, Jeremy Lakeman <Jeremy.Lakeman at gmail.com>
wrote:
> Assembly syntax can and will break between versions. But bitcode should
> generally be upgradeable, or a bug should
2013 May 21
4
[LLVMdev] malloc / free & memcpy optimisations.
The front end I'm building for an existing interpreted language is
unfortunately producing output similar to this far too often;
define void @foo(i8* nocapture %dest, i8* nocapture %src, i32 %len)
nounwind {
%1 = tail call noalias i8* @malloc(i32 %len) nounwind
tail call void @llvm.memcpy.p0i8.p0i8.i32(i8* %1, i8* %src, i32 %len, i32
1, i1 false)
tail call void
2016 Mar 16
3
IRBuilder Assignment ( '=' ) operator?
I partially worked out that to do an assign I will need to manually assign a temporary first and then load data into it, which also means I'll need to set up a temporaries list in my code assembler as allocations must be done before anything else? or is it fine to allocate a variable mid-way through a function and the compiler will manage it?
With that as well, if I had a function that loads
2017 Jun 12
4
How to know the sub-class of a Value class?
On 11 June 2017 at 23:06, Jeremy Lakeman <Jeremy.Lakeman at gmail.com> wrote:
> http://llvm.org/docs/ProgrammersManual.html#the-isa-cast-and-dyn-cast-
> templates
>
I understand isa and dyn-cast let you test the type of an object at
run-time by leveraging LLVM's custom implementation of RTTI. However, it
doesn't make much sense to test out for all possible sub-classes to
2014 Jul 23
3
[LLVMdev] On semantics of add instruction - nsw,nuw flags
On Wed, Jul 23, 2014 at 4:06 PM, Rekha R <rekharamapai at nitc.ac.in> wrote:
> Ok. Got it.
>
> If *add nsw* overflows, this results in undefined value.
> But then *add* on same arguments results in well-defined value.
>
> Hence treating first one as redundant based on the second is acceptable.
> But vice versa is not.
>
If they are in different code paths, sure.
2016 Feb 09
2
Modified LLVM IR
Hi,
I want to edit LLVM generated IR file, like as given below,
Original LLVM IR file,
@.str2 = private unnamed_addr constant [17 x i8] c"\0AI am in
one_11\0A\00", align 1
; Function Attrs: nounwind
define i32 @one_1(i32 %ivar1, i32 %ivar2) #0 {
entry:
%ivar1.addr = alloca i32, align 4
%ivar2.addr = alloca i32, align 4
%isum = alloca i32, align 4
store i32 %ivar1, i32*
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
Hi guys,
I am following this[1] tutorial to install clang. However, I have made a
small change in the configure command, and I am running it with
'--enable-optimized' option to avoid the debug build.
I am getting the errors (given at the end) related to *undeclared
identifiers '__NR_*'*. Can someone please provide some input about how to
tackle this issue?
On my other machine, I
2009 Mar 17
0
[LLVMdev] Consumer ARM platform suitable for LLVM development?
On Thu, Mar 12, 2009 at 8:39 PM, Sandeep Patel <deeppatel1987 at gmail.com>wrote:
> Attached is the patch I've been building arm-eabi with, which might
> help with linux-gnueabi. I disable multilib to get around several bugs
> with thumb. I build cross binutils first, then llvm, then llvm-gcc
> with newlib merged in.
>
> The following bugs need to be addressed for