Displaying 8 results from an estimated 8 matches for "runtime_allocate".
2013 Sep 26
3
[LLVMdev] Request for comments: TBAA on call
...arise if LLVM is used as a backend for a compiler for a higher-level language. There are probably other examples that arise in high-level languages, but let's use allocation as an example for now. I can envision two ways of representing allocation in LLVM IR:
Method #1:
%object = call @runtime_allocate(... /* pass size and/or other data */)
Method #2:
SomeBlock:
... ; code preceding the allocation
%objectFast = ... ; IR for the inlined allocation fast path, which produces %objectFast but may yield null if the fast path fails and we need to take slow path
%didFail = icmp eq %obje...
2013 Oct 07
0
[LLVMdev] Request for comments: TBAA on call
...compiler for a
> higher-level language. There are probably other examples that arise in
> high-level languages, but let's use allocation as an example for now. I
> can envision two ways of representing allocation in LLVM IR:
>
> Method #1:
>
> %object = call @runtime_allocate(... /* pass size and/or other
> data */)
>
> Method #2:
>
> SomeBlock:
> ... ; code preceding the allocation
> %objectFast = ... ; IR for the inlined allocation fast path,
> which produces %objectFast but may yield null if the fast path fails...
2013 Oct 07
2
[LLVMdev] Request for comments: TBAA on call
...backend for a compiler for a higher-level language. There are probably other examples that arise in high-level languages, but let's use allocation as an example for now. I can envision two ways of representing allocation in LLVM IR:
>
> Method #1:
>
> %object = call @runtime_allocate(... /* pass size and/or other data */)
>
> Method #2:
>
> SomeBlock:
> ... ; code preceding the allocation
> %objectFast = ... ; IR for the inlined allocation fast path, which produces %objectFast but may yield null if the fast path fails and we n...
2013 Oct 07
0
[LLVMdev] Request for comments: TBAA on call
...compiler for a higher-level language. There are probably other examples that arise in high-level languages, but let's use allocation as an example for now. I can envision two ways of representing allocation in LLVM IR:
>>
>> Method #1:
>>
>> %object = call @runtime_allocate(... /* pass size and/or other data */)
>>
>> Method #2:
>>
>> SomeBlock:
>> ... ; code preceding the allocation
>> %objectFast = ... ; IR for the inlined allocation fast path, which produces %objectFast but may yield null if the fa...
2013 Oct 08
3
[LLVMdev] Request for comments: TBAA on call
...gher-level language. There are probably other examples that arise in high-level languages, but let's use allocation as an example for now. I can envision two ways of representing allocation in LLVM IR:
>>>
>>> Method #1:
>>>
>>> %object = call @runtime_allocate(... /* pass size and/or other data */)
>>>
>>> Method #2:
>>>
>>> SomeBlock:
>>> ... ; code preceding the allocation
>>> %objectFast = ... ; IR for the inlined allocation fast path, which produces %objectFast but m...
2013 Oct 08
2
[LLVMdev] Request for comments: TBAA on call
...gher-level language. There are probably other examples that arise in
>> high-level languages, but let's use allocation as an example for now. I
>> can envision two ways of representing allocation in LLVM IR:
>>
>> Method #1:
>>
>> %object = call @runtime_allocate(... /* pass size and/or other
>> data */)
>>
>> Method #2:
>>
>> SomeBlock:
>> ... ; code preceding the allocation
>> %objectFast = ... ; IR for the inlined allocation fast path,
>> which produces %objectFast but may yield...
2013 Oct 08
0
[LLVMdev] Request for comments: TBAA on call
...a compiler for a
> higher-level language. There are probably other examples that arise in
> high-level languages, but let's use allocation as an example for now. I
> can envision two ways of representing allocation in LLVM IR:
>
> Method #1:
>
> %object = call @runtime_allocate(... /* pass size and/or other
> data */)
>
> Method #2:
>
> SomeBlock:
> ... ; code preceding the allocation
> %objectFast = ... ; IR for the inlined allocation fast path,
> which produces %objectFast but may yield null if the fast path fails and...
2013 Oct 08
0
[LLVMdev] Request for comments: TBAA on call
...ere are probably other examples that arise in
>>> high-level languages, but let's use allocation as an example for now. I
>>> can envision two ways of representing allocation in LLVM IR:
>>>
>>> Method #1:
>>>
>>> %object = call @runtime_allocate(... /* pass size and/or
>>> other data */)
>>>
>>> Method #2:
>>>
>>> SomeBlock:
>>> ... ; code preceding the allocation
>>> %objectFast = ... ; IR for the inlined allocation fast path,
>>> which pr...