/external/angle/third_party/spirv-tools/src/source/val/ |
D | construct.cpp | 27 Construct::Construct(ConstructType construct_type, BasicBlock* entry, in Construct() 34 ConstructType Construct::type() const { return type_; } in type() 43 bool ValidateConstructSize(ConstructType type, size_t size) { in ValidateConstructSize() 45 case ConstructType::kSelection: in ValidateConstructSize() 47 case ConstructType::kContinue: in ValidateConstructSize() 49 case ConstructType::kLoop: in ValidateConstructSize() 51 case ConstructType::kCase: in ValidateConstructSize() 110 type() == ConstructType::kSelection && in blocks() 145 assert(type() != ConstructType::kCase); in IsStructuredExit() 146 if (type() == ConstructType::kLoop) { in IsStructuredExit() [all …]
|
D | construct.h | 35 enum class ConstructType : int { enum 59 Construct(ConstructType type, BasicBlock* dominator, 64 ConstructType type() const; 103 return type_ == ConstructType::kLoop || type_ == ConstructType::kSelection; in ExitBlockIsMergeBlock() 133 ConstructType type_;
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator() 279 ConstructType t); 368 std::unordered_map<std::pair<const BasicBlock*, ConstructType>, Construct*,
|
D | function.cpp | 81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge() 83 AddConstruct({ConstructType::kContinue, &continue_target_block}); in RegisterLoopMerge() 105 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge() 168 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd() 295 ConstructType type) { in FindConstructForEntryBlock() 325 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
|
D | validate_cfg.cpp | 362 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks() 370 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks() 382 ConstructType type) { in ConstructNames() 386 case ConstructType::kSelection: in ConstructNames() 391 case ConstructType::kLoop: in ConstructNames() 396 case ConstructType::kContinue: in ConstructNames() 401 case ConstructType::kCase: in ConstructNames() 730 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks() 789 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | construct.cpp | 27 Construct::Construct(ConstructType construct_type, BasicBlock* entry, in Construct() 34 ConstructType Construct::type() const { return type_; } in type() 43 bool ValidateConstructSize(ConstructType type, size_t size) { in ValidateConstructSize() 45 case ConstructType::kSelection: in ValidateConstructSize() 47 case ConstructType::kContinue: in ValidateConstructSize() 49 case ConstructType::kLoop: in ValidateConstructSize() 51 case ConstructType::kCase: in ValidateConstructSize() 110 type() == ConstructType::kSelection && in blocks() 145 assert(type() != ConstructType::kCase); in IsStructuredExit() 146 if (type() == ConstructType::kLoop) { in IsStructuredExit() [all …]
|
D | construct.h | 35 enum class ConstructType : int { enum 59 Construct(ConstructType type, BasicBlock* dominator, 64 ConstructType type() const; 103 return type_ == ConstructType::kLoop || type_ == ConstructType::kSelection; in ExitBlockIsMergeBlock() 133 ConstructType type_;
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator() 279 ConstructType t); 368 std::unordered_map<std::pair<const BasicBlock*, ConstructType>, Construct*,
|
D | function.cpp | 81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge() 83 AddConstruct({ConstructType::kContinue, &continue_target_block}); in RegisterLoopMerge() 105 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge() 168 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd() 295 ConstructType type) { in FindConstructForEntryBlock() 325 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
|
D | validate_cfg.cpp | 353 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks() 361 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks() 373 ConstructType type) { in ConstructNames() 377 case ConstructType::kSelection: in ConstructNames() 382 case ConstructType::kLoop: in ConstructNames() 387 case ConstructType::kContinue: in ConstructNames() 392 case ConstructType::kCase: in ConstructNames() 721 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks() 780 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | construct.cpp | 27 Construct::Construct(ConstructType construct_type, BasicBlock* entry, in Construct() 34 ConstructType Construct::type() const { return type_; } in type() 43 bool ValidateConstructSize(ConstructType type, size_t size) { in ValidateConstructSize() 45 case ConstructType::kSelection: in ValidateConstructSize() 47 case ConstructType::kContinue: in ValidateConstructSize() 49 case ConstructType::kLoop: in ValidateConstructSize() 51 case ConstructType::kCase: in ValidateConstructSize() 110 type() == ConstructType::kSelection && in blocks() 145 assert(type() != ConstructType::kCase); in IsStructuredExit() 146 if (type() == ConstructType::kLoop) { in IsStructuredExit() [all …]
|
D | construct.h | 35 enum class ConstructType : int { enum 59 Construct(ConstructType type, BasicBlock* dominator, 64 ConstructType type() const; 103 return type_ == ConstructType::kLoop || type_ == ConstructType::kSelection; in ExitBlockIsMergeBlock() 133 ConstructType type_;
|
D | function.h | 38 const std::pair<const BasicBlock*, ConstructType>& p) const { in operator() 40 auto h2 = std::hash<std::underlying_type<ConstructType>::type>{}( in operator() 41 static_cast<std::underlying_type<ConstructType>::type>(p.second)); in operator() 279 ConstructType t); 368 std::unordered_map<std::pair<const BasicBlock*, ConstructType>, Construct*,
|
D | function.cpp | 81 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge() 83 AddConstruct({ConstructType::kContinue, &continue_target_block}); in RegisterLoopMerge() 105 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge() 168 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd() 295 ConstructType type) { in FindConstructForEntryBlock() 325 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
|
D | validate_cfg.cpp | 362 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks() 370 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks() 382 ConstructType type) { in ConstructNames() 386 case ConstructType::kSelection: in ConstructNames() 391 case ConstructType::kLoop: in ConstructNames() 396 case ConstructType::kContinue: in ConstructNames() 401 case ConstructType::kCase: in ConstructNames() 730 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks() 789 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()
|