search for: stpworld

Displaying 20 results from an estimated 69 matches for "stpworld".

Did you mean: ntlworld
2012 May 24
0
[LLVMdev] make check-lit + grep escape characters
On Thu, May 24, 2012 at 12:44 AM, Stepan Dyatkovskiy <stpworld at narod.ru>wrote: > I just want to update test/Transforms/LowerSwitch/feature.ll that > already uses grep. > It uses grep + count, probably due to shorter construction. > If you are touching such a test, please convert it to FileCheck. Use of 'grep' in tests is an endless...
2012 Jan 22
1
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
Hi Stephan, I've been thinking about this a bit and have some more specific ideas, I'll write up a design and maybe implement it over the next few days. -Chris On Jan 21, 2012, at 11:50 PM, Stepan Dyatkovskiy <STPWORLD at narod.ru> wrote: > Hi Chris. The main question is how to implement ConstantAggregateXXXXX::getOperand? Should it be empty collection, or it must return the item aggregated? > > -Stepan. > > 22.01.2012, 04:43, "Chris Lattner" <clattner at apple.com>: >>...
2012 Jan 21
4
[LLVMdev] How to force the creation of arrays with zeroes?
Hi Chris. There is no zero arrays created. Probably this patch is not optimal and I'll reworked it today. But the main idea is keep a single zero-item when ConstantAggregateZero was wrapped and return this zero item as result of getOperand call. Note that wrapper has no parent classes, it has very local and short lifetime (method body), it exists outside the LLVMContext and needed for
2011 Sep 08
0
[LLVMdev] [LLVM, llvm-mc, AsmParser] Symbol locations.
...ate-symbol event to the MCContext. So each time when symbol will created by the MCContext::CreateSymbol this event will be fired. We can process this event by adding symbol location info to some AsmParser internal table for example. -- Stepan 08.09.2011, 15:23, "Stepan Dyatkovskiy" <STPWORLD at yandex.ru>: > Hi everybody. I found that there are some problems with symbol location in AsmParser. > 1. We need to know where symbol was declared. > 2. We need to know where symbol was defined first time. > > There are two ways: > 1. Add helper table to the parser with addi...
2012 Jan 22
2
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
...t to reply-all >> >> ---------- Forwarded message ---------- >> From: Anton Korobeynikov<anton at korobeynikov.info> >> Date: Sat, Jan 21, 2012 at 20:59 >> Subject: Re: [LLVMdev] How to force the creation of arrays with zeroes? >> To: Stepan Dyatkovskiy<STPWORLD at narod.ru> >> >> >>> Though, there is also cases when we really need to transform it to 10,000 zeroes (just look at CBackend.cpp, when we print constant arrays, string #1027). There is also cases when we need to get either operand[i] or zero (SCCP.cpp, str #413). Both fo...
2011 Sep 08
2
[LLVMdev] [LLVM, llvm-mc, AsmParser] Symbol locations.
Hi everybody. I found that there are some problems with symbol location in AsmParser. 1. We need to know where symbol was declared. 2. We need to know where symbol was defined first time. There are two ways: 1. Add helper table to the parser with additional symbol info. But it takes additional memory consumption. 2. Add user tag (void*) for MCSymbol object. As I understood MCSymbol can live
2012 May 24
3
[LLVMdev] make check-lit + grep escape characters
I just want to update test/Transforms/LowerSwitch/feature.ll that already uses grep. It uses grep + count, probably due to shorter construction. -Stepan. Eric Christopher wrote: > > On May 24, 2012, at 12:12 AM, Stepan Dyatkovskiy wrote: > >> Hi all. I found that if you want to use grep with escape characters in >> lit, you should pass it within the double slash (\\). Since
2013 Oct 29
0
[LLVMdev] Two questions about MergeFunctions pass
On 27 October 2013 11:30, Stepan Dyatkovskiy <stpworld at narod.ru> wrote: > Hi Nick. > > Can you help me sort some things out in MergeFucntions pass. While I was > working on MergeFunctions pass I got several questions. I hardly tried to > find all the answers by myself, but there are still two questions without > answer. > &g...
2012 Jan 22
0
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
...>>>  ---------- Forwarded message ---------- >>>  From: Anton Korobeynikov<anton at korobeynikov.info> >>>  Date: Sat, Jan 21, 2012 at 20:59 >>>  Subject: Re: [LLVMdev] How to force the creation of arrays with zeroes? >>>  To: Stepan Dyatkovskiy<STPWORLD at narod.ru> >>>>  Though, there is also cases when we really need to transform it to 10,000 zeroes (just look at CBackend.cpp, when we print constant arrays, string #1027). There is also cases when we need to get either operand[i] or zero (SCCP.cpp, str #413). Both for CBackend and...
2013 Oct 27
2
[LLVMdev] Two questions about MergeFunctions pass
Hi Nick. Can you help me sort some things out in MergeFucntions pass. While I was working on MergeFunctions pass I got several questions. I hardly tried to find all the answers by myself, but there are still two questions without answer. It is about merging functions itself (not comparing). First question is: Why sometimes we use RAUW and sometimes replaceDirectCallers. Would you help me
2014 Oct 12
2
[LLVMdev] Debug Info and MergeFunctions Transform
...debugger should check function name it entered, and then filter such debug information with this name. Though I'm not that familiar with Debug Info, perhaps there are still possible ways to provide single body with two debug infos. -Stepan 08.10.2014, 00:32, "Stepan Dyatkovskiy" <stpworld at narod.ru>: > Hi David, > Thanks for attention to MergeFunctions! I have read your mail briefly, > tomorrow I'll provide you with detailed information. By now you could > use tests from  $LLVM/test/Transforms/MergeFunc/ as examples. > > Cheers! > -Stepan > > Davi...
2011 Sep 16
3
[LLVMdev] [LLVM] make check-lit never finished...
Hi. I just want to know does anyone has the same problem or not. After running "make check-lit" tests are stopped at 61th percent (Linker tests). Each time it stops on different tests. Thanks. -- Regards, Stepan
2011 Sep 16
0
[LLVMdev] [LLVM] make check-lit never finished...
...doesn't want to debug it too. It crashes at the start of debug session. I reboot my computer again, and all work well now. Probably some specific bios + OS + (specific cpu instructions set). So that's all is OK by now. Regards, Stepan 16.09.2011, 11:16, "Stepan Dyatkovskiy" <STPWORLD at yandex.ru>: > Hi. I just want to know does anyone has the same problem or not. > After running "make check-lit" tests are stopped at 61th percent (Linker tests). Each time it stops on different tests. > > Thanks. > > -- > Regards, > Stepan > ______________...
2012 Jan 18
0
[LLVMdev] Fw: Should the Constant* pointer be declared with "const" or not?
Sorry!  Forgot to CC the list. ----- Forwarded Message ----- > From: Samuel Crow <samuraileumas at yahoo.com> > To: Stepan Dyatkovskiy <stpworld at narod.ru> > Cc: > Sent: Wednesday, January 18, 2012 1:31 PM > Subject: Re: [LLVMdev] Should the Constant* pointer be declared with "const" or not? > > Hello Stepan, > > The LLVM source code uses a relaxed view of const correctness.  The const > keyword is...
2012 Jan 18
0
[LLVMdev] Fw: Should the Constant* pointer be declared with "const" or not?
Try to keep things on the mailing list, if possible.  That usually means hitting "reply to all".  (I forgot earlier, myself.  Sorry.) ----- Forwarded Message ----- > From: Stepan Dyatkovskiy <STPWORLD at narod.ru> > To: Samuel Crow <samuraileumas at yahoo.com> > Cc: > Sent: Wednesday, January 18, 2012 1:50 PM > Subject: Re: [LLVMdev] Should the Constant* pointer be declared with "const" or not? > >T hanks! I bow to that decision too. > > -Stepan. &gt...
2012 Jan 21
2
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
Sorry, forgot to reply-all ---------- Forwarded message ---------- From: Anton Korobeynikov <anton at korobeynikov.info> Date: Sat, Jan 21, 2012 at 20:59 Subject: Re: [LLVMdev] How to force the creation of arrays with zeroes? To: Stepan Dyatkovskiy <STPWORLD at narod.ru> > Though, there is also cases when we really need to transform it to 10,000 zeroes (just look at CBackend.cpp, when we print constant arrays, string #1027). There is also cases when we need to get either operand[i] or zero (SCCP.cpp, str #413). Both for CBackend and for SCCP we...
2012 Jan 21
0
[LLVMdev] How to force the creation of arrays with zeroes?
...nd on your helper when it wraps a 10,000 element ConstantAggregateZero? With CAZ the client is force to think about this case, and often handles it much much more efficiently. CAZ is a time optimization as well as a space optimization. -Chris On Jan 21, 2012, at 12:03 AM, Stepan Dyatkovskiy <STPWORLD at narod.ru> wrote: > Hi Chris. There is no zero arrays created. Probably this patch is not optimal and I'll reworked it today. But the main idea is keep a single zero-item when ConstantAggregateZero was wrapped and return this zero item as result of getOperand call. > Note that wrapp...
2012 Jan 21
0
[LLVMdev] Fwd: How to force the creation of arrays with zeroes?
...wrote: > Sorry, forgot to reply-all > > ---------- Forwarded message ---------- > From: Anton Korobeynikov<anton at korobeynikov.info> > Date: Sat, Jan 21, 2012 at 20:59 > Subject: Re: [LLVMdev] How to force the creation of arrays with zeroes? > To: Stepan Dyatkovskiy<STPWORLD at narod.ru> > > >> Though, there is also cases when we really need to transform it to 10,000 zeroes (just look at CBackend.cpp, when we print constant arrays, string #1027). There is also cases when we need to get either operand[i] or zero (SCCP.cpp, str #413). Both for CBackend and...
2014 Jan 21
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...ones (notepad, nano, vi, whatever else :-) ) +#if 0 + for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) { + Function *F = I; + F->deleteBody(); + } +#endif Cheers, Duncan On Jan 21, 2014, at 9:58 AM, Stepan Dyatkovskiy <stpworld at narod.ru> wrote: > ping > Stepan Dyatkovskiy wrote: >> Hi all, >> >> I propose simple improvement for MergeFunctions pass, that reduced its >> complexity from O(N^2) to O(log(N)), where N is number of functions in >> module. >> >> The idea, i...
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...hange here, just want you to > be aware that this is a point where we might want to have a flag and > make mergefunc behave differently in different compile strategies. > > (I stopped before getting to 0008.) > > Nick > > > On 3 February 2014 11:11, Stepan Dyatkovskiy <stpworld at narod.ru > <mailto:stpworld at narod.ru>> wrote: > > Hi all, > > Previous patch has been split onto series of small changes. > On each stage (after each patch) MergeFunctions pass is compilable > and stable. > > Please find patches in attac...