Home
last modified time | relevance | path

Searched defs:emitError (Results 1 – 25 of 54) sorted by relevance

123

/llvm-project/mlir/lib/Dialect/IRDL/
H A DIRDLVerifiers.cpp34 ConstraintVerifier::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
58 LogicalResult IsConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
71 BaseAttrConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
84 BaseTypeConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
104 function_ref<InFlightDiagnostic()> emitError, Attribute attr, in verify()
140 function_ref<InFlightDiagnostic()> emitError, Attribute attr, in verify()
183 AnyOfConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
199 AllOfConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
211 AnyAttributeConstraint::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
219 const auto emitError = [parentOp = region.getParentOp()](mlir::Location loc) { in verify() local
H A DIRDLLoading.cpp34 irdlAttrOrTypeVerifier(function_ref<InFlightDiagnostic()> emitError, in irdlAttrOrTypeVerifier()
211 auto emitError = [op] { return op->emitError(); }; in irdlOpVerifier() local
487 ArrayRef<Attribute> params) { in getAttrOrTypeVerifier()
/llvm-project/mlir/lib/IR/
H A DODSSupport.cpp23 function_ref<InFlightDiagnostic()> emitError) { in convertFromAttribute() argument
56 return emitError() in convertFromAttribute() argument
39 convertDenseArrayFromAttr(MutableArrayRef<T> storage,Attribute attr,function_ref<InFlightDiagnostic ()> emitError,StringRef denseArrayTyStr) convertDenseArrayFromAttr() argument
62 convertFromAttribute(MutableArrayRef<int32_t> storage,Attribute attr,function_ref<InFlightDiagnostic ()> emitError) convertFromAttribute() argument
[all...]
H A DBuiltinTypes.cpp51 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType) verify() argument
63 verify(function_ref<InFlightDiagnostic ()> emitError,unsigned width,SignednessSemantics signedness) verify() argument
204 verify(function_ref<InFlightDiagnostic ()> emitError,StringAttr dialect,StringRef typeData) verify() argument
228 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,ArrayRef<bool> scalableDims) verify() argument
309 checkTensorElementType(function_ref<InFlightDiagnostic ()> emitError,Type elementType) checkTensorElementType() argument
331 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,Attribute encoding) verify() argument
348 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType) verify() argument
633 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<int64_t> shape,Type elementType,MemRefLayoutAttrInterface layout,Attribute memorySpace) verify() argument
664 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,Attribute memorySpace) verify() argument
[all...]
H A DBuiltinAttributeInterfaces.cpp79 function_ref<InFlightDiagnostic()> emitError) { in verifyAffineMapAsLayout()
H A DExtensibleDialect.cpp130 auto emitError = detail::getDefaultDiagnosticEmitFn(&ctx); in get() local
137 DynamicType::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked()
252 DynamicAttr::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked()
/llvm-project/mlir/lib/Dialect/Quant/IR/
H A DQuantTypes.cpp32 verify(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,int64_t storageTypeMin,int64_t storageTypeMax) verify() argument
226 getChecked(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,int64_t storageTypeMin,int64_t storageTypeMax) getChecked() argument
236 verify(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,int64_t storageTypeMin,int64_t storageTypeMax) verify() argument
263 getChecked(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,double scale,int64_t zeroPoint,int64_t storageTypeMin,int64_t storageTypeMax) getChecked() argument
272 verify(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,double scale,int64_t zeroPoint,int64_t storageTypeMin,int64_t storageTypeMax) verify() argument
315 getChecked(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,ArrayRef<double> scales,ArrayRef<int64_t> zeroPoints,int32_t quantizedDimension,int64_t storageTypeMin,int64_t storageTypeMax) getChecked() argument
325 verify(function_ref<InFlightDiagnostic ()> emitError,unsigned flags,Type storageType,Type expressedType,ArrayRef<double> scales,ArrayRef<int64_t> zeroPoints,int32_t quantizedDimension,int64_t storageTypeMin,int64_t storageTypeMax) verify() argument
377 getChecked(function_ref<InFlightDiagnostic ()> emitError,Type expressedType,double min,double max) getChecked() argument
384 verify(function_ref<InFlightDiagnostic ()> emitError,Type expressedType,double min,double max) verify() argument
[all...]
/llvm-project/mlir/test/lib/Dialect/Test/
H A DTestAttributes.cpp90 verify(function_ref<InFlightDiagnostic ()> emitError,ShapedType type,ArrayRef<uint64_t> elements) verify() argument
104 verify(function_ref<InFlightDiagnostic ()> emitError,int64_t one,std::string two,IntegerAttr three,ArrayRef<int> four,uint64_t five,ArrayRef<int> six,ArrayRef<AttrWithTypeBuilderAttr> arrayOfAttrs) verify() argument
317 __anonaa9990860202(function_ref<InFlightDiagnostic()> emitError, ArrayRef<Attribute> args) getDynamicPairAttr() argument
330 __anonaa9990860302(function_ref<InFlightDiagnostic()> emitError, ArrayRef<Attribute> args) getDynamicCustomAssemblyFormatAttr() argument
331 __anonaa9990860402(function_ref<InFlightDiagnostic()> emitError, ArrayRef<Attribute> args) getDynamicCustomAssemblyFormatAttr() argument
[all...]
H A DTestTypes.cpp184 TestIntegerType::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
363 auto verifier = [](function_ref<InFlightDiagnostic()> emitError, in getCustomAssemblyFormatDynamicType() argument
350 __anon036b90740202(function_ref<InFlightDiagnostic()> emitError, ArrayRef<Attribute> args) getPairDynamicType() argument
362 __anon036b90740302(function_ref<InFlightDiagnostic()> emitError, ArrayRef<Attribute> args) getCustomAssemblyFormatDynamicType() argument
H A DTestDialect.cpp63 function_ref<InFlightDiagnostic()> emitError) { in setPropertiesFromAttribute()
125 function_ref<InFlightDiagnostic()> emitError) { in setFromAttr()
159 function_ref<InFlightDiagnostic()> emitError) { in setPropertiesFromAttribute()
/llvm-project/mlir/lib/Dialect/Ptr/IR/
H A DPtrAttrs.cpp25 LogicalResult SpecAttr::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp163 LLVMArrayType::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked() argument
171 LLVMArrayType::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
225 LLVMFunctionType::getChecked(function_ref<InFlightDiagnostic()> emitError, in getChecked() argument
244 LLVMFunctionType::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
431 getIdentifiedChecked(function_ref<InFlightDiagnostic ()> emitError,MLIRContext * context,StringRef name) getIdentifiedChecked() argument
459 getLiteralChecked(function_ref<InFlightDiagnostic ()> emitError,MLIRContext * context,ArrayRef<Type> types,bool isPacked) getLiteralChecked() argument
470 getOpaqueChecked(function_ref<InFlightDiagnostic ()> emitError,MLIRContext * context,StringRef name) getOpaqueChecked() argument
501 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<Type> types,bool) verify() argument
661 verifyVectorConstructionInvariants(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verifyVectorConstructionInvariants() argument
679 getChecked(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) getChecked() argument
691 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verify() argument
708 getChecked(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned minNumElements) getChecked() argument
724 verify(function_ref<InFlightDiagnostic ()> emitError,Type elementType,unsigned numElements) verify() argument
[all...]
H A DLLVMAttrs.cpp238 verify(function_ref<InFlightDiagnostic ()> emitError,llvm::ArrayRef<StringAttr> features) verify() argument
[all...]
/llvm-project/mlir/tools/mlir-tblgen/
H A DFormatGen.cpp34 FormatToken FormatLexer::emitError(SMLoc loc, const Twine &msg) { emitError() function in FormatLexer
41 FormatToken FormatLexer::emitError(const char *loc, const Twine &msg) { emitError() function in FormatLexer
483 canFormatStringAsKeyword(StringRef value,function_ref<void (Twine)> emitError) canFormatStringAsKeyword() argument
506 isValidLiteral(StringRef value,function_ref<void (Twine)> emitError) isValidLiteral() argument
[all...]
/llvm-project/mlir/lib/Tools/PDLL/Parser/
H A DLexer.cpp120 Token Lexer::emitError(SMRange loc, const Twine &msg) { in emitError() function in Lexer
129 Token Lexer::emitError(const char *loc, const Twine &msg) { in emitError() function in Lexer
/llvm-project/mlir/lib/Dialect/PDL/IR/
H A DPDLTypes.cpp96 LogicalResult RangeType::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
/llvm-project/mlir/include/mlir/IR/
H A DExtensibleDialect.h86 LogicalResult verify(function_ref<InFlightDiagnostic()> emitError, in verify()
242 LogicalResult verify(function_ref<InFlightDiagnostic()> emitError, in verify()
478 function_ref<InFlightDiagnostic()> emitError) final { in verifyInherentAttrs()
491 function_ref<InFlightDiagnostic()> emitError) final { in setPropertiesFromAttr()
/llvm-project/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp687 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
708 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
777 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
824 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
872 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
893 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,KindTy fKind) verify() argument
1016 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,llvm::StringRef name) verify() argument
1051 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
1125 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,llvm::ArrayRef<int64_t> shape,mlir::Type eleTy,mlir::AffineMapAttr layoutMap) verify() argument
1200 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,mlir::Type eleTy) verify() argument
1229 verify(llvm::function_ref<mlir::InFlightDiagnostic ()> emitError,uint64_t len,mlir::Type eleTy) verify() argument
[all...]
/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp221 void LLVMContext::emitError(const Twine &ErrorStr) { emitError() function in LLVMContext
225 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { emitError() function in LLVMContext
286 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { emitError() function in LLVMContext
/llvm-project/mlir/lib/Dialect/Complex/IR/
H A DComplexDialect.cpp62 ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError, in verify()
/llvm-project/mlir/lib/Dialect/DLTI/
H A DDLTI.cpp116 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<DataLayoutEntryInterface> entries) verify() argument
343 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<DataLayoutEntryInterface> entries) verify() argument
370 verify(function_ref<InFlightDiagnostic ()> emitError,ArrayRef<DeviceIDTargetDeviceSpecPair> entries) verify() argument
[all...]
/llvm-project/mlir/lib/Dialect/Transform/IR/
H A DTransformTypes.cpp112 transform::ParamType::verify(function_ref<InFlightDiagnostic()> emitError, in verify()
/llvm-project/mlir/unittests/IR/
H A DOpPropertiesTest.cpp43 function_ref<InFlightDiagnostic()> emitError) { in setPropertiesFromAttribute() argument
132 function_ref<InFlightDiagnostic()> emitError) { in verifyInherentAttrs() argument
279 auto emitError = [&]() { TEST() local
[all...]
/llvm-project/mlir/include/mlir/Tools/PDLL/AST/
H A DDiagnostic.h145 InFlightDiagnostic emitError(SMRange loc, const Twine &msg) { in emitError() function
/llvm-project/mlir/lib/AsmParser/
H A DLexer.cpp67 Token Lexer::emitError(const char *loc, const Twine &message) { in emitError() function in Lexer

123