Home
last modified time | relevance | path

Searched refs:instructions_ (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_clone_context.h46 instructions_[old_instruction] = new_instruction; in MapInstruction()
57 return FindOrDefault(instructions_, old_instruction, nullptr); in FindInstruction()
68 return FindOrDie(instructions_, old_instruction); in GetInstruction()
78 return instructions_; in cloned_instructions()
89 absl::flat_hash_map<const HloInstruction*, HloInstruction*> instructions_; variable
Dhlo_computation.h86 instructions_.push_back(std::move(instruction)); in AddInstruction()
87 last_added_instruction_ = instructions_.back().get(); in AddInstruction()
93 for (const auto& instruction : instructions_) { in ForEachInstruction()
103 std::vector<std::unique_ptr<HloInstruction>> instructions_; variable
211 return {MakeUnwrappingIterator(instructions_.begin()), in instructions()
212 MakeUnwrappingIterator(instructions_.end())}; in instructions()
217 return {MakeUnwrappingIterator(instructions_.begin()), in instructions()
218 MakeUnwrappingIterator(instructions_.end())}; in instructions()
469 InstructionList instructions_; variable
Dhlo_computation.cc54 for (auto& instruction : instructions_) { in Build()
64 name_, parameter_count, &instructions_, root, fusion_instruction_)); in Build()
112 instructions_.insert(instructions_.end(), std::move(instruction)); in AddInstructionInternal()
124 return instructions_.back().get(); in AddParameter()
142 return instructions_.back().get(); in AddEntryComputationParameter()
270 instructions_.erase(inst_it->second); in RemoveInstruction()
286 for (auto& instruction : instructions_) { in set_root_instruction()
398 for (const auto& instruction : instructions_) { in ComputeChannelDependencies()
427 for (auto& instruction : instructions_) { in MakeInstructionPostOrder()
440 CHECK_EQ(instructions_.size(), post_order.size()) in MakeInstructionPostOrder()
[all …]
Dbuffer_assignment_test.cc62 instructions_.push_back(hlo); in DefaultAction()
67 std::vector<const HloInstruction*> GetInstructions() { return instructions_; } in GetInstructions()
74 std::vector<const HloInstruction*> instructions_; member in xla::__anon3198ac380111::InstructionListVisitor
/external/boringssl/src/crypto/test/
Dfile_test.cc187 instructions_[key] = value; in ReadNext()
221 for (const auto &kv : instructions_) { in ReadNext()
275 return instructions_.count(key) > 0; in HasInstruction()
280 auto iter = instructions_.find(key); in GetInstruction()
281 if (iter == instructions_.end()) { in GetInstruction()
293 return instructions_[key]; in GetInstructionOrDie()
347 instructions_.clear(); in ClearInstructions()
405 instructions_[key] = value; in InjectInstruction()
Dfile_test.h229 std::map<std::string, std::string> instructions_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/comp/
Dmarkv_codec.h225 if (instructions_.empty()) return SpvOpNop; in GetPrevOpcode()
227 return instructions_.back()->opcode(); in GetPrevOpcode()
232 return DiagnosticStream({0, 0, instructions_.size()}, context_->consumer, in Diag()
300 std::vector<std::unique_ptr<const val::Instruction>> instructions_; variable
Dmarkv_codec.cpp191 instructions_.emplace_back(new val::Instruction(&inst_)); in ProcessCurInstruction()
196 id_to_def_instruction_.emplace(inst_.result_id, instructions_.back().get()); in ProcessCurInstruction()
/external/deqp-deps/SPIRV-Tools/source/comp/
Dmarkv_codec.h225 if (instructions_.empty()) return SpvOpNop; in GetPrevOpcode()
227 return instructions_.back()->opcode(); in GetPrevOpcode()
232 return DiagnosticStream({0, 0, instructions_.size()}, context_->consumer, in Diag()
300 std::vector<std::unique_ptr<const val::Instruction>> instructions_; variable
Dmarkv_codec.cpp191 instructions_.emplace_back(new val::Instruction(&inst_)); in ProcessCurInstruction()
196 id_to_def_instruction_.emplace(inst_.result_id, instructions_.back().get()); in ProcessCurInstruction()
/external/v8/src/wasm/
Dwasm-code-manager.h107 Vector<byte> instructions() const { return instructions_; } in instructions()
109 return reinterpret_cast<Address>(instructions_.start()); in instruction_start()
129 return reinterpret_cast<Address>(instructions_.start()) <= pc && in contains()
130 pc < reinterpret_cast<Address>(instructions_.end()); in contains()
161 : instructions_(instructions), in WasmCode()
188 Vector<byte> instructions_; variable
/external/v8/src/compiler/
Dgraph-visualizer.h128 instructions_(instructions), in schedule_()
132 const InstructionSequence* instructions_; member
Dinstruction.h1535 const_iterator begin() const { return instructions_.begin(); } in NON_EXPORTED_BASE()
1536 const_iterator end() const { return instructions_.end(); } in NON_EXPORTED_BASE()
1537 const InstructionDeque& instructions() const { return instructions_; } in NON_EXPORTED_BASE()
1544 DCHECK_GT(instructions_.size(), index); in NON_EXPORTED_BASE()
1545 return instructions_[index]; in NON_EXPORTED_BASE()
1614 for (Instruction* instr : instructions_) { in NON_EXPORTED_BASE()
1651 InstructionDeque instructions_; in NON_EXPORTED_BASE() local
Dinstruction.cc839 instructions_(zone()), in InstructionSequence()
863 int code_start = static_cast<int>(instructions_.size()); in StartBlock()
869 int end = static_cast<int>(instructions_.size()); in EndBlock()
880 int index = static_cast<int>(instructions_.size()); in AddInstruction()
882 instructions_.push_back(instr); in AddInstruction()
Dinstruction-selector.cc40 instructions_(zone), in InstructionSelector()
58 instructions_.reserve(node_count); in InstructionSelector()
106 UpdateRenames(instructions_[start]); in SelectInstructions()
107 AddInstruction(instructions_[start]); in SelectInstructions()
109 UpdateRenames(instructions_[end]); in SelectInstructions()
110 AddTerminator(instructions_[end]); in SelectInstructions()
258 instructions_.push_back(instr); in Emit()
1054 DCHECK_GE(kMaxInt, instructions_.size()); in VisitBlock()
1055 return static_cast<int>(instructions_.size()); in VisitBlock()
1081 std::reverse(instructions_.begin() + instruction_start, in VisitBlock()
[all …]
Dinstruction-selector.h747 ZoneVector<Instruction*> instructions_; variable
Dgraph-visualizer.cc801 .PrintSchedule(ac.phase_, ac.schedule_, ac.positions_, ac.instructions_); in operator <<()
/external/v8/src/x64/
Ddisasm-x64.cc172 return instructions_[x]; in Get()
176 InstructionDesc instructions_[256]; member in disasm::InstructionTable
194 instructions_[i].mnem = "(bad)"; in Clear()
195 instructions_[i].type = NO_INSTR; in Clear()
196 instructions_[i].op_order_ = UNSET_OP_ORDER; in Clear()
197 instructions_[i].byte_size_operation = false; in Clear()
217 InstructionDesc* id = &instructions_[bm[i].b]; in CopyTable()
235 InstructionDesc* id = &instructions_[b]; in SetTableRange()
246 InstructionDesc* id = &instructions_[b]; in AddJumpConditionalShort()
/external/v8/src/ia32/
Ddisasm-ia32.cc143 const InstructionDesc& Get(byte x) const { return instructions_[x]; } in Get()
150 InstructionDesc instructions_[256]; member in disasm::InstructionTable
170 instructions_[i].mnem = ""; in Clear()
171 instructions_[i].type = NO_INSTR; in Clear()
172 instructions_[i].op_order_ = UNSET_OP_ORDER; in Clear()
196 InstructionDesc* id = &instructions_[bm[i].b]; in CopyTable()
210 InstructionDesc* id = &instructions_[b]; in SetTableRange()
220 InstructionDesc* id = &instructions_[b]; in AddJumpConditionalShort()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc170 for (const HloInstructionProto& instr : instructions_) { in GetProgramShape()
186 TF_RET_CHECK(!instructions_.empty()); in GetProgramShape()
187 return GetProgramShape(instructions_.back().id()); in GetProgramShape()
261 for (HloInstructionProto& instr : instructions_) { in SetDynamicBinding()
313 return Build(instructions_.back().id(), remove_dynamic_dimensions); in Build()
344 for (auto& instruction : instructions_) { in Build()
355 for (auto& instruction : instructions_) { in Build()
381 this->instructions_.clear(); in Build()
2742 handle_to_index_[handle] = instructions_.size(); in AddInstruction()
2743 instructions_.push_back(std::move(instr)); in AddInstruction()
[all …]
Dxla_builder.h676 std::vector<HloInstructionProto> instructions_; variable