Home
last modified time | relevance | path

Searched refs:FnName (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerExtFunctionsDlsym.cpp23 static T GetFnPtr(const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
25 void *Fn = dlsym(RTLD_DEFAULT, FnName); in GetFnPtr()
29 Printf("WARNING: Failed to find function \"%s\".", FnName); in GetFnPtr()
H A DFuzzerExtFunctionsWeak.cpp33 static void CheckFnPtr(void *FnPtr, const char *FnName, bool WarnIfMissing) { in CheckFnPtr() argument
35 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in CheckFnPtr()
H A DFuzzerExtFunctionsWindows.cpp60 static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
63 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in GetFnPtr()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp559 std::string FnName; in ParsePrototype() local
568 FnName = IdentifierStr; in ParsePrototype()
576 FnName = "unary"; in ParsePrototype()
577 FnName += (char)CurTok; in ParsePrototype()
585 FnName = "binary"; in ParsePrototype()
586 FnName += (char)CurTok; in ParsePrototype()
1003 std::string FnName = F->getName(); in getPointerToFunction() local
1379 std::string FnName; in Codegen() local
1380 FnName = MakeLegalFunctionName(Name); in Codegen()
1389 if (F->getName() != FnName) { in Codegen()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy.cpp519 std::string FnName; in ParsePrototype() local
528 FnName = IdentifierStr; in ParsePrototype()
536 FnName = "unary"; in ParsePrototype()
537 FnName += (char)CurTok; in ParsePrototype()
545 FnName = "binary"; in ParsePrototype()
546 FnName += (char)CurTok; in ParsePrototype()
735 Function *F = (*it)->getFunction(FnName); in getFunction()
754 FnName, in getFunction()
780 std::string FnName = F->getName(); in getPointerToFunction() local
782 Function *MF = (*it)->getFunction(FnName); in getPointerToFunction()
[all …]
H A Dtoy-jit.cpp518 std::string FnName; in ParsePrototype() local
527 FnName = IdentifierStr; in ParsePrototype()
535 FnName = "unary"; in ParsePrototype()
536 FnName += (char)CurTok; in ParsePrototype()
544 FnName = "binary"; in ParsePrototype()
545 FnName += (char)CurTok; in ParsePrototype()
575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy.cpp540 std::string FnName; in ParsePrototype() local
549 FnName = IdentifierStr; in ParsePrototype()
557 FnName = "unary"; in ParsePrototype()
558 FnName += (char)CurTok; in ParsePrototype()
566 FnName = "binary"; in ParsePrototype()
567 FnName += (char)CurTok; in ParsePrototype()
824 Function *F = (*it)->getFunction(FnName); in getFunction()
843 FnName, in getFunction()
869 std::string FnName = F->getName(); in getPointerToFunction() local
871 Function *MF = (*it)->getFunction(FnName); in getPointerToFunction()
[all …]
H A Dtoy-jit.cpp533 std::string FnName; in ParsePrototype() local
542 FnName = IdentifierStr; in ParsePrototype()
550 FnName = "unary"; in ParsePrototype()
551 FnName += (char)CurTok; in ParsePrototype()
559 FnName = "binary"; in ParsePrototype()
560 FnName += (char)CurTok; in ParsePrototype()
590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDeclCXX.cpp238 SmallString<256> FnName; in createAtExitStub() local
240 llvm::raw_svector_ostream Out(FnName); in createAtExitStub()
246 ty, FnName.str(), FI, VD.getLocation()); in createAtExitStub()
273 SmallString<256> FnName; in createTLSAtExitStub() local
275 llvm::raw_svector_ostream Out(FnName); in createTLSAtExitStub()
531 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local
533 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc()
656 SmallString<256> FnName; in EmitCXXModuleInitFunc() local
658 llvm::raw_svector_ostream Out(FnName); in EmitCXXModuleInitFunc()
662 assert(!GetGlobalValue(FnName.str()) && in EmitCXXModuleInitFunc()
[all …]
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp517 std::string FnName; in ParsePrototype() local
526 FnName = IdentifierStr; in ParsePrototype()
534 FnName = "unary"; in ParsePrototype()
535 FnName += (char)CurTok; in ParsePrototype()
543 FnName = "binary"; in ParsePrototype()
544 FnName += (char)CurTok; in ParsePrototype()
655 Function *getFunction(const std::string FnName);
725 Function *F = (*it)->getFunction(FnName); in getFunction()
744 FnName, in getFunction()
1159 std::string FnName = MakeLegalFunctionName(Name); in Codegen() local
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp465 Function *MCJIT::FindFunctionNamedInModulePtrSet(StringRef FnName, in FindFunctionNamedInModulePtrSet() argument
469 Function *F = (*I)->getFunction(FnName); in FindFunctionNamedInModulePtrSet()
489 Function *MCJIT::FindFunctionNamed(StringRef FnName) { in FindFunctionNamed() argument
491 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
493 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
496 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
H A DMCJIT.h189 Function *FindFunctionNamedInModulePtrSet(StringRef FnName,
216 Function *FindFunctionNamed(StringRef FnName) override;
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter6/
H A Dtoy.cpp537 std::string FnName; in ParsePrototype() local
546 FnName = IdentifierStr; in ParsePrototype()
554 FnName = "unary"; in ParsePrototype()
555 FnName += (char)CurTok; in ParsePrototype()
563 FnName = "binary"; in ParsePrototype()
564 FnName += (char)CurTok; in ParsePrototype()
594 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp248 std::string FnName = constructOverloadName(Kind, OverloadTy, *Prop); in getOrCreateDXILOpFunction() local
250 if (auto *Fn = M.getFunction(FnName)) in getOrCreateDXILOpFunction()
254 return M.getOrInsertFunction(FnName, DXILOpFT); in getOrCreateDXILOpFunction()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
H A Dtoy.cpp605 std::string FnName; in ParsePrototype() local
614 FnName = IdentifierStr; in ParsePrototype()
622 FnName = "unary"; in ParsePrototype()
623 FnName += (char)CurTok; in ParsePrototype()
631 FnName = "binary"; in ParsePrototype()
632 FnName += (char)CurTok; in ParsePrototype()
662 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp611 std::string FnName; in ParsePrototype() local
620 FnName = IdentifierStr; in ParsePrototype()
628 FnName = "unary"; in ParsePrototype()
629 FnName += (char)CurTok; in ParsePrototype()
637 FnName = "binary"; in ParsePrototype()
638 FnName += (char)CurTok; in ParsePrototype()
668 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
H A Dtoy.cpp588 std::string FnName; in ParsePrototype() local
597 FnName = IdentifierStr; in ParsePrototype()
605 FnName = "unary"; in ParsePrototype()
606 FnName += (char)CurTok; in ParsePrototype()
614 FnName = "binary"; in ParsePrototype()
615 FnName += (char)CurTok; in ParsePrototype()
645 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter7/
H A Dtoy.cpp610 std::string FnName; in ParsePrototype() local
619 FnName = IdentifierStr; in ParsePrototype()
627 FnName = "unary"; in ParsePrototype()
628 FnName += (char)CurTok; in ParsePrototype()
636 FnName = "binary"; in ParsePrototype()
637 FnName += (char)CurTok; in ParsePrototype()
667 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
H A Dtoy.cpp605 std::string FnName; in ParsePrototype() local
614 FnName = IdentifierStr; in ParsePrototype()
622 FnName = "unary"; in ParsePrototype()
623 FnName += (char)CurTok; in ParsePrototype()
631 FnName = "binary"; in ParsePrototype()
632 FnName += (char)CurTok; in ParsePrototype()
662 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
H A Dtoy.cpp605 std::string FnName; in ParsePrototype() local
614 FnName = IdentifierStr; in ParsePrototype()
622 FnName = "unary"; in ParsePrototype()
623 FnName += (char)CurTok; in ParsePrototype()
631 FnName = "binary"; in ParsePrototype()
632 FnName += (char)CurTok; in ParsePrototype()
662 return std::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DManagedMemoryRewrite.cpp223 std::string FnName = Array.getName().str(); in replaceGlobalArray() local
224 FnName += ".constructor"; in replaceGlobalArray()
228 Function *F = Function::Create(Ty, Linkage, FnName, &M); in replaceGlobalArray()
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl06.rst173 std::string FnName;
182 FnName = IdentifierStr;
190 FnName = "binary";
191 FnName += (char)CurTok;
221 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0,
227 code above is the couple lines that set up ``FnName`` for binary
400 std::string FnName;
409 FnName = IdentifierStr;
417 FnName = "unary";
418 FnName += (char)CurTok;
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp723 std::string FnName; in ParsePrototype() local
734 FnName = IdentifierStr; in ParsePrototype()
742 FnName = "unary"; in ParsePrototype()
743 FnName += (char)CurTok; in ParsePrototype()
751 FnName = "binary"; in ParsePrototype()
752 FnName += (char)CurTok; in ParsePrototype()
782 return std::make_unique<PrototypeAST>(FnLoc, FnName, ArgNames, Kind != 0, in ParsePrototype()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/Chapter2/
H A Dtoy.cpp324 std::string FnName = IdentifierStr; in ParsePrototype() local
339 return std::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDebugify.cpp429 auto FnName = Instr->getFunction()->getName(); in checkInstructions() local
438 {"fn-name", FnName.str()}, in checkInstructions()
445 << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()
455 {"fn-name", FnName.str()}, in checkInstructions()
461 << *Instr << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()

12