search for: scopedhasht

Displaying 7 results from an estimated 7 matches for "scopedhasht".

2015 Jul 29
2
[LLVMdev] What is getTombstoneKey?
Hi, All: I am trying to extend EarlyCSE.cpp to do more commoning of GEP instruction, it requires a hashtable with two keys, I defined typedef ScopedHashTable<DoubleKey, std::pair<Value *, unsigned>, DenseMapInfo<Value *>, LoadMapAllocator> LoadHTType; I declared a DoubleKey struct similar to CallValue but with two Value * member, However I have problem to implement getTombstoneKey() because I don'...
2010 Oct 13
0
[LLVMdev] [Q] x86 peephole deficiency
...to recast this issue as a target-independent > (but cmp-specific) peephole problem, that just looks into > predecessor blocks and applies (target-hook-like) subsumption > checks for 'cmp' instructions? I think that extending MachineCSE to do a simple dominator tree walk with llvm::ScopedHashTable would make sense. Status register bits should be handled just like any other physreg. On x86, this is a def of EFLAGS physreg for example. On PPC, the condition code register is actually a vreg iirc. -Chris
2015 Jul 29
0
[LLVMdev] What is getTombstoneKey?
On Wed, Jul 29, 2015 at 7:51 PM, Lawrence <lawrence at codeaurora.org> wrote: > Hi, All: > > > > I am trying to extend EarlyCSE.cpp to do more commoning of GEP instruction, > it requires a hashtable with two keys, I defined > > > > typedef ScopedHashTable<DoubleKey, std::pair<Value *, unsigned>, > > DenseMapInfo<Value *>, LoadMapAllocator> > LoadHTType; > > > > I declared a DoubleKey struct similar to CallValue but with two Value * > member, However I have problem to implement...
2010 Oct 13
2
[LLVMdev] [Q] x86 peephole deficiency
Am 07.10.2010 um 19:50 schrieb Chris Lattner: > > On Oct 6, 2010, at 6:16 PM, Gabor Greif wrote: > >> Hi all, >> >> I am slowly working on a SwitchInst optimizer (http://llvm.org/ >> PR8125) >> and now I am running into a deficiency of the x86 >> peephole optimizer (or jump-threader?). Here is what I get: >> >> >> andl $3,
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...cal/llvm-2.8/include/llvm/ADT/PostOrderIterator.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/PriorityQueue.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/SCCIterator.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/STLExtras.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ScopedHashTable.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/SetOperations.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/SetVector.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallBitVector.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/SmallPtrSet.h -- Installing: /usr/local/...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel