Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 25 of 40) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dcompile.cc240 PODArray<Prog::Inst> inst_; member in re2::Compiler
264 inst_[fail].InitFail(); in Compiler()
278 if (ninst_ + n > inst_.size()) { in AllocInst()
279 int cap = inst_.size(); in AllocInst()
285 if (inst_.data() != NULL) in AllocInst()
286 memmove(inst.data(), inst_.data(), ninst_*sizeof inst_[0]); in AllocInst()
287 memset(inst.data() + ninst_, 0, (cap - ninst_)*sizeof inst_[0]); in AllocInst()
288 inst_ = std::move(inst); in AllocInst()
315 Prog::Inst* begin = &inst_[a.begin]; in Cat()
320 PatchList::Patch(inst_.data(), a.end, b.begin); in Cat()
[all …]
Ddfa.cc113 int* inst_; // Instruction pointers in the state. member
144 mix.Mix(a->inst_[i]); in operator ()()
161 if (a->inst_[i] != b->inst_[i]) in operator ()()
520 if (state->inst_[i] == Mark) { in DumpState()
523 } else if (state->inst_[i] == MatchSep) { in DumpState()
527 s += StringPrintf("%s%d", sep, state->inst_[i]); in DumpState()
737 state.inst_ = inst; in CachedState()
769 s->inst_ = new (s->next_ + nnext) int[ninst]; in CachedState()
770 memmove(s->inst_, inst, ninst*sizeof s->inst_[0]); in CachedState()
803 if (s->inst_[i] == Mark) { in StateToWorkq()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); in Apply()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds()
30 auto operand = inst_->GetOperand(operand_index_); in Apply()
37 inst_->SetOperand(operand_index_, {undef_id}); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
Dchange_operand_reduction_opportunity.h32 : inst_(inst), in ChangeOperandReductionOpportunity()
44 opt::Instruction* const inst_;
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); in Apply()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds()
30 auto operand = inst_->GetOperand(operand_index_); in Apply()
37 inst_->SetOperand(operand_index_, {undef_id}); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
Dchange_operand_reduction_opportunity.h32 : inst_(inst), in ChangeOperandReductionOpportunity()
44 opt::Instruction* const inst_;
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
25 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
30 inst_->SetOperand(operand_index_, {new_id_}); in Apply()
31 inst_->context()->get_def_use_mgr()->UpdateDefUse(inst_); in Apply()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
26 inst_->GetOperand(operand_index_).words[0] == original_id_; in PreconditionHolds()
30 auto operand = inst_->GetOperand(operand_index_); in Apply()
37 inst_->SetOperand(operand_index_, {undef_id}); in Apply()
Dremove_instruction_reduction_opportunity.cpp26 for (auto& entry_point : inst_->context()->module()->entry_points()) { in Apply()
30 entry_point.GetSingleWordInOperand(index) == inst_->result_id()) { in Apply()
37 inst_->context()->KillInst(inst_); in Apply()
Dremove_instruction_reduction_opportunity.h29 : inst_(inst) {} in RemoveInstructionReductionOpportunity()
38 opt::Instruction* inst_;
Dchange_operand_to_undef_reduction_opportunity.h34 inst_(inst), in ChangeOperandToUndefReductionOpportunity()
45 opt::Instruction* const inst_; variable
/external/deqp-deps/SPIRV-Tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 SpvOp opcode() const { return static_cast<SpvOp>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 spv::Op opcode() const { return static_cast<spv::Op>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dinstruction.h43 uint32_t id() const { return inst_.result_id; } in id()
44 uint32_t type_id() const { return inst_.type_id; } in type_id()
45 spv::Op opcode() const { return static_cast<spv::Op>(inst_.opcode); } in opcode()
82 const spv_parsed_instruction_t& c_inst() const { return inst_; } in c_inst()
86 return inst_.ext_inst_type; in ext_inst_type()
91 spvExtInstIsNonSemantic(inst_.ext_inst_type); in IsNonSemantic()
97 spvExtInstIsDebugInfo(inst_.ext_inst_type); in IsDebugInfo()
105 assert(o.offset + o.num_words <= inst_.num_words); in GetOperandAs()
115 spv_parsed_instruction_t inst_; variable
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_multi_channel_opus_impl.cc144 : payload_type_(payload_type), inst_(nullptr) { in AudioEncoderMultiChannelOpusImpl()
151 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderMultiChannelOpusImpl()
182 if (inst_) in RecreateEncoderInstance()
183 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
188 &inst_, config.num_channels, in RecreateEncoderInstance()
196 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, bitrate)); in RecreateEncoderInstance()
199 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance()
202 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in RecreateEncoderInstance()
206 0, WebRtcOpus_SetMaxPlaybackRate(inst_, config.max_playback_rate_hz)); in RecreateEncoderInstance()
212 0, WebRtcOpus_SetComplexity(inst_, AudioEncoderOpusConfig().complexity)); in RecreateEncoderInstance()
[all …]
Daudio_encoder_opus.cc372 inst_(nullptr), in AudioEncoderOpusImpl()
392 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpusImpl()
425 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in SetFec()
427 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in SetFec()
435 RTC_CHECK_EQ(0, WebRtcOpus_EnableDtx(inst_)); in SetDtx()
437 RTC_CHECK_EQ(0, WebRtcOpus_DisableDtx(inst_)); in SetDtx()
600 inst_, &input_buffer_[0], in EncodeImpl()
616 const auto bandwidth = GetNewBandwidth(config_, inst_); in EncodeImpl()
618 RTC_CHECK_EQ(0, WebRtcOpus_SetBandwidth(inst_, *bandwidth)); in EncodeImpl()
665 if (inst_) in RecreateEncoderInstance()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_window_utils.cc38 explicit HloOp(HloInstruction* inst) : inst_(inst) {} in HloOp()
40 inst_->SetAndSanitizeName(name); in SetName()
41 if (inst_->GetModule() != nullptr) { in SetName()
42 inst_->UniquifyName(&inst_->GetModule()->instruction_name_uniquer()); in SetName()
45 HloInstruction* get() { return inst_; } in get()
48 HloInstruction* inst_ = nullptr; member in xla::__anonb843f2180111::HloOp

12