Searched refs:boolAttr (Results 1 – 3 of 3) sorted by relevance
29 static Optional<bool> getScalarOrSplatBoolAttr(Attribute boolAttr) { in getScalarOrSplatBoolAttr() argument30 if (!boolAttr) in getScalarOrSplatBoolAttr()33 auto type = boolAttr.getType(); in getScalarOrSplatBoolAttr()35 auto attr = boolAttr.cast<BoolAttr>(); in getScalarOrSplatBoolAttr()40 if (auto attr = boolAttr.dyn_cast<SplatElementsAttr>()) in getScalarOrSplatBoolAttr()
309 uint32_t prepareConstantBool(Location loc, BoolAttr boolAttr,1435 if (auto boolAttr = valueAttr.dyn_cast<BoolAttr>()) { in prepareConstantScalar() local1436 return prepareConstantBool(loc, boolAttr, isSpec); in prepareConstantScalar()1445 uint32_t Serializer::prepareConstantBool(Location loc, BoolAttr boolAttr, in prepareConstantBool() argument1449 if (auto id = getConstantID(boolAttr)) { in prepareConstantBool()1456 if (failed(processType(loc, boolAttr.getType(), typeID))) { in prepareConstantBool()1461 auto opcode = boolAttr.getValue() in prepareConstantBool()1469 constIDMap[boolAttr] = resultID; in prepareConstantBool()
43 if (auto boolAttr = srcAttr.dyn_cast<BoolAttr>()) in convertBoolAttr() local44 return boolAttr; in convertBoolAttr()