search for: indexedmap

Displaying 16 results from an estimated 16 matches for "indexedmap".

2018 Jun 23
4
RFC: Should SmallVectors be smaller?
> On Jun 23, 2018, at 10:14, Chris Lattner <clattner at nondot.org> wrote: > > > >> On Jun 23, 2018, at 9:11 AM, Duncan P. N. Exon Smith <dexonsmith at apple.com <mailto:dexonsmith at apple.com>> wrote: >> >>> >>> I think we might be better off just reducing the pre-allocation size of most of our SmallVectors across LLVM and Clang.
2017 May 27
6
Should we split llvm Support and ADT?
...urceMgr.h" #include "llvm/Support/raw_ostream.h" #include "llvm/ADT/APInt.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/CachedHashString.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/IndexedMap.h" #include "llvm/ADT/IntEqClasses.h" #include "llvm/ADT/MapVector.h" #include "llvm/ADT/Optional.h" #include "llvm/ADT/PointerUnion.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallPtrSe...
2017 May 27
4
Should we split llvm Support and ADT?
...; >> >> #include "llvm/ADT/APInt.h" >> #include "llvm/ADT/ArrayRef.h" >> #include "llvm/ADT/BitVector.h" >> #include "llvm/ADT/CachedHashString.h" >> #include "llvm/ADT/DenseSet.h" >> #include "llvm/ADT/IndexedMap.h" >> #include "llvm/ADT/IntEqClasses.h" >> #include "llvm/ADT/MapVector.h" >> #include "llvm/ADT/Optional.h" >> #include "llvm/ADT/PointerUnion.h" >> #include "llvm/ADT/STLExtras.h" >> #include "llvm/AD...
2017 May 27
3
Should we split llvm Support and ADT?
...ADT/APInt.h" >>>> #include "llvm/ADT/ArrayRef.h" >>>> #include "llvm/ADT/BitVector.h" >>>> #include "llvm/ADT/CachedHashString.h" >>>> #include "llvm/ADT/DenseSet.h" >>>> #include "llvm/ADT/IndexedMap.h" >>>> #include "llvm/ADT/IntEqClasses.h" >>>> #include "llvm/ADT/MapVector.h" >>>> #include "llvm/ADT/Optional.h" >>>> #include "llvm/ADT/PointerUnion.h" >>>> #include "llvm/ADT/STLExtras...
2017 May 27
8
Should we split llvm Support and ADT?
...m/Support/raw_ostream.h" > > #include "llvm/ADT/APInt.h" > #include "llvm/ADT/ArrayRef.h" > #include "llvm/ADT/BitVector.h" > #include "llvm/ADT/CachedHashString.h" > #include "llvm/ADT/DenseSet.h" > #include "llvm/ADT/IndexedMap.h" > #include "llvm/ADT/IntEqClasses.h" > #include "llvm/ADT/MapVector.h" > #include "llvm/ADT/Optional.h" > #include "llvm/ADT/PointerUnion.h" > #include "llvm/ADT/STLExtras.h" > #include "llvm/ADT/SetVector.h" >...
2011 Jan 09
2
[LLVMdev] Increasing TargetRegisterInfo::FirstVirtualRegister?
On Jan 7, 2011, at 11:25 AM, Dale Johannesen wrote: > We might want to make physical registers negative and virtuals positive, or vice versa. Then FirstVirtualRegister is 0 or 1, and we could get rid of those annoying subtractions of FirstVirtualRegister all over the virtual-register-handling passes. Since 0 is used all over the place as "invalid register" it is probably best to
2017 May 30
3
Should we split llvm Support and ADT?
...#include "llvm/ADT/APInt.h" >>> #include "llvm/ADT/ArrayRef.h" >>> #include "llvm/ADT/BitVector.h" >>> #include "llvm/ADT/CachedHashString.h" >>> #include "llvm/ADT/DenseSet.h" >>> #include "llvm/ADT/IndexedMap.h" >>> #include "llvm/ADT/IntEqClasses.h" >>> #include "llvm/ADT/MapVector.h" >>> #include "llvm/ADT/Optional.h" >>> #include "llvm/ADT/PointerUnion.h" >>> #include "llvm/ADT/STLExtras.h" >>&gt...
2017 May 30
4
Should we split llvm Support and ADT?
...ADT/APInt.h" >>>> #include "llvm/ADT/ArrayRef.h" >>>> #include "llvm/ADT/BitVector.h" >>>> #include "llvm/ADT/CachedHashString.h" >>>> #include "llvm/ADT/DenseSet.h" >>>> #include "llvm/ADT/IndexedMap.h" >>>> #include "llvm/ADT/IntEqClasses.h" >>>> #include "llvm/ADT/MapVector.h" >>>> #include "llvm/ADT/Optional.h" >>>> #include "llvm/ADT/PointerUnion.h" >>>> #include "llvm/ADT/STLExtras...
2007 Jul 13
0
[LLVMdev] [PATCH] Re: Pluggable Register Coalescers
...7 +17,22 @@ #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" +#include "llvm/CodeGen/RegisterCoalescer.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/IndexedMap.h" +#include <map> + namespace llvm { class LiveVariables; class MRegisterInfo; class TargetInstrInfo; class VirtRegMap; - - class SimpleRegisterCoalescing : public MachineFunctionPass { + class RegisterAllocator; + + class SimpleRegisterCoalescing : public MachineF...
2017 Jun 01
2
Should we split llvm Support and ADT?
...t;>>>> #include "llvm/ADT/ArrayRef.h" >>>>> #include "llvm/ADT/BitVector.h" >>>>> #include "llvm/ADT/CachedHashString.h" >>>>> #include "llvm/ADT/DenseSet.h" >>>>> #include "llvm/ADT/IndexedMap.h" >>>>> #include "llvm/ADT/IntEqClasses.h" >>>>> #include "llvm/ADT/MapVector.h" >>>>> #include "llvm/ADT/Optional.h" >>>>> #include "llvm/ADT/PointerUnion.h" >>>>> #include &quo...
2007 Jul 11
3
[LLVMdev] Pluggable Register Coalescers
On Jul 11, 2007, at 11:39 AM, David Greene wrote: > On Wednesday 11 July 2007 12:41, Tanya M. Lattner wrote: > >> I think the coalescer should be flexible enough to be run >> independent of >> the register allocator. For example, you may want to expose the >> copies >> induced by transforming out of SSA to the scheduler. If the >> scheduler is
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...fo.h (revision 49716) > +++ lib/Target/X86/X86InstrInfo.h (working copy) > @@ -15,6 +15,7 @@ > #define X86INSTRUCTIONINFO_H > > #include "llvm/Target/TargetInstrInfo.h" > +#include "X86.h" > #include "X86RegisterInfo.h" > #include "llvm/ADT/IndexedMap.h" > #include "llvm/Target/TargetRegisterInfo.h" > @@ -380,7 +381,21 @@ > unsigned char getBaseOpcodeFor(unsigned Opcode) const { > return getBaseOpcodeFor(&get(Opcode)); > } > + > + static bool isX86_64NonExtLowByteReg(unsigned reg) { > + retu...
2008 Apr 15
4
[LLVMdev] Being able to know the jitted code-size before emitting
OK, here's a new patch that adds the infrastructure and the implementation for X86, ARM and PPC of GetInstSize and GetFunctionSize. Both functions are virtual functions defined in TargetInstrInfo.h. For X86, I moved some commodity functions from X86CodeEmitter to X86InstrInfo. What do you think? Nicolas Evan Cheng wrote: > > I think both of these belong to TargetInstrInfo. And
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...m-2.8/include/llvm/ADT/ImmutableIntervalMap.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableList.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableMap.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/ImmutableSet.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/IndexedMap.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/IntrusiveRefCntPtr.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/NullablePtr.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/Optional.h -- Installing: /usr/local/llvm-2.8/include/llvm/ADT/OwningPtr.h -- Installing: /usr/local/llvm-...
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