Searched refs:ConstructType (Results 1 – 12 of 12) sorted by relevance
/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() 277 ConstructType t); 366 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() 166 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd() 292 ConstructType type) { in FindConstructForEntryBlock() 322 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
|
D | validate_cfg.cpp | 379 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks() 387 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks() 399 ConstructType type) { in ConstructNames() 403 case ConstructType::kSelection: in ConstructNames() 408 case ConstructType::kLoop: in ConstructNames() 413 case ConstructType::kContinue: in ConstructNames() 418 case ConstructType::kCase: in ConstructNames() 747 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks() 806 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() 277 ConstructType t); 366 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() 166 FindConstructForEntryBlock(current_block_, ConstructType::kLoop) in RegisterBlockEnd() 292 ConstructType type) { in FindConstructForEntryBlock() 322 entry_block_to_construct_[std::make_pair(bb, ConstructType::kContinue)]; in GetBlockDepth()
|
D | validate_cfg.cpp | 379 return c.type() == ConstructType::kLoop && in UpdateContinueConstructExitBlocks() 387 assert(continue_construct->type() == ConstructType::kContinue); in UpdateContinueConstructExitBlocks() 399 ConstructType type) { in ConstructNames() 403 case ConstructType::kSelection: in ConstructNames() 408 case ConstructType::kLoop: in ConstructNames() 413 case ConstructType::kContinue: in ConstructNames() 418 case ConstructType::kCase: in ConstructNames() 747 if (header->reachable() && construct.type() == ConstructType::kContinue) { in StructuredControlFlowChecks() 806 if (construct.type() == ConstructType::kSelection && in StructuredControlFlowChecks()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ReturnBracedInitListCheck.cpp | 57 const QualType ConstructType = in check() local 59 if (ReturnType != ConstructType) in check()
|
/external/pigweed/pw_result/ |
D | result_test.cc | 42 TEST(Result, ConstructType) { in TEST() argument
|