Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.h107 void setFunctionScratchSize(StringRef FnName, unsigned Val);
112 void setFunctionLdsSize(StringRef FnName, unsigned Val);
117 void setFunctionNumUsedVgprs(StringRef FnName, unsigned Val);
118 void setFunctionNumUsedVgprs(StringRef FnName, const MCExpr *Val);
123 void setFunctionNumUsedSgprs(StringRef FnName, unsigned Val);
124 void setFunctionNumUsedSgprs(StringRef FnName, const MCExpr *Val);
H A DAMDGPUPALMetadata.cpp331 void AMDGPUPALMetadata::setFunctionScratchSize(StringRef FnName, unsigned Val) { in setFunctionScratchSize() argument
332 auto Node = getShaderFunction(FnName); in setFunctionScratchSize()
338 void AMDGPUPALMetadata::setFunctionLdsSize(StringRef FnName, unsigned Val) { in setFunctionLdsSize() argument
339 auto Node = getShaderFunction(FnName); in setFunctionLdsSize()
344 void AMDGPUPALMetadata::setFunctionNumUsedVgprs(StringRef FnName, in setFunctionNumUsedVgprs() argument
346 auto Node = getShaderFunction(FnName); in setFunctionNumUsedVgprs()
350 void AMDGPUPALMetadata::setFunctionNumUsedVgprs(StringRef FnName, in setFunctionNumUsedVgprs() argument
352 auto Node = getShaderFunction(FnName); in setFunctionNumUsedVgprs()
357 void AMDGPUPALMetadata::setFunctionNumUsedSgprs(StringRef FnName, in setFunctionNumUsedSgprs() argument
359 auto Node = getShaderFunction(FnName); in setFunctionNumUsedSgprs()
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp240 SmallString<256> FnName; in createAtExitStub() local
242 llvm::raw_svector_ostream Out(FnName); in createAtExitStub()
248 ty, FnName.str(), FI, VD.getLocation()); in createAtExitStub()
280 SmallString<256> FnName; in createTLSAtExitStub() local
282 llvm::raw_svector_ostream Out(FnName); in createTLSAtExitStub()
295 StubTy, FnName.str(), FI, D.getLocation()); in createTLSAtExitStub()
548 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local
550 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc()
556 FTy, FnName.str(), getTypes().arrangeNullaryFunction(), D->getLocation()); in EmitCXXGlobalVarDeclInitFunc()
714 SmallString<256> FnName; in EmitCXXModuleInitFunc() local
[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.cpp2879 StringRef FnName) { in createGlobalInitOrCleanupFn() argument
2884 FTy, FnName, CGM.getTypes().arrangeNullaryFunction(), SourceLocation()); in createGlobalInitOrCleanupFn()
5173 SmallString<256> FnName; in emitCXXStermFinalizer() local
5175 llvm::raw_svector_ostream Out(FnName); in emitCXXStermFinalizer()
5182 FTy, FnName.str(), FI, D.getLocation()); in emitCXXStermFinalizer()
/freebsd/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/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
38 Error.append("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
26 Error.append("SCUDO ERROR: %s failed with size %zuKB (%s)", FnName, in dieOnError()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp439 auto FnName = Instr->getFunction()->getName(); in checkInstructions() local
448 {"fn-name", FnName.str()}, in checkInstructions()
455 << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()
465 {"fn-name", FnName.str()}, in checkInstructions()
471 << *Instr << " (BB: " << BBName << ", Fn: " << FnName in checkInstructions()
/freebsd/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,
1575 void DevirtModule::applyUniformRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, in applyUniformRetValOpt() argument
1582 "uniform-ret-val", FnName, RemarksEnabled, OREGetter, in applyUniformRetValOpt()
1686 void DevirtModule::applyUniqueRetValOpt(CallSiteInfo &CSInfo, StringRef FnName, in applyUniqueRetValOpt() argument
1698 Call.replaceAndErase("unique-ret-val", FnName, RemarksEnabled, OREGetter, in applyUniqueRetValOpt()
1757 void DevirtModule::applyVirtualConstProp(CallSiteInfo &CSInfo, StringRef FnName, in applyVirtualConstProp() argument
1770 Call.replaceAndErase("virtual-const-prop-1-bit", FnName, RemarksEnabled, in applyVirtualConstProp()
1775 Call.replaceAndErase("virtual-const-prop", FnName, RemarksEnabled, in applyVirtualConstProp()
/freebsd/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/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp2498 std::string *FnName);
3564 std::string *FnName, in GenerateTargetSpecificAttrCheck() argument
3579 if (FnName) in GenerateTargetSpecificAttrCheck()
3580 *FnName += Part; in GenerateTargetSpecificAttrCheck()
3596 std::string *FnName) { in GenerateTargetSpecificAttrChecks() argument
3616 if (FnName) in GenerateTargetSpecificAttrChecks()
3617 *FnName += Part; in GenerateTargetSpecificAttrChecks()
3624 R, Test, FnName, "OSes", "T.getOS()", "llvm::Triple::"); in GenerateTargetSpecificAttrChecks()
3628 GenerateTargetSpecificAttrCheck(R, Test, FnName, "ObjectFormats", in GenerateTargetSpecificAttrChecks()
4134 std::string FnName = functionNameForCustomAppertainsTo(Subject); in GenerateCustomAppertainsTo() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1102 static StringRef getCanonicalFnName(StringRef FnName,
1109 return FnName.split('.').first;
1111 StringRef Cand(FnName);
1128 return FnName;
1130 return FnName;
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp340 std::string FnName; member in __anon1e075dd70411::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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAsmPrinter.cpp1327 StringRef FnName = MF.getFunction().getName(); in emitPALFunctionMetadata() local
1328 MD->setFunctionScratchSize(FnName, MFI.getStackSize()); in emitPALFunctionMetadata()
1344 MD->setFunctionLdsSize(FnName, CurrentProgramInfo.LDSSize); in emitPALFunctionMetadata()
1345 MD->setFunctionNumUsedVgprs(FnName, CurrentProgramInfo.NumVGPRsForWavesPerEU); in emitPALFunctionMetadata()
1346 MD->setFunctionNumUsedSgprs(FnName, CurrentProgramInfo.NumSGPRsForWavesPerEU); in emitPALFunctionMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBuilder.h186 const MachineInstrBuilder &addExternalSymbol(const char *FnName,
188 MI->addOperand(*MF, MachineOperand::CreateES(FnName, TargetFlags));
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h207 /// defines FnName. This is very slow operation and shouldn't be used for
209 virtual Function *FindFunctionNamed(StringRef FnName);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp153 Function *ExecutionEngine::FindFunctionNamed(StringRef FnName) { in FindFunctionNamed() argument
155 Function *F = M->getFunction(FnName); in FindFunctionNamed()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp8370 IdentifierInfo *FnName, in CheckMemorySizeofForComparison() argument
8383 << SizeRange << FnName; in CheckMemorySizeofForComparison()
8385 << FnName in CheckMemorySizeofForComparison()
8631 IdentifierInfo *FnName) { in CheckMemaccessArguments() argument
8647 if (CheckMemorySizeofForComparison(*this, LenExpr, FnName, in CheckMemaccessArguments()
8697 StringRef ReadableName = FnName->getName(); in CheckMemaccessArguments()
8747 << FnName << SizeOfArgTy << ArgIdx in CheckMemaccessArguments()
8780 << (IsCmp ? ArgIdx + 2 : ArgIdx) << FnName in CheckMemaccessArguments()
8788 << ArgIdx << FnName << PointeeTy in CheckMemaccessArguments()
8795 << ArgIdx << FnName << PointeeTy << 0); in CheckMemaccessArguments()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5930 StringRef FnName; in parseDirectivePseudoProbe() local
5931 if (parseIdentifier(FnName)) in parseDirectivePseudoProbe()
5933 MCSymbol *FnSym = getContext().lookupSymbol(FnName); in parseDirectivePseudoProbe()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp7048 StringRef FnName = Fn->getName(); in verifyAttachedCallBundle() local
7049 Check((FnName == "objc_retainAutoreleasedReturnValue" || in verifyAttachedCallBundle()
7050 FnName == "objc_unsafeClaimAutoreleasedReturnValue"), in verifyAttachedCallBundle()

12