search for: select_largest

Displaying 2 results from an estimated 2 matches for "select_largest".

2014 Mar 11
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
Hi all, I'd like to propose that LLVM IR have a mechanism to describe sections in a more explicit way than we can today. Currently, we provide an attribute called "section" on GlobalVariables and Functions. This attribute will choose which section the Value will end up in. However, it does not describe the attributes of the section. Without a way of describing the section, we try
2014 Apr 01
2
[LLVMdev] [RFC] Section Declarations in LLVM IR
...ues inside of a section must agree with > the > > section's linkage. > > This seems way too restrictive and I don't think it maps to what > object files actually do. We should be able to for example do > > $foo = section "bar", ..... comdat "zed", select_largest, etc > > @baz = private ... section $foo > @bah = linkonce_odr alias baz, offset 4 > > This fully general I think. In particular, the above example > represents a section name bar, in a comdat represented by the symbol > zed. The contents of the section is that of @baz and the...