similar to: [LLVMdev] Generating C code using LLVM

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Generating C code using LLVM"

2015 May 14
2
[LLVMdev] Generating C code using LLVM
Hi, Thanks for the response. On Thu, May 14, 2015 at 5:06 PM, mats petersson <mats at planetcatfish.com> wrote: > From what input? Usually Clang is the tool for "rewriting C" (making > source to source conversions), but it's not clear if that's what you are > trying to achieve, so some more information would be useful. > I have successfully generated AST
2015 May 14
4
[LLVMdev] how to disable sse and avx
Thanks, Mats. Actually, it is able to generate the assembly now if I use the follow command: clang++ -O3 -S -mllvm --x86-asm-syntax=intel -mno-sse -o test_nosee.s test.cpp However, when I use g++ -O3 -o test_nosse test_nosse.s -lm to generate the executable, if gives me the following errors: Error: too many memory references for `sub' Error: too many memory references for `mov' Error:
2015 May 14
2
[LLVMdev] how to disable sse and avx
Hello, I want to disable LLVM to use any SIMD registers like sse and avx. I tried -mno-sse and -mno-avx on my Core i7 machine. It seems that the generated assembly still uses xmm registers. Is there any way for LLVM to only use scalar registers? Thanks, Zhi -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Feb 15
8
Communication between guest OS and VMM
Hi all, Please can anybody explain how communication(direct or indirect) happens between xen and guest os(windows) in full virtualization mode. Both from VMM to guest and from guest to VMM. Thanks and regards, Aditya. __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
2015 Mar 05
2
[LLVMdev] Use the IR information to modify the AST
Hi,guys: I am try to get some information from the IR, such as Function type, Function arguments, I want to save then to the data structure which defined by myself, and I want use the data structure to modify the AST. But I know ,the IR was produced by the AST, I am not sure my thought is wright or not. If so, with API or function in the LLVM I will used? or some linkage or demo that I can learn
2012 Sep 13
5
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
Hi, I know most compilers go from AST to CFG. I am writing a decompiler, so I was wondering if anyone knew of any documents describing how best to get from CFG to AST. The decompiler project is open source. https://github.com/jcdutton/libbeauty The decompiler already contains a disassembler and a virtual machine resulting in an annotated CFG. It uses information gained from using a virtual
2003 Sep 02
1
source code for samba-2.2.8a-1-sol8-suncc-64bit.pkg
Hi all, Where could I get souce code for samba-2.2.8a-1-sol8-suncc-64bit.pkg, I checked in samba.org but I just found pacakage( samba-2.2.8a-1-sol8-suncc-64bit.pkg). Thanks, Madhavi
2009 Aug 17
3
Not able to display domain users using wbinfo
Hi, I am using Ubuntu 8.04 Server 64-bit Edition and i have installed samba as a PDC. Samba version is 3.0.28a and all the required OS updates are installed. smb.conf [global] workgroup = abc server string = Samba for abc log level = 1 interfaces = eth0 bind interfaces only = True log file = /var/log/samba/log.%m max log size = 1000 domain logons = yes os
2013 Mar 12
6
[LLVMdev] help decompiling x86 ASM to LLVM IR
Hi, I am looking to decompile x86 ASM to LLVM IR. The original C is this: int test61 ( unsigned value ) { int ret; if (value < 1) ret = 0x40; else ret = 0x61; return ret; } It compiles with GCC -O2 to (rather cleverly removing any branches): 0000000000000000 <test61>: 0: 83 ff 01 cmp $0x1,%edi 3:
2009 Aug 18
2
Enforcing local profile doesn't let Home Directory mapping
Dear all, I am using Ubuntu 8.04 Server 64-bit edition and I am trying to enforce Local profile for all users and below is my smb.conf file. According to the samba documentation, leaving the logon home and logon path values to empty will enforce local profiles, it worked. But, my main requirement is when users login their home directories are mapped and they appear in My Computer window so they
2011 Sep 10
2
Error : subscript out of bounds
m<-matrix(byrow=FALSE) t<-as.list(na.exclude(x)) j<-0 o<-0 for(i in 1:998) { d<- 5*(i-1)+3 if(t[[d]][[1]]>80) { j<-j+1 e[j]<-d l<-length(t[[d]]) u<-t[[d]] price_rand<-t[[d-1]] n<-0 for(k in 1:l) { if((u[k]>49)&&(u[k]<51)) { n<-n+1 m[n,j]<-price_rand[k] } } } } I am getting error in assigning the values to a matrix. *Error in m[n, j]
2013 Mar 12
8
Heroku db id Starting with 1000
Hello All, How do I change the heroku database( already existed ) table id to start from say 1000? I tried with a fresh database on local & it works with this:- *execute "ALTER users orders AUTO_INCREMENT = 1000"* Thanks, Avinash -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from
2009 Dec 09
2
PCI: Not using MMCONFIG, leave system completely hung while booting Xen 3.4.1
Hi Everyone, I am trying to setup xen3.4.1 FC12(xendom0) on top of FC12 freshly installed. I am using DQ965GF intel mother board having intel VT-x enabled. I have installed everything properly, but xen boot gets stuck at this point, xenbus_probe_init ok ACPI: bus type pci registered PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255 PCI: Not using MMCONFIG. I did few googlings
2009 Dec 09
2
PCI: Not using MMCONFIG, leave system completely hung while booting Xen 3.4.1
Hi Everyone, I am trying to setup xen3.4.1 FC12(xendom0) on top of FC12 freshly installed. I am using DQ965GF intel mother board having intel VT-x enabled. I have installed everything properly, but xen boot gets stuck at this point, xenbus_probe_init ok ACPI: bus type pci registered PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255 PCI: Not using MMCONFIG. I did few googlings
2009 Nov 20
3
Re: xm create: Error: Device 0 (vif) could not be connected. Hotplug scripts not working. One more question.
Next question:- eth0            8000.001c2596e32b       no              peth0 pan0            8000.000000000000       no virbr0          8000.000000000000       yes Presence virbr0 in report seems strange. Direct port  Xen 3.4.2  to F11 doesn''t install daemon libvirtd ( bridge virbr0 ) , unless you wrote xen-3.4.2-(x).fc12.src.rpm  yourself. So , from where bridge virbr0 comes 
2013 Mar 12
2
big edge list to adjacency matrix
I have huge list of edges with weights. a1 b1 w1 a2 b2 w2 a3 b3 w3 a1 b1 w4 a3 b1 w5 I have to convert it into 2 dim matrix b1 b2 b3 a1 max(w1,w4) 0 0 a2 0 w2 0 a3 w5 0 w3 if edges repeated take the maximum weights. How do this efficiently without using for loop? Any idea. thanks Avi [[alternative
2012 Sep 21
1
[LLVMdev] [OT] Control Flow Graph(CFG) into Abstract Syntax Tree(AST)
On 21 September 2012 09:51, Ralf Karrenberg <Chareos at gmx.de> wrote: > Hi, > > Simon Moll (in CC) has written a decompiler for LLVM in his Bachelor's > Thesis here at Saarland University. The thesis is titled "Decompilation of > LLVM IR" and can be found here: > http://www.cdl.uni-saarland.de/publications/ > > The library he implemented is called
2015 Mar 24
2
[LLVMdev] IR blocks for calling function pointers
Hello, I am trying to create IR block for making a call to function pointer. For creating the IR for a function call to "foo", with "foo" being defined as "void foo(int)", I can use the "getOrInsertFunction" call from Module class as follows: std::vector<Type*> FooArgs; FooArgs.push_back(IRB.getInt64Ty()); Value *FooFunction =
2008 May 29
4
Problem opening Adobe Indesign in Ubuntu Linux 7.0
I have installed Ubuntu 7.0 64-bit OS on a 64-bit hardware - Hyper Threading enabled P4 processor. Photoshop 7 and Pagemaker seems to be working fine. I installed Adobe Indesign without any problems. But, I am not able to run Indesign Once i execute the Indesign application, a window appears which loads all the plug-ins and files but disappears. The log is huge, i have pasted the begining of
2013 Nov 06
2
[LLVMdev] "-relocation-model=static" does not work in llc compiler ?
> If you also give "-code-model=large" then LLVM won't assume that > "addr" is nearby so it'll use a movabsq with a static relocation. Actually, it seems our own Eli has written rather a good description of these code models: http://eli.thegreenplace.net/2012/01/03/understanding-the-x64-code-models/. Well worth the read (the default models he talks about at the