Lines Matching +defs:function +defs:builtin
113 if (auto builtin = op->getAttrOfType<StringAttr>(builtInName)) {
114 printer << " " << builtInName << "(\"" << builtin.getValue() << "\")";
135 parser.emitError(loc, "expected function type");
796 spirv::FuncOp function,
800 SymbolRefAttr::get(function), builder.getArrayAttr(interfaceVars));
855 spirv::FuncOp function,
858 build(builder, state, SymbolRefAttr::get(function),
918 // Parse the function signature.
932 // Parse the optional function control keyword.
941 // Add the attributes to the function arguments.
947 // Parse the optional function body.
955 // Print function name, signature, and control.
970 // Print the body if this is not an external function.
1008 // > storage class, the function parameter must be decorated with exactly
1026 // > the PhysicalStorageBuffer storage class, the function parameter must
1060 "returns 1 value but enclosing function requires ")
1067 << retOperandType << ") mismatch with function's result type ("
1148 spirv::BuiltIn builtin) {
1152 builder.getStringAttr(spirv::stringifyBuiltIn(builtin)));
1484 // For EntryPoint op, check that the function and execution model is not
1490 return entryPointOp.emitError("function '")
1517 // If the function is external and does not have 'Import'