Displaying 2 results from an estimated 2 matches for "lnyi".
Did you mean:
lni
2014 May 26
3
[LLVMdev] GHC, aliases, and LLVM HEAD
...need to), i8* aliases are defined at the end of the
compilation unit,
@newCAF = external global i8
@newCAF$alias = alias private i8* @newCAF
and functions in the current compilation unit calling `newCAF` invoke
it through `@newCAF$alias$`,
...
%lnYi = bitcast i8* @newCAF$alias to i8* (i8*, i8*)*
...
2. As place-holders for local symbols. All symbol references in
emitted functions are replaced with references to aliases. This is
done so that the compiler can emit LLVM IR definitions for
functions without waiting for...
2014 May 26
3
[LLVMdev] GHC, aliases, and LLVM HEAD
...ure).
>> @newCAF = external global i8
>> @newCAF$alias = alias private i8* @newCAF
>>
>> and functions in the current compilation unit calling `newCAF` invoke
>> it through `@newCAF$alias$`,
>>
>> ...
>> %lnYi = bitcast i8* @newCAF$alias to i8* (i8*, i8*)*
>> ...
>
> Sorry, I don't see what this buys you. The types of newCAF and
> newCAF$alias are the same.
>
It seems you are right, you could just define
the external symbol,
@newCAF$alias = external global i8
Unfortu...