Lines Matching refs:emitOpError
254 return emitOpError("invalid type for allocation"); in verify()
256 return emitOpError("LEN params do not correspond to type"); in verify()
259 return emitOpError("must be a !fir.ref type"); in verify()
261 return emitOpError("cannot allocate !fir.box of unknown rank or type"); in verify()
332 return emitOpError("invalid type for allocation"); in verify()
334 return emitOpError("LEN params do not correspond to type"); in verify()
337 return emitOpError("must be a !fir.heap type"); in verify()
339 return emitOpError("cannot allocate !fir.box of unknown rank or type"); in verify()
369 return emitOpError("must be a reference to an array"); in verify()
383 return emitOpError("shift can only be provided with fir.box memref"); in verify()
386 return emitOpError("rank of dimension mismatched"); in verify()
388 return emitOpError("number of indices do not match dim rank"); in verify()
394 return emitOpError("array_coor cannot take a slice with substring"); in verify()
397 return emitOpError("rank of dimension in slice mismatched"); in verify()
400 return emitOpError("invalid type parameters"); in verify()
438 return emitOpError("must be a reference to an array"); in verify()
452 return emitOpError("shift can only be provided with fir.box memref"); in verify()
455 return emitOpError("rank of dimension mismatched"); in verify()
461 return emitOpError("array_load cannot take a slice with substring"); in verify()
464 return emitOpError("rank of dimension in slice mismatched"); in verify()
468 return emitOpError("invalid type parameters"); in verify()
479 return emitOpError("operand #0 must be result of a fir.array_load op"); in verify()
484 return emitOpError( in verify()
494 return emitOpError( in verify()
497 return emitOpError( in verify()
501 return emitOpError("referenced type is not an array"); in verify()
508 return emitOpError("type of origin does not match memref element type"); in verify()
510 return emitOpError("type of sequence does not match memref element type"); in verify()
512 return emitOpError("invalid type parameters"); in verify()
531 return emitOpError("number of indices != dimension of array"); in verify()
534 return emitOpError("return type does not match array"); in verify()
537 return emitOpError("return type and/or indices do not type check"); in verify()
539 return emitOpError("argument #0 must be result of fir.array_load"); in verify()
541 return emitOpError("invalid type parameters"); in verify()
553 return emitOpError("number of indices != dimension of array"); in verify()
556 return emitOpError("return type does not match array"); in verify()
559 return emitOpError("return type and/or indices do not type check"); in verify()
561 return emitOpError("invalid type parameters"); in verify()
571 return emitOpError("does not support reference type for merge"); in verify()
575 return emitOpError("number of indices != dimension of array"); in verify()
578 return emitOpError("merged value does not have element type"); in verify()
581 return emitOpError("merged value and/or indices do not type check"); in verify()
583 return emitOpError("invalid type parameters"); in verify()
595 return emitOpError("number of indices must match array dimension"); in verify()
735 return emitOpError("not a reference to a character"); in verify()
737 return emitOpError("buffers must have different KIND values"); in verify()
852 return emitOpError("must be a !fir.complex type"); in verify()
920 return emitOpError("invalid type conversion"); in verify()
963 return emitOpError("cannot find coordinate in unknown shape"); in verify()
965 return emitOpError("cannot find coordinate with unknown extents"); in verify()
969 return emitOpError("cannot apply to this element type"); in verify()
979 return emitOpError("cannot apply to array of unknown rank"); in verify()
988 return emitOpError("len_param_index must be last argument"); in verify()
990 return emitOpError("too many operands for len_param_index case"); in verify()
993 emitOpError( in verify()
998 emitOpError("field_index type not compatible with reference type"); in verify()
1003 return emitOpError("field_index not applied to !fir.type"); in verify()
1024 return emitOpError("cannot apply to character singleton"); in verify()
1027 return emitOpError("character type mismatch"); in verify()
1029 return emitOpError("invalid parameters (too many)"); in verify()
1134 return op.emitOpError("dispatch table must contain dt_entry"); in verify()
1153 return emitOpError("number of LEN params does not correspond" in verify()
1157 return emitOpError("CHARACTER already has static LEN"); in verify()
1159 return emitOpError("LEN parameters require CHARACTER or derived type"); in verify()
1163 return emitOpError("LEN parameters must be integral type"); in verify()
1166 return emitOpError("shape must not be provided for a scalar"); in verify()
1168 return emitOpError("slice must not be provided for a scalar"); in verify()
1229 return emitOpError("wrapped type mismatched"); in verify()
1232 return emitOpError("must be !fir.tdesc type"); in verify()
1547 return emitOpError("must have constant shape and size"); in verify()
1550 return emitOpError("has uneven number of values in ranges"); in verify()
1558 return emitOpError("negative range bound"); in verify()
1562 return emitOpError("empty range"); in verify()
1764 return emitOpError( in verify()
1768 return emitOpError( in verify()
1776 return emitOpError("result #0 expected to be index"); in verify()
1778 return emitOpError("result #1 expected to be i1"); in verify()
1784 return emitOpError("result #0 expected to be i1"); in verify()
1789 return emitOpError( in verify()
1792 return emitOpError( in verify()
1800 return emitOpError() << "types mismatch between " << i in verify()
1803 return emitOpError() << "types mismatch between " << i in verify()
2062 return emitOpError( in verify()
2072 return emitOpError("unordered loop has no final value"); in verify()
2076 return emitOpError( in verify()
2079 return emitOpError( in verify()
2087 return emitOpError() << "types mismatch between " << i in verify()
2090 return emitOpError() << "types mismatch between " << i in verify()
2219 return emitOpError("box operand must not have unknown rank or type"); in verify()
2222 return emitOpError("result type must not have unknown rank or type"); in verify()
2231 return emitOpError("slice operand rank must match box operand rank"); in verify()
2235 return emitOpError("shape operand and input box ranks must match " in verify()
2238 return emitOpError("shape operand must absent or be a fir.shift " in verify()
2245 return emitOpError("result type rank and rank after applying slice " in verify()
2261 return emitOpError("shape operand and input box ranks must match " in verify()
2266 return emitOpError("result type and shape operand ranks must match"); in verify()
2281 return emitOpError( in verify()
2297 return emitOpError() << "parent of result must have same arity"; in verify()
2300 return emitOpError() << "types mismatch between result op and its parent"; in verify()
2311 return emitOpError("value type must match memory reference type"); in verify()
2313 return emitOpError("cannot save !fir.box of unknown rank or type"); in verify()
2317 return emitOpError( in verify()
2335 emitOpError("shape operand must be provided and have the value rank " in verify()
2340 emitOpError( in verify()
2346 emitOpError("length parameters number must match with the value type " in verify()
2350 emitOpError("no more than one length parameter must be provided for " in verify()
2354 emitOpError("length parameters must not be provided for this value type"); in verify()
2377 return op.emitOpError("must be an integer"); in verifyIntegralSwitchTerminator()
2382 return op.emitOpError("must have at least one successor"); in verifyIntegralSwitchTerminator()
2384 return op.emitOpError("number of cases and targets don't match"); in verifyIntegralSwitchTerminator()
2386 return op.emitOpError("incorrect number of successor operand groups"); in verifyIntegralSwitchTerminator()
2389 return op.emitOpError("invalid case alternative"); in verifyIntegralSwitchTerminator()
2798 return emitOpError("must be an integer, character, or logical"); in verify()
2803 return emitOpError("must have at least one successor"); in verify()
2805 return emitOpError("number of conditions and successors don't match"); in verify()
2807 return emitOpError("incorrect number of compare operand groups"); in verify()
2809 return emitOpError("incorrect number of successor operand groups"); in verify()
2815 return emitOpError("incorrect select case attribute type"); in verify()
2979 return emitOpError("must be a boxed type"); in verify()
2984 return emitOpError("must have at least one successor"); in verify()
2986 return emitOpError("number of conditions and successors don't match"); in verify()
2988 return emitOpError("incorrect number of successor operand groups"); in verify()
2993 return emitOpError("invalid type-case alternative"); in verify()
3038 return emitOpError("shape type rank mismatch"); in verify()
3049 return emitOpError("incorrect number of args"); in verify()
3051 return emitOpError("requires a multiple of 2 args"); in verify()
3055 return emitOpError("shape type rank mismatch"); in verify()
3068 return emitOpError("shift type rank mismatch"); in verify()
3102 return emitOpError("incorrect number of args for triple"); in verify()
3104 return emitOpError("requires a multiple of 3 args"); in verify()
3108 return emitOpError("slice type rank mismatch"); in verify()
3147 return emitOpError("store value type must match memory reference type"); in verify()
3149 return emitOpError("cannot store !fir.box of unknown rank or type"); in verify()
3276 return emitOpError("size must be non-negative"); in verify()
3281 return emitOpError("values in initializer must be integers"); in verify()
3285 return emitOpError("has unexpected attribute"); in verify()
3299 return emitOpError("second output argument has bad type"); in verify()
3366 return emitOpError("must have an else block if defining values"); in verify()