Home
last modified time | relevance | path

Searched refs:const_mgr (Results 1 - 25 of 46) sorted by relevance

12

/third_party/spirv-tools/source/opt/
H A Dconst_folding_rules.cpp27 analysis::ConstantManager* const_mgr) { in GetNan()
35 return const_mgr->GetFloatConst(std::numeric_limits<float>::quiet_NaN()); in GetNan()
37 return const_mgr->GetDoubleConst( in GetNan()
47 analysis::ConstantManager* const_mgr) { in GetInf()
55 return const_mgr->GetFloatConst(std::numeric_limits<float>::infinity()); in GetInf()
57 return const_mgr->GetDoubleConst(std::numeric_limits<double>::infinity()); in GetInf()
78 analysis::ConstantManager* const_mgr) { in NegateFPConst()
83 return const_mgr->GetFloatConst(-fa); in NegateFPConst()
86 return const_mgr->GetDoubleConst(-da); in NegateFPConst()
94 analysis::ConstantManager* const_mgr) { in NegateIntConst()
26 GetNan(const analysis::Type* type, analysis::ConstantManager* const_mgr) GetNan() argument
46 GetInf(const analysis::Type* type, analysis::ConstantManager* const_mgr) GetInf() argument
76 NegateFPConst(const analysis::Type* result_type, const analysis::Constant* val, analysis::ConstantManager* const_mgr) NegateFPConst() argument
92 NegateIntConst(const analysis::Type* result_type, const analysis::Constant* val, analysis::ConstantManager* const_mgr) NegateIntConst() argument
121 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); FoldExtractWithConstants() local
240 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); FoldVectorShuffleWithConstants() local
[all...]
H A Dfold_spec_constant_op_and_composite_pass.cpp28 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in Process() local
63 if (const_mgr->GetType(inst) && in Process()
64 !const_mgr->GetType(inst)->decoration_empty()) in Process()
81 if (auto const_value = const_mgr->GetConstantFromInst(inst)) { in Process()
88 const_mgr->MapConstantToInst(const_value, inst); in Process()
146 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in FoldWithInstructionFolder() local
156 if (const_mgr->FindDeclaredConstant(id) == nullptr) { in FoldWithInstructionFolder()
204 const_mgr->MapInst(new_const_inst); in FoldWithInstructionFolder()
288 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in DoComponentWiseOperation() local
289 const analysis::Type* result_type = const_mgr in DoComponentWiseOperation()
[all...]
H A Dfolding_rules.cpp163 analysis::ConstantManager* const_mgr, const analysis::Constant* c) { in GetWordsFromNumericScalarOrVectorConstant()
172 GetWordsFromNumericScalarOrVectorConstant(const_mgr, comp); in GetWordsFromNumericScalarOrVectorConstant()
181 analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, in ConvertWordsToNumericScalarOrVectorConstant()
184 return const_mgr->GetConstant(type, words); in ConvertWordsToNumericScalarOrVectorConstant()
186 return const_mgr->GetNumericVectorConstantWithWords(vec_type, words); in ConvertWordsToNumericScalarOrVectorConstant()
192 uint32_t NegateFloatingPointConstant(analysis::ConstantManager* const_mgr, in NegateFloatingPointConstant() argument
208 const_mgr->GetConstant(c->type(), std::move(words)); in NegateFloatingPointConstant()
209 return const_mgr->GetDefiningInstruction(negated_const)->result_id(); in NegateFloatingPointConstant()
213 uint32_t NegateIntegerConstant(analysis::ConstantManager* const_mgr, in NegateIntegerConstant() argument
228 const_mgr in NegateIntegerConstant()
162 GetWordsFromNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const analysis::Constant* c) GetWordsFromNumericScalarOrVectorConstant() argument
180 ConvertWordsToNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, const analysis::Type* type) ConvertWordsToNumericScalarOrVectorConstant() argument
233 NegateVectorConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateVectorConstant() argument
260 NegateConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateConstant() argument
274 Reciprocal(analysis::ConstantManager* const_mgr, const analysis::Constant* c) Reciprocal() argument
388 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateMulDivArithmetic() local
449 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateAddSubArithmetic() local
[all...]
H A Damd_ext_to_khr.cpp214 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocations() local
263 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocations()
267 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocations()
276 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocations()
278 Instruction* null_inst = const_mgr->GetDefiningInstruction(null); in ReplaceSwizzleInvocations()
330 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocationsMasked() local
380 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocationsMasked()
384 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocationsMasked()
393 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocationsMasked()
395 Instruction* null_inst = const_mgr in ReplaceSwizzleInvocationsMasked()
572 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceCoord() local
723 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceIndex() local
[all...]
H A Dpass.cpp76 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetNullId() local
78 const analysis::Constant* null_const = const_mgr->GetConstant(type, {}); in GetNullId()
80 const_mgr->GetDefiningInstruction(null_const, type_id); in GetNullId()
87 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy() local
112 const_mgr->FindDeclaredConstant(original_array_type->LengthId()); in GenerateCopy()
H A Dreduce_load_size.cpp54 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() local
104 const_mgr->GetConstant(uint32_type, {index}); in ReplaceExtract()
105 ids.push_back(const_mgr->GetDefiningInstruction(index_const)->result_id()); in ReplaceExtract()
153 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract() local
160 const_mgr->FindDeclaredConstant(load_type->AsArray()->LengthId()); in ShouldReplaceExtract()
H A Dcopy_prop_arrays.cpp360 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
369 const_mgr->FindDeclaredConstant(array_type->LengthId());
460 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
462 const_mgr->FindDeclaredConstant(entry.result_id);
482 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
497 const_mgr,
519 const_mgr->FindDeclaredConstant(use->GetSingleWordInOperand(i));
585 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
671 const_mgr->FindDeclaredConstant(use->GetSingleWordInOperand(i));
831 analysis::ConstantManager* const_mgr
[all...]
H A Dfold.cpp628 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant() local
637 inst->ForEachInId([&constants, &missing_constants, const_mgr, in FoldInstructionToConstant()
640 const analysis::Constant* const_op = const_mgr->FindDeclaredConstant(id); in FoldInstructionToConstant()
654 const_mgr->GetDefiningInstruction(folded_const, inst->type_id()); in FoldInstructionToConstant()
682 const_mgr->GetConstant(const_mgr->GetType(inst), {result_val}); in FoldInstructionToConstant()
684 const_mgr->GetDefiningInstruction(result_const, inst->type_id()); in FoldInstructionToConstant()
701 const_mgr->GetNumericVectorConstantWithWords( in FoldInstructionToConstant()
702 const_mgr->GetType(inst)->AsVector(), result_val); in FoldInstructionToConstant()
704 const_mgr in FoldInstructionToConstant()
[all...]
H A Dreplace_invalid_opc.cpp183 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant() local
194 special_const = const_mgr->GetConstant(type_mgr->GetType(type_id), ids); in GetSpecialConstant()
203 const_mgr->GetConstant(type_mgr->GetType(type_id), literal_words); in GetSpecialConstant()
206 return const_mgr->GetDefiningInstruction(special_const)->result_id(); in GetSpecialConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dconst_folding_rules.cpp28 analysis::ConstantManager* const_mgr) { in GetNan()
36 return const_mgr->GetFloatConst(std::numeric_limits<float>::quiet_NaN()); in GetNan()
38 return const_mgr->GetDoubleConst( in GetNan()
48 analysis::ConstantManager* const_mgr) { in GetInf()
56 return const_mgr->GetFloatConst(std::numeric_limits<float>::infinity()); in GetInf()
58 return const_mgr->GetDoubleConst(std::numeric_limits<double>::infinity()); in GetInf()
79 analysis::ConstantManager* const_mgr) { in negateFPConst()
84 return const_mgr->GetFloatConst(-fa); in negateFPConst()
87 return const_mgr->GetDoubleConst(-da); in negateFPConst()
106 analysis::ConstantManager* const_mgr in FoldExtractWithConstants() local
27 GetNan(const analysis::Type* type, analysis::ConstantManager* const_mgr) GetNan() argument
47 GetInf(const analysis::Type* type, analysis::ConstantManager* const_mgr) GetInf() argument
77 negateFPConst(const analysis::Type* result_type, const analysis::Constant* val, analysis::ConstantManager* const_mgr) negateFPConst() argument
134 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); FoldVectorShuffleWithConstants() local
[all...]
H A Dfolding_rules.cpp161 analysis::ConstantManager* const_mgr, const analysis::Constant* c) { in GetWordsFromNumericScalarOrVectorConstant()
170 GetWordsFromNumericScalarOrVectorConstant(const_mgr, comp); in GetWordsFromNumericScalarOrVectorConstant()
179 analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, in ConvertWordsToNumericScalarOrVectorConstant()
182 return const_mgr->GetConstant(type, words); in ConvertWordsToNumericScalarOrVectorConstant()
184 return const_mgr->GetNumericVectorConstantWithWords(vec_type, words); in ConvertWordsToNumericScalarOrVectorConstant()
190 uint32_t NegateFloatingPointConstant(analysis::ConstantManager* const_mgr, in NegateFloatingPointConstant() argument
206 const_mgr->GetConstant(c->type(), std::move(words)); in NegateFloatingPointConstant()
207 return const_mgr->GetDefiningInstruction(negated_const)->result_id(); in NegateFloatingPointConstant()
211 uint32_t NegateIntegerConstant(analysis::ConstantManager* const_mgr, in NegateIntegerConstant() argument
226 const_mgr in NegateIntegerConstant()
160 GetWordsFromNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const analysis::Constant* c) GetWordsFromNumericScalarOrVectorConstant() argument
178 ConvertWordsToNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, const analysis::Type* type) ConvertWordsToNumericScalarOrVectorConstant() argument
231 NegateVectorConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateVectorConstant() argument
258 NegateConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateConstant() argument
272 Reciprocal(analysis::ConstantManager* const_mgr, const analysis::Constant* c) Reciprocal() argument
379 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateMulDivArithmetic() local
437 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateAddSubArithmetic() local
[all...]
H A Dcopy_prop_arrays.cpp271 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
287 const_mgr->GetConstant(uint32_type, {index});
289 const_mgr->GetDefiningInstruction(index_const)->result_id());
318 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
320 const_mgr->FindDeclaredConstant(memory_object->AccessChain().back());
353 const_mgr->FindDeclaredConstant(member_object->AccessChain().back());
372 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
381 const_mgr->FindDeclaredConstant(array_type->LengthId());
413 const_mgr->FindDeclaredConstant(memory_object->AccessChain().back());
460 const_mgr
[all...]
H A Damd_ext_to_khr.cpp215 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocations() local
261 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocations()
265 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocations()
274 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocations()
276 Instruction* null_inst = const_mgr->GetDefiningInstruction(null); in ReplaceSwizzleInvocations()
328 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocationsMasked() local
376 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocationsMasked()
380 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocationsMasked()
389 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocationsMasked()
391 Instruction* null_inst = const_mgr in ReplaceSwizzleInvocationsMasked()
566 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceCoord() local
715 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceIndex() local
[all...]
H A Dpass.cpp79 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetNullId() local
81 const analysis::Constant* null_const = const_mgr->GetConstant(type, {}); in GetNullId()
83 const_mgr->GetDefiningInstruction(null_const, type_id); in GetNullId()
90 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy() local
115 const_mgr->FindDeclaredConstant(original_array_type->LengthId()); in GenerateCopy()
H A Dreduce_load_size.cpp57 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() local
107 const_mgr->GetConstant(uint32_type, {index}); in ReplaceExtract()
108 ids.push_back(const_mgr->GetDefiningInstruction(index_const)->result_id()); in ReplaceExtract()
156 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract() local
163 const_mgr->FindDeclaredConstant(load_type->AsArray()->LengthId()); in ShouldReplaceExtract()
H A Dfold.cpp628 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant() local
637 inst->ForEachInId([&constants, &missing_constants, const_mgr, in FoldInstructionToConstant()
640 const analysis::Constant* const_op = const_mgr->FindDeclaredConstant(id); in FoldInstructionToConstant()
654 const_mgr->GetDefiningInstruction(folded_const, inst->type_id()); in FoldInstructionToConstant()
679 const_mgr->GetConstant(const_mgr->GetType(inst), {result_val}); in FoldInstructionToConstant()
681 const_mgr->GetDefiningInstruction(result_const, inst->type_id()); in FoldInstructionToConstant()
H A Dreplace_invalid_opc.cpp183 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant() local
194 special_const = const_mgr->GetConstant(type_mgr->GetType(type_id), ids); in GetSpecialConstant()
202 const_mgr->GetConstant(type_mgr->GetType(type_id), literal_words); in GetSpecialConstant()
205 return const_mgr->GetDefiningInstruction(special_const)->result_id(); in GetSpecialConstant()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfolding_rules.cpp161 analysis::ConstantManager* const_mgr, const analysis::Constant* c) { in GetWordsFromNumericScalarOrVectorConstant()
170 GetWordsFromNumericScalarOrVectorConstant(const_mgr, comp); in GetWordsFromNumericScalarOrVectorConstant()
179 analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, in ConvertWordsToNumericScalarOrVectorConstant()
182 return const_mgr->GetConstant(type, words); in ConvertWordsToNumericScalarOrVectorConstant()
184 return const_mgr->GetNumericVectorConstantWithWords(vec_type, words); in ConvertWordsToNumericScalarOrVectorConstant()
190 uint32_t NegateFloatingPointConstant(analysis::ConstantManager* const_mgr, in NegateFloatingPointConstant() argument
206 const_mgr->GetConstant(c->type(), std::move(words)); in NegateFloatingPointConstant()
207 return const_mgr->GetDefiningInstruction(negated_const)->result_id(); in NegateFloatingPointConstant()
211 uint32_t NegateIntegerConstant(analysis::ConstantManager* const_mgr, in NegateIntegerConstant() argument
226 const_mgr in NegateIntegerConstant()
160 GetWordsFromNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const analysis::Constant* c) GetWordsFromNumericScalarOrVectorConstant() argument
178 ConvertWordsToNumericScalarOrVectorConstant( analysis::ConstantManager* const_mgr, const std::vector<uint32_t>& words, const analysis::Type* type) ConvertWordsToNumericScalarOrVectorConstant() argument
231 NegateVectorConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateVectorConstant() argument
258 NegateConstant(analysis::ConstantManager* const_mgr, const analysis::Constant* c) NegateConstant() argument
272 Reciprocal(analysis::ConstantManager* const_mgr, const analysis::Constant* c) Reciprocal() argument
379 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateMulDivArithmetic() local
437 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); MergeNegateAddSubArithmetic() local
[all...]
H A Dconst_folding_rules.cpp50 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldExtractWithConstants() local
52 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), {}); in FoldExtractWithConstants()
78 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorShuffleWithConstants() local
87 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
96 const_mgr->GetConstant(element_type, {}); in FoldVectorShuffleWithConstants()
109 const_mgr->GetDefiningInstruction(c1_components[index]); in FoldVectorShuffleWithConstants()
112 Instruction* member_inst = const_mgr->GetDefiningInstruction( in FoldVectorShuffleWithConstants()
119 return const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), ids); in FoldVectorShuffleWithConstants()
128 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorTimesScalar()
147 return const_mgr in FoldVectorTimesScalar()
[all...]
H A Dcopy_prop_arrays.cpp271 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
287 const_mgr->GetConstant(uint32_type, {index});
289 const_mgr->GetDefiningInstruction(index_const)->result_id());
318 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
320 const_mgr->FindDeclaredConstant(memory_object->AccessChain().back());
353 const_mgr->FindDeclaredConstant(member_object->AccessChain().back());
372 analysis::ConstantManager* const_mgr = context()->get_constant_mgr();
381 const_mgr->FindDeclaredConstant(array_type->LengthId());
413 const_mgr->FindDeclaredConstant(memory_object->AccessChain().back());
460 const_mgr
[all...]
H A Damd_ext_to_khr.cpp215 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocations() local
261 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocations()
265 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocations()
274 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocations()
276 Instruction* null_inst = const_mgr->GetDefiningInstruction(null); in ReplaceSwizzleInvocations()
328 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); in ReplaceSwizzleInvocationsMasked() local
376 const auto* ballot_value_const = const_mgr->GetConstant( in ReplaceSwizzleInvocationsMasked()
380 const_mgr->GetDefiningInstruction(ballot_value_const); in ReplaceSwizzleInvocationsMasked()
389 const auto* null = const_mgr->GetConstant(type_mgr->GetType(inst->type_id()), in ReplaceSwizzleInvocationsMasked()
391 Instruction* null_inst = const_mgr in ReplaceSwizzleInvocationsMasked()
566 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceCoord() local
715 analysis::ConstantManager* const_mgr = ctx->get_constant_mgr(); ReplaceCubeFaceIndex() local
[all...]
H A Dpass.cpp79 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetNullId() local
81 const analysis::Constant* null_const = const_mgr->GetConstant(type, {}); in GetNullId()
83 const_mgr->GetDefiningInstruction(null_const, type_id); in GetNullId()
90 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy() local
115 const_mgr->FindDeclaredConstant(original_array_type->LengthId()); in GenerateCopy()
H A Dreduce_load_size.cpp57 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() local
107 const_mgr->GetConstant(uint32_type, {index}); in ReplaceExtract()
108 ids.push_back(const_mgr->GetDefiningInstruction(index_const)->result_id()); in ReplaceExtract()
156 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract() local
163 const_mgr->FindDeclaredConstant(load_type->AsArray()->LengthId()); in ShouldReplaceExtract()
H A Dfold.cpp628 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant() local
637 inst->ForEachInId([&constants, &missing_constants, const_mgr, in FoldInstructionToConstant()
640 const analysis::Constant* const_op = const_mgr->FindDeclaredConstant(id); in FoldInstructionToConstant()
654 const_mgr->GetDefiningInstruction(folded_const, inst->type_id()); in FoldInstructionToConstant()
679 const_mgr->GetConstant(const_mgr->GetType(inst), {result_val}); in FoldInstructionToConstant()
681 const_mgr->GetDefiningInstruction(result_const, inst->type_id()); in FoldInstructionToConstant()
H A Dreplace_invalid_opc.cpp183 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant() local
194 special_const = const_mgr->GetConstant(type_mgr->GetType(type_id), ids); in GetSpecialConstant()
202 const_mgr->GetConstant(type_mgr->GetType(type_id), literal_words); in GetSpecialConstant()
205 return const_mgr->GetDefiningInstruction(special_const)->result_id(); in GetSpecialConstant()

Completed in 17 milliseconds

12