Home
last modified time | relevance | path

Searched refs:stringRef (Results 1 – 16 of 16) sorted by relevance

/llvm-project/mlir/lib/Bindings/Python/
H A DDialectGPU.cpp75 MlirStringRef stringRef = mlirGPUObjectAttrGetObject(self); in PYBIND11_MODULE()
76 return nb::bytes(stringRef.data, stringRef.length); in PYBIND11_MODULE()
71 MlirStringRef stringRef = mlirGPUObjectAttrGetObject(self); PYBIND11_MODULE() local
H A DDialectLLVM.cpp96 MlirStringRef stringRef = mlirLLVMStructTypeGetIdentifier(type); in populateDialectLLVMSubmodule()
97 return StringRef(stringRef.data, stringRef.length).str(); in populateDialectLLVMSubmodule()
90 MlirStringRef stringRef = mlirLLVMStructTypeGetIdentifier(type); populateDialectLLVMSubmodule() local
H A DIRAttributes.cpp721 MlirStringRef stringRef = mlirFlatSymbolRefAttrGetValue(self); in getFromList()
722 return nb::str(stringRef.data, stringRef.length); in getFromList()
753 MlirStringRef stringRef = mlirOpaqueAttrGetDialectNamespace(self); in getFromBuffer()
754 return nb::str(stringRef.data, stringRef.length); in getFromBuffer()
760 MlirStringRef stringRef = mlirOpaqueAttrGetData(self); in getFromBuffer()
761 return nb::bytes(stringRef.data, stringRef.length); in getFromBuffer()
806 MlirStringRef stringRef in getFromBuffer()
576 MlirStringRef stringRef = mlirFlatSymbolRefAttrGetValue(self); bindDerived() local
608 MlirStringRef stringRef = mlirOpaqueAttrGetDialectNamespace(self); bindDerived() local
615 MlirStringRef stringRef = mlirOpaqueAttrGetData(self); bindDerived() local
652 MlirStringRef stringRef = mlirStringAttrGetValue(self); bindDerived() local
659 MlirStringRef stringRef = mlirStringAttrGetValue(self); bindDerived() local
[all...]
H A DIRTypes.cpp955 MlirStringRef stringRef = mlirOpaqueTypeGetDialectNamespace(self);
956 return nb::str(stringRef.data, stringRef.length);
962 MlirStringRef stringRef = mlirOpaqueTypeGetData(self);
963 return nb::str(stringRef.data, stringRef.length);
821 MlirStringRef stringRef = mlirOpaqueTypeGetDialectNamespace(self); bindDerived() local
828 MlirStringRef stringRef = mlirOpaqueTypeGetData(self); bindDerived() local
H A DIRInterfaces.cpp175 MlirStringRef stringRef = mlirIdentifierStr(identifier); in PyConcreteOpInterface()
176 opName = std::string(stringRef.data, stringRef.length); in PyConcreteOpInterface() local
/llvm-project/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp258 GooName.stringRef(), in testRoundTrip()
268 GooName.stringRef(), in testRoundTrip()
278 HooName.stringRef(), in testRoundTrip()
/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileMatcher.cpp233 LLVM_DEBUG(dbgs() << "Callsite with callee:" << IR.second.stringRef() in matchNonCallsiteLocs()
274 if (I.second.stringRef().empty())
367 FSForMatching = Reader.getSamplesFor(R->second.stringRef()); in runOnFunction()
459 assert(!I.second.stringRef().empty() && "Callees should not be empty"); in countMismatchedFuncSamples()
693 NamesInProfile.insert(Name.stringRef());
737 DenseSet<StringRef> TopLevelFunc({ProfFunc.stringRef()});
740 FSForMatching = Reader.getSamplesFor(ProfFunc.stringRef());
834 ProfileSalvagedFuncs.insert(I.second.stringRef());
H A DSampleContextTracker.cpp454 return Node->getFuncName().stringRef(); in getFuncNameFor()
H A DSampleProfile.cpp2004 NamesInProfile.insert(Name.stringRef()); in doInitialization()
/llvm-project/llvm/include/llvm/ProfileData/
H A DFunctionId.h108 StringRef stringRef() const { in stringRef() function
H A DSampleProf.h1142 return Func.stringRef();
/llvm-project/llvm/lib/Target/X86/
H A DX86InsertPrefetch.cpp131 StringRef Name = S_V.first.stringRef(); in findPrefetchInfo()
/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp917 FNameString = FName.stringRef(); in readFuncProfiles()
954 StringRef FuncNameStr = FuncName.stringRef(); in readProfileSymbolList()
1860 StringRef NameStr = Name.stringRef();
H A DSampleProfWriter.cpp373 if (I.first.stringRef().contains(FunctionSamples::UniqSuffix)) { in writeNameTableSection()
/llvm-project/flang/lib/Lower/
H A DIO.cpp1647 mlir::Value stringRef; in lowerReferenceAsStringSelect()
1654 stringRef = std::get<0>(stringLit); in lowerReferenceAsStringSelect()
1658 stringRef = builder.createConvert( in lowerReferenceAsStringSelect()
1666 llvm::SmallVector<mlir::Value> args = {stringRef, stringLen}; in lowerReferenceAsStringSelect()
1640 mlir::Value stringRef; lowerReferenceAsStringSelect() local
/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp628 StringRef New = RemappingTable.lookup(Name.stringRef()); in overlapInput()