Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_control_flow.cc126 auto then_branch = module.lookupSymbol<mlir::FuncOp>(op.then_branch()); in LowerIf()
127 auto else_branch = module.lookupSymbol<mlir::FuncOp>(op.else_branch()); in LowerIf()
154 auto body_branch = module.lookupSymbol<mlir::FuncOp>(op.body()); in LowerWhile()
155 auto cond_branch = module.lookupSymbol<mlir::FuncOp>(op.cond()); in LowerWhile()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfunctional_control_flow_to_cfg.cc166 auto then_fn = module.lookupSymbol<FuncOp>(op.then_branch()); in LowerIfOp()
167 auto else_fn = module.lookupSymbol<FuncOp>(op.else_branch()); in LowerIfOp()
223 auto cond_fn = module.lookupSymbol<FuncOp>(op.cond()); in LowerWhileOp()
224 auto body_fn = module.lookupSymbol<FuncOp>(op.body()); in LowerWhileOp()
Dannotate_parameter_replication.cc71 auto func = llvm::cast<FuncOp>(m.lookupSymbol(launch_func.func())); in runOnModule()
Dmaterialize_mlir_passthrough_op.cc54 FuncOp main = dyn_cast<FuncOp>(nested_module->lookupSymbol("main")); in runOnFunction()
Dtpu_variable_runtime_reformatting.cc392 auto body = llvm::cast<FuncOp>(module.lookupSymbol(while_op.body())); in HandleReplicateOp()
393 auto cond = llvm::cast<FuncOp>(module.lookupSymbol(while_op.cond())); in HandleReplicateOp()
489 auto body = llvm::cast<FuncOp>(module.lookupSymbol(while_op.body())); in runOnModule()
Dpromote_resources_to_args.cc198 FuncOp main_func = module.lookupSymbol<FuncOp>("main"); in runOnModule()
Dresource_device_inference.cc208 llvm::dyn_cast<FuncOp>(module.lookupSymbol(called_func_name)); in runOnModule()
Dtpu_rewrite_pass.cc306 FuncOp func = launch_func.getParentOfType<ModuleOp>().lookupSymbol<FuncOp>( in BuildCompileOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dcompile_mlir_util.cc68 mlir::FuncOp main_func = module.lookupSymbol<mlir::FuncOp>("main"); in GetXlaInputShapes()
97 mlir::FuncOp main_func = module.lookupSymbol<mlir::FuncOp>("main"); in GetOutputInfo()
194 auto main_func = module.lookupSymbol<mlir::FuncOp>("main"); in RefineShapes()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dtranslate_tf_dialect_op.cc26 mlir::FuncOp fn = module.lookupSymbol<mlir::FuncOp>("main"); in ExtractOnlyOp()
Dexport_graphdef.cc649 function.getParentOfType<mlir::ModuleOp>().lookupSymbol<mlir::FuncOp>( in Convert()
756 function.getParentOfType<mlir::ModuleOp>().lookupSymbol<mlir::FuncOp>( in ConvertLibFunction()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc188 auto body = llvm::cast<FuncOp>(module.lookupSymbol(while_op.body())); in AnalyzeFunction()
207 llvm::cast<FuncOp>(module.lookupSymbol(if_op.then_branch())); in AnalyzeFunction()
209 llvm::cast<FuncOp>(module.lookupSymbol(if_op.else_branch())); in AnalyzeFunction()
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dmlir_tflite_runner.cc107 mlir::FuncOp main = module->lookupSymbol<mlir::FuncOp>("main"); in main()
Dtf_tfl_translate.cc100 if (auto fn = module.lookupSymbol<FuncOp>(subgraph->name()->str())) in PrintFunctionResultMapping()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDebugMap.h161 const DebugMapEntry *lookupSymbol(StringRef SymbolName) const;
DDebugMap.cpp94 DebugMapObject::lookupSymbol(StringRef SymbolName) const { in lookupSymbol() function in llvm::dsymutil::DebugMapObject
/external/llvm/tools/dsymutil/
DDebugMap.h143 const DebugMapEntry *lookupSymbol(StringRef SymbolName) const;
DDebugMap.cpp72 DebugMapObject::lookupSymbol(StringRef SymbolName) const { in lookupSymbol() function in llvm::dsymutil::DebugMapObject
/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
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_saved_model.cc133 auto global_tensor = module.lookupSymbol<GlobalTensorOp>(symbol_name); in verifyRegionArgAttribute()
Dtf_ops.cc1185 auto thenFn = module.lookupSymbol<FuncOp>(op.then_branch()); in Verify()
1189 auto elseFn = module.lookupSymbol<FuncOp>(op.else_branch()); in Verify()
2670 auto condFn = module.lookupSymbol<FuncOp>(op.cond()); in Verify()
2671 auto bodyFn = module.lookupSymbol<FuncOp>(op.body()); in Verify()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc420 return lowered_computation_[module_.lookupSymbol<mlir::FuncOp>("main")] in ConsumeMainProto()
894 mlir::FuncOp callee = module_.lookupSymbol<mlir::FuncOp>(call_op->callee()); in LowerFunctionCall()
1107 auto entry_func = module.lookupSymbol<mlir::FuncOp>("main"); in AddDynamicParameterBindings()
/external/llvm/include/llvm/MC/
DMCContext.h308 MCSymbol *lookupSymbol(const Twine &Name) const;
/external/llvm/lib/MC/
DMCContext.cpp257 MCSymbol *MCContext::lookupSymbol(const Twine &Name) const { in lookupSymbol() function in MCContext
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCContext.h356 MCSymbol *lookupSymbol(const Twine &Name) const;

12