Home
last modified time | relevance | path

Searched refs:listInit (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/lib/TableGen/
DSideEffects.cpp48 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("effects")); in getEffects() local
49 return {listInit->begin(), listInit->end()}; in getEffects()
DInterfaces.cpp77 auto *listInit = dyn_cast<llvm::ListInit>(def->getValueInit("methods")); in Interface() local
78 for (llvm::Init *init : listInit->getValues()) in Interface()
DPattern.cpp563 auto *listInit = def.getValueAsListInit("constraints"); in getConstraints() local
565 ret.reserve(listInit->size()); in getConstraints()
567 for (auto it : *listInit) { in getConstraints()
/external/llvm-project/mlir/tools/mlir-tblgen/
DOpDefinitionsGen.cpp1234 auto *listInit = dyn_cast_or_null<ListInit>(def.getValueInit("builders")); in genBuilder() local
1235 if (listInit) { in genBuilder()
1236 for (Init *init : listInit->getValues()) { in genBuilder()
1263 if (!listInit || listInit->empty()) in genBuilder()