MLIR
20.0.0git
|
A pointer to a sized fragment of a string, not necessarily null-terminated. More...
#include "mlir-c/Support.h"
Public Attributes | |
const char * | data |
Pointer to the first symbol. More... | |
size_t | length |
Length of the fragment. More... | |
A pointer to a sized fragment of a string, not necessarily null-terminated.
Does not own the underlying string. This is equivalent to llvm::StringRef.
const char* MlirStringRef::data |
Pointer to the first symbol.
Definition at line 74 of file Support.h.
Referenced by mlir::python::PyOperation::createOpView(), mlir::PyPrintAccumulator::getCallback(), mlir::PyFileAccumulator::getCallback(), mlir::PySinglePartStringAccumulator::getCallback(), mlirExecutionEngineCreate(), mlirInferTypeOpInterfaceInferReturnTypes(), mlirOperationImplementsInterfaceStatic(), mlirStringRefCreate(), mlirStringRefEqual(), mlirSymbolTableLookup(), mlir::python::PyConcreteOpInterface< ConcreteIface >::PyConcreteOpInterface(), and unwrap().
size_t MlirStringRef::length |
Length of the fragment.
Definition at line 75 of file Support.h.
Referenced by mlir::python::PyOperation::createOpView(), mlir::PyPrintAccumulator::getCallback(), mlir::PyFileAccumulator::getCallback(), mlir::PySinglePartStringAccumulator::getCallback(), mlirCreateExternalPass(), mlirInferTypeOpInterfaceInferReturnTypes(), mlirOperationImplementsInterfaceStatic(), mlirStringRefCreate(), mlirStringRefEqual(), mlirSymbolTableLookup(), mlir::python::PyConcreteOpInterface< ConcreteIface >::PyConcreteOpInterface(), and unwrap().