Lines Matching defs:unit
64 for (const IRUnit &unit : units) {
66 unit.print(
123 IRUnit *unit = &state.cursor;
124 if (auto *op = llvm::dyn_cast_if_present<Operation *>(*unit)) {
126 } else if (auto *region = llvm::dyn_cast_if_present<Region *>(*unit)) {
128 } else if (auto *block = llvm::dyn_cast_if_present<Block *>(*unit)) {
144 IRUnit *unit = &state.cursor;
145 if (auto *op = llvm::dyn_cast_if_present<Operation *>(*unit)) {
152 } else if (auto *region = llvm::dyn_cast_if_present<Region *>(*unit)) {
166 } else if (auto *block = llvm::dyn_cast_if_present<Block *>(*unit)) {
194 IRUnit *unit = &state.cursor;
195 if (auto *op = llvm::dyn_cast_if_present<Operation *>(*unit)) {
202 } else if (auto *region = llvm::dyn_cast_if_present<Region *>(*unit)) {
215 } else if (auto *block = llvm::dyn_cast_if_present<Block *>(*unit)) {
236 IRUnit *unit = &state.cursor;
237 if (auto *op = llvm::dyn_cast_if_present<Operation *>(*unit)) {
244 } else if (auto *region = llvm::dyn_cast_if_present<Region *>(*unit)) {
256 } else if (auto *block = llvm::dyn_cast_if_present<Block *>(*unit)) {