Stage

Applicable Products

All processors

Header File/Library File

  • Header file: #include <register/register_custom_pass.h>
  • Library file: libregister.so

Function Usage

Sets the execution phase of a custom pass.

Prototype

1
PassRegistrationData &Stage(const CustomPassStage stage)

Parameters

Parameter

Input/Output

Description

stage

Input

Execution phase of a custom pass. For details, see CustomPassStage.

Returns

Object of PassRegistrationData.

Restrictions

None