search for: typemapty

Displaying 4 results from an estimated 4 matches for "typemapty".

Did you mean: typemap
2012 Feb 02
2
[LLVMdev] Disjoint types after reading several modules
Hi Chris, thanks for your answer! On 2/2/12 1:15 AM, Chris Lattner wrote: > The linker has to solve the exact same problem (read multiple .bc files and unify types across them). This is the impetus behind TypeMapTy in lib/Linker/LinkModules.cpp. You'll probably need to do something like that. I already looked into that. The linker is using the GlobalValues of both modules to identify the types to unify. This leads to interesting effects in some cases, but I'll write another post about this. Never...
2012 Feb 02
0
[LLVMdev] Disjoint types after reading several modules
...problem, and solved it? Or is there a known solution to it? I'm familiar with the scenario, but haven't heard of anyone trying to do something quite like this. The linker has to solve the exact same problem (read multiple .bc files and unify types across them). This is the impetus behind TypeMapTy in lib/Linker/LinkModules.cpp. You'll probably need to do something like that. > Our idea for solving this is to add a named metadata node to each module before serializing it to bitcode, in order to identify previously identical types after deserialization. The metadata consists of a list...
2012 Jan 31
2
[LLVMdev] Disjoint types after reading several modules
Dear community, we are currently facing a problem related to the new type system in llvm 3.0. Our setting is the following: We have two or more modules, all in the same LLVMContext. They are sharing some types, meaning that for example functions in different modules are referencing the same (meaning pointer identical) type. Now we write the different modules to the disk, and read them back
2012 Feb 02
0
[LLVMdev] Disjoint types after reading several modules
Hi Clemens, On 02/02/12 13:30, Clemens Hammacher wrote: > Hi Chris, > thanks for your answer! > > On 2/2/12 1:15 AM, Chris Lattner wrote: >> The linker has to solve the exact same problem (read multiple .bc files and >> unify types across them). This is the impetus behind TypeMapTy in >> lib/Linker/LinkModules.cpp. You'll probably need to do something like that. > > I already looked into that. The linker is using the GlobalValues of both modules > to identify the types to unify. > This leads to interesting effects in some cases, but I'll write anothe...