search for: bitc

Displaying 20 results from an estimated 65 matches for "bitc".

Did you mean: bit
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
...rote: > > On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >> >> Hi, >> >> As part of PR27551 I want to add a string table to the bitcode format to >> allow global value and comdat names to be shared with the proposed symbol >> table (and, as side effects, allow comdat names to be shared with value >> names, make bitcode files more compressible and make bitcode easier to >> parse). The format of the string...
2012 Nov 16
0
[LLVMdev] [llvm-commits] [PATCH] fast-math patches!
Michael, Overall the code looks good. 80-cols: 2046 FMF.UnsafeAlgebra = 0 != (Record[OpNum] & (1 << bitc::FMF_UNSAFE_ALGEBRA)); 2047 FMF.NoNaNs = 0 != (Record[OpNum] & (1 << bitc::FMF_NO_NANS)); 2048 FMF.NoInfs = 0 != (Record[OpNum] & (1 << bitc::FMF_NO_INFS)); 2049 FMF.NoSignedZeros = 0 != (Record[OpNum] & (1 << bitc::FMF...
2007 Nov 25
2
[LLVMdev] C embedded extensions and LLVM
>>> Please add a generous block comment to >>> llvm/include/llvm/Bitcode/LLVMBitCodes.h above the new enum >>> explaining >>> what the difference is though. :) >> > > Should have said: > >> Should I take the same approach to the encoding of pointer types in >> the types table? PointerTypes are a bit easier. The code...
2012 Nov 16
2
[LLVMdev] [llvm-commits] [PATCH] fast-math patches!
...;>>> >>>> <0002-Fast-math-flags-added-to-FPMathOperator.patch> >>>> <0003-Fast-math-interfaces-for-Instructions.patch> >>>> <0004-Fast-math-flags-for-LLVM-IR-parsing-and-printing.patch> >>>> <0005-Fast-math-flags-for-the-bitcode.patch> >>>> <0006-Fast-math-test-case-for-bitcode-and-textual-reading-.patch> >>>> <0007-Fast-math-optimization-fold-multiply-by-zero.patch> >>>> <0008-Fast-math-test-for-SimplifyInstruction-fold-multiply.patch> >>>> >>&...
2012 Sep 26
0
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
Hi Jan, > I've been looking into how to make llvm bitcode files smaller. There is one > simple change that appears to shrink linked bitcode files by about 15%. See > this spreadsheet for some rough data: > > https://docs.google.com/spreadsheet/ccc?key=0AjRrJHQc4_bddEtJdjdIek5fMDdIdFFIZldZXzdWa0E the improvement is wonderful! ... > I...
2004 Mar 18
1
samba 3.0.2a-Debian +ldapsam +smbldap-tools 3.0rc4-1= newly created users can't log in
...ething very strange going on with new users... i've created a new user using the smbldap-tools creation goes fine... smbldap-useradd -a -g labusers -G power_users -n -c 'test user' -m -P testuser I've set the password and i see this in my ldap dir: ldapsearch -x -D cn=ldapadmin,dc=bitc,dc=unh,dc=edu -W '(&(uid=testuser)(objectclass=SambaSamAccount))' # testuser, People, bitc.unh.edu dn: uid=testuser,ou=People,dc=bitc,dc=unh,dc=edu cn: testuser sn: testuser uid: testuser uidNumber: 2014 gidNumber: 100 loginShell: /bin/bash gecos: test user description: test user object...
2012 Sep 26
9
[LLVMdev] [PATCH / PROPOSAL] bitcode encoding that is ~15% smaller for large bitcode files...
Hi all, I've been looking into how to make llvm bitcode files smaller. There is one simple change that appears to shrink linked bitcode files by about 15%. See this spreadsheet for some rough data: https://docs.google.com/spreadsheet/ccc?key=0AjRrJHQc4_bddEtJdjdIek5fMDdIdFFIZldZXzdWa0E The change is in how operand ids are encoded in bitcode file...
2002 Jul 25
2
pam_smbpass.so won't load
I've just built samba debs from 2_2 head. looks like all is cool except pam_smbpass.so Jul 25 17:44:42 bitc passwd[18770]: PAM unable to dlopen(/lib/security/pam_smbpass.so) Jul 25 17:44:42 bitc passwd[18770]: PAM [dlerror: /lib/security/pam_smbpass.so: undefined symbol: ldap_value_free] Jul 25 17:44:42 bitc passwd[18770]: PAM adding faulty module: /lib/security/pam_smbpass.so ldd /lib/security/pam_smbp...
2007 Nov 25
0
[LLVMdev] C embedded extensions and LLVM
...n't >> involved >> addr spaces) and FUNC_CODE_INST_STORE2 (which can). The .bc >> writer can >> switch to unconditionally writing out stores in FUNC_CODE_INST_STORE2 >> format. >> >> Please add a generous block comment to >> llvm/include/llvm/Bitcode/LLVMBitCodes.h above the new enum >> explaining >> what the difference is though. :) > Should have said: > Should I take the same approach to the encoding of pointer types in > the types table? -- Christopher Lamb -------------- next part -------------- An HTML att...
2008 Mar 27
0
[LLVMdev] Hooking the global symbol resolver
...ModuleProvider interface. Overriding materializeFunction should be useful for on-demand instantiation. — Gordon On Mar 26, 2008, at 17:07, Jonathan S. Shapiro wrote: > Okay, we're starting to dig in, and I've hit a question that will no > doubt seem strange. > > Context: BitC is a polymorphic language. Since it has unboxed value > types, our approach to compiling a polymorphic function is to > polyinstantate it -- once for each signature. > > The name mangling scheme is both stable and reversible. At the site > of the use occurrence, we can fully de...
2008 Mar 26
4
[LLVMdev] Hooking the global symbol resolver
Okay, we're starting to dig in, and I've hit a question that will no doubt seem strange. Context: BitC is a polymorphic language. Since it has unboxed value types, our approach to compiling a polymorphic function is to polyinstantate it -- once for each signature. The name mangling scheme is both stable and reversible. At the site of the use occurrence, we can fully determine the mangled name of th...
2008 Jan 29
1
[LLVMdev] C embedded extensions and LLVM
...ounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Chris Lattner Sent: Sunday, November 25, 2007 2:08 PM To: LLVM Developers Mailing List Subject: Re: [LLVMdev] C embedded extensions and LLVM >>> Please add a generous block comment to >>> llvm/include/llvm/Bitcode/LLVMBitCodes.h above the new enum >>> explaining >>> what the difference is though. :) >> > > Should have said: > >> Should I take the same approach to the encoding of pointer types in >> the types table? PointerTypes are a bit easier. The code...
2008 May 07
0
[LLVMdev] How to handle size_t in front ends?
On May 6, 2008, at 11:49 PM, Jonathan S. Shapiro wrote: > On Tue, 2008-05-06 at 23:18 -0700, Chris Lattner wrote: >>> 1) Is there a way to declare an integer type in the IR that >>> represents >>> "an int the same size as a pointer" without specifying exactly the >>> size >>> of a pointer? >> >> No. > > Chris: > >
2007 Nov 25
2
[LLVMdev] C embedded extensions and LLVM
...ead both FUNC_CODE_INST_STORE (which can't involved > addr spaces) and FUNC_CODE_INST_STORE2 (which can). The .bc writer > can > switch to unconditionally writing out stores in FUNC_CODE_INST_STORE2 > format. > > Please add a generous block comment to > llvm/include/llvm/Bitcode/LLVMBitCodes.h above the new enum explaining > what the difference is though. :) Should I take the same approach to the encoding of pointer types in the pointer table? -- Christopher Lamb -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.l...
2008 May 07
3
[LLVMdev] How to handle size_t in front ends?
On Tue, 2008-05-06 at 23:18 -0700, Chris Lattner wrote: > > 1) Is there a way to declare an integer type in the IR that represents > > "an int the same size as a pointer" without specifying exactly the > > size > > of a pointer? > > No. Chris: There are other languages that specify a "word" type along these lines. Would it be worth considering
2009 Nov 01
0
[LLVMdev] Something wrong with my libpthread.so
Hi, On Sat, Oct 31, 2009 at 11:42 AM, Nan Zhu <zhunansjtu at gmail.com> wrote: > Hi,all > > I tried to run the generated whole-program bitcode of BIND,but I got some > information: > > 0   lli             0x0000000000feda16 > 1   lli             0x0000000000fed88f > 2   libpthread.so.0 0x0000003df340eee0 > 3   libc.so.6       0x0000003df28332f5 gsignal + 53 > 4   libc.so.6       0x0000003df2834b20 abort + 384 >...
2009 Nov 01
1
[LLVMdev] Something wrong with my libpthread.so
Mahadevan R wrote: > Hi, > > On Sat, Oct 31, 2009 at 11:42 AM, Nan Zhu <zhunansjtu at gmail.com> wrote: >> Hi,all >> >> I tried to run the generated whole-program bitcode of BIND,but I got some >> information: >> >> 0 lli 0x0000000000feda16 >> 1 lli 0x0000000000fed88f >> 2 libpthread.so.0 0x0000003df340eee0 >> 3 libc.so.6 0x0000003df28332f5 gsignal + 53 >> 4 libc.so.6 0x000000...
2008 Mar 27
2
[LLVMdev] Hooking the global symbol resolver
...that the technique we are after is generally useful for languages having well-integrated template mechanisms. The approach you advocate may still be the best approach, but I'ld like to make sure that we are having the same conversation. Let me illustrate the problem concretely. Consider the BitC primitive definition of lists: (defunion (list 'a) (cons 'a (list 'a)) nil) Modulo surface syntax, this looks on first inspection to be exactly like the corresponding definitions in ML or Haskell. But in ML or Haskell there is only one run-time "expansion" of this...
2008 May 07
5
[LLVMdev] How to handle size_t in front ends?
...d an intptr type. The semantics I would imagine for an intptr type are: • Lowered to i32 or i64 for code generation. • Treated an ordinary integer for all operations except casts. • Can be the operand to ptrtoint, but not the result. • Can be the result of inttoptr, but not the operand. • Can be bitcast to an actual pointer type. • Whether sext, zext, and trunc are applicable, I could be convinced either way. It muddies the semantics of these operations. On 2008-05-07, at 12:51, Mike Stump wrote: > The word opaque comes to mind. The basic question is, do you want > people to be abl...
2009 Jan 27
1
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
This is not, strictly speaking, an LLVM issue, but it is an implementation matter that a compiler using LLVM needs to handle. I've got resolutions for other platforms, but I'm not seeing how to get this done for PowerPC, and I'ld appreciate suggestions or pointers. For BitC procedures that require an environment pointer, our general approach has been to construct a heap-allocated assembly code fragment. This fragment operates as follows: loads the environment pointer into a register that is call clobbered but not perturbed by the preamble. branches to a st...