search for: defaultaddrspaces

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

2008 Jul 21
2
[LLVMdev] Casting between address spaces and address space semantics
...paces) + : ImmutablePass((intptr_t)&ID), Addrspaces(Addrspaces) { init(M->getDataLayout()); } @@ -604,3 +604,5 @@ unsigned TargetData::getPreferredAlignmentLog(const GlobalVariable *GV) const { return Log2_32(getPreferredAlignment(GV)); } + +const AddrspacesDescriptor TargetData::DefaultAddrspaces; Index: include/llvm/Target/TargetData.h =================================================================== --- include/llvm/Target/TargetData.h (revision 53716) +++ include/llvm/Target/TargetData.h (working copy) @@ -63,12 +63,41 @@ std::ostream &dump(std::ostream &os) const; }; +//...
2008 Jul 21
0
[LLVMdev] Casting between address spaces and address space semantics
...Addrspaces(Addrspaces) { > init(M->getDataLayout()); > } > > @@ -604,3 +604,5 @@ > unsigned TargetData::getPreferredAlignmentLog(const GlobalVariable > *GV) const { > return Log2_32(getPreferredAlignment(GV)); > } > + > +const AddrspacesDescriptor TargetData::DefaultAddrspaces; > Index: include/llvm/Target/TargetData.h > =================================================================== > --- include/llvm/Target/TargetData.h (revision 53716) > +++ include/llvm/Target/TargetData.h (working copy) > @@ -63,12 +63,41 @@ > std::ostream &dump(std::ostr...
2008 Jul 18
0
[LLVMdev] Casting between address spaces and address space semantics
Hi Eli, Mon Ping, > In ISO/IEC WG14 n1169 on the C extensions to support embedded > processors, any two address spaces must be disjoint, must be > equivalent, or must be nested. Ah, that standard is a lot clearer on this subject than the DSP-C one I read was. > As Eli indicated, the actual relationship is platform specific depending on > what makes the most sense for
2008 Jul 17
4
[LLVMdev] Casting between address spaces and address space semantics
In ISO/IEC WG14 n1169 on the C extensions to support embedded processors, any two address spaces must be disjoint, must be equivalent, or must be nested. As Eli indicated, the actual relationship is platform specific depending on what makes the most sense for your hardware and how the program will behave will depend on that relationship. -- Mon Ping On Jul 17, 2008, at 7:25 AM, Eli