search for: addimpl

Displaying 13 results from an estimated 13 matches for "addimpl".

Did you mean: addimm
2012 Feb 14
0
[LLVMdev] We need better hashing
...clude "llvm/Support/type_traits.h" Do you actually need all of these includes? PointerLikeTypeTraits doesn't seem necessary. Is type_traits? enum { BufferSize = 32, BufferSize is dead. /// Add a pointer value template<typename T> void add(const T *PtrVal) { addImpl( reinterpret_cast<const uint32_t *>(&PtrVal), reinterpret_cast<const uint32_t *>(&PtrVal + 1)); } This violates TBAA rules and looks pretty dangerous to expose as public API. Is this really needed? Also, addImpl is dereferencing the pointers as uint32_t'...
2012 Feb 15
3
[LLVMdev] We need better hashing
...> seem necessary. Is type_traits? > > Ooops, this was a cut & paste error from FoldingSet.cpp. > enum { > BufferSize = 32, > > BufferSize is dead. > > > /// Add a pointer value > template<typename T> > void add(const T *PtrVal) { > addImpl( > reinterpret_cast<const uint32_t *>(&PtrVal), > reinterpret_cast<const uint32_t *>(&PtrVal + 1)); > } > > This violates TBAA rules and looks pretty dangerous to expose as public > API. Is this really needed? Also, addImpl is dereferencing...
2012 Feb 13
5
[LLVMdev] We need better hashing
On Mon, Feb 13, 2012 at 1:22 AM, Jay Foad <jay.foad at gmail.com> wrote: > On 13 February 2012 00:59, Talin <viridia at gmail.com> wrote: > > Here's my latest version of Hashing.h, which I propose to add to > llvm/ADT. > > Comments welcome and encouraged. > > > /// Adapted from MurmurHash2 by Austin Appleby > > Just out of curiosity, why not
2012 Feb 15
0
[LLVMdev] We need better hashing
On Feb 14, 2012, at 10:47 PM, Talin wrote: > /// Add a pointer value > template<typename T> > void add(const T *PtrVal) { > addImpl( > reinterpret_cast<const uint32_t *>(&PtrVal), > reinterpret_cast<const uint32_t *>(&PtrVal + 1)); > } > > This violates TBAA rules and looks pretty dangerous to expose as public API. Is this really needed? Also, addImpl is dereferencing the...
2012 Feb 15
2
[LLVMdev] We need better hashing
...ually need all of these includes?  PointerLikeTypeTraits doesn't > seem necessary.  Is type_traits? > >   enum { >     BufferSize = 32, > > BufferSize is dead. > > >  /// Add a pointer value >   template<typename T> >   void add(const T *PtrVal) { >     addImpl( >         reinterpret_cast<const uint32_t *>(&PtrVal), >         reinterpret_cast<const uint32_t *>(&PtrVal + 1)); >   } > > This violates TBAA rules and looks pretty dangerous to expose as public API. >  Is this really needed?  Also, addImpl is dereferencing...
2012 Feb 17
4
[LLVMdev] We need better hashing
...aligned vs. unaligned hashing routine. On Wed, Feb 15, 2012 at 12:01 PM, Chris Lattner <clattner at apple.com> wrote: > On Feb 14, 2012, at 10:47 PM, Talin wrote: > > /// Add a pointer value >> template<typename T> >> void add(const T *PtrVal) { >> addImpl( >> reinterpret_cast<const uint32_t *>(&PtrVal), >> reinterpret_cast<const uint32_t *>(&PtrVal + 1)); >> } >> >> This violates TBAA rules and looks pretty dangerous to expose as public >> API. Is this really needed? Also, a...
2011 May 04
2
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...ass >> (this=0x885cb8c, P=0x892d2e0) at >> <...>/llvm-2.9/lib/VMCore/PassManager.cpp:639 >> #7  0x083299dc in llvm::PassManagerImpl::add (this=0x885cab8, >> P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:396 >> #8  0x083279e5 in llvm::PassManager::addImpl (this=0xbffe9578, >> P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:1659 >> #9  0x08327b0a in llvm::PassManager::add (this=0xbffe9578, >> P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:1672 >> #10 0x08089480 in runFooPass (M=...) at<...>...
2011 May 04
0
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...6 #2 0x00000000004e522e in llvm::PMTopLevelManager::schedulePass (this=0x85eb60, P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:617 #3 0x00000000004ebcce in llvm::PassManagerImpl::add (this=0x85e9b0, P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:396 #4 0x00000000004e9735 in llvm::PassManager::addImpl (this=0x7fffffffdd90, P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:1659 #5 0x00000000004e9884 in llvm::PassManager::add (this=0x7fffffffdd90, P=0x85ef10) at llvm/lib/VMCoree/PassManager.cpp:1672 #6 0x000000000040b9be in main () at test.cpp:32 Best, Ralf Am 04.05.2011 18:15, schrieb Michae...
2011 May 04
1
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...4e522e in llvm::PMTopLevelManager::schedulePass > (this=0x85eb60, P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:617 > #3  0x00000000004ebcce in llvm::PassManagerImpl::add (this=0x85e9b0, > P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:396 > #4  0x00000000004e9735 in llvm::PassManager::addImpl (this=0x7fffffffdd90, > P=0x85ef10) at llvm/lib/VMCore/PassManager.cpp:1659 > #5  0x00000000004e9884 in llvm::PassManager::add (this=0x7fffffffdd90, > P=0x85ef10) at llvm/lib/VMCoree/PassManager.cpp:1672 > #6  0x000000000040b9be in main () at test.cpp:32 > > > Best, > Ralf &...
2011 May 03
4
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...32339f in llvm::PMTopLevelManager::schedulePass (this=0x885cb8c, P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:639 #7 0x083299dc in llvm::PassManagerImpl::add (this=0x885cab8, P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:396 #8 0x083279e5 in llvm::PassManager::addImpl (this=0xbffe9578, P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:1659 #9 0x08327b0a in llvm::PassManager::add (this=0xbffe9578, P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:1672 #10 0x08089480 in runFooPass (M=...) at <...>/Hello.h:56 ... At that point, t...
2011 May 04
0
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...elManager::schedulePass > (this=0x885cb8c, P=0x892d2e0) at > <...>/llvm-2.9/lib/VMCore/PassManager.cpp:639 > #7 0x083299dc in llvm::PassManagerImpl::add (this=0x885cab8, > P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:396 > #8 0x083279e5 in llvm::PassManager::addImpl (this=0xbffe9578, > P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:1659 > #9 0x08327b0a in llvm::PassManager::add (this=0xbffe9578, > P=0x892d2e0) at<...>/llvm-2.9/lib/VMCore/PassManager.cpp:1672 > #10 0x08089480 in runFooPass (M=...) at<...>/Hello.h:56 >...
2011 May 17
0
[LLVMdev] 2.9 segfault when requesting for both LoopInfo and DominatorTree analyses.
...lManager::schedulePass > (this=0x885cb8c, P=0x892d2e0) at > <...>/llvm-2.9/lib/VMCore/PassManager.cpp:639 > #7 0x083299dc in llvm::PassManagerImpl::add (this=0x885cab8, > P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:396 > #8 0x083279e5 in llvm::PassManager::addImpl (this=0xbffe9578, > P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:1659 > #9 0x08327b0a in llvm::PassManager::add (this=0xbffe9578, > P=0x892d2e0) at <...>/llvm-2.9/lib/VMCore/PassManager.cpp:1672 > #10 0x08089480 in runFooPass (M=...) at <...>/Hello.h:56 &...
2011 May 30
1
[LLVMdev] Segfault when trying to schedule custom ImmutablePass
...chedulePass (this=0x85f6ad4, P=0x86d9f98) at /home/michael/LunarGLASS/LLVM/llvm-2.9/lib/VMCore/PassManager.cpp:614 #3 0x083ac844 in llvm::PassManagerImpl::add (this=0x85f6a00, P=0x86d9f98) at /home/michael/LunarGLASS/LLVM/llvm-2.9/lib/VMCore/PassManager.cpp:396 #4 0x083aa885 in llvm::PassManager::addImpl (this=0xbffe95a4, P=0x86d9f98) at /home/michael/LunarGLASS/LLVM/llvm-2.9/lib/VMCore/PassManager.cpp:1659 #5 0x083aa9aa in llvm::PassManager::add (this=0xbffe95a4, P=0x86d9f98) at /home/michael/LunarGLASS/LLVM/llvm-2.9/lib/VMCore/PassManager.cpp:1672 #6 0x0808f9cb in gla::PrivateManager::runLLVMOp...