Home
last modified time | relevance | path

Searched refs:ConstructType (Results 1 – 10 of 10) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dconstruct.cpp26 Construct::Construct(ConstructType construct_type, BasicBlock* entry, in Construct()
33 ConstructType Construct::type() const { return type_; } in type()
42 bool ValidateConstructSize(ConstructType type, size_t size) { in ValidateConstructSize()
44 case ConstructType::kSelection: in ValidateConstructSize()
46 case ConstructType::kContinue: in ValidateConstructSize()
48 case ConstructType::kLoop: in ValidateConstructSize()
50 case ConstructType::kCase: in ValidateConstructSize()
109 if (block_depth == header_depth && type() == ConstructType::kSelection && in blocks()
Dconstruct.h34 enum class ConstructType : int { enum
58 Construct(ConstructType type, BasicBlock* dominator,
63 ConstructType type() const;
102 return type_ == ConstructType::kLoop || type_ == ConstructType::kSelection; in ExitBlockIsMergeBlock()
114 ConstructType type_;
Dfunction.h38 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()
247 ConstructType t);
336 std::unordered_map<std::pair<const BasicBlock*, ConstructType>, Construct*,
Dfunction.cpp82 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
84 AddConstruct({ConstructType::kContinue, &continue_target_block}); in RegisterLoopMerge()
100 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge()
163 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd()
290 ConstructType type) { in FindConstructForEntryBlock()
323 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
Dvalidate_cfg.cpp244 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks()
252 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks()
264 ConstructType type) { in ConstructNames()
268 case ConstructType::kSelection: in ConstructNames()
273 case ConstructType::kLoop: in ConstructNames()
278 case ConstructType::kContinue: in ConstructNames()
283 case ConstructType::kCase: in ConstructNames()
540 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks()
568 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()
/external/deqp-deps/SPIRV-Tools/source/val/
Dconstruct.cpp26 Construct::Construct(ConstructType construct_type, BasicBlock* entry, in Construct()
33 ConstructType Construct::type() const { return type_; } in type()
42 bool ValidateConstructSize(ConstructType type, size_t size) { in ValidateConstructSize()
44 case ConstructType::kSelection: in ValidateConstructSize()
46 case ConstructType::kContinue: in ValidateConstructSize()
48 case ConstructType::kLoop: in ValidateConstructSize()
50 case ConstructType::kCase: in ValidateConstructSize()
109 if (block_depth == header_depth && type() == ConstructType::kSelection && in blocks()
Dconstruct.h34 enum class ConstructType : int { enum
58 Construct(ConstructType type, BasicBlock* dominator,
63 ConstructType type() const;
102 return type_ == ConstructType::kLoop || type_ == ConstructType::kSelection; in ExitBlockIsMergeBlock()
114 ConstructType type_;
Dfunction.h38 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()
247 ConstructType t);
336 std::unordered_map<std::pair<const BasicBlock*, ConstructType>, Construct*,
Dfunction.cpp82 AddConstruct({ConstructType::kLoop, current_block_, &merge_block}); in RegisterLoopMerge()
84 AddConstruct({ConstructType::kContinue, &continue_target_block}); in RegisterLoopMerge()
100 AddConstruct({ConstructType::kSelection, current_block(), &merge_block}); in RegisterSelectionMerge()
163 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd()
290 ConstructType type) { in FindConstructForEntryBlock()
323 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
Dvalidate_cfg.cpp244 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks()
252 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks()
264 ConstructType type) { in ConstructNames()
268 case ConstructType::kSelection: in ConstructNames()
273 case ConstructType::kLoop: in ConstructNames()
278 case ConstructType::kContinue: in ConstructNames()
283 case ConstructType::kCase: in ConstructNames()
540 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks()
568 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()