Home
last modified time | relevance | path

Searched refs:inst_ (Results 1 – 25 of 36) 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/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()
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/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 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/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 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/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_multi_channel_opus_impl.cc143 : payload_type_(payload_type), inst_(nullptr) { in AudioEncoderMultiChannelOpusImpl()
150 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderMultiChannelOpusImpl()
181 if (inst_) in RecreateEncoderInstance()
182 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in RecreateEncoderInstance()
187 &inst_, config.num_channels, in RecreateEncoderInstance()
195 RTC_CHECK_EQ(0, WebRtcOpus_SetBitRate(inst_, bitrate)); in RecreateEncoderInstance()
198 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in RecreateEncoderInstance()
201 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in RecreateEncoderInstance()
205 0, WebRtcOpus_SetMaxPlaybackRate(inst_, config.max_playback_rate_hz)); in RecreateEncoderInstance()
211 0, WebRtcOpus_SetComplexity(inst_, AudioEncoderOpusConfig().complexity)); in RecreateEncoderInstance()
[all …]
Daudio_encoder_opus.cc367 inst_(nullptr), in AudioEncoderOpusImpl()
386 RTC_CHECK_EQ(0, WebRtcOpus_EncoderFree(inst_)); in ~AudioEncoderOpusImpl()
419 RTC_CHECK_EQ(0, WebRtcOpus_EnableFec(inst_)); in SetFec()
421 RTC_CHECK_EQ(0, WebRtcOpus_DisableFec(inst_)); in SetFec()
429 RTC_CHECK_EQ(0, WebRtcOpus_EnableDtx(inst_)); in SetDtx()
431 RTC_CHECK_EQ(0, WebRtcOpus_DisableDtx(inst_)); in SetDtx()
597 inst_, &input_buffer_[0], in EncodeImpl()
611 const auto bandwidth = GetNewBandwidth(config_, inst_); in EncodeImpl()
613 RTC_CHECK_EQ(0, WebRtcOpus_SetBandwidth(inst_, *bandwidth)); in EncodeImpl()
664 if (inst_) in RecreateEncoderInstance()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp22 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
23 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
24 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
28 inst_->SetOperand(operand_index_, {new_id_}); 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
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.cpp22 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
23 inst_->GetOperand(operand_index_).words[0] == original_id_ && in PreconditionHolds()
24 inst_->GetOperand(operand_index_).type == original_type_; in PreconditionHolds()
28 inst_->SetOperand(operand_index_, {new_id_}); 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/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::__anon1aff633a0111::HloOp

12