Lines Matching defs:operandKind
296 // Converts the |operandKind| and |quantifier| pair used to describe operands
298 ClassOptionality ToOperandClassAndOptionality(const std::string& operandKind, const std::string& quantifier)
302 if (operandKind == "IdRef") {
309 } else if (operandKind == "LiteralInteger") {
316 } else if (operandKind == "LiteralString") {
324 } else if (operandKind == "PairLiteralIntegerIdRef") {
327 } else if (operandKind == "PairIdRefLiteralInteger") {
330 } else if (operandKind == "PairIdRefIdRef") {
335 if (operandKind == "IdMemorySemantics" || operandKind == "MemorySemantics") {
337 } else if (operandKind == "IdScope" || operandKind == "Scope") {
339 } else if (operandKind == "LiteralExtInstInteger") {
341 } else if (operandKind == "LiteralSpecConstantOpInteger") {
343 } else if (operandKind == "LiteralContextDependentNumber") {
345 } else if (operandKind == "LiteralFloat") {
347 } else if (operandKind == "SourceLanguage") {
349 } else if (operandKind == "ExecutionModel") {
351 } else if (operandKind == "AddressingModel") {
353 } else if (operandKind == "MemoryModel") {
355 } else if (operandKind == "ExecutionMode") {
357 } else if (operandKind == "StorageClass") {
359 } else if (operandKind == "Dim") {
361 } else if (operandKind == "SamplerAddressingMode") {
363 } else if (operandKind == "SamplerFilterMode") {
365 } else if (operandKind == "ImageFormat") {
367 } else if (operandKind == "ImageChannelOrder") {
369 } else if (operandKind == "ImageChannelDataType") {
371 } else if (operandKind == "FPRoundingMode") {
373 } else if (operandKind == "FPDenormMode") {
375 } else if (operandKind == "FPOperationMode") {
377 } else if (operandKind == "QuantizationModes") {
379 } else if (operandKind == "OverflowModes") {
381 } else if (operandKind == "LinkageType") {
383 } else if (operandKind == "AccessQualifier") {
385 } else if (operandKind == "FunctionParameterAttribute") {
387 } else if (operandKind == "Decoration") {
389 } else if (operandKind == "BuiltIn") {
391 } else if (operandKind == "GroupOperation") {
393 } else if (operandKind == "KernelEnqueueFlags") {
395 } else if (operandKind == "KernelProfilingInfo") {
397 } else if (operandKind == "Capability") {
399 } else if (operandKind == "ImageOperands") {
401 } else if (operandKind == "FPFastMathMode") {
403 } else if (operandKind == "SelectionControl") {
405 } else if (operandKind == "LoopControl") {
407 } else if (operandKind == "FunctionControl") {
409 } else if (operandKind == "MemoryAccess") {
411 } else if (operandKind == "RayFlags") {
413 } else if (operandKind == "RayQueryIntersection") {
415 } else if (operandKind == "RayQueryCommittedIntersectionType") {
417 } else if (operandKind == "RayQueryCandidateIntersectionType") {
419 } else if (operandKind == "FragmentShadingRate") {
421 } else if (operandKind == "PackedVectorFormat") {
423 } else if (operandKind == "CooperativeMatrixOperands") {
425 } else if (operandKind == "CooperativeMatrixLayout") {
427 } else if (operandKind == "CooperativeMatrixUse") {
429 } else if (operandKind == "InitializationModeQualifier") {
431 } else if (operandKind == "HostAccessQualifier") {
433 } else if (operandKind == "LoadCacheControl") {
435 } else if (operandKind == "StoreCacheControl") {
440 std::cerr << "Unhandled operand kind found: " << operandKind << std::endl;