| /llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/ |
| H A D | OpToFuncCallLowering.h | 57 StringRef funcName = getFunctionName( in matchAndRewrite() local 59 if (funcName.empty()) in matchAndRewrite() 62 LLVMFuncOp funcOp = appendOrGetFuncOp(funcName, funcType, op); in matchAndRewrite() 101 LLVM::LLVMFuncOp appendOrGetFuncOp(StringRef funcName, Type funcType, in appendOrGetFuncOp() 105 auto funcAttr = StringAttr::get(op->getContext(), funcName); in appendOrGetFuncOp() 111 return b.create<LLVMFuncOp>(op->getLoc(), funcName, funcType); in appendOrGetFuncOp()
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | tools.cpp | 84 Terminator &terminator, const char *funcName, const char *toName, in CheckConformability() argument 93 funcName, toName, rank, xName, x.rank()); in CheckConformability() 101 funcName, j + 1, toName, toExtent, xName, xExtent); in CheckConformability()
|
| H A D | tools.h | 55 Terminator &, const char *funcName, const char *toName,
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/ |
| H A D | MCJITTest.cpp | 173 std::stringstream funcName; in TEST_F() local 174 funcName << "level_" << i; in TEST_F() 177 funcName.str()); in TEST_F()
|
| /llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/ |
| H A D | ExecutionEngine.h | 169 llvm::Error invoke(StringRef funcName, Args... args) { 171 std::string("_mlir_ciface_") + funcName.str();
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 889 static StringRef sanitizeFunctionName(StringRef funcName) { in sanitizeFunctionName() argument 892 if (funcName.empty() || funcName.contains('\0')) in sanitizeFunctionName() 897 return GlobalValue::dropLLVMManglingEscape(funcName); in sanitizeFunctionName() 901 funcName = sanitizeFunctionName(funcName); in getLibFunc() 902 if (funcName.empty()) in getLibFunc() 907 const auto *I = std::lower_bound(Start, End, funcName); in getLibFunc() 908 if (I != End && *I == funcName) { in getLibFunc() 1893 funcName = sanitizeFunctionName(funcName); in isFunctionVectorizable() 1894 if (funcName.empty()) in isFunctionVectorizable() 1898 llvm::lower_bound(VectorDescs, funcName, compareWithScalarFnName); in isFunctionVectorizable() [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | parse-tree.cpp | 211 auto &funcName{std::get<Name>(t)}; in ConvertToAssignment() local 214 CharBlock source{funcName.source}; in ConvertToAssignment() 230 Call{ProcedureDesignator{Name{funcName.source, funcName.symbol}}, in ConvertToAssignment()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | pointer-assignment.cpp | 142 std::string funcName; in Check() local 145 funcName = symbol->name().ToString(); in Check() 147 funcName = intrinsic->name; in Check() 184 Say(*msg, description_, funcName); in Check()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | SerializeToHsaco.cpp | 202 StringRef funcName = f.getName(); in translateToLLVMIR() local 203 if ("printf" == funcName) in translateToLLVMIR() 205 if (funcName.startswith("__ockl_")) in translateToLLVMIR() 207 if (funcName.startswith("__ocml_")) in translateToLLVMIR()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.h | 112 bool getLibFunc(StringRef funcName, LibFunc &F) const; 294 bool getLibFunc(StringRef funcName, LibFunc &F) const { in getLibFunc() argument 295 return Impl->getLibFunc(funcName, F); in getLibFunc()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | RewriterGen.cpp | 72 void emitStaticMatcher(DagNode tree, std::string funcName); 92 void emitStaticVerifierCall(StringRef funcName, StringRef opName, 350 void PatternEmitter::emitStaticMatcher(DagNode tree, std::string funcName) { in emitStaticMatcher() argument 355 funcName); in emitStaticMatcher() 393 std::string funcName = staticMatcherHelper.getMatcherName(tree); in emitStaticMatchCall() local 394 os << formatv("if(::mlir::failed({0}(rewriter, {1}, tblgen_ops", funcName, in emitStaticMatchCall() 423 void PatternEmitter::emitStaticVerifierCall(StringRef funcName, in emitStaticVerifierCall() argument 427 funcName, opName, arg, failureStr); in emitStaticVerifierCall() 1703 std::string funcName = in populateStaticMatchers() local 1707 .emitStaticMatcher(node, funcName); in populateStaticMatchers() [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | plist-macros-with-expansion.cpp | 574 #define DECLARE_FUNC_AND_SET_TO_NULL(funcName, ptr) \ argument 575 void generated_##funcName(); \
|
| /llvm-project-15.0.7/libunwind/src/ |
| H A D | AddressSpace.hpp | 633 char *funcName = getFuncNameFromTBTable(addr, nameLen, offset); in findFunctionName() 634 if (funcName != NULL) { in findFunctionName() 635 snprintf(buf, bufLen, "%.*s", nameLen, funcName); in findFunctionName()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | ConvertLaunchFuncToLLVMCalls.cpp | 130 StringRef funcName = entryPoint.fn(); in encodeKernelName() local 133 StringAttr::get(module->getContext(), spvModuleName + "_" + funcName); in encodeKernelName()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | FunctionImplementation.cpp | 319 auto funcName = in printFunctionOp() local 327 p.printSymbolName(funcName); in printFunctionOp()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SCF/Utils/ |
| H A D | Utils.h | 87 StringRef funcName, func::CallOp *callOp = nullptr);
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenACC/ |
| H A D | OpenACCToLLVMIRTranslation.cpp | 71 StringRef funcName = funcOp ? funcOp.getName() : "unknown"; in createSourceLocationInfo() local 74 createSourceLocStrFromLocation(loc, builder, funcName, strLen); in createSourceLocationInfo()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Utils/ |
| H A D | Utils.cpp | 142 StringRef funcName, in outlineSingleBlockRegion() argument 144 assert(!funcName.empty() && "funcName cannot be empty"); in outlineSingleBlockRegion() 176 rewriter.create<func::FuncOp>(loc, funcName, outlinedFuncType); in outlineSingleBlockRegion()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/ |
| H A D | SerializeOps.cpp | 640 auto funcName = op.callee(); in processOp() local 647 auto funcID = getOrCreateFunctionID(funcName); in processOp()
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | Deserializer.cpp | 518 auto funcName = nameMap.lookup(id).str(); in getFunctionSymbol() local 519 if (funcName.empty()) { in getFunctionSymbol() 520 funcName = "spirv_fn_" + std::to_string(id); in getFunctionSymbol() 522 return funcName; in getFunctionSymbol()
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | Writer.cpp | 764 const std::string &funcName = commandExportWrapperNames.back(); in createCommandExportWrappers() local 766 auto func = make<SyntheticFunction>(*f->getSignature(), funcName); in createCommandExportWrappers() 773 symtab->addSyntheticFunction(funcName, f->flags, func); in createCommandExportWrappers()
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 848 GlobalVariable *funcName = new GlobalVariable( in CleanupAndPrepareModules() local 859 funcName, GEPargs); in CleanupAndPrepareModules()
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 377 StringRef funcName, std::string Tag); 379 StringRef funcName, std::string Tag); 384 int i, StringRef funcName, 3253 StringRef funcName, in SynthesizeBlockFunc() argument 3259 funcName.str() + "_" + "block_func_" + utostr(i); in SynthesizeBlockFunc() 3345 StringRef funcName, in SynthesizeBlockHelperFuncs() argument 3350 S += funcName; in SynthesizeBlockHelperFuncs() 3370 S += funcName; in SynthesizeBlockHelperFuncs()
|
| H A D | RewriteModernObjC.cpp | 468 StringRef funcName, std::string Tag); 470 StringRef funcName, std::string Tag); 475 int i, StringRef funcName, 4040 StringRef funcName, in SynthesizeBlockFunc() argument 4050 funcName.str() + "_block_func_" + utostr(i); in SynthesizeBlockFunc() 4136 StringRef funcName, in SynthesizeBlockHelperFuncs() argument 4141 S += funcName; in SynthesizeBlockHelperFuncs() 4161 S += funcName; in SynthesizeBlockHelperFuncs()
|