Home
last modified time | relevance | path

Searched refs:liveness (Results 1 - 25 of 34) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_liveness.cpp40 bool liveness::visit(container_node& n, bool enter) { in visit()
51 bool liveness::visit(bb_node& n, bool enter) { in visit()
60 bool liveness::visit(alu_group_node& n, bool enter) { in visit()
67 bool liveness::visit(cf_node& n, bool enter) { in visit()
82 bool liveness::visit(alu_node& n, bool enter) { in visit()
91 bool liveness::visit(alu_packed_node& n, bool enter) { in visit()
101 bool liveness::visit(fetch_node& n, bool enter) { in visit()
110 bool liveness::visit(region_node& n, bool enter) { in visit()
151 bool liveness::visit(repeat_node& n, bool enter) { in visit()
160 bool liveness
[all...]
H A Dsb_core.cpp184 SB_RUN_PASS(liveness, 0); in r600_sb_bytecode_process()
222 SB_RUN_PASS(liveness, 0); in r600_sb_bytecode_process()
/third_party/node/deps/v8/src/compiler/
H A Dbytecode-liveness-map.cc5 #include "src/compiler/bytecode-liveness-map.h"
11 std::string ToString(const BytecodeLivenessState& liveness) { in ToString() argument
13 out.resize(liveness.register_count() + 1); in ToString()
14 for (int i = 0; i < liveness.register_count(); ++i) { in ToString()
15 if (liveness.RegisterIsLive(i)) { in ToString()
21 if (liveness.AccumulatorIsLive()) { in ToString()
22 out[liveness.register_count()] = 'L'; in ToString()
24 out[liveness.register_count()] = '.'; in ToString()
H A Dbytecode-analysis.cc9 #include "src/compiler/bytecode-liveness-map.h"
197 // Special case Suspend and Resume to just pass through liveness. in UpdateInLiveness()
254 BytecodeLiveness& liveness, in EnsureOutLivenessIsNotAlias()
257 // We should have copied the next bytecode's in liveness already in the in EnsureOutLivenessIsNotAlias()
259 DCHECK_NE(liveness.out, next_bytecode_in_liveness); in EnsureOutLivenessIsNotAlias()
262 if (liveness.out == next_bytecode_in_liveness) { in EnsureOutLivenessIsNotAlias()
263 // If the out-liveness is aliasing the next bytecode's in-liveness, in EnsureOutLivenessIsNotAlias()
265 liveness.out = in EnsureOutLivenessIsNotAlias()
271 void UpdateOutLiveness(BytecodeLiveness& liveness, in UpdateOutLiveness() argument
253 EnsureOutLivenessIsNotAlias( BytecodeLiveness& liveness, BytecodeLivenessState* next_bytecode_in_liveness, Zone* zone) EnsureOutLivenessIsNotAlias() argument
364 UpdateOutLiveness(Bytecode bytecode, BytecodeLiveness& liveness, BytecodeLivenessState* next_bytecode_in_liveness, const interpreter::BytecodeArrayIterator& iterator, Handle<BytecodeArray> bytecode_array, const BytecodeLivenessMap& liveness_map, Zone* zone) UpdateOutLiveness() argument
383 UpdateLiveness(BytecodeLiveness& liveness, BytecodeLivenessState** next_bytecode_in_liveness, const interpreter::BytecodeArrayIterator& iterator, Handle<BytecodeArray> bytecode_array, const BytecodeLivenessMap& liveness_map, Zone* zone) UpdateLiveness() argument
409 UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, BytecodeLivenessState** next_bytecode_in_liveness, const interpreter::BytecodeArrayIterator& iterator, Handle<BytecodeArray> bytecode_array, const BytecodeLivenessMap& liveness_map, Zone* zone) UpdateLiveness() argument
590 BytecodeLiveness& liveness = Analyze() variable
653 BytecodeLiveness& liveness = liveness_map().GetLiveness(current_offset); Analyze() variable
694 BytecodeLiveness& liveness = Analyze() variable
981 BytecodeLiveness& liveness = liveness_map().GetLiveness(current_offset); LivenessIsValid() local
[all...]
H A Dstate-values-utils.cc7 #include "src/compiler/bytecode-liveness-map.h"
141 Node** values, size_t count, const BytecodeLivenessState* liveness) { in FillBufferWithValues()
145 // which are implied by the liveness mask. in FillBufferWithValues()
152 if (liveness == nullptr || in FillBufferWithValues()
153 liveness->RegisterIsLive(static_cast<int>(*values_idx))) { in FillBufferWithValues()
173 const BytecodeLivenessState* liveness, in BuildTree()
181 values, count, liveness); in BuildTree()
194 values, count, liveness); in BuildTree()
211 BuildTree(values_idx, values, count, liveness, level - 1); in BuildTree()
234 const BytecodeLivenessState* liveness) { in CheckTreeContainsValues()
139 FillBufferWithValues( WorkingBuffer* node_buffer, size_t* node_count, size_t* values_idx, Node** values, size_t count, const BytecodeLivenessState* liveness) FillBufferWithValues() argument
171 BuildTree(size_t* values_idx, Node** values, size_t count, const BytecodeLivenessState* liveness, size_t level) BuildTree() argument
233 CheckTreeContainsValues(Node* tree, Node** values, size_t count, const BytecodeLivenessState* liveness) CheckTreeContainsValues() argument
254 GetNodeForValues( Node** values, size_t count, const BytecodeLivenessState* liveness) GetNodeForValues() argument
[all...]
H A Dbytecode-liveness-map.h39 explicit Iterator(const BytecodeLivenessState& liveness, StartTag) in Iterator() argument
40 : it_(liveness.bit_vector_.begin()) { in Iterator()
43 if (it_ != liveness.bit_vector_.end() && *it_ == 0) { in Iterator()
47 explicit Iterator(const BytecodeLivenessState& liveness, EndTag) in Iterator() argument
48 : it_(liveness.bit_vector_.end()) {} in Iterator()
137 // Null out the in/out liveness, so that later DCHECKs know whether these in InsertNewLiveness()
178 V8_EXPORT_PRIVATE std::string ToString(const BytecodeLivenessState& liveness);
H A Dstate-values-utils.h30 const BytecodeLivenessState* liveness = nullptr);
57 // at {values_idx}, sparsely encoding according to {liveness}. {node_count} is
62 Node** values, size_t count, const BytecodeLivenessState* liveness);
65 const BytecodeLivenessState* liveness, size_t level);
H A Dbytecode-graph-builder.cc179 const BytecodeLivenessState* liveness);
349 void BuildLoopExitsForFunctionExit(const BytecodeLivenessState* liveness);
351 const BytecodeLivenessState* liveness);
354 void BuildReturn(const BytecodeLivenessState* liveness);
569 const BytecodeLivenessState* liveness);
581 void Merge(Environment* other, const BytecodeLivenessState* liveness);
585 const BytecodeLivenessState* liveness);
588 const BytecodeLivenessState* liveness);
598 const BytecodeLivenessState* liveness);
789 const BytecodeLivenessState* liveness) { in Merge()
787 Merge( BytecodeGraphBuilder::Environment* other, const BytecodeLivenessState* liveness) Merge() argument
852 PrepareForLoop( const BytecodeLoopAssignments& assignments, const BytecodeLivenessState* liveness) PrepareForLoop() argument
920 PrepareForLoopExit( Node* loop, const BytecodeLoopAssignments& assignments, const BytecodeLivenessState* liveness) PrepareForLoopExit() argument
982 GetStateValuesFromCache( Node** values, int count, const BytecodeLivenessState* liveness) GetStateValuesFromCache() argument
988 Checkpoint( BytecodeOffset bailout_id, OutputFrameStateCombine combine, const BytecodeLivenessState* liveness) Checkpoint() argument
1200 PrepareFrameState( Node* node, OutputFrameStateCombine combine, BytecodeOffset bailout_id, const BytecodeLivenessState* liveness) PrepareFrameState() argument
3525 BuildReturn(const BytecodeLivenessState* liveness) BuildReturn() argument
3677 const BytecodeLivenessState* liveness = bytecode_analysis().GetInLivenessFor( VisitSuspendGenerator() local
3802 const BytecodeLivenessState* liveness = bytecode_analysis().GetOutLivenessFor( VisitResumeGenerator() local
3856 const BytecodeLivenessState* liveness = BuildLoopHeaderEnvironment() local
3918 BuildLoopExitsUntilLoop( int loop_offset, const BytecodeLivenessState* liveness) BuildLoopExitsUntilLoop() argument
3936 BuildLoopExitsForFunctionExit( const BytecodeLivenessState* liveness) BuildLoopExitsForFunctionExit() argument
[all...]
/third_party/mesa3d/src/panfrost/midgard/
H A Dmidgard_schedule.c608 /* Net change in liveness if an instruction were scheduled. Loosely based on
612 mir_live_effect(uint16_t *liveness, midgard_instruction *ins, bool destructive) in mir_live_effect() argument
620 free_live += util_bitcount(liveness[ins->dest] & bytemask); in mir_live_effect()
623 liveness[ins->dest] &= ~bytemask; in mir_live_effect()
644 new_live += util_bitcount(bytemask & ~(liveness[S])); in mir_live_effect()
647 liveness[S] |= bytemask; in mir_live_effect()
657 uint16_t *liveness, in mir_choose_instruction()
679 * pressure. TOOD: replace with liveness tracking for much better in mir_choose_instruction()
747 int effect = mir_live_effect(liveness, instructions[i], false); in mir_choose_instruction()
783 mir_live_effect(liveness, instruction in mir_choose_instruction()
655 mir_choose_instruction( midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned count, struct midgard_predicate *predicate) mir_choose_instruction() argument
793 mir_choose_bundle( midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned count, unsigned num_ldst) mir_choose_bundle() argument
841 mir_choose_alu(midgard_instruction **slot, midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, struct midgard_predicate *predicate, unsigned unit) mir_choose_alu() argument
1019 mir_schedule_texture( midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, bool is_vertex) mir_schedule_texture() argument
1049 mir_schedule_ldst( midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, unsigned *num_ldst) mir_schedule_ldst() argument
1089 mir_schedule_zs_write( compiler_context *ctx, struct midgard_predicate *predicate, midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len, midgard_instruction *branch, midgard_instruction **smul, midgard_instruction **vadd, midgard_instruction **vlut, bool stencil) mir_schedule_zs_write() argument
1157 mir_schedule_alu( compiler_context *ctx, midgard_instruction **instructions, uint16_t *liveness, BITSET_WORD *worklist, unsigned len) mir_schedule_alu() argument
1438 uint16_t *liveness = calloc(node_count, 2); schedule_block() local
[all...]
/third_party/node/deps/v8/src/maglev/
H A Dmaglev-interpreter-frame-state.h11 #include "src/compiler/bytecode-liveness-map.h"
78 const compiler::BytecodeLivenessState* liveness) in CompactInterpreterFrameState()
80 info.zone()->NewArray<ValueNode*>(SizeFor(info, liveness))), in CompactInterpreterFrameState()
81 liveness_(liveness) {} in CompactInterpreterFrameState()
84 const compiler::BytecodeLivenessState* liveness, in CompactInterpreterFrameState()
86 : CompactInterpreterFrameState(info, liveness) { in CompactInterpreterFrameState()
163 const compiler::BytecodeLivenessState* liveness() const { return liveness_; } in liveness() function in v8::internal::maglev::CompactInterpreterFrameState
178 const compiler::BytecodeLivenessState* liveness) { in SizeFor()
179 return info.parameter_count() + liveness->live_value_count(); in SizeFor()
250 const compiler::BytecodeLivenessState* liveness) in MergePointInterpreterFrameState()
77 CompactInterpreterFrameState(const MaglevCompilationUnit& info, const compiler::BytecodeLivenessState* liveness) CompactInterpreterFrameState() argument
83 CompactInterpreterFrameState(const MaglevCompilationUnit& info, const compiler::BytecodeLivenessState* liveness, const InterpreterFrameState& state) CompactInterpreterFrameState() argument
177 SizeFor(const MaglevCompilationUnit& info, const compiler::BytecodeLivenessState* liveness) SizeFor() argument
247 MergePointInterpreterFrameState( const MaglevCompilationUnit& info, const InterpreterFrameState& state, int merge_offset, int predecessor_count, BasicBlock* predecessor, const compiler::BytecodeLivenessState* liveness) MergePointInterpreterFrameState() argument
258 MergePointInterpreterFrameState( const MaglevCompilationUnit& info, int merge_offset, int predecessor_count, const compiler::BytecodeLivenessState* liveness, const compiler::LoopInfo* loop_info) MergePointInterpreterFrameState() argument
[all...]
H A Dmaglev-register-frame-array.h53 const compiler::BytecodeLivenessState* liveness) { in CopyFrom()
57 if (!liveness) { in CopyFrom()
67 if (liveness) { in CopyFrom()
68 for (int index : *liveness) { in CopyFrom()
51 CopyFrom(const MaglevCompilationUnit& info, const RegisterFrameArray& other, const compiler::BytecodeLivenessState* liveness) CopyFrom() argument
H A Dmaglev-graph-builder.cc62 const compiler::BytecodeLivenessState* liveness = in MaglevGraphBuilder() local
66 *compilation_unit_, offset, NumPredecessors(offset), liveness, in MaglevGraphBuilder()
781 const compiler::BytecodeLivenessState* liveness = in MergeIntoFrameState() local
786 NumPredecessors(target), predecessor, liveness); in MergeIntoFrameState()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dloop_fission.cpp427 const RegisterLiveness::RegionRegisterLiveness& liveness) { in LoopFissionPass()
428 return liveness.used_registers_ > register_threshold_to_split; in LoopFissionPass()
442 RegisterLiveness::RegionRegisterLiveness liveness{}; in ShouldSplitLoop()
445 analysis->Get(function)->ComputeLoopRegisterPressure(loop, &liveness); in ShouldSplitLoop()
447 return split_criteria_(liveness); in ShouldSplitLoop()
H A Dloop_fusion_pass.cpp51 RegisterLiveness liveness(context(), function); in ProcessFunction()
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dloop_fission.cpp427 const RegisterLiveness::RegionRegisterLiveness& liveness) { in LoopFissionPass()
428 return liveness.used_registers_ > register_threshold_to_split; in LoopFissionPass()
442 RegisterLiveness::RegionRegisterLiveness liveness{}; in ShouldSplitLoop()
445 analysis->Get(function)->ComputeLoopRegisterPressure(loop, &liveness); in ShouldSplitLoop()
447 return split_criteria_(liveness); in ShouldSplitLoop()
H A Dloop_fusion_pass.cpp51 RegisterLiveness liveness(context(), function); in ProcessFunction()
53 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
/third_party/spirv-tools/source/opt/
H A Dloop_fusion_pass.cpp50 RegisterLiveness liveness(context(), function); in ProcessFunction()
52 liveness.SimulateFusion(loop_0, loop_1, &reg_pressure); in ProcessFunction()
H A Dloop_fission.cpp427 const RegisterLiveness::RegionRegisterLiveness& liveness) { in LoopFissionPass()
428 return liveness.used_registers_ > register_threshold_to_split; in LoopFissionPass()
442 RegisterLiveness::RegionRegisterLiveness liveness{}; in ShouldSplitLoop()
445 analysis->Get(function)->ComputeLoopRegisterPressure(loop, &liveness); in ShouldSplitLoop()
447 return split_criteria_(liveness); in ShouldSplitLoop()
/third_party/mesa3d/src/gallium/auxiliary/nir/
H A Dnir_to_tgsi.c89 struct ntt_reg_interval *liveness; member
277 c->liveness[index].start = MIN2(c->liveness[index].start, ip); in ntt_live_reg_mark_use()
278 c->liveness[index].end = MAX2(c->liveness[index].end, ip); in ntt_live_reg_mark_use()
346 c->liveness[index].start = MIN2(c->liveness[index].start, ip); in ntt_live_reg_setup_def_use()
347 c->liveness[index].end = MAX2(c->liveness[index].end, ip); in ntt_live_reg_setup_def_use()
361 c->liveness in ntt_live_regs()
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Dregalloc.c522 BITSET_WORD *liveness) in ppir_all_interference()
525 BITSET_FOREACH_SET(i, liveness, comp->reg_num) { in ppir_all_interference()
526 BITSET_FOREACH_SET(j, liveness, comp->reg_num) { in ppir_all_interference()
529 BITSET_CLEAR(liveness, i); in ppir_all_interference()
521 ppir_all_interference(ppir_compiler *comp, struct ra_graph *g, BITSET_WORD *liveness) ppir_all_interference() argument
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceCfgNode.h107 bool liveness(Liveness *Liveness);
H A DIceCfg.cpp335 // The following code does an in-place update of liveness and live ranges in advancedPhiLowering()
340 // Iterate over the newly added nodes to add their liveness info. in advancedPhiLowering()
345 (*I)->liveness(getLiveness()); in advancedPhiLowering()
350 // result of adding the new phi edge split nodes. The liveness calculation in advancedPhiLowering()
357 liveness(Liveness_Intervals); in advancedPhiLowering()
1456 void Cfg::liveness(LivenessMode Mode) { in liveness() function in Ice::Cfg
1473 bool Changed = Node->liveness(getLiveness()); in liveness()
1475 // If the beginning-of-block liveness changed since the last in liveness()
1513 // Special treatment for live in-args. Their liveness needs to extend in liveness()
1529 // add liveness interval in liveness()
[all...]
H A DIceCfg.h218 void liveness(LivenessMode Mode);
235 /// Get the current memory usage due to liveness data structures.
H A DIceCfgNode.cpp111 // modified to be zero, to maintain consistency in liveness analysis. This
434 // pass will be needed. To prepare for this, liveness (including live range
435 // calculation) of the split nodes needs to be calculated, and liveness of the
650 // Performs liveness analysis on the block. Returns true if the incoming
651 // liveness changed from before, false if it stayed the same. (If it changes,
653 bool CfgNode::liveness(Liveness *Liveness) { in liveness() function in Ice::CfgNode
696 I.liveness(I.getNumber(), Live, Liveness, LiveBegin, LiveEnd); in liveness()
707 if (I.liveness(FirstPhiNumber, Live, Liveness, LiveBegin, LiveEnd)) in liveness()
717 // This is a fatal liveness consistency error. Print some diagnostics and in liveness()
730 llvm::report_fatal_error("Fatal inconsistency in liveness analysi in liveness()
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A DMakefile51 LIB_OBJS += liveness.o

Completed in 26 milliseconds

12