Home
last modified time | relevance | path

Searched refs:UnknownLoc (Results 1 – 25 of 58) sorted by relevance

123

/llvm-project-15.0.7/mlir/unittests/Pass/
H A DAnalysisManagerTest.cpp42 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
65 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
96 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
144 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
166 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
192 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
225 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
260 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
H A DPassManagerTest.cpp61 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
111 OwningOpRef<ModuleOp> module(ModuleOp::create(UnknownLoc::get(&context))); in TEST()
115 OperationState state(UnknownLoc::get(&context), "invalid_op"); in TEST()
/llvm-project-15.0.7/mlir/lib/IR/
H A DLocation.cpp68 UnknownLoc>(); in classof()
104 if (!loc.isa<UnknownLoc>()) in get()
113 return UnknownLoc::get(context); in get()
116 return Base::get(context, ArrayRef<Location>{UnknownLoc::get(context)}, in get()
H A DMLIRContext.cpp229 UnknownLoc unknownLocAttr;
305 impl->unknownLocAttr = AttributeUniquer::get<UnknownLoc>(this); in MLIRContext()
913 UnknownLoc UnknownLoc::get(MLIRContext *context) { in get()
1034 return [ctx] { return emitError(UnknownLoc::get(ctx)); }; in getDefaultDiagnosticEmitFn()
H A DDiagnostics.cpp256 if (!diag.getLocation().isa<UnknownLoc>()) in emit()
458 if (!loc.isa<UnknownLoc>()) in emitDiagnostic()
566 .Case([](UnknownLoc) -> Optional<Location> { in findLocToShow() argument
991 if (!diag.getLocation().isa<UnknownLoc>()) in print()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinLocationAttributes.td173 UnknownLoc::get(name.getContext()));
204 /// an object. The corresponding MLIR location is set to UnknownLoc.
245 // UnknownLoc
248 def UnknownLoc : Builtin_LocationAttr<"UnknownLoc"> {
269 static UnknownLoc get(MLIRContext *context);
H A DLocation.h129 UnknownLoc::get(context)); in get()
/llvm-project-15.0.7/mlir/lib/Parser/
H A DParser.cpp44 return emitError(mlir::UnknownLoc::get(config.getContext()), in parseSourceFile()
49 return emitError(mlir::UnknownLoc::get(config.getContext()), in parseSourceFile()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.gdb71 # CHECK-LABEL: +print UnknownLoc
72 print UnknownLoc
73 # CHECK: typeID = mlir::TypeID::get<mlir::UnknownLoc>()
94 # CHECK: typeID = mlir::TypeID::get<mlir::UnknownLoc>()
H A Dmlir-support.cpp27 auto UnknownLoc = mlir::UnknownLoc::get(&Context); variable
/llvm-project-15.0.7/mlir/unittests/IR/
H A DInterfaceAttachmentTest.cpp306 builder.create<ModuleOp>(UnknownLoc::get(&context)); in TEST()
320 builder.create<UnrealizedConversionCastOp>(UnknownLoc::get(&context), in TEST()
335 ModuleOp::create(UnknownLoc::get(&other)); in TEST()
368 OwningOpRef<ModuleOp> module = ModuleOp::create(UnknownLoc::get(&context)); in TEST()
399 OwningOpRef<ModuleOp> module = ModuleOp::create(UnknownLoc::get(&context)); in TEST()
H A DInterfaceTest.cpp27 OwningOpRef<ModuleOp> module = ModuleOp::create(UnknownLoc::get(&context)); in TEST()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DDebugTranslation.cpp23 return op->getLoc().isa<UnknownLoc>() ? WalkResult::advance() in interruptIfValidLocation()
91 return l.isa<UnknownLoc>() ? WalkResult::interrupt() in translate()
135 if (!scope || loc.isa<UnknownLoc>()) in translateLoc()
H A DConvertFromLLVMIR.cpp441 UnknownLoc::get(context), type, gv->isConstant(), in processGlobal()
483 return bEntry.create<AddressOfOp>(UnknownLoc::get(context), in processConstant()
511 return bEntry.create<UndefOp>(UnknownLoc::get(context), type); in processConstant()
547 root = bEntry.create<InsertValueOp>(UnknownLoc::get(context), rootType, in processConstant()
556 UnknownLoc::get(context), rootType, root, elementValue, indexValue); in processConstant()
578 b.create(UnknownLoc::get(context), b.getStringAttr("llvm.unknown"), in processValue()
1191 UnknownLoc::get(context), f->getName(), functionType, in processFunction()
1197 emitWarning(UnknownLoc::get(context), in processFunction()
1257 emitError(UnknownLoc::get(context), "can't translate data layout"); in translateLLVMIRToModule()
1288 emitError(UnknownLoc::get(context)) << errStream.str(); in translateLLVMIRToModule()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestFunc.cpp27 UnknownLoc unknownLoc = UnknownLoc::get(module.getContext()); in runOnOperation()
/llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/
H A DSerializationTest.cpp46 OperationState state(UnknownLoc::get(&context), in initModuleOp()
75 UnknownLoc::get(&context), TypeAttr::get(ptrType), in addGlobalVar()
/llvm-project-15.0.7/mlir/lib/Transforms/
H A DStripDebugInfo.cpp24 auto unknownLoc = UnknownLoc::get(&getContext()); in runOnOperation()
H A DCSE.cpp139 if (existing->getLoc().isa<UnknownLoc>() && !op->getLoc().isa<UnknownLoc>()) in replaceUsesAndDelete()
/llvm-project-15.0.7/flang/unittests/Optimizer/
H A DFIRContextTest.cpp23 mod = mlir::ModuleOp::create(mlir::UnknownLoc::get(&context)); in SetUp()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-reduce/
H A DMlirReduceMain.cpp84 return emitError(UnknownLoc::get(&context)) << msg; in mlirReduceMain()
/llvm-project-15.0.7/flang/tools/bbc/
H A Dbbc.cpp231 return mlir::emitError(mlir::UnknownLoc::get(&ctx), in convertFortranSourceToMLIR()
242 mlir::emitError(mlir::UnknownLoc::get(&ctx)) << msg; in convertFortranSourceToMLIR()
/llvm-project-15.0.7/mlir/lib/AsmParser/
H A DLocationParser.cpp171 loc = UnknownLoc::get(getContext()); in parseLocationInstance()
/llvm-project-15.0.7/mlir/unittests/Transforms/
H A DDialectConversion.cpp16 return Operation::create(UnknownLoc::get(context), in createOp()
/llvm-project-15.0.7/flang/tools/tco/
H A Dtco.cpp109 mlir::emitError(mlir::UnknownLoc::get(pm.getContext())) << msg; in compileFIR()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/
H A DTranslateRegistration.cpp47 emitError(UnknownLoc::get(context)) in deserializeModule()

123