/external/mesa3d/src/compiler/nir/ |
nir_remove_dead_variables.c | 31 add_var_use_intrinsic(nir_intrinsic_instr *instr, struct set *live) 37 _mesa_set_add(live, instr->variables[1]->var); 42 * don't mark it as live for just a store. 46 _mesa_set_add(live, instr->variables[0]->var); 52 _mesa_set_add(live, instr->variables[i]->var); 59 add_var_use_call(nir_call_instr *instr, struct set *live) 63 _mesa_set_add(live, var); 68 _mesa_set_add(live, var); 73 add_var_use_tex(nir_tex_instr *instr, struct set *live) 77 _mesa_set_add(live, var) 95 add_var_use_intrinsic(nir_instr_as_intrinsic(instr), live); local 99 add_var_use_call(nir_instr_as_call(instr), live); local 103 add_var_use_tex(nir_instr_as_tex(instr), live); local 162 struct set *live = local [all...] |
/external/v8/src/compiler/ |
graph-trimmer.cc | 23 // Mark end node as live. 25 // Compute transitive closure of live nodes. 27 Node* const live = live_[i]; local 28 for (Node* const input : live->inputs()) MarkAsLive(input); 30 // Remove dead->live edges. 31 for (Node* const live : live_) { 32 DCHECK(IsLive(live)); 33 for (Edge edge : live->use_edges()) { 38 os << "DeadLink: " << *user << "(" << edge.index() << ") -> " << *live
|
/prebuilts/go/darwin-x86/test/ |
live.go | 1 // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off 4 // rescheduling checks need to be turned off because there are some live variables across the inserted check call 36 printpointer(&x) // ERROR "live at call to printpointer: x$" 37 printpointer(&x) // ERROR "live at call to printpointer: x$" 42 printint(0) // nothing live here 46 printpointer(&x) // ERROR "live at call to printpointer: x$" 47 printpointer(&x) // ERROR "live at call to printpointer: x$" 51 // Here x and y are ambiguously live. In previous go versions they 52 // were marked as live throughout the function to avoid being 64 printpointer(&x) // ERROR "live at call to printpointer: x$ [all...] |
live2.go | 1 // errorcheck -0 -live -wb=0 8 // see also live.go. 23 ret.m = make(map[int]int) // ERROR "live at call to makemap: &ret$" 28 t := newT40() // ERROR "live at call to makemap: .autotmp_[0-9]+ ret$" 29 printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+ ret$" 35 ret.m = make(map[int]int) // ERROR "live at call to makemap: .autotmp_[0-9]+ ret$" 37 printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+ ret$"
|
uintptrescapes2.go | 1 // errorcheck -0 -m -live 25 F1(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to F1: .?autotmp" "&t escapes to heap" 30 F2(0, 1, uintptr(unsafe.Pointer(&v)), 2) // ERROR "live at call to newobject: .?autotmp" "live at call to F2: .?autotmp" "escapes to heap"
|
live_syscall.go | 1 // errorcheck -0 -m -live 22 f(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to f: .?autotmp" "g &t does not escape" 27 syscall.Syscall(0, 1, uintptr(unsafe.Pointer(&v)), 2) // ERROR "live at call to Syscall: .?autotmp" "h &v does not escape"
|
/prebuilts/go/linux-x86/test/ |
live.go | 1 // errorcheckwithauto -0 -l -live -wb=0 -d=ssa/insert_resched_checks/off 4 // rescheduling checks need to be turned off because there are some live variables across the inserted check call 36 printpointer(&x) // ERROR "live at call to printpointer: x$" 37 printpointer(&x) // ERROR "live at call to printpointer: x$" 42 printint(0) // nothing live here 46 printpointer(&x) // ERROR "live at call to printpointer: x$" 47 printpointer(&x) // ERROR "live at call to printpointer: x$" 51 // Here x and y are ambiguously live. In previous go versions they 52 // were marked as live throughout the function to avoid being 64 printpointer(&x) // ERROR "live at call to printpointer: x$ [all...] |
live2.go | 1 // errorcheck -0 -live -wb=0 8 // see also live.go. 23 ret.m = make(map[int]int) // ERROR "live at call to makemap: &ret$" 28 t := newT40() // ERROR "live at call to makemap: .autotmp_[0-9]+ ret$" 29 printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+ ret$" 35 ret.m = make(map[int]int) // ERROR "live at call to makemap: .autotmp_[0-9]+ ret$" 37 printnl() // ERROR "live at call to printnl: .autotmp_[0-9]+ ret$"
|
uintptrescapes2.go | 1 // errorcheck -0 -m -live 25 F1(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to F1: .?autotmp" "&t escapes to heap" 30 F2(0, 1, uintptr(unsafe.Pointer(&v)), 2) // ERROR "live at call to newobject: .?autotmp" "live at call to F2: .?autotmp" "escapes to heap"
|
live_syscall.go | 1 // errorcheck -0 -m -live 22 f(uintptr(unsafe.Pointer(&t))) // ERROR "live at call to f: .?autotmp" "g &t does not escape" 27 syscall.Syscall(0, 1, uintptr(unsafe.Pointer(&v)), 2) // ERROR "live at call to Syscall: .?autotmp" "h &v does not escape"
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue15747.go | 1 // errorcheck -0 -live 7 // Issue 15747: liveness analysis was marking heap-escaped params live too much, 20 func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at call to writebarrierptr: &xx$" "live at entry to f1: xx$" 22 // xx was live for the first two prints but then it switched to &xx 23 // being live. We should not see plain xx again. 25 global = &xx // ERROR "live at call to writebarrierptr: &xx$" 27 xx, _, err := f2(xx, 5) // ERROR "live at call to f2: &xx$" "live at call to writebarrierptr: err.data err.type$ [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue15747.go | 1 // errorcheck -0 -live 7 // Issue 15747: liveness analysis was marking heap-escaped params live too much, 20 func f1(q *Q, xx []byte) interface{} { // ERROR "live at call to newobject: xx$" "live at call to writebarrierptr: &xx$" "live at entry to f1: xx$" 22 // xx was live for the first two prints but then it switched to &xx 23 // being live. We should not see plain xx again. 25 global = &xx // ERROR "live at call to writebarrierptr: &xx$" 27 xx, _, err := f2(xx, 5) // ERROR "live at call to f2: &xx$" "live at call to writebarrierptr: err.data err.type$ [all...] |
/external/v8/src/crankshaft/ |
hydrogen-environment-liveness.cc | 48 HBasicBlock* block, BitVector* live) { 49 // When a value is live in successor A but dead in B, we must 55 if (live_in_successor->Equals(*live)) continue; 56 for (int i = 0; i < live->length(); ++i) { 57 if (!live->Contains(i)) continue; 85 BitVector* live) { 87 live->Clear(); 89 live->Union(*live_at_block_start_[it.Current()->block_id()]); 96 BitVector* live) { 101 if (!live->Contains(index)) [all...] |
hydrogen-environment-liveness.h | 14 // Trims live ranges of environment slots by doing explicit liveness analysis. 18 // live ranges of environment slots by zapping them with a constant after 30 void ZapEnvironmentSlotsInSuccessors(HBasicBlock* block, BitVector* live); 32 void UpdateLivenessAtBlockEnd(HBasicBlock* block, BitVector* live); 33 void UpdateLivenessAtInstruction(HInstruction* instr, BitVector* live); 56 // for which a new live range has started since (so they must not be zapped 57 // in that simulate when the end of another live range of theirs is found).
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
sb_liveness.cpp | 42 n.live_after = live; 46 n.live_before = live; 53 n.live_after = live; 55 n.live_before = live; 73 n.live_after = live; 77 n.live_before = live; 112 val_set s = live; 119 n.live_after = live; 121 live.clear(); 133 n.live_before = live; [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/internal/cfg/ |
cfg_test.go | 21 live() 28 live() 38 live() 41 live() 49 live() 52 live() 63 live() 66 live() 80 live() 92 live() [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/internal/cfg/ |
cfg_test.go | 21 live() 28 live() 38 live() 41 live() 49 live() 52 live() 63 live() 66 live() 80 live() 92 live() [all...] |
/external/clang/test/Sema/ |
warn-unreachable.c | 6 int live(); 30 switch (live()) { 36 live(), halt(), 40 live() 47 live(), 57 live(), 63 if (live()) 65 live(), 74 live(), 97 live(), [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/ |
stackalloc.go | 5 // TODO: live at start of block instead? 14 // live is the output of stackalloc. 15 // live[b.id] = live values at the end of block b. 16 live [][]ID 63 s.live = nil 75 // Returns a map from block ID to the stack values live at the end of that block. 93 return s.live 261 // stack-slot-needing value IDs live at the end of that block. 262 // TODO: this could be quadratic if lots of variables are live across lots o [all...] |
deadcode.go | 7 // findlive returns the reachable blocks and live values in f. 8 func findlive(f *Func) (reachable []bool, live []bool) { 10 live = liveValues(f, reachable) 39 // liveValues returns the live values in f. 42 live := make([]bool, f.NumValues()) 44 // After regalloc, consider all values to be live. 47 for i := range live { 48 live[i] = true 50 return live 53 // Find all live value [all...] |
print.go | 28 value(v *Value, live bool) 63 func (p stringFuncPrinter) value(v *Value, live bool) { 68 if !live { 85 reachable, live := findlive(f) 94 p.value(v, live[v.ID]) 107 p.value(v, live[v.ID]) 127 p.value(v, live[v.ID]) 137 p.value(v, live[v.ID])
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/ |
stackalloc.go | 5 // TODO: live at start of block instead? 14 // live is the output of stackalloc. 15 // live[b.id] = live values at the end of block b. 16 live [][]ID 63 s.live = nil 75 // Returns a map from block ID to the stack values live at the end of that block. 93 return s.live 261 // stack-slot-needing value IDs live at the end of that block. 262 // TODO: this could be quadratic if lots of variables are live across lots o [all...] |
deadcode.go | 7 // findlive returns the reachable blocks and live values in f. 8 func findlive(f *Func) (reachable []bool, live []bool) { 10 live = liveValues(f, reachable) 39 // liveValues returns the live values in f. 42 live := make([]bool, f.NumValues()) 44 // After regalloc, consider all values to be live. 47 for i := range live { 48 live[i] = true 50 return live 53 // Find all live value [all...] |
/external/clang/test/SemaCXX/ |
warn-unreachable.cpp | 4 int &live(); 11 live(); 13 live(); 20 live(); 22 live(); 27 live(); 32 live(); 47 live(), 75 live(),
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_fs_dead_code_eliminate.cpp | 81 BITSET_WORD *live = rzalloc_array(NULL, BITSET_WORD, BITSET_WORDS(num_vars)); local 85 memcpy(live, live_intervals->block_data[block->num].liveout, 96 result_live |= BITSET_TEST(live, var + i); 114 BITSET_CLEAR(live, var + i); 132 BITSET_SET(live, var + j); 141 ralloc_free(live);
|