Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.h89 void setFunctionScratchSize(StringRef FnName, unsigned Val);
94 void setFunctionLdsSize(StringRef FnName, unsigned Val);
99 void setFunctionNumUsedVgprs(StringRef FnName, unsigned Val);
104 void setFunctionNumUsedSgprs(StringRef FnName, unsigned Val);
H A DAMDGPUPALMetadata.cpp243 void AMDGPUPALMetadata::setFunctionScratchSize(StringRef FnName, unsigned Val) { in setFunctionScratchSize() argument
244 auto Node = getShaderFunction(FnName); in setFunctionScratchSize()
250 void AMDGPUPALMetadata::setFunctionLdsSize(StringRef FnName, unsigned Val) { in setFunctionLdsSize() argument
251 auto Node = getShaderFunction(FnName); in setFunctionLdsSize()
256 void AMDGPUPALMetadata::setFunctionNumUsedVgprs(StringRef FnName, in setFunctionNumUsedVgprs() argument
258 auto Node = getShaderFunction(FnName); in setFunctionNumUsedVgprs()
263 void AMDGPUPALMetadata::setFunctionNumUsedSgprs(StringRef FnName, in setFunctionNumUsedSgprs() argument
265 auto Node = getShaderFunction(FnName); in setFunctionNumUsedSgprs()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp239 SmallString<256> FnName; in createAtExitStub() local
241 llvm::raw_svector_ostream Out(FnName); in createAtExitStub()
247 ty, FnName.str(), FI, VD.getLocation()); in createAtExitStub()
274 SmallString<256> FnName; in createTLSAtExitStub() local
276 llvm::raw_svector_ostream Out(FnName); in createTLSAtExitStub()
537 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local
539 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc()
703 SmallString<256> FnName; in EmitCXXModuleInitFunc() local
705 llvm::raw_svector_ostream Out(FnName); in EmitCXXModuleInitFunc()
709 assert(!GetGlobalValue(FnName.str()) && in EmitCXXModuleInitFunc()
[all …]
H A DCGExpr.cpp3273 StringRef FnName = CurFn->getName(); in EmitPredefinedLValue() local
3274 if (FnName.starts_with("\01")) in EmitPredefinedLValue()
3275 FnName = FnName.substr(1); in EmitPredefinedLValue()
3277 PredefinedExpr::getIdentKindName(E->getIdentKind()), FnName}; in EmitPredefinedLValue()
3290 CGM.GetAddrOfConstantCString(std::string(FnName), GVName.c_str()); in EmitPredefinedLValue()
3491 std::string FnName = "__ubsan_handle_" + CheckName.str(); in emitCheckHandlerCall() local
3493 FnName += "_v" + llvm::utostr(CheckInfo.Version); in emitCheckHandlerCall()
3495 FnName += "_minimal"; in emitCheckHandlerCall()
3497 FnName += "_abort"; in emitCheckHandlerCall()
3509 FnType, FnName, in emitCheckHandlerCall()
H A DItaniumCXXABI.cpp2684 StringRef FnName) { in createGlobalInitOrCleanupFn() argument
2689 FTy, FnName, CGM.getTypes().arrangeNullaryFunction(), SourceLocation()); in createGlobalInitOrCleanupFn()
4885 SmallString<256> FnName; in emitCXXStermFinalizer() local
4887 llvm::raw_svector_ostream Out(FnName); in emitCXXStermFinalizer()
4894 FTy, FnName.str(), FI, D.getLocation()); in emitCXXStermFinalizer()
/freebsd-14.2/contrib/llvm-project/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;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp249 std::string FnName = constructOverloadName(Kind, OverloadTy, *Prop); in getOrCreateDXILOpFunction() local
251 if (auto *Fn = M.getFunction(FnName)) in getOrCreateDXILOpFunction()
255 return M.getOrInsertFunction(FnName, DXILOpFT); in getOrCreateDXILOpFunction()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dfuchsia.cpp35 static void NORETURN dieOnError(zx_status_t Status, const char *FnName, in dieOnError() argument
39 "SCUDO ERROR: %s failed with size %zuKB (%s)", FnName, in dieOnError()
H A Dmem_map_fuchsia.cpp23 static void NORETURN dieOnError(zx_status_t Status, const char *FnName, in dieOnError() argument
27 "SCUDO ERROR: %s failed with size %zuKB (%s)", FnName, in dieOnError()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp635 void applyUniformRetValOpt(CallSiteInfo &CSInfo, StringRef FnName,
666 void applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, bool IsOne,
674 void applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName,
1583 void DevirtModule::applyUniformRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, in applyUniformRetValOpt() argument
1590 "uniform-ret-val", FnName, RemarksEnabled, OREGetter, in applyUniformRetValOpt()
1694 void DevirtModule::applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, in applyUniqueRetValOpt() argument
1706 Call.replaceAndErase("unique-ret-val", FnName, RemarksEnabled, OREGetter, in applyUniqueRetValOpt()
1765 void DevirtModule::applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName, in applyVirtualConstProp() argument
1778 Call.replaceAndErase("virtual-const-prop-1-bit", FnName, RemarksEnabled, in applyVirtualConstProp()
1783 Call.replaceAndErase("virtual-const-prop", FnName, RemarksEnabled, in applyVirtualConstProp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp436 auto FnName = Instr->getFunction()->getName(); in checkInstructions() local
445 {"fn-name", FnName.str()}, in checkInstructions()
452 << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()
462 {"fn-name", FnName.str()}, in checkInstructions()
468 << *Instr << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp162 const char* FnName, in FunctionDescToIntelJITFormat() argument
169 Result.method_name = const_cast<char*>(FnName); in FunctionDescToIntelJITFormat()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1097 static StringRef getCanonicalFnName(StringRef FnName,
1104 return FnName.split('.').first;
1106 StringRef Cand(FnName);
1122 return FnName;
1126 return FnName;
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp3410 std::string *FnName, in GenerateTargetSpecificAttrCheck() argument
3425 if (FnName) in GenerateTargetSpecificAttrCheck()
3426 *FnName += Part; in GenerateTargetSpecificAttrCheck()
3462 if (FnName) in GenerateTargetSpecificAttrChecks()
3463 *FnName += Part; in GenerateTargetSpecificAttrChecks()
3470 R, Test, FnName, "OSes", "T.getOS()", "llvm::Triple::"); in GenerateTargetSpecificAttrChecks()
3992 auto I = CustomSubjectSet.find(FnName); in GenerateCustomAppertainsTo()
4006 OS << "static bool " << FnName << "(const Decl *D) {\n"; in GenerateCustomAppertainsTo()
4014 CustomSubjectSet.insert(FnName); in GenerateCustomAppertainsTo()
4344 std::string FnName = "isTarget"; in GenerateTargetRequirements() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.cpp1123 StringRef FnName = MF.getFunction().getName(); in emitPALFunctionMetadata() local
1124 MD->setFunctionScratchSize(FnName, MFI.getStackSize()); in emitPALFunctionMetadata()
1133 MD->setFunctionLdsSize(FnName, CurrentProgramInfo.LDSSize); in emitPALFunctionMetadata()
1134 MD->setFunctionNumUsedVgprs(FnName, CurrentProgramInfo.NumVGPRsForWavesPerEU); in emitPALFunctionMetadata()
1135 MD->setFunctionNumUsedSgprs(FnName, CurrentProgramInfo.NumSGPRsForWavesPerEU); in emitPALFunctionMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp340 std::string FnName; member in __anon1b013e8d0411::ReduceCrashingFunctionAttributes
344 ReduceCrashingFunctionAttributes(BugDriver &bd, const std::string &FnName, in ReduceCrashingFunctionAttributes() argument
346 : BD(bd), FnName(FnName), TestFn(testFn) {} in ReduceCrashingFunctionAttributes()
365 Function *F = M->getFunction(FnName); in TestFuncAttrs()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBuilder.h185 const MachineInstrBuilder &addExternalSymbol(const char *FnName,
187 MI->addOperand(*MF, MachineOperand::CreateES(FnName, TargetFlags));
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h209 virtual Function *FindFunctionNamed(StringRef FnName);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp153 Function *ExecutionEngine::FindFunctionNamed(StringRef FnName) { in FindFunctionNamed() argument
155 Function *F = Modules[i]->getFunction(FnName); in FindFunctionNamed()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13128 IdentifierInfo *FnName, in CheckMemorySizeofForComparison() argument
13141 << SizeRange << FnName; in CheckMemorySizeofForComparison()
13143 << FnName in CheckMemorySizeofForComparison()
13396 IdentifierInfo *FnName) { in CheckMemaccessArguments() argument
13412 if (CheckMemorySizeofForComparison(*this, LenExpr, FnName, in CheckMemaccessArguments()
13462 StringRef ReadableName = FnName->getName(); in CheckMemaccessArguments()
13553 << ArgIdx << FnName << PointeeTy in CheckMemaccessArguments()
13623 IdentifierInfo *FnName) { in CheckStrlcpycatArguments() argument
13634 if (CheckMemorySizeofForComparison(*this, SizeArg, FnName, in CheckStrlcpycatArguments()
13668 << OriginalSizeArg->getSourceRange() << FnName; in CheckStrlcpycatArguments()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5924 StringRef FnName; in parseDirectivePseudoProbe() local
5925 if (parseIdentifier(FnName)) in parseDirectivePseudoProbe()
5927 MCSymbol *FnSym = getContext().lookupSymbol(FnName); in parseDirectivePseudoProbe()

12