MLIR  20.0.0git
Functions
mlir::call_interface_impl Namespace Reference

Functions

OperationresolveCallable (CallOpInterface call, SymbolTableCollection *symbolTable=nullptr)
 Resolve the callable operation for given callee to a CallableOpInterface, or nullptr if a valid callable was not resolved. More...
 

Function Documentation

◆ resolveCallable()

Operation * mlir::call_interface_impl::resolveCallable ( CallOpInterface  call,
SymbolTableCollection symbolTable = nullptr 
)

Resolve the callable operation for given callee to a CallableOpInterface, or nullptr if a valid callable was not resolved.

symbolTable is an optional parameter that will allow for using a cached symbol table for symbol lookups instead of performing an O(N) scan.

Definition at line 18 of file CallInterfaces.cpp.

References mlir::SymbolTable::lookupNearestSymbolFrom(), and mlir::SymbolTableCollection::lookupNearestSymbolFrom().