Home
last modified time | relevance | path

Searched refs:flagType (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/ControlFlow/IR/
H A DControlFlowOps.cpp495 OpAsmParser &parser, Type &flagType, Block *&defaultDestination, in parseSwitchOpCases() argument
513 unsigned bitWidth = flagType.getIntOrFloatBitWidth(); in parseSwitchOpCases()
540 VectorType::get(static_cast<int64_t>(values.size()), flagType); in parseSwitchOpCases()
547 OpAsmPrinter &p, SwitchOp op, Type flagType, Block *defaultDestination, in printSwitchOpCases() argument
576 Type flagType = getFlag().getType(); in verify() local
578 if (caseValueType != flagType) in verify()
579 return emitOpError() << "'flag' type (" << flagType in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp335 OpAsmParser &parser, Type flagType, ElementsAttr &caseValues, in parseSwitchOpCases() argument
340 unsigned bitWidth = flagType.getIntOrFloatBitWidth(); in parseSwitchOpCases()
368 VectorType::get(static_cast<int64_t>(values.size()), flagType); in parseSwitchOpCases()
373 static void printSwitchOpCases(OpAsmPrinter &p, SwitchOp op, Type flagType, in printSwitchOpCases() argument