search for: smallsetptr

Displaying 9 results from an estimated 9 matches for "smallsetptr".

2012 Jun 18
2
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...nClass, > Add a top level comment describing the function > > + std::map<State*, std::set<Transition*, ltTransition>, ltState> > stateTransitions; > You should be able to use SmallSet here. Also, this line exceeds 80 > columns. I tried but SmallSet is not iterable. SmallSetPtr could be useful here but it doesn't allow custom sorting. > > > On a related note, is the CachedTable mechanism in DFAPacketizer.h > useful for your architecture? Currently the DFA generator generates > one table for a given architecture. I had originally added the > Cach...
2012 Jun 25
2
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...ion >>> >>> + std::map<State*, std::set<Transition*, ltTransition>, ltState> >>> stateTransitions; >>> You should be able to use SmallSet here. Also, this line exceeds 80 >>> columns. >> >> I tried but SmallSet is not iterable. SmallSetPtr could be useful >> here but it doesn't allow custom sorting. >> >>> >>> >>> On a related note, is the CachedTable mechanism in DFAPacketizer.h >>> useful for your architecture? Currently the DFA generator generates >>> one table for a...
2012 Jun 20
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...comment describing the function >> >> + std::map<State*, std::set<Transition*, ltTransition>, ltState> >> stateTransitions; >> You should be able to use SmallSet here. Also, this line exceeds 80 >> columns. > > I tried but SmallSet is not iterable. SmallSetPtr could be useful here > but it doesn't allow custom sorting. > >> >> >> On a related note, is the CachedTable mechanism in DFAPacketizer.h >> useful for your architecture? Currently the DFA generator generates >> one table for a given architecture. I had or...
2012 Jun 26
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...gt;>> + std::map<State*, std::set<Transition*, ltTransition>, ltState> >>>> stateTransitions; >>>> You should be able to use SmallSet here. Also, this line exceeds 80 >>>> columns. >>> >>> I tried but SmallSet is not iterable. SmallSetPtr could be useful >>> here but it doesn't allow custom sorting. >>> >>>> >>>> >>>> On a related note, is the CachedTable mechanism in DFAPacketizer.h >>>> useful for your architecture? Currently the DFA generator generates >>...
2012 Jun 26
4
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...>> + std::map<State*, std::set<Transition*, ltTransition>, ltState> >>>>> stateTransitions; >>>>> You should be able to use SmallSet here. Also, this line exceeds 80 >>>>> columns. >>>> I tried but SmallSet is not iterable. SmallSetPtr could be useful >>>> here but it doesn't allow custom sorting. >>>> >>>>> >>>>> On a related note, is the CachedTable mechanism in DFAPacketizer.h >>>>> useful for your architecture? Currently the DFA generator generates >&...
2012 Jun 27
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...:map<State*, std::set<Transition*, ltTransition>, ltState> >>>>>> stateTransitions; >>>>>> You should be able to use SmallSet here. Also, this line exceeds 80 >>>>>> columns. >>>>> I tried but SmallSet is not iterable. SmallSetPtr could be useful >>>>> here but it doesn't allow custom sorting. >>>>> >>>>>> >>>>>> On a related note, is the CachedTable mechanism in DFAPacketizer.h >>>>>> useful for your architecture? Currently the DFA gener...
2012 Jun 28
3
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
...std::set<Transition*, ltTransition>, ltState> >>>>>>> stateTransitions; >>>>>>> You should be able to use SmallSet here. Also, this line exceeds 80 >>>>>>> columns. >>>>>> I tried but SmallSet is not iterable. SmallSetPtr could be useful >>>>>> here but it doesn't allow custom sorting. >>>>>> >>>>>>> >>>>>>> On a related note, is the CachedTable mechanism in DFAPacketizer.h >>>>>>> useful for your architecture? Cur...
2012 Jun 15
0
[LLVMdev] [llvm-commits] [PATCH] Refactoring the DFA generator
Hi Ivan, The patch looks good to me. I have a couple of minor comments: +void State::AddInsnClass(unsigned InsnClass, Add a top level comment describing the function + std::map<State*, std::set<Transition*, ltTransition>, ltState> stateTransitions; You should be able to use SmallSet here. Also, this line exceeds 80 columns. On a related note, is the CachedTable mechanism in
2012 Jun 14
5
[LLVMdev] [PATCH] Refactoring the DFA generator
Hi, I've refactored the DFA generator in TableGen because it takes too much time to build the table of our BE and I'd like to share it. We have 15 functional units and 13 different itineraries which, in the worst case, can produce 13! states. Fortunately, many of those states are reused :-) but it still takes up to 11min to build the entire table. This patch reduces the build time to