Home
last modified time | relevance | path

Searched refs:lookupSymbol (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm-project/mlir/include/mlir/IR/
DSymbolTable.h289 Operation *lookupSymbol(StringRef name) { in lookupSymbol() function
292 template <typename T> T lookupSymbol(StringRef name) { in lookupSymbol() function
293 return dyn_cast_or_null<T>(lookupSymbol(name)); in lookupSymbol()
295 Operation *lookupSymbol(SymbolRefAttr symbol) { in lookupSymbol() function
299 T lookupSymbol(SymbolRefAttr symbol) { in lookupSymbol() function
300 return dyn_cast_or_null<T>(lookupSymbol(symbol)); in lookupSymbol()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emission_utils_test.cc41 mlir::FuncOp func = mlir::cast<mlir::FuncOp>(module->lookupSymbol("foo")); in TEST()
58 mlir::FuncOp func = mlir::cast<mlir::FuncOp>(module->lookupSymbol("foo")); in TEST()
75 mlir::FuncOp func = mlir::cast<mlir::FuncOp>(module->lookupSymbol("foo")); in TEST()
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/
DConvertLaunchFuncToVulkanCalls.cpp289 if (!module.lookupSymbol(kSetEntryPoint)) { in declareVulkanFunctions()
297 if (!module.lookupSymbol(kSetNumWorkGroups)) { in declareVulkanFunctions()
306 if (!module.lookupSymbol(kSetBinaryShader)) { in declareVulkanFunctions()
314 if (!module.lookupSymbol(kRunOnVulkan)) { in declareVulkanFunctions()
331 if (!module.lookupSymbol(fnName)) { in declareVulkanFunctions()
342 if (!module.lookupSymbol(kInitVulkan)) { in declareVulkanFunctions()
349 if (!module.lookupSymbol(kDeinitVulkan)) { in declareVulkanFunctions()
/external/llvm-project/mlir/test/lib/Rewrite/
DTestPDLByteCode.cpp54 ModuleOp patternModule = module.lookupSymbol<ModuleOp>("patterns"); in runOnOperation()
55 ModuleOp irModule = module.lookupSymbol<ModuleOp>("ir"); in runOnOperation()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertLaunchFuncToLLVMCalls.cpp125 auto funcOp = module.lookupSymbol<spirv::FuncOp>(funcName); in encodeKernelName()
166 auto spvModule = module.lookupSymbol<spirv::ModuleOp>(spvModuleName); in matchAndRewrite()
180 auto kernelFunc = module.lookupSymbol<LLVM::LLVMFuncOp>(newKernelFuncName); in matchAndRewrite()
233 auto dstGlobal = module.lookupSymbol<LLVM::GlobalOp>(name); in matchAndRewrite()
/external/llvm-project/flang/lib/Lower/
DFIRBuilder.cpp27 return modOp.lookupSymbol<mlir::FuncOp>(name); in getNamedFunction()
33 return modOp.lookupSymbol<fir::GlobalOp>(name); in getNamedGlobal()
111 if (auto glob = module.lookupSymbol<fir::GlobalOp>(name)) in createGlobal()
124 if (auto glob = module.lookupSymbol<fir::GlobalOp>(name)) in createGlobal()
DSymbolMap.h230 SymbolBox lookupSymbol(semantics::SymbolRef sym) { in lookupSymbol() function
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DLowerToLLVM.cpp109 if (module.lookupSymbol<LLVM::LLVMFuncOp>("printf")) in getOrInsertPrintf()
133 if (!(global = module.lookupSymbol<LLVM::GlobalOp>(name))) { in getOrCreateGlobalString()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DLowerToLLVM.cpp109 if (module.lookupSymbol<LLVM::LLVMFuncOp>("printf")) in getOrInsertPrintf()
133 if (!(global = module.lookupSymbol<LLVM::GlobalOp>(name))) { in getOrCreateGlobalString()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtranslate_tf_dialect_op.cc27 mlir::FuncOp fn = module.lookupSymbol<mlir::FuncOp>("main"); in ExtractOnlyOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc89 mlir::FuncOp main_func = module.lookupSymbol<mlir::FuncOp>("main"); in GetXlaInputShapes()
146 mlir::FuncOp main_func = module.lookupSymbol<mlir::FuncOp>("main"); in GetOutputInfo()
265 auto main_func = module.lookupSymbol<mlir::FuncOp>("main"); in RefineShapes()
384 mlir::Block& block = module_op.lookupSymbol<mlir::FuncOp>("main").front(); in BuildHloFromTfInner()
520 mlir::FuncOp main_fn = module_op.lookupSymbol<mlir::FuncOp>("main"); in RewriteWithArgs()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dannotate_parameter_replication.cc72 auto func = llvm::cast<FuncOp>(m.lookupSymbol(cluster_func.func())); in runOnOperation()
Dmaterialize_mlir_passthrough_op.cc54 FuncOp main = dyn_cast<FuncOp>(nested_module->lookupSymbol("main")); in runOnFunction()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DWasmException.cpp28 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
DWinCFGuard.cpp84 return Asm->OutContext.lookupSymbol(Twine("__imp_") + Sym->getName()); in lookupImpSymbol()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DWasmException.cpp28 if (Asm->OutContext.lookupSymbol(NameStr)) { in endModule()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
DDecorateSPIRVCompositeTypeLayoutPass.cpp68 auto varOp = spirvModule.lookupSymbol<spirv::GlobalVariableOp>(varName); in matchAndRewrite()
/external/llvm-project/mlir/lib/ExecutionEngine/
DJitRunner.cpp188 auto mainFunction = module.lookupSymbol<LLVM::LLVMFuncOp>(entryPoint); in compileAndExecuteVoidFunction()
219 auto mainFunction = module.lookupSymbol<LLVM::LLVMFuncOp>(entryPoint); in compileAndExecuteSingleReturnFunction()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dmlir_tflite_runner.cc116 mlir::FuncOp main = module->lookupSymbol<mlir::FuncOp>("main"); in main()
Dtf_tfl_translate.cc109 if (auto fn = module.lookupSymbol<FuncOp>(subgraph->name()->str())) in PrintFunctionResultMapping()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dtensorflow_abi_knowledge_propagation.cc85 auto kernel = module.lookupSymbol<LLVM::LLVMFuncOp>(launch.kernel()); in runOnFunction()
/external/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
DAsyncToLLVM.cpp118 if (module.lookupSymbol(name)) in addAsyncRuntimeApiDeclarations()
155 if (module.lookupSymbol(name)) in addLLVMFuncDecl()
224 if (module.lookupSymbol(kResume)) in addResumeFunction()
/external/llvm/tools/dsymutil/
DDebugMap.h143 const DebugMapEntry *lookupSymbol(StringRef SymbolName) const;
/external/llvm-project/llvm/tools/dsymutil/
DDebugMap.h166 const DebugMapEntry *lookupSymbol(StringRef SymbolName) const;
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java1380 file.pool.lookupSymbol( in crossLink()
1401 file.pool.lookupSymbol( in crossLink()
2077 file.pool.lookupSymbol( in crossLink()
2086 file.pool.lookupSymbol( in crossLink()
2299 GenericDescriptor lookupSymbol( in lookupSymbol() method in Descriptors.DescriptorPool

1234