Lines Matching defs:leaf
345 /// Populates `opsWithLayout` with the list of proper ancestors of `leaf` that
348 collectParentLayouts(Operation *leaf,
351 if (!leaf)
354 for (Operation *parent = leaf->getParentOp(); parent != nullptr;
379 static DataLayoutSpecInterface getCombinedDataLayout(Operation *leaf) {
380 if (!leaf)
383 assert((isa<ModuleOp, DataLayoutOpInterface>(leaf)) &&
388 collectParentLayouts(leaf, specs);
392 return getSpec(leaf);
401 if (DataLayoutSpecInterface current = getSpec(leaf))