search for: lvals

Displaying 20 results from an estimated 46 matches for "lvals".

Did you mean: vals
2017 Aug 19
1
[PATCH] nv50/ra: Only increment DefValue counter if we are going to spill
This is in preparation of an upcoming patch changing how we keep track of the defs. Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> --- src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
2014 Sep 01
0
[PATCH] nv50/ir: use unordered_set instead of list to keep track of var defs
The set of variable defs does not need to be ordered in any way, and removing/adding elements is a fairly common operation in various optimization passes. This shortens runtime of piglit test fp-long-alu to ~11s from ~22s No piglit regressions observed on nvc0! Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
2007 Apr 12
0
Branch 'as' - 15 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h libswfdec/swfdec_as_interpret.c
libswfdec/swfdec_as_context.c | 29 ++-- libswfdec/swfdec_as_context.h | 5 libswfdec/swfdec_as_frame.c | 47 +++++- libswfdec/swfdec_as_frame.h | 7 - libswfdec/swfdec_as_function.c | 12 + libswfdec/swfdec_as_function.h | 4 libswfdec/swfdec_as_interpret.c | 270 +++++++++++++++++++--------------------- libswfdec/swfdec_as_object.c | 31 ++++
2007 May 29
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_math.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c
libswfdec/Makefile.am | 2 libswfdec/swfdec_as_array.c | 10 ++++ libswfdec/swfdec_as_context.c | 18 ++++++- libswfdec/swfdec_as_interpret.c | 100 +++++++++++++++++++++++++++------------- libswfdec/swfdec_as_math.c | 58 +++++++++++++++++++++++ libswfdec/swfdec_as_math.h | 33 +++++++++++++ libswfdec/swfdec_as_strings.c | 4 +
2011 Apr 22
3
[LLVMdev] copy instructions
This is a simple SSA code generation 101 question. If I follow the IR code generation techniques in the Dragon book the statement x = y + z would translate into something like this in SSA/LLVM %0 = add %y, %z %x = %0 Obviously "copy instructions" like %foo = %bar are senseless in SSA since %foo and %bar are immutably fixed to the same value and there is no need for two aliases
2008 Aug 04
0
Unexpected nls behaviour: Solved
Hi Everyone, I'd omitted the non-optional 'parameters' argument to selfStart. Making this change to SSbatch gives the same (successful) result from the two calls to nls. SSbatch<-selfStart( model=function(Batch, Coeffs) { Coeffs[Batch] } ,initial=function(mCall, data, LHS) { # Estimate coefficients as mean of each batch xy <- sortedXyData(mCall[["Batch"]],
2014 Dec 02
0
[PATCH RESEND] nv50/ir: use unordered_set instead of list to keep track of var defs
The set of variable defs does not need to be ordered in any way, and removing/adding elements is a fairly common operation in various optimization passes. This shortens runtime of piglit test fp-long-alu to ~11s from ~22s No piglit regressions observed on nvc0! Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de> --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
2007 Apr 04
0
Branch 'as' - 4 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_types.c libswfdec/swfdec_as_types.h
libswfdec/Makefile.am | 2 libswfdec/swfdec_as_context.c | 30 libswfdec/swfdec_as_frame.c | 4 libswfdec/swfdec_as_interpret.c | 2472 +++++++++++++++++++++++++++++++++++ libswfdec/swfdec_as_interpret.h | 45 libswfdec/swfdec_as_object.c | 5 libswfdec/swfdec_as_types.c | 43 libswfdec/swfdec_as_types.h | 5 libswfdec/swfdec_script.c |
2007 Jan 29
0
Branch 'interpreter' - 18 commits - libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_js.c libswfdec/swfdec_js_color.c libswfdec/swfdec_js_sound.c libswfdec/swfdec_pattern.c libswfdec/swfdec_scriptable.c libswfdec/swfdec_script.c
libswfdec/swfdec_image.c | 113 ++++++++---- libswfdec/swfdec_image.h | 5 libswfdec/swfdec_js.c | 5 libswfdec/swfdec_js_color.c | 8 libswfdec/swfdec_js_sound.c | 7 libswfdec/swfdec_pattern.c | 3 libswfdec/swfdec_script.c | 376 +++++++++++++++++++++++++++++++++++++++--- libswfdec/swfdec_scriptable.c | 2 8 files changed, 441
2011 Apr 23
2
[LLVMdev] copy instructions
It is my understanding, the alloca memory routines are used for forcing variables to be allocated on the stack frame -- which you would want for source level debugging. When SSA registers are used, LLVM will decide what goes into registers and what will spill over to the stack frame. I want the latter. --w Wayne O. Cochran Assistant Professor Computer Science wcochran at vancouver.wsu.edu
2011 Apr 23
0
[LLVMdev] copy instructions
On Fri, Apr 22, 2011 at 10:40 AM, Wayne Cochran <wcochran at vancouver.wsu.edu> wrote: > This is a simple SSA code generation 101 question. > > If I follow the IR code generation techniques in the Dragon book the > statement >  x = y + z > would translate into something like this in SSA/LLVM >  %0 = add %y, %z >  %x = %0 > Obviously "copy instructions"
2017 Aug 17
3
How do set 'nest' addribute in an indirect call?
I need to set the 'next' attribute on a parameter. If the function is to be directly called, i.e., a function constant, I am getting what I want as follows (using the C 'Core.h' binding) 1) Build a function type, using LLVMFunctionType. 2) Build a function value, passing the result of 1) to LLVMAddFunction 3) Go through the formal parameters of 2), using LLVMGet[First|Next]Param,
2007 Feb 01
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/swfdec_script.c libswfdec/swfdec_script.h player/swfdec_debug_stack.c test/trace
libswfdec/js/jsnum.c | 10 ++++ libswfdec/swfdec_script.c | 86 ++++++++++++++++++++++++++++--------- libswfdec/swfdec_script.h | 2 player/swfdec_debug_stack.c | 33 +++++++++++++- test/trace/Makefile.am | 8 +++ test/trace/number.swf |binary test/trace/number.swf.trace | 9 +++ test/trace/object-math-5.swf
2014 Sep 01
2
[LLVMdev] Instrumenting Various Types Using Single Instrumentation Function
...different instrumentation functions for different data types. Can I cast say i32 value to NumericType value in my instrumentation code, without inserting additional instructions in my benchmark code. I tried inserting bitcast instructions and it doesn't work for me... if(!CastInst::isCastable(Lvals[j]->getType(), UnionVar->getType())){ errs()<<"CAST TO NumericType NOT POSSIBLE\n"; exit(0); } CastInst *I = CastInst::CreateZExtOrBitCast(Lvals[j], UnionVar->getType(), "", F); Is this even possible or some other method will be better? Than...
2007 Mar 05
0
11 commits - configure.ac libswfdec/swfdec_js_movie.c libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_movie.h libswfdec/swfdec_script.c libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite.h libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_swf_decoder.c
configure.ac | 2 libswfdec/swfdec_js_movie.c | 3 - libswfdec/swfdec_root_movie.c | 58 +++++++++++++++++++ libswfdec/swfdec_root_movie.h | 16 ++++- libswfdec/swfdec_script.c | 119 ++++++++++++++++++++++++++++++++-------- libswfdec/swfdec_sprite.c | 6 +- libswfdec/swfdec_sprite.h | 4 - libswfdec/swfdec_sprite_movie.c | 41
2014 Sep 25
0
[PATCH] nv50/ir: avoid deleting pseudo instructions too early
What happens is that a SPLIT operation is part of the spill node, and as a pseudo op, the instruction gets erased after processing its first def. However the later defs still need to refer to it, so instead delay spilling until after that whole RA node is done processing. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79462 Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> Cc:
2011 Apr 23
0
[LLVMdev] copy instructions
The mem2reg pass will rewrite allocas and loads and stores to SSA virtual registers. Essentially it's a transformation from non-SSA to SSA form. That said, I don't know if you want your students to implement their own SSA transformation. Reid On Sat, Apr 23, 2011 at 1:57 PM, Cochran, Wayne Owen <wcochran at vancouver.wsu.edu> wrote: > It is my understanding, the alloca memory
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
configure.ac | 2 libswfdec/js/jsatom.c | 6 libswfdec/js/jsatom.h | 1 libswfdec/swfdec_buffer.c | 7 libswfdec/swfdec_edittext_movie.c | 4 libswfdec/swfdec_js.c | 39 +- libswfdec/swfdec_js.h | 3 libswfdec/swfdec_js_global.c | 5 libswfdec/swfdec_js_movie.c | 1
2008 Aug 01
0
Unexpected nls behaviour
Hi everyone, I thought that for a selfStart function, these two should be exactly equivalent > nls(Aform, DF) > nls(Aform, DF, start=getInitial(Aform, DF)) but in this example that is not the case in R (although it is in S-plus V6.2) ------------------------------ SSbatch<-selfStart( model=function(Batch, Coeffs) { Coeffs[Batch] } ,initial=function(mCall, data, LHS) { # Estimate
2007 May 29
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_js_xml.c libswfdec/swfdec_tag.c player/swfplay.c
libswfdec/swfdec_as_interpret.c | 126 +++++++++++++++++----------------------- libswfdec/swfdec_js_xml.c | 2 libswfdec/swfdec_tag.c | 2 player/swfplay.c | 2 4 files changed, 60 insertions(+), 72 deletions(-) New commits: diff-tree 66f9ced7820cb09446dc493778fbd8348bfcb626 (from 33ee0a567aa0a7d9b287a5285527b436ae3fe560) Author: Benjamin Otte <otte