| /llvm-project/mlir/lib/Bytecode/Reader/ |
| H A D | BytecodeReader.cpp | 116 if (failed(parseByte(padding))) in alignTo() 177 if (failed(parseVarInt(alignment)) || failed(parseVarInt(dataSize)) || in parseBlobAndAlignment() 178 failed(alignTo(alignment))) in parseBlobAndAlignment() 192 if (failed(parseByte(result))) in parseVarInt() 207 if (failed(parseBytes(sizeof(resultLE), in parseVarInt() 220 if (failed(parseVarInt(result))) in parseSignedVarInt() 230 if (failed(parseVarInt(result))) in parseVarIntWithFlag() 267 if (failed(parseByte(sectionIDAndHasAlignment)) || in parseSection() 268 failed(parseVarIn in parseSection() [all...] |
| /llvm-project/mlir/lib/Dialect/Linalg/TransformOps/ |
| H A D | Syntax.cpp | 22 if (parser.parseType(argumentType).failed()) in parseSemiFunctionType() 27 return failure(parser.parseRParen().failed() || 28 parser.parseArrow().failed() || in parseSemiFunctionType() 29 parser.parseType(resultType).failed()); in parseSemiFunctionType() 36 if (parser.parseType(argumentType).failed()) in parseSemiFunctionType() 41 if (parser.parseRParen().failed() || parser.parseArrow().failed()) in parseSemiFunctionType() 44 if (parser.parseOptionalLParen().failed()) { in parseSemiFunctionType() 46 if (parser.parseType(type).failed()) in parseSemiFunctionType() 51 if (parser.parseTypeList(resultTypes).failed() || in parseSemiFunctionType() [all...] |
| /llvm-project/mlir/lib/Target/LLVMIR/ |
| H A D | DataLayoutImporter.cpp | 83 if (failed(alignment)) in tryToParseAlignment() 102 if (failed(alignment)) in tryToParsePointerAlignment() 129 if (failed(params)) in tryToEmplaceAlignmentEntry() 144 if (failed(params)) in tryToEmplacePointerAlignmentEntry() 174 if (failed(space)) in tryToEmplaceAddrSpaceEntry() 197 if (failed(alignment)) in tryToEmplaceStackAlignmentEntry() 234 if (failed(prefix)) in translateDataLayout() 239 if (failed(tryToEmplaceEndiannessEntry( in translateDataLayout() 245 if (failed(tryToEmplaceEndiannessEntry( in translateDataLayout() 252 if (failed(tryToEmplaceAddrSpaceEntr in translateDataLayout() [all...] |
| /llvm-project/mlir/test/Conversion/ArithToEmitC/ |
| H A D | arith-to-emitc-unsupported.mlir | 4 // expected-error @+1 {{failed to legalize operation 'arith.fptosi'}} 12 // expected-error @+1 {{failed to legalize operation 'arith.fptosi'}} 19 // expected-error @+1 {{failed to legalize operation 'arith.fptosi'}} 27 // expected-error @+1 {{failed to legalize operation 'arith.fptosi'}} 36 // expected-error @+1 {{failed to legalize operation 'arith.sitofp'}} 44 // expected-error @+1 {{failed to legalize operation 'arith.sitofp'}} 52 // expected-error @+1 {{failed to legalize operation 'arith.fptosi'}} 60 // expected-error @+1 {{failed to legalize operation 'arith.fptoui'}} 68 // expected-error @+1 {{failed to legalize operation 'arith.cmpf'}} 76 // expected-error @+1 {{failed t [all...] |
| /llvm-project/clang/test/Parser/ |
| H A D | objc-static-assert.mm | 5 #error failed 8 #error failed 14 #error failed 24 static_assert(0, ""); // expected-error {{static assertion failed}} 25 _Static_assert(0, ""); // expected-error {{static assertion failed}} 29 static_assert(sizeof(a) == 3, ""); // expected-error {{static assertion failed}} \ 44 static_assert(sizeof(b) == 3, ""); // expected-error {{static assertion failed}} \ 61 static_assert(sizeof(b) == 3, ""); // expected-error {{static assertion failed}} \ 69 #error failed 77 _Static_assert(0, ""); // expected-error {{static assertion failed}}
|
| H A D | objc-static-assert.m | 8 #error failed 12 #error failed 18 _Static_assert(0, ""); // expected-error {{static assertion failed}} 37 #error failed 41 #error failed 47 _Static_assert(0, ""); // expected-error {{static assertion failed}}
|
| /llvm-project/mlir/lib/Target/Cpp/ |
| H A D | TranslateToCpp.cpp | 46 if (failed(eachFn(*begin))) in interleaveWithError() 51 if (failed(eachFn(*begin))) in interleaveWithError() 340 if (failed(emitter.emitVariableAssignment(result))) 354 if (failed(emitter.emitAssignPrefix(*operation))) in printOperation() 385 if (failed(emitter.emitVariableAssignment(result))) in printOperation() 392 if (failed(emitter.emitAssignPrefix(*loadOp))) in printBinaryOperation() 403 if (failed(emitter.emitAssignPrefix(*operation))) in printBinaryOperation() 406 if (failed(emitter.emitOperand(operation->getOperand(0)))) in printUnaryOperation() 411 if (failed(emitter.emitOperand(operation->getOperand(1)))) in printUnaryOperation() 422 if (failed(emitte [all...] |
| /llvm-project/mlir/test/Dialect/Tosa/ |
| H A D | level_check.mlir | 9 // expected-error@+1 {{'tosa.argmax' op failed level check: operand rank(shape) <= MAX_RANK}} 17 // expected-error@+1 {{'tosa.reduce_all' op failed level check: operand rank(shape) <= MAX_RANK}} 25 // expected-error@+1 {{'tosa.reduce_any' op failed level check: operand rank(shape) <= MAX_RANK}} 33 // expected-error@+1 {{'tosa.reduce_max' op failed level check: operand rank(shape) <= MAX_RANK}} 41 // expected-error@+1 {{'tosa.reduce_min' op failed level check: operand rank(shape) <= MAX_RANK}} 49 // expected-error@+1 {{'tosa.reduce_prod' op failed level check: operand rank(shape) <= MAX_RANK}} 57 // expected-error@+1 {{'tosa.reduce_sum' op failed level check: operand rank(shape) <= MAX_RANK}} 65 // expected-error@+1 {{'tosa.concat' op failed level check: operand rank(shape) <= MAX_RANK}} 73 // expected-error@+1 {{'tosa.reshape' op failed level check: result rank(shape) <= MAX_RANK}} 81 // expected-error@+1 {{'tosa.reverse' op failed leve [all...] |
| /llvm-project/mlir/test/Conversion/ArithToSPIRV/ |
| H A D | arith-to-spirv-unsupported.mlir | 13 // expected-error@+1 {{failed to legalize operation 'arith.truncf'}} 32 // expected-error@+1 {{failed to legalize operation 'arith.subi'}} 47 // expected-error@+1 {{failed to legalize operation 'arith.muli'}} 57 // expected-error @+2 {{failed to legalize operation 'arith.divui'}} 66 // expected-error @+1 {{failed to legalize operation 'arith.addi'}} 78 // expected-error @+1 {{failed to legalize operation 'arith.constant'}} 86 // expected-error @+1 {{failed to legalize operation 'arith.constant'}} 94 // expected-error @+1 {{failed to legalize operation 'arith.constant'}} 102 // expected-error @+1 {{failed to legalize operation 'arith.constant'}} 110 // expected-error @+1 {{failed t [all...] |
| /llvm-project/mlir/tools/mlir-tblgen/ |
| H A D | FormatGen.cpp | 213 if (failed(element)) in parse() 219 if (failed(verify(loc, elements))) in parse() 334 if (failed(element)) in parseOptionalGroup() 353 if (failed(parseChildElements(thenElements))) in parseOptionalGroup() 361 if (failed(parseToken( in parseOptionalGroup() 364 failed(parseChildElements(elseElements))) in parseOptionalGroup() 368 if (failed(parseToken(FormatToken::question, in parseOptionalGroup() 377 if (failed(verifyOptionalGroupElements(loc, thenElements, anchor)) || in parseOptionalGroup() 378 failed(verifyOptionalGroupElements(loc, elseElements, nullptr))) in parseOptionalGroup() 406 if (failed(parseToke in parseCustomDirective() [all...] |
| /llvm-project/llvm/test/TableGen/ |
| H A D | assert.td | 7 // CHECK: [[FILE]]:[[@LINE+4]]:8: error: assertion failed: primary name is too long 13 // CHECK: assertion failed: first name is incorrect 21 // CHECK: assertion failed: record Rec02 is broken 27 // CHECK: assertion failed: cube of 9 should be 729 34 // CHECK: assertion failed: foreach i cannot be 2 35 // CHECK-NOT: assertion failed: foreach i cannot be 2 45 // CHECK: [[FILE]]:[[@LINE+6]]:10: error: assertion failed: primary first name is not "Grack" 47 // CHECK: [[FILE]]:[[@LINE+6]]:10: error: assertion failed: foo field should be 48 // CHECK: [[FILE]]:[[@LINE+1]]:5: error: assertion failed in this record 56 // CHECK: [[FILE]]:[[@LINE+4]]:10: error: assertion failed [all...] |
| /llvm-project/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | SerializeOps.cpp | 52 if (failed(blockHandler(block))) 75 if (failed(emitDecoration(resultID, spirv::Decoration::SpecId, {val}))) in processSpecConstantOp() 88 if (failed(processType(op.getLoc(), op.getType(), typeID))) { in processSpecConstantCompositeOp() 124 if (failed(processType(op.getLoc(), op.getType(), typeID))) { in processSpecConstantOperationOp() 170 if (failed(processType(op.getLoc(), undefType, typeID))) in processUndefOp() 182 if (failed(processType(op.getLoc(), arg.getType(), argTypeID))) { in processFuncParameter() 194 if (failed(processDecorationAttr(op->getLoc(), argValueID, in processFuncParameter() 213 if (failed(processType(op.getLoc(), op.getFunctionType(), fnTypeID))) in processFuncOp() 223 if (failed(processType(op.getLoc(), in processFuncOp() 236 if (failed(processNam in processFuncOp() [all...] |
| /llvm-project/mlir/lib/Dialect/Polynomial/IR/ |
| H A D | PolynomialAttributes.cpp | 63 if (failed(parser.parseOptionalKeyword(&variable))) { in parseMonomial() 80 if (failed(parser.parseStar())) { in parseMonomial() 86 if (failed(parser.parseInteger(parsedExponent))) { in parseMonomial() 113 if (failed(parseMonomial<Monomial>( in parsePolynomialAttr() 151 if (failed(parser.parseLess())) in parse() 157 if (failed(parsePolynomialAttr<IntMonomial>( in parse() 170 if (failed(result)) { in parse() 178 if (failed(parser.parseLess())) in parse() 192 if (failed(parsePolynomialAttr<FloatMonomial>(parser, monomials, variables, in parse() 198 if (failed(resul in parse() [all...] |
| /llvm-project/mlir/test/mlir-tblgen/ |
| H A D | constraint-unique.td | 75 // CHECK-NEXT: << "' failed to satisfy constraint: an attribute"; 78 // CHECK-NOT: << "' failed to satisfy constraint: an attribute"; 85 // CHECK-NEXT: << "' failed to satisfy constraint: another attribute"; 91 // CHECK-NEXT: << successorName << ")' failed to verify constraint: a successor"; 94 // CHECK-NOT: << successorName << ")' failed to verify constraint: a successor"; 100 // CHECK-NEXT: << successorName << ")' failed to verify constraint: another successor"; 107 // CHECK-NEXT: << "failed to verify constraint: a region"; 110 // CHECK-NOT: << "failed to verify constraint: a region"; 117 // CHECK-NEXT: << "failed to verify constraint: another region"; 122 // CHECK: if (::mlir::failed([[$A_ATTR_CONSTRAINT]](*this, [[$B_ATTR]], "b"))) [all …]
|
| /llvm-project/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Parser.cpp | 578 if (failed(parseModuleBody(decls))) in parseModule() 588 if (failed(parseDirective(decls))) in parseModuleBody() 594 if (failed(decl)) in parseModuleBody() 721 if (failed(convertExpressionTo(newExprs.back(), in convertTupleExpressionTo() 794 if (failed(lexer.pushInclude(filename, fileLoc))) in parseInclude() 1040 if (failed(decl)) in parseTopLevelDecl() 1045 if (failed(checkDefineNamedDecl(*name))) in parseTopLevelDecl() 1072 if (failed(attrExpr)) in parseNamedAttributeDecl() 1094 failed(singleStatement) || failed(processStatementF in parseLambdaBody() [all...] |
| /llvm-project/llvm/test/Transforms/IndVarSimplify/ |
| H A D | cycled_phis.ll | 27 ; CHECK: failed.signed: 30 ; CHECK: failed.unsigned: 47 br i1 %signed.cmp, label %signed.passed, label %failed.signed 51 br i1 %unsigned.cmp, label %backedge, label %failed.unsigned 58 failed.signed: 62 failed.unsigned: 91 ; CHECK: failed.signed: 94 ; CHECK: failed.unsigned: 111 br i1 %signed.cmp, label %signed.passed, label %failed.signed 115 br i1 %unsigned.cmp, label %backedge, label %failed.unsigned [all …]
|
| /llvm-project/mlir/lib/Dialect/AMX/IR/ |
| H A D | AMXDialect.cpp | 85 if (failed(verifyTileSize(*this, aType)) || in verify() 86 failed(verifyTileSize(*this, bType)) || in verify() 87 failed(verifyTileSize(*this, cType)) || in verify() 88 failed(verifyMultShape(*this, aType, bType, cType, 1))) in verify() 102 if (failed(verifyTileSize(*this, aType)) || in verify() 103 failed(verifyTileSize(*this, bType)) || in verify() 104 failed(verifyTileSize(*this, cType)) || in verify() 105 failed(verifyMultShape(*this, aType, bType, cType, 2))) in verify()
|
| /llvm-project/mlir/test/Transforms/ |
| H A D | test-legalizer-full.mlir | 52 // expected-remark@+1 {{applyFullConversion failed}} 62 // expected-error@+1 {{failed to legalize operation 'test.illegal_op_f'}} 71 // expected-remark@+1 {{applyFullConversion failed}} 78 // expected-error@+1 {{failed to legalize operation 'foo.unknown_op'}} 87 // expected-remark@+1 {{applyFullConversion failed}} 94 // expected-error@+1 {{failed to legalize operation 'cf.br'}} 107 // expected-remark@+1 {{applyFullConversion failed}} 112 // expected-error@+1 {{failed to legalize operation 'test.region'}} 129 // expected-remark@+1 {{applyFullConversion failed}} 133 // expected-error@+1 {{failed to legalize operation 'test.illegal_op_g'}}
|
| /llvm-project/mlir/lib/Dialect/Mesh/IR/ |
| H A D | MeshOps.cpp | 182 if (failed(mesh)) { in maybeInsertTargetShardingAnnotation() 185 if (failed(verifyMeshAxes(op.getLoc(), op.getMeshAxes(), mesh.value()))) { in maybeInsertTargetShardingAnnotation() 383 if (failed(mesh)) { in operator ==() 386 if (failed(verifyMeshAxes(getLoc(), getAxes(), mesh.value()))) { in operator ==() 507 if (failed(checkMeshAxis(subAxesArray))) in verifyInGroupDevice() 511 failed(checkMeshAxis(getPartialAxes().value()))) in verifyInGroupDevice() 540 if (failed(mesh)) { in getMeshAndVerifyAxes() 596 if (failed(foldDynamicIndexList(mixedHalos, /*onlyNonNegative=*/true)) && in verifyGatherOperandAndResultShape() 597 failed(foldDynamicIndexList(mixedOffs, /*onlyNonNegative=*/true))) { in verifyGatherOperandAndResultShape() 781 if (failed(mes [all...] |
| /llvm-project/mlir/lib/Dialect/Arith/Transforms/ |
| H A D | IntNarrowing.cpp | |
| /llvm-project/mlir/test/Conversion/MemRefToEmitC/ |
| H A D | memref-to-emitc-failed.mlir | 4 // expected-error@+1 {{failed to legalize operation 'memref.copy'}} 13 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 21 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 29 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 37 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 45 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 53 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 60 // expected-error@+1 {{failed to legalize operation 'memref.global'}} 66 // expected-error@+1 {{failed to legalize operation 'memref.alloca'}} 74 // expected-error@+1 {{failed t [all...] |
| /llvm-project/mlir/lib/Dialect/Tensor/Transforms/ |
| H A D | BufferizableOpInterfaceImpl.cpp | 58 if (failed(maybeSrcBufferType)) in getBufferType() 92 if (failed(resultBuffer)) in bufferize() 98 if (failed(resultMemRefType)) in bufferize() 147 if (failed(maybeSrcBufferType)) in getBufferType() 170 if (failed(maybeBuffer)) in bufferize() 189 if (failed(bufferType.getStridesAndOffset(strides, offset))) in bufferize() 212 if (failed(tensorAlloc)) in bufferize() 253 if (failed(v)) in bufferize() 286 if (failed(allocTensor)) in bufferize() 320 if (failed(maybeSrcBufferTyp in getBufferType() [all...] |
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | LogicalResult.h | 43 constexpr bool failed() const { return !IsSuccess; } in failed() function 71 inline bool failed(LogicalResult Result) { return Result.failed(); } in failed() function 81 assert(failed(Result) && in FailureOr() 90 : std::optional<T>(failed(Other) ? std::optional<T>() in FailureOr() 124 constexpr explicit operator bool() const { return failed(); }
|
| /llvm-project/offload/test/api/ |
| H A D | omp_get_num_devices_with_empty_target.c | 12 int failed = 0; in main() local 15 ++failed; in main() 18 if (failed) { in main() 24 return failed; in main()
|
| H A D | omp_get_num_devices.c | 19 int failed = 0; in main() local 22 failed++; in main() 24 if (failed) in main() 28 return failed; in main()
|