• Home
  • Raw
  • Download

Lines Matching refs:current_function

364   if (_.current_function().IsFirstBlock(target)) {  in FirstBlockAssert()
365 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in FirstBlockAssert()
367 << _.getIdName(_.current_function().id()) << " is targeted by block " in FirstBlockAssert()
368 << _.getIdName(_.current_function().current_block()->id()); in FirstBlockAssert()
374 if (_.current_function().IsBlockType(merge_block, kBlockTypeMerge)) { in MergeBlockAssert()
375 return _.diag(SPV_ERROR_INVALID_CFG, _.FindDef(_.current_function().id())) in MergeBlockAssert()
1004 if (auto error = _.current_function().RegisterBlock(inst->id())) in CfgPass()
1010 _.current_function().current_block()->set_label(inst); in CfgPass()
1017 if (auto error = _.current_function().RegisterLoopMerge(merge_block, in CfgPass()
1025 if (auto error = _.current_function().RegisterSelectionMerge(merge_block)) in CfgPass()
1032 _.current_function().RegisterBlockEnd({target}); in CfgPass()
1040 _.current_function().RegisterBlockEnd({tlabel, flabel}); in CfgPass()
1050 _.current_function().RegisterBlockEnd({cases}); in CfgPass()
1053 const uint32_t return_type = _.current_function().GetResultTypeId(); in CfgPass()
1060 _.current_function().RegisterBlockEnd(std::vector<uint32_t>()); in CfgPass()
1070 _.current_function().RegisterBlockEnd(std::vector<uint32_t>()); in CfgPass()
1073 _.current_function().RegisterExecutionModelLimitation( in CfgPass()
1078 _.current_function().RegisterExecutionModelLimitation( in CfgPass()
1083 _.current_function().RegisterExecutionModelLimitation( in CfgPass()
1088 _.current_function().RegisterExecutionModelLimitation( in CfgPass()