Home
last modified time | relevance | path

Searched refs:emitError (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRAttrs.cpp62 parser.emitError(typeLoc, "unknown attribute in CIR dialect"); in parseAttribute()
75 LogicalResult OptInfoAttr::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
78 return emitError() in verify()
81 return emitError() in verify()
129 return p.emitError(p.getCurrentLocation(), "expected integer value"); in parseIntLiteralImpl()
133 return p.emitError(p.getCurrentLocation(), in parseIntLiteralImpl()
154 LogicalResult IntAttr::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
157 return emitError() << "type and value bitwidth mismatch: " in verify()
188 LogicalResult FPAttr::verify(function_ref<InFlightDiagnostic()> emitError, in verify() argument
192 return emitError() << "floating-point semantics mismatch"; in verify()
[all …]
H A DCIRTypes.cpp77 parser.emitError(typeLoc) << "unknown CIR type: " << mnemonic; in parseType()
116 parser.emitError(loc, "unknown record type"); in parse()
127 parser.emitError(loc, "invalid self-reference within record"); in parse()
138 parser.emitError(loc, "record already defined"); in parse()
180 parser.emitError(loc, "anonymous records must be complete"); in parse()
234 RecordType::verify(function_ref<mlir::InFlightDiagnostic()> emitError, in verify() argument
239 return emitError() << "identified records cannot have an empty name"; in verify()
417 parser.emitError(loc, "expected 's' or 'u'"); in parse()
428 parser.emitError(loc, "expected integer width to be from ") in parse()
456 IntType::verify(llvm::function_ref<mlir::InFlightDiagnostic()> emitError, in verify() argument
[all …]
H A DCIRDialect.cpp176 return parser.emitError(errLoc, in ensureRegionTerm()
1411 return parser.emitError( in parse()
1445 return parser.emitError(loc, "function alias shall not have a body"); in parse()
1450 return parser.emitError(loc, "expected non-empty function body"); in parse()
1529 return emitError() in verify()
1540 return emitError() << "The nsw/nuw flags are applicable to opcodes: 'add', " in verify()
1543 return emitError() << "The saturated flag is applicable to opcodes: 'add' " in verify()
1546 return emitError() << "The nsw/nuw flags and the saturated flag are " in verify()
1702 return emitError() << "expected pointer to a record type"; in verify()
1705 return emitError() << "member index out of bounds"; in verify()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DModelUnderTrainingRunner.cpp41 Ctx.emitError("Error opening output specs file: " + FileName + " : " + in loadOutputSpecs()
47 Ctx.emitError("Could not parse specs file: " + FileName); in loadOutputSpecs()
52 Ctx.emitError("Expected an array of {tensor_spec:<TensorSpec>, " in loadOutputSpecs()
65 Ctx.emitError( in loadOutputSpecs()
75 Ctx.emitError( in loadOutputSpecs()
84 Ctx.emitError("The first output spec must describe the decision tensor, " in loadOutputSpecs()
103 Ctx.emitError("Failed to create saved model evaluator"); in ModelUnderTrainingRunner()
116 Ctx.emitError("Error evaluating model."); in evaluateUntyped()
150 Ctx.emitError("Could not load or create model evaluator."); in createAndEnsureValid()
153 Ctx.emitError("Could not load the policy model from the provided path"); in createAndEnsureValid()
H A DInteractiveModelRunner.cpp34 Ctx.emitError("Cannot open inbound file: " + InEC.message()); in InteractiveModelRunner()
40 Ctx.emitError("Cannot open outbound file: " + OutEC.message()); in InteractiveModelRunner()
73 Ctx.emitError("Failed reading from inbound file"); in evaluateUntyped()
H A DReplayInlineAdvisor.cpp37 Context.emitError("Could not open remarks file: " + EC.message()); in ReplayInlineAdvisor()
66 Context.emitError("Invalid remark format: " + Line); in ReplayInlineAdvisor()
H A DIR2Vec.cpp488 void IR2VecVocabAnalysis::emitError(Error Err, LLVMContext &Ctx) { in emitError() function in IR2VecVocabAnalysis
490 Ctx.emitError("Error reading vocabulary: " + EI.message()); in emitError()
504 Ctx->emitError("IR2Vec vocabulary file path not specified; You may need to " in run()
509 emitError(std::move(Err), *Ctx); in run()
H A DTensorSpec.cpp76 Ctx.emitError("Unable to parse JSON Value as spec (" + Message + "): " + S); in getTensorSpecFromJSON()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOCodeGenerator.cpp211 emitError(ErrMsg); in writeMergedModules()
222 emitError(ErrMsg); in writeMergedModules()
245 emitError( in runAIXSystemAssembler()
272 emitError("LTO assembler exited abnormally"); in runAIXSystemAssembler()
276 emitError("Unable to invoke LTO assembler"); in runAIXSystemAssembler()
280 emitError("LTO assembler invocation returned non-zero"); in runAIXSystemAssembler()
310 emitError(EC.message()); in compileOptimizedToFile()
349 emitError(EC.message()); in compileOptimized()
389 emitError(ErrMsg); in determineTarget()
621 emitError("LTO middle-end optimizations failed"); in optimize()
[all …]
H A DLTOModule.cpp112 Context.emitError(EC.message()); in createFromFile()
134 Context.emitError(EC.message()); in createFromOpenFileSlice()
174 Context.emitError(EC.message()); in parseBitcodeFileImpl()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp713 bool emitError(llvm::Twine Message) { in emitError() function in __anon10d1463d1311::YAMLConverter
739 emitError(llvm::Twine("availability message for available API '") + in convertAvailability()
761 emitError("invalid parameter position " + llvm::itostr(P.Position)); in convertParams()
769 emitError(llvm::Twine("nullability info for '") + APIName + in convertNullability()
820 emitError("selector '" + M.Selector + "' is missing a ':' at the end"); in convertMethod()
833 emitError("'FactoryAsInit' is no longer valid; use 'SwiftName' instead"); in convertMethod()
885 emitError(llvm::Twine("duplicate definition of method '") + in convertContext()
902 emitError(llvm::Twine("duplicate definition of instance property '") + in convertContext()
909 emitError(llvm::Twine("duplicate definition of class property '") + in convertContext()
957 emitError("implicit instance parameter is only permitted on C++ and " in convertFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp60 bool emitError(const Twine &Message) { in emitError() function in __anon6b58b84b0111::ModuleLinker
138 return emitError("Linking COMDATs named '" + ComdatName + in getComdatLeader()
144 return emitError( in getComdatLeader()
172 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
199 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
206 return emitError("Linking COMDATs named '" + ComdatName + in computeResultingSelectionKind()
324 return emitError("Linking globals named '" + Src.getName() + in shouldLinkFromSource()
572 emitError("linking '" + GV->getName() + in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMLRegallocPriorityAdvisor.cpp
H A DMLRegAllocPriorityAdvisor.cpp210 Ctx.emitError("Regalloc development mode should be requested with at " in DevelopmentModePriorityAdvisorProvider()
220 Ctx.emitError("Regalloc: could not set up the model runner"); in DevelopmentModePriorityAdvisorProvider()
228 Ctx.emitError(EC.message() + ":" + TrainingLog); in DevelopmentModePriorityAdvisorProvider()
252 MF.getFunction().getContext().emitError( in logRewardIfNeeded()
H A DRegAllocPriorityAdvisor.cpp50 Ctx.emitError("Requested regalloc priority advisor analysis " in DefaultPriorityAdvisorProvider()
H A DMLRegallocEvictAdvisor.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DReleaseModeModelRunner.h81 Ctx.emitError(
88 Ctx.emitError("A model selector was specified but the underlying model "
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h314 LLVM_ABI void emitError(const Instruction *I, const Twine &ErrorStr);
315 LLVM_ABI void emitError(const Twine &ErrorStr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOCtxProfLowering.cpp111 F.getContext().emitError("[ctxprof] The function " + F.getName() + in emitUnsupportedRootError()
269 F.getContext().emitError( in lowerFunction()
408 F.getContext().emitError( in lowerFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MCInstLower.cpp57 C.emitError("Illegal instruction detected: " + Err); in emitInstruction()
H A DAMDGPUMCInstLower.cpp204 C.emitError("AMDGPUMCInstLower::lower - Pseudo instruction doesn't have " in lower()
293 C.emitError("Illegal instruction detected: " + Err); in emitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp206 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() function in LLVMContext
210 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() function in LLVMContext
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp96 M.getContext().emitError("cannot open CSV file: " + EC.message()); in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/legacy/
H A DLTOCodeGenerator.h223 void emitError(const std::string &ErrMsg);
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.cpp623 return castOp.emitError() << "NYI cast from " << srcTy << " to " << dstTy; in matchAndRewrite()
749 return castOp.emitError("Unhandled cast kind: ") in matchAndRewrite()
1038 return op.emitError() << "array does not have a constant initializer"; in matchAndRewrite()
1093 return op.emitError() << "unsupported constant type " << op.getType(); in matchAndRewrite()
1309 op.emitError() << "unsupported initializer '" << init.value() << "'"; in matchAndRewrite()
1322 op.emitError() << "unsupported initializer '" << init.value() << "'"; in matchAndRewrite()
1476 return op.emitError() << "Unary not is invalid for floating-point types"; in matchAndRewrite()
1491 return op.emitError() << "Unsupported unary operation on boolean type"; in matchAndRewrite()
1506 return op.emitError() in matchAndRewrite()
1510 return op.emitError() << "Unary operation has unsupported type: " in matchAndRewrite()
[all …]

123