/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | constants.cpp | 106 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 …]
|
D | const_folding_rules.cpp | 50 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 …]
|
D | folding_rules.cpp | 89 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 …]
|
D | copy_prop_arrays.cpp | 259 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()
|
D | reduce_load_size.cpp | 58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() 154 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
|
D | fold.cpp | 238 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()
|
D | constants.h | 54 class ConstantManager; variable 127 ConstantManager* const_mgr) const; 494 class ConstantManager { 496 ConstantManager(IRContext* ctx);
|
D | ccp_pass.h | 93 analysis::ConstantManager* const_mgr_;
|
D | ir_context.h | 296 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_;
|
D | replace_invalid_opc.cpp | 172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
|
D | combine_access_chains.cpp | 124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | constants.cpp | 106 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 …]
|
D | const_folding_rules.cpp | 50 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 …]
|
D | folding_rules.cpp | 89 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 …]
|
D | copy_prop_arrays.cpp | 259 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()
|
D | reduce_load_size.cpp | 58 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ReplaceExtract() 153 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in ShouldReplaceExtract()
|
D | fold.cpp | 220 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()
|
D | constants.h | 54 class ConstantManager; variable 127 ConstantManager* const_mgr) const; 494 class ConstantManager { 496 ConstantManager(IRContext* ctx);
|
D | ccp_pass.h | 92 analysis::ConstantManager* const_mgr_;
|
D | ir_context.h | 294 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_;
|
D | replace_invalid_opc.cpp | 172 analysis::ConstantManager* const_mgr = context()->get_constant_mgr(); in GetSpecialConstant()
|
D | combine_access_chains.cpp | 124 analysis::ConstantManager* constant_mgr = context()->get_constant_mgr(); in CombineIndices()
|
D | merge_return_pass.cpp | 453 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/ |
D | fold_test.cpp | 93 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/ |
D | fold_test.cpp | 93 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()
|