Lines Matching defs:init
28 static StringRef getValueAsString(const Init *init) { in getValueAsString()
43 Attribute::Attribute(const DefInit *init) : Attribute(init->getDef()) {} in Attribute()
59 const auto *init = def->getValueInit("storageType"); in getStorageType() local
67 const auto *init = def->getValueInit("returnType"); in getReturnType() local
80 const auto *init = def->getValueInit("convertFromStorage"); in getConvertFromStorageCall() local
85 const auto *init = def->getValueInit("constBuilderCall"); in isConstBuildable() local
90 const auto *init = def->getValueInit("constBuilderCall"); in getConstBuilderTemplate() local
103 const auto *init = def->getValueInit("defaultValue"); in hasDefaultValue() local
108 const auto *init = def->getValueInit("defaultValue"); in getDefaultValue() local
129 if (DefInit *init = dyn_cast<DefInit>(record->getValue())) in getDialect() local
135 ConstantAttr::ConstantAttr(const DefInit *init) : def(init->getDef()) { in ConstantAttr()
153 EnumAttrCase::EnumAttrCase(const llvm::DefInit *init) in EnumAttrCase()
173 EnumAttr::EnumAttr(const llvm::DefInit *init) : EnumAttr(init->getDef()) {} in EnumAttr()