Home
last modified time | relevance | path

Searched refs:ConstantManager (Results 1 – 25 of 34) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp106 ConstantManager::ConstantManager(IRContext* ctx) : ctx_(ctx) { in ConstantManager() function in spvtools::opt::analysis::ConstantManager
115 Type* ConstantManager::GetType(const Instruction* inst) const { in GetType()
119 std::vector<const Constant*> ConstantManager::GetOperandConstants( in GetOperandConstants()
135 uint32_t ConstantManager::FindDeclaredConstant(const Constant* c, in FindDeclaredConstant()
153 std::vector<const Constant*> ConstantManager::GetConstantsFromIds( in GetConstantsFromIds()
166 Instruction* ConstantManager::BuildInstructionAndAddToModule( in BuildInstructionAndAddToModule()
182 Instruction* ConstantManager::GetDefiningInstruction( in GetDefiningInstruction()
200 std::unique_ptr<Constant> ConstantManager::CreateConstant( in CreateConstant()
253 const Constant* ConstantManager::GetConstantFromInst(Instruction* inst) { in GetConstantFromInst()
284 std::unique_ptr<Instruction> ConstantManager::CreateInstruction( in CreateInstruction()
[all …]
Dconst_folding_rules.cpp50 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldExtractWithConstants()
75 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorShuffleWithConstants()
125 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorTimesScalar()
201 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldCompositeWithConstants()
237 analysis::ConstantManager*)>;
244 const analysis::Constant* b, analysis::ConstantManager*)>;
256 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPUnaryOp()
305 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPBinaryOp()
353 analysis::ConstantManager* const_mgr) -> const analysis::Constant* { in FoldFToIOp()
384 analysis::ConstantManager* const_mgr) -> const analysis::Constant* { in FoldIToFOp()
[all …]
Dfolding_rules.cpp89 uint32_t NegateFloatingPointConstant(analysis::ConstantManager* const_mgr, in NegateFloatingPointConstant()
117 uint32_t NegateIntegerConstant(analysis::ConstantManager* const_mgr, in NegateIntegerConstant()
137 uint32_t NegateVectorConstant(analysis::ConstantManager* const_mgr, in NegateVectorConstant()
164 uint32_t NegateConstant(analysis::ConstantManager* const_mgr, in NegateConstant()
178 uint32_t Reciprocal(analysis::ConstantManager* const_mgr, in Reciprocal()
206 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in ReciprocalFDiv()
285 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateMulDivArithmetic()
343 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateAddSubArithmetic()
412 uint32_t PerformFloatingPointOperation(analysis::ConstantManager* const_mgr, in PerformFloatingPointOperation()
460 uint32_t PerformIntegerOperation(analysis::ConstantManager* const_mgr, in PerformIntegerOperation()
[all …]
Dcopy_prop_arrays.cpp259 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromExtract()
306 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromCompositeConstruct()
361 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromInsert()
479 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in CanUpdateUses()
572 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in UpdateUses()
710 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy()
836 analysis::ConstantManager* const_mgr = in GetAccessIds()
Dreduce_load_size.cpp58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract()
154 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
Dfold.cpp238 analysis::ConstantManager* const_manager = context_->get_constant_mgr(); in FoldInstructionInternal()
283 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryIntegerOpToConstant()
467 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryBooleanOpToConstant()
623 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant()
Dconstants.h54 class ConstantManager; variable
127 ConstantManager* const_mgr) const;
494 class ConstantManager {
496 ConstantManager(IRContext* ctx);
Dccp_pass.h93 analysis::ConstantManager* const_mgr_;
Dir_context.h296 analysis::ConstantManager* get_constant_mgr() { in get_constant_mgr()
594 constant_mgr_ = MakeUnique<analysis::ConstantManager>(this); in BuildConstantManager()
722 std::unique_ptr<analysis::ConstantManager> constant_mgr_;
Dreplace_invalid_opc.cpp172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
Dcombine_access_chains.cpp124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.cpp106 ConstantManager::ConstantManager(IRContext* ctx) : ctx_(ctx) { in ConstantManager() function in spvtools::opt::analysis::ConstantManager
115 Type* ConstantManager::GetType(const Instruction* inst) const { in GetType()
119 std::vector<const Constant*> ConstantManager::GetOperandConstants( in GetOperandConstants()
135 uint32_t ConstantManager::FindDeclaredConstant(const Constant* c, in FindDeclaredConstant()
153 std::vector<const Constant*> ConstantManager::GetConstantsFromIds( in GetConstantsFromIds()
166 Instruction* ConstantManager::BuildInstructionAndAddToModule( in BuildInstructionAndAddToModule()
182 Instruction* ConstantManager::GetDefiningInstruction( in GetDefiningInstruction()
200 std::unique_ptr<Constant> ConstantManager::CreateConstant( in CreateConstant()
253 const Constant* ConstantManager::GetConstantFromInst(Instruction* inst) { in GetConstantFromInst()
284 std::unique_ptr<Instruction> ConstantManager::CreateInstruction( in CreateInstruction()
[all …]
Dconst_folding_rules.cpp50 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldExtractWithConstants()
75 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorShuffleWithConstants()
125 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldVectorTimesScalar()
201 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldCompositeWithConstants()
237 analysis::ConstantManager*)>;
244 const analysis::Constant* b, analysis::ConstantManager*)>;
256 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPUnaryOp()
305 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in FoldFPBinaryOp()
353 analysis::ConstantManager* const_mgr) -> const analysis::Constant* { in FoldFToIOp()
384 analysis::ConstantManager* const_mgr) -> const analysis::Constant* { in FoldIToFOp()
[all …]
Dfolding_rules.cpp89 uint32_t NegateFloatingPointConstant(analysis::ConstantManager* const_mgr, in NegateFloatingPointConstant()
117 uint32_t NegateIntegerConstant(analysis::ConstantManager* const_mgr, in NegateIntegerConstant()
137 uint32_t NegateVectorConstant(analysis::ConstantManager* const_mgr, in NegateVectorConstant()
164 uint32_t NegateConstant(analysis::ConstantManager* const_mgr, in NegateConstant()
178 uint32_t Reciprocal(analysis::ConstantManager* const_mgr, in Reciprocal()
206 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in ReciprocalFDiv()
285 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateMulDivArithmetic()
343 analysis::ConstantManager* const_mgr = context->get_constant_mgr(); in MergeNegateAddSubArithmetic()
412 uint32_t PerformFloatingPointOperation(analysis::ConstantManager* const_mgr, in PerformFloatingPointOperation()
460 uint32_t PerformIntegerOperation(analysis::ConstantManager* const_mgr, in PerformIntegerOperation()
[all …]
Dcopy_prop_arrays.cpp259 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromExtract()
306 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromCompositeConstruct()
361 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in BuildMemoryObjectFromInsert()
479 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in CanUpdateUses()
572 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in UpdateUses()
710 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GenerateCopy()
836 analysis::ConstantManager* const_mgr = in GetAccessIds()
Dreduce_load_size.cpp58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract()
153 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
Dfold.cpp220 analysis::ConstantManager* const_manager = context_->get_constant_mgr(); in FoldInstructionInternal()
265 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryIntegerOpToConstant()
448 analysis::ConstantManager* const_manger = context_->get_constant_mgr(); in FoldBinaryBooleanOpToConstant()
604 analysis::ConstantManager* const_mgr = context_->get_constant_mgr(); in FoldInstructionToConstant()
Dconstants.h54 class ConstantManager; variable
127 ConstantManager* const_mgr) const;
494 class ConstantManager {
496 ConstantManager(IRContext* ctx);
Dccp_pass.h92 analysis::ConstantManager* const_mgr_;
Dir_context.h294 analysis::ConstantManager* get_constant_mgr() { in get_constant_mgr()
296 constant_mgr_ = MakeUnique<analysis::ConstantManager>(this); in get_constant_mgr()
704 std::unique_ptr<analysis::ConstantManager> constant_mgr_;
Dreplace_invalid_opc.cpp172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
Dcombine_access_chains.cpp124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
Dmerge_return_pass.cpp453 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in RecordReturned()
524 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in AddReturnFlag()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dfold_test.cpp93 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
537 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
618 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1228 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1375 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2132 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2181 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dfold_test.cpp93 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
578 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
659 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1269 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
1416 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2173 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()
2222 analysis::ConstantManager* const_mrg = context->get_constant_mgr(); in TEST_P()

12