Displaying 15 results from an estimated 15 matches for "typeref".
Did you mean:
typedef
2016 Apr 17
2
Problems with GEP and CallInst
...en if the assertion condition makes me think they shouldn’t), am I doing something wrong with GEP?
here’s the code that translates the AST Literal into LLVM IR and creates the GEP (the return value will be passed to the Callee):
llvm::Value *ast::StringLiteral::build(llvmir_builder *builder) {
TypeRef *strtype = evalType();
TypeRef *chrtype = strtype->getType()->getPointedType();
llvm::ArrayType *arty = llvm::ArrayType::get(chrtype->getIRType(), val.length()+1);
if (!strcst) {
strcst = new llvm::GlobalVariable(*container,
art...
2010 Jan 06
2
[LLVMdev] Correct way to resolve recursive type information?
...LLVM structured type for
every structured type in the program. The element types for any referenced
types will be those types' opaque types
- in a third pass, for every structured type in the program, resolve its
opaque type to its structured type with LLVMRefineType
Will I have a problem with TypeRefs becoming invalid underneath me as I
repeatedly call LLVMRefineType in the third pass? If so how can I construct
a web of mutually recursive types - is there some kind of atomic
LLVMRefineType alternative that can refine the whole lot in one go?
I'd be grateful for any advice,
-- James William...
2011 Feb 22
2
[LLVMdev] still failed to build the llbrowse on Debian5-32b-llvm2.8
...fan/a/a0/czhao/ResearchTools/LLVM/LLBrowse/obj
1.976u 2.100s 0:14.37 28.3% 0+0k 48680+2392io 174pf+0w
sideshow.eecg>time make
[ 5%] Converting PNG image file resources/icons/folder.png
[ 11%] Converting PNG image file resources/icons/collapse.png
[ 16%] Converting PNG image file resources/icons/typeref.png
[ 22%] Converting PNG image file resources/icons/expand.png
[ 27%] Converting PNG image file resources/icons/type.png
[ 33%] Converting PNG image file resources/icons/function.png
[ 38%] Converting PNG image file resources/icons/module.png
[ 44%] Converting PNG image file resources/icons/variab...
2011 Feb 22
0
[LLVMdev] still failed to build the llbrowse on Debian5-32b-llvm2.8
...LLVM/LLBrowse/obj
> 1.976u 2.100s 0:14.37 28.3% 0+0k 48680+2392io 174pf+0w
> sideshow.eecg>time make
> [ 5%] Converting PNG image file resources/icons/folder.png
> [ 11%] Converting PNG image file resources/icons/collapse.png
> [ 16%] Converting PNG image file resources/icons/typeref.png
> [ 22%] Converting PNG image file resources/icons/expand.png
> [ 27%] Converting PNG image file resources/icons/type.png
> [ 33%] Converting PNG image file resources/icons/function.png
> [ 38%] Converting PNG image file resources/icons/module.png
> [ 44%] Converting PNG image fi...
2011 Feb 25
0
[LLVMdev] DIFactory interface is going away
On Feb 25, 2011, at 5:23 AM, Renato Golin wrote:
> On 24 February 2011 21:34, Jason Kim <jasonwkim at google.com> wrote:
>> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel <dpatel at apple.com> wrote:
>
> It simplified a bit type construction but the overall code did not
> reduce that much.
The old interface expected FEs to keep track of everything, where as new
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
...e... ) to FEs. The front-end should not be forced to learn about them and they do not directly represent any DWARF concept anyway. It is just an approach used my predecessor to communicate debug info from FE to llvm code generator.
Indeed, I liked the way it's hidden in DIBuilder. Also the way
typerefs are dealt with, too, is very good.
Would be good to split CreateLocalVariable into CreateArgValue and
CreateAutoVariable. Also would be good to have a simpler array types
creation (CreateArrayType(size, align, ty, num_elms)).
cheers,
--renato
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
On 24 February 2011 21:34, Jason Kim <jasonwkim at google.com> wrote:
> On Thu, Feb 24, 2011 at 1:29 PM, Devang Patel <dpatel at apple.com> wrote:
It simplified a bit type construction but the overall code did not
reduce that much. It's still very similar to the previous style but
had a few differences in the IR output.
We had LIT tests that checked the IR and Dwarf and GDB
2010 Jan 06
0
[LLVMdev] Fwd: Correct way to resolve recursive type information?
...pe in the program. The element types for any referenced
>> types will be those types' opaque types
>> - in a third pass, for every structured type in the program, resolve its
>> opaque type to its structured type with LLVMRefineType
>>
>> Will I have a problem with TypeRefs becoming invalid underneath me as I
>> repeatedly call LLVMRefineType in the third pass? If so how can I construct
>> a web of mutually recursive types - is there some kind of atomic
>> LLVMRefineType alternative that can refine the whole lot in one go?
>>
>> I'd...
2009 Aug 29
0
[LLVMdev] A create-distinct-item function with no (other) side effects
Kenneth Uildriks wrote:
> On Fri, Aug 28, 2009 at 3:47 PM, Nick Lewycky<nlewycky at google.com> wrote:
>>
>> 2009/8/28 Kenneth Uildriks <kennethuil at gmail.com>
>>> This is by design, of course, (CreateDistinctItem does not return the
>>> same value given the same caller-visible global state) but I see no
>>> way to declare a function that:
2011 Feb 21
0
[LLVMdev] Looking for more LLBrowse testers / users
On Sat, Feb 19, 2011 at 12:27 PM, Talin <viridia at gmail.com> wrote:
> LLBrowse - a GUI tool which allows you to inspect the contents of LLVM
> modules - now runs on Linux and OS X, and it works with both LLVM 2.8 and
> current LLVM head. I've updated the docs to include instructions on checking
> out and building the code under several different environments, which you
2016 Mar 30
3
[RFC] Lazy-loading of debug info metadata
I have no objections to any of this FWIW :)
-eric
On Tue, Mar 29, 2016 at 6:46 PM Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> > On 2016-Mar-22, at 20:11, Eric Christopher <echristo at gmail.com> wrote:
> >
> >> On Tue, Mar 22, 2016 at 8:04 PM David Blaikie <dblaikie at gmail.com>
> wrote:
> >> +pcc, who had some other
2011 Feb 19
4
[LLVMdev] Looking for more LLBrowse testers / users
LLBrowse - a GUI tool which allows you to inspect the contents of LLVM
modules - now runs on Linux and OS X, and it works with both LLVM 2.8 and
current LLVM head. I've updated the docs to include instructions on checking
out and building the code under several different environments, which you
can read here:
http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html (the doc
also
2009 Aug 29
4
[LLVMdev] A create-distinct-item function with no (other) side effects
On Fri, Aug 28, 2009 at 3:47 PM, Nick Lewycky<nlewycky at google.com> wrote:
>
>
> 2009/8/28 Kenneth Uildriks <kennethuil at gmail.com>
>>
>> This is by design, of course, (CreateDistinctItem does not return the
>> same value given the same caller-visible global state) but I see no
>> way to declare a function that:
>>
>> 1. Returns a
2016 Mar 30
0
[RFC] Lazy-loading of debug info metadata
> On 2016-Mar-22, at 20:11, Eric Christopher <echristo at gmail.com> wrote:
>
>> On Tue, Mar 22, 2016 at 8:04 PM David Blaikie <dblaikie at gmail.com> wrote:
>> +pcc, who had some other ideas/patch out for improving memory usage of debug info
>> +Reid, who's responsible for the windows/CodeView/PDB debug info which is motivating some of the ideas about
2011 Feb 23
0
[LLVMdev] LLVMdev Digest, Vol 80, Issue 37-Help to unsubscribe
...LLVM/LLBrowse/obj
> 1.976u 2.100s 0:14.37 28.3% 0+0k 48680+2392io 174pf+0w
> sideshow.eecg>time make
> [ 5%] Converting PNG image file resources/icons/folder.png
> [ 11%] Converting PNG image file resources/icons/collapse.png
> [ 16%] Converting PNG image file resources/icons/typeref.png
> [ 22%] Converting PNG image file resources/icons/expand.png
> [ 27%] Converting PNG image file resources/icons/type.png
> [ 33%] Converting PNG image file resources/icons/function.png
> [ 38%] Converting PNG image file resources/icons/module.png
> [ 44%] Converting PNG image fi...