Home
last modified time | relevance | path

Searched refs:lookupNearestSymbolFrom (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DSymbolTable.h113 static Operation *lookupNearestSymbolFrom(Operation *from, StringRef symbol);
114 static Operation *lookupNearestSymbolFrom(Operation *from,
117 static T lookupNearestSymbolFrom(Operation *from, StringRef symbol) { in lookupNearestSymbolFrom() function
118 return dyn_cast_or_null<T>(lookupNearestSymbolFrom(from, symbol)); in lookupNearestSymbolFrom()
121 static T lookupNearestSymbolFrom(Operation *from, SymbolRefAttr symbol) { in lookupNearestSymbolFrom() function
122 return dyn_cast_or_null<T>(lookupNearestSymbolFrom(from, symbol)); in lookupNearestSymbolFrom()
243 Operation *lookupNearestSymbolFrom(Operation *from, StringRef symbol);
244 Operation *lookupNearestSymbolFrom(Operation *from, SymbolRefAttr symbol);
246 T lookupNearestSymbolFrom(Operation *from, StringRef symbol) { in lookupNearestSymbolFrom() function
247 return dyn_cast_or_null<T>(lookupNearestSymbolFrom(from, symbol)); in lookupNearestSymbolFrom()
[all …]
DOpBase.td1641 "::mlir::SymbolTable::lookupNearestSymbolFrom("
/external/llvm-project/mlir/lib/Interfaces/
DCallInterfaces.cpp30 return symbolTable->lookupNearestSymbolFrom(getOperation(), symbolRef); in resolveCallable()
31 return SymbolTable::lookupNearestSymbolFrom(getOperation(), symbolRef); in resolveCallable()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dtf_kernel_to_llvm_pass.cc156 auto kernel_module = SymbolTable::lookupNearestSymbolFrom<gpu::GPUModuleOp>( in matchAndRewrite()
198 auto function = SymbolTable::lookupNearestSymbolFrom<LLVM::LLVMFuncOp>( in matchAndRewrite()
Dembed_memref_prints.cc45 SymbolTable::lookupNearestSymbolFrom<FuncOp>(caller_func, func_name); in emitCallToPrint()
Dtf_framework_legalize_to_llvm.cc300 SymbolTable::lookupNearestSymbolFrom(module, global_name); in GenerateErrorMessageConstant()
/external/llvm-project/mlir/test/lib/IR/
DTestSymbolUses.cpp52 if (SymbolTable::lookupNearestSymbolFrom( in operateOnSymbol()
/external/llvm-project/mlir/lib/Conversion/GPUCommon/
DOpToFuncCallLowering.h116 Operation *funcOp = SymbolTable::lookupNearestSymbolFrom(op, funcName); in appendOrGetFuncOp()
DConvertLaunchFuncToRuntimeCalls.cpp586 auto kernelModule = SymbolTable::lookupNearestSymbolFrom<gpu::GPUModuleOp>( in matchAndRewrite()
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp346 Operation *SymbolTable::lookupNearestSymbolFrom(Operation *from, in lookupNearestSymbolFrom() function in SymbolTable
351 Operation *SymbolTable::lookupNearestSymbolFrom(Operation *from, in lookupNearestSymbolFrom() function in SymbolTable
971 Operation *SymbolTableCollection::lookupNearestSymbolFrom(Operation *from, in lookupNearestSymbolFrom() function in SymbolTableCollection
977 SymbolTableCollection::lookupNearestSymbolFrom(Operation *from, in lookupNearestSymbolFrom() function in SymbolTableCollection
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.td129 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, flat_sym_ref);
346 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, then_branch());
351 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, else_branch());
461 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, f());
582 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, f());
661 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, f());
728 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, cond());
733 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, body());
1301 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, f());
Dtf_device_ops.td356 return SymbolTable::lookupNearestSymbolFrom<FuncOp>(*this, func());
Dtf_ops_a_m.cc782 auto branch_func = SymbolTable::lookupNearestSymbolFrom<FuncOp>( in VerifyCaseOrIfOpBranchFunctions()
/external/llvm-project/mlir/lib/Transforms/
DInliner.cpp51 auto *symbolOp = symbolTable.lookupNearestSymbolFrom(symbolTableOp, in walkReferencedSymbolNodes()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp1049 SymbolTable::lookupNearestSymbolFrom(addressOfOp->getParentOp(), in verify()
1851 dyn_cast_or_null<spirv::FuncOp>(SymbolTable::lookupNearestSymbolFrom( in verify()
2009 Operation *initOp = SymbolTable::lookupNearestSymbolFrom( in verify()
2579 auto *specConstSym = SymbolTable::lookupNearestSymbolFrom( in verify()
3385 dyn_cast<spirv::SpecConstantOp>(SymbolTable::lookupNearestSymbolFrom( in verify()
/external/llvm-project/mlir/docs/
DSymbolsAndSymbolTables.md174 * `SymbolTable::lookupNearestSymbolFrom`
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/
DLLVMDialect.cpp575 Operation *callee = SymbolTable::lookupNearestSymbolFrom(op, *calleeName); in verify()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp688 FuncOp fn = symbolTable.lookupNearestSymbolFrom<FuncOp>(*this, fnAttr); in verifySymbolUses()
2146 symbolTable.lookupNearestSymbolFrom<GlobalMemrefOp>(*this, nameAttr()); in verifySymbolUses()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc3617 mlir::SymbolTable::lookupNearestSymbolFrom<mlir::GlobalMemrefOp>( in TryBuildConstantInitializerThunk()