Displaying 20 results from an estimated 78 matches for "cowlark".
Did you mean:
clark
2013 Feb 06
2
[LLVMdev] On large vectors
I have a simple expression-evaluation language using LLVM (it's at
https://cowlark.com/calculon, if anyone's interested). It has pretty
primitive support for 3-vectors, which I'm representing as a <3 x float>.
One of my users has asked for proper n-vector support, and I agree with
him so I'm adding that. However, he wants to use quite large vectors.
He's me...
2010 Sep 02
3
[LLVMdev] Line number information (and other metadata)
...ction::setDebugLoc(), but that method doesn't actually
have to be in my 2.7 LLVM Debian package. What's the correct way of
doing this?
In addition, can anyone point me at an example of how to emit a comment
attached to an instruction (or function)?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <h...
2014 Mar 19
2
[LLVMdev] Type inference on registers with can contain multiple types
...ell whether the input is an
i32 or a f32.
What's the best thing to do here? Explicitly annotating the input type
works, of course, but then I need two rules. Use a multipattern? Or is
there a way to tell tablegen that the input is allowed to be either?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "You cannot truly appreciate _Atlas Shrugged_ until you have read it
│ in the original Klingon." --- Sea Wasp on r.a.sf.w
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 876 bytes
Desc:...
2013 Feb 08
2
[LLVMdev] JIT on armhf
...h RAM on any of my ARM boxes to build
LLVM from source, so I can't check to see whether this is a Debian
misconfiguration or an intrinsic LLVM issue.
Before I start go filing bugs, does anyone know if the LLVM 3.2 JIT
actually works on an armhf device?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ 𝕻𝖍'𝖓𝖌𝖑𝖚𝖎 𝖒𝖌𝖑𝖜'𝖓𝖆𝖋𝖍 𝕮𝖙𝖍𝖚𝖑𝖍𝖚 𝕽'𝖑𝖞𝖊𝖍
𝖜𝖌𝖆𝖍'𝖓𝖆𝖌𝖑 𝖋𝖍𝖙𝖆𝖌𝖓.
│
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/piper...
2013 Jan 20
2
[LLVMdev] On calling intrinsics
...uccessfully turning this:
define float @t(float %f) nounwind uwtable readnone {
%1 = tail call float @sqrtf(float %f) nounwind readnone
ret float %1
}
...into this:
t:
sqrtss %xmm0, %xmm0
ret
...but I haven't figured out what pass does it yet.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Of course, on a sufficiently small planet, 40 km/hr is, in fact,
│ sufficient to punt the elastic spherical cow into low orbit." ---
│ Brooks Moses on r.a.sf.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application...
2010 Aug 28
2
[LLVMdev] Dataflow analysis based optimisations
...ck frame ---
in other words, the object will be used strictly inside the function and
nowhere else. This applies to both upvalues and objects.
Does LLVM have any mechanism for doing the kind of dataflow analysis
required to track object lifetime like this?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Home is where, when you have to go there, they have to take you in."
│ --- Cordelia Naismith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
UR...
2014 May 28
2
[LLVMdev] Partially complete LLVM backend for the VideoCore 4
...had success with this using an extremely
crude VC4 code generator for the ACK, but the generated code was
painfully terrible, hence this port.
Unfortunately I've run out of time and probably won't get a chance to
work on this for a while, so if anyone is interested, help yourself:
https://cowlark.com/llvm
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "You cannot truly appreciate _Atlas Shrugged_ until you have read it
│ in the original Klingon." --- Sea Wasp on r.a.sf.w
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature...
2010 Sep 02
2
[LLVMdev] Line number information (and other metadata)
On 2 September 2010 11:35, David Given <dg at cowlark.com> wrote:
>> The docs
>> talk about Instruction::setDebugLoc(), but that method doesn't
>> actually appear to be in my 2.7 LLVM Debian package.
I suggest you getting the SVN code, since quite a lot has changed
since last freeze.
--
cheers,
--renato
http://systemcall.o...
2013 Feb 08
0
[LLVMdev] JIT on armhf
On 8 February 2013 11:01, David Given <dg at cowlark.com> wrote:
> I've tried overriding the triple to arm-unknown-linux-gnueabihf and
> arm-linux-gnueabihf (via module->setTargetTriple), and while the triples
> are accepted, the actual generated code doesn't change with either.
>
Hi David,
If you set the triple to arm it...
2013 Jan 20
0
[LLVMdev] On calling intrinsics
...ilder.cpp. This gets turns into
a FSQRT ISD node type that the target can handle just like any other ISD
node. If the target doesn't mark ISD::FSQRT as Legal or Custom then
ExpandNode in LegalizeDAG.cpp turns it back into a sqrtf libcall.
On Sun, Jan 20, 2013 at 11:34 AM, David Given <dg at cowlark.com> wrote:
> On 20/01/13 19:20, Caldarale, Charles R wrote:
> [...]
> > That's because there is no llvm.ceil.* intrinsic defined in
> include/llvm/Intrinsics.td for 3.2
>
> Ah. Yes, that would explain it... does this mean that I can rely on all
> the intrinsics list...
2010 Sep 22
2
[LLVMdev] Enabling inlining
...using gcc.
I see that llvm-ld supports an inlining pass; is this the *only* place
it happens? i.e. do I need to run llvm-ld on my bitcode file before
translation? If not, is there anything specifically I need to do in the
compiler to make inlining happen?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <h...
2010 Aug 28
0
[LLVMdev] Dataflow analysis based optimisations
...meters, never stored in a
global, and not returned from the function, then that object is dead
when the function that created the object returns.
There may be other possibilities for proving an object dead, but this
should definitely be safe.
On Fri, Aug 27, 2010 at 7:16 PM, David Given <dg at cowlark.com> wrote:
> I'm working on an LLVM-based compiler for a very closure-centric
> language. It's becoming apparent that it's going to suffer heavily from
> garbage collector churn, as all the useful programming idioms the
> language makes possible are going to involve memo...
2014 Jul 23
2
[LLVMdev] JIT on armhf, again
...is with LLVM 3.3, 3.4 and 3.5. I'm using
MCJIT (although I've tried without, as well), and I've tried setting
FloatABI to HardFloat.
Does anyone know if this is actually working yet? If so, are there any
examples of how to do this successfully?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Feminism encourages women to leave their husbands, kill their
│ children, practice withcraft, destroy capitalism and become lesbians."
│ --- Rev. Pat Robertson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application...
2013 Feb 06
0
[LLVMdev] On large vectors
...en split over and over again until it fits into registers. So, any <50 x float> would take 16 XMM registers, that will be spilled. The situation with integer types is even worse because you can truncate or extend from one type to another.
On Feb 6, 2013, at 8:41 AM, David Given <dg at cowlark.com> wrote:
> I have a simple expression-evaluation language using LLVM (it's at
> https://cowlark.com/calculon, if anyone's interested). It has pretty
> primitive support for 3-vectors, which I'm representing as a <3 x float>.
>
> One of my users has asked for...
2010 Aug 23
2
[LLVMdev] Indexing backwards through a structure
...y of doing it.
Any suggestions?
(The actual use case: I have an object with embedded vtables; given a
pointer to one of the vtables, I need to get the pointer to the actual
object instance. Does LLVM has any built-in support for doing this sort
of thing?)
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <h...
2011 Jan 28
2
[LLVMdev] Non-standard byte sizes
...tend to want to do much!
On a related note, I remember seeing compile-time flags to clang to tell
it the sizes of the various primitive types, but I can't find them any
more. Do they still exist or will I need to do a custom clang build to
change them?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <h...
2010 Sep 02
3
[LLVMdev] Line number information (and other metadata)
...or anyone else to use my code.
I gather 2.8 is coming along soon; is there an ETA yet? And until then
is there a snapshot of the 2.7 documentation anywhere online?
(PS. Please don't cc me on replies. I'm on the list, I don't need two
copies.)
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <h...
2013 Feb 08
6
[LLVMdev] JIT on armhf
...in a different
way...)
If it makes any difference, I'm not using the just-in-time part of the
JIT, as it were. I have lazy compilation turned off and have a model
where the entire script is compiled into IR code and then to machine
code when my app starts.
See the init() method here:
https://cowlark.com/calculon/artifact/1e496bfd00104bd392b8da9dece45156dffe3039
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ 𝕻𝖍'𝖓𝖌𝖑𝖚𝖎 𝖒𝖌𝖑𝖜'𝖓𝖆𝖋𝖍 𝕮𝖙𝖍𝖚𝖑𝖍𝖚 𝕽'𝖑𝖞𝖊𝖍
𝖜𝖌𝖆𝖍'𝖓𝖆𝖌𝖑 𝖋𝖍𝖙𝖆𝖌𝖓.
│
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Typ...
2013 Jan 26
0
[LLVMdev] Closures, newbie question
...very small pure functional language. It doesn't
support closures, but it does have upvalues. I'm implementing them in
this by just passing the variables in as parameters directly --- as it's
pure, I don't have to worry about nested functions changing an upvalue.
(It's at http://cowlark.com/calculon/dir?ci=tip if you're interested,
but be warned, upvalues are currently broken.)
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│ "Of course, on a sufficiently small planet, 40 km/hr is, in fact,
│ sufficient to punt the elastic spherical cow into low orbit."...
2010 Aug 28
2
[LLVMdev] Dataflow analysis based optimisations
...instruction and then produce a custom pass, running after the
FunctionAttrsPass, which would then lower the instructions to either a
call to malloc or an alloca instruction. I see vague references to an
LLVM malloc instruction; did this disappear after 2.6?
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ "Home is where, when you have to go there, they have to take you in."
│ --- Cordelia Naismith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
UR...