Go to the source code of this file.
|
| template<typename TerminatorTy> |
| static TerminatorTy | verifyAndGetTerminator (Operation *op, Region ®ion, StringRef errorMessage) |
| | Verifies that the first block of the given region is terminated by a TerminatorTy.
|
| static void | printInitializationList (OpAsmPrinter &p, Block::BlockArgListType blocksArgs, ValueRange initializers, StringRef prefix="") |
| | Prints the initialization list in the form of <prefix>(inner = outer, inner2 = outer2, <...>) where 'inner' values are assumed to be region arguments and 'outer' values are regular SSA values.
|
| template<typename OpTy> |
| static LogicalResult | verifyTypeRangesMatch (OpTy op, TypeRange left, TypeRange right, StringRef message) |
| | Verifies that two ranges of types match, i.e.
|
| static ParseResult | parseSwitchCases (OpAsmParser &p, DenseI64ArrayAttr &cases, SmallVectorImpl< std::unique_ptr< Region > > &caseRegions) |
| | Parse the case regions and values.
|
| static void | printSwitchCases (OpAsmPrinter &p, Operation *op, DenseI64ArrayAttr cases, RegionRange caseRegions) |
| | Print the case regions and values.
|
◆ GET_OP_CLASSES
◆ GET_OP_LIST
◆ parseSwitchCases()
◆ printInitializationList()
Prints the initialization list in the form of <prefix>(inner = outer, inner2 = outer2, <...>) where 'inner' values are assumed to be region arguments and 'outer' values are regular SSA values.
Definition at line 480 of file SCF.cpp.
◆ printSwitchCases()
◆ verifyAndGetTerminator()
template<typename TerminatorTy>
| TerminatorTy verifyAndGetTerminator |
( |
Operation * | op, |
|
|
Region & | region, |
|
|
StringRef | errorMessage ) |
|
static |
◆ verifyTypeRangesMatch()
template<typename OpTy>
| LogicalResult verifyTypeRangesMatch |
( |
OpTy | op, |
|
|
TypeRange | left, |
|
|
TypeRange | right, |
|
|
StringRef | message ) |
|
static |
Verifies that two ranges of types match, i.e.
have the same number of entries and that types are pairwise equals. Reports errors on the given operation in case of mismatch.
Definition at line 3342 of file SCF.cpp.
References diag(), and success().