Home
last modified time | relevance | path

Searched refs:FuncName (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp50 SMEAttrs::SMEAttrs(StringRef FuncName) : Bitmask(0) { in SMEAttrs() argument
51 if (FuncName == "__arm_tpidr2_save" || FuncName == "__arm_sme_state") in SMEAttrs()
53 if (FuncName == "__arm_tpidr2_restore") in SMEAttrs()
56 if (FuncName == "__arm_sc_memcpy" || FuncName == "__arm_sc_memset" || in SMEAttrs()
57 FuncName == "__arm_sc_memmove" || FuncName == "__arm_sc_memchr") in SMEAttrs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp59 bool BasicBlockSectionsProfileReader::isFunctionHot(StringRef FuncName) const { in isFunctionHot()
60 return getClusterInfoForFunction(FuncName).first; in isFunctionHot()
65 StringRef FuncName) const { in getClusterInfoForFunction()
66 auto R = ProgramPathAndClusterInfo.find(getAliasName(FuncName)); in getClusterInfoForFunction()
74 StringRef FuncName) const { in getClonePathsForFunction()
75 return ProgramPathAndClusterInfo.lookup(getAliasName(FuncName)).ClonePaths; in getClonePathsForFunction()
426 StringRef FuncName) const { in isFunctionHot()
427 return BBSPR.isFunctionHot(FuncName); in isFunctionHot()
432 StringRef FuncName) const { in getClusterInfoForFunction()
433 return BBSPR.getClusterInfoForFunction(FuncName); in getClusterInfoForFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicBlockSectionsProfileReader.h87 // FuncName.
88 bool isFunctionHot(StringRef FuncName) const;
91 // profile exist for the function \p FuncName, and the second element
97 getClusterInfoForFunction(StringRef FuncName) const;
101 getClonePathsForFunction(StringRef FuncName) const;
104 StringRef getAliasName(StringRef FuncName) const {
105 auto R = FuncAliasMap.find(FuncName);
106 return R == FuncAliasMap.end() ? FuncName : R->second;
201 bool isFunctionHot(StringRef FuncName) const;
204 getClusterInfoForFunction(StringRef FuncName) cons
82 getAliasName(StringRef FuncName) getAliasName() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp438 llvm::Function *getFunction(StringRef FuncName, QualType QT, in getFunction()
442 if (llvm::Function *F = CGM.getModule().getFunction(FuncName)) { in getFunction()
453 std::string FuncName = std::string(F->getName()); in getFunction() local
455 CGM.Error(Loc, "special function " + FuncName + in getFunction()
468 FuncName, &CGM.getModule()); in getFunction()
484 void callFunc(StringRef FuncName, QualType QT, std::array<Address, N> Addrs, in callFunc()
495 getFunction(FuncName, QT, Alignments, CallerCGF.CGM)) in callFunc()
821 static void callSpecialFunction(G &&Gen, StringRef FuncName, QualType QT, in callSpecialFunction() argument
828 Gen.callFunc(FuncName, QT, Addrs, CGF); in callSpecialFunction()
833 getSpecialFunction(G &&Gen, StringRef FuncName, QualType QT, bool IsVolatile, in getSpecialFunction() argument
[all …]
H A DCodeGenPGO.h32 std::string FuncName; variable
88 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
H A DCGCUDANV.cpp81 std::string addPrefixToName(StringRef FuncName) const;
82 std::string addUnderscoredPrefixToName(StringRef FuncName) const;
193 std::string CGNVCUDARuntime::addPrefixToName(StringRef FuncName) const { in addPrefixToName()
195 return ((Twine("hip") + Twine(FuncName)).str()); in addPrefixToName()
196 return ((Twine("cuda") + Twine(FuncName)).str()); in addPrefixToName()
199 CGNVCUDARuntime::addUnderscoredPrefixToName(StringRef FuncName) const { in addUnderscoredPrefixToName()
201 return ((Twine("__hip") + Twine(FuncName)).str()); in addUnderscoredPrefixToName()
202 return ((Twine("__cuda") + Twine(FuncName)).str()); in addUnderscoredPrefixToName()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp74 std::string FuncName = IntrinsicFunc->getName().str(); in lowerLLVMIntrinsicName() local
75 std::replace(FuncName.begin(), FuncName.end(), '.', '_'); in lowerLLVMIntrinsicName()
76 FuncName = "spirv." + FuncName; in lowerLLVMIntrinsicName()
77 return FuncName; in lowerLLVMIntrinsicName()
104 std::string FuncName = lowerLLVMIntrinsicName(Intrinsic); in lowerIntrinsicToFunction() local
106 FuncName += ".volatile"; in lowerIntrinsicToFunction()
108 Function *F = M->getFunction(FuncName); in lowerIntrinsicToFunction()
115 M->getOrInsertFunction(FuncName, Intrinsic->getFunctionType()); in lowerIntrinsicToFunction()
292 const std::string FuncName = lowerLLVMIntrinsicName(FSHIntrinsic); in lowerFunnelShifts() local
294 getOrCreateFunction(M, FSHRetTy, FSHFuncTy->params(), FuncName); in lowerFunnelShifts()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DAttributes.cpp92 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() local
93 OS << " Ret &= " << FuncName << "(Caller, Callee"; in emitFnAttrCompatCheck()
110 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck() local
111 OS << " " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck()
H A DDFAPacketizerEmitter.cpp160 std::string FuncName = std::string(K->getName()); in collectAllComboFuncs() local
161 uint64_t FuncResources = FUNameToBitsMap[FuncName]; in collectAllComboFuncs()
162 LLVM_DEBUG(dbgs() << " " << FuncName << ":0x" in collectAllComboFuncs()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLookupResult.h41 StringRef FuncName; ///< The concrete function name that contains LookupAddr. member
60 if (LHS.FuncName != RHS.FuncName)
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DSubtargetFeatureInfo.cpp103 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAvailableFeatures() argument
107 << FuncName << "(const " << TargetName << "Subtarget *Subtarget"; in emitComputeAvailableFeatures()
169 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAssemblerAvailableFeatures() argument
174 OS << FuncName << "(const FeatureBitset &FB) "; in emitComputeAssemblerAvailableFeatures()
H A DSubtargetFeatureInfo.h81 StringRef TargetName, StringRef ClassName, StringRef FuncName,
100 StringRef TargetName, StringRef ClassName, StringRef FuncName,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp274 return It->second.FuncName; in getProbeFNameForGUID()
278 OS << "GUID: " << FuncGUID << " Name: " << FuncName << "\n"; in print()
290 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Cur->Parent->Guid); in getInlineContext() local
292 MCPseudoProbeFrameLocation(FuncName, std::get<1>(Cur->ISite))); in getInlineContext()
320 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Guid); in print() local
321 OS << FuncName.str() << " "; in print()
628 MCPseudoProbeFrameLocation(FuncDesc->FuncName, Probe->getIndex())); in getInlineContextForProbe()
H A DMCContext.cpp236 MCSymbol *MCContext::getOrCreateFrameAllocSymbol(const Twine &FuncName, in getOrCreateFrameAllocSymbol() argument
238 return getOrCreateSymbol(MAI->getPrivateGlobalPrefix() + FuncName + in getOrCreateFrameAllocSymbol()
242 MCSymbol *MCContext::getOrCreateParentFrameOffsetSymbol(const Twine &FuncName) { in getOrCreateParentFrameOffsetSymbol() argument
243 return getOrCreateSymbol(MAI->getPrivateGlobalPrefix() + FuncName + in getOrCreateParentFrameOffsetSymbol()
247 MCSymbol *MCContext::getOrCreateLSDASymbol(const Twine &FuncName) { in getOrCreateLSDASymbol() argument
249 FuncName); in getOrCreateLSDASymbol()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp304 for (auto &FuncName : FuncNames) in readTemporalProfTraceData() local
306 IndexedInstrProf::ComputeHash(FuncName.trim())); in readTemporalProfTraceData()
972 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords() argument
973 auto Iter = HashTable->find(FuncName); in getRecords()
1026 Error getRecords(StringRef FuncName, in getRecords() argument
1028 return Underlying.getRecords(FuncName, Data); in getRecords()
1086 Error getRecords(StringRef FuncName, in getRecords() argument
1088 StringRef RealName = extractName(FuncName); in getRecords()
1092 if (RealName.begin() == FuncName.begin() && in getRecords()
1093 RealName.end() == FuncName.end()) in getRecords()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp23 StringRef FuncName = Function.Name; in matches() local
24 return FuncName.contains(Name); in matches()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp692 bool AMDGPULibFunc::parse(StringRef FuncName, AMDGPULibFunc &F) { in parse() argument
693 if (FuncName.empty()) { in parse()
698 if (eatTerm(FuncName, "_Z")) in parse()
702 if (F.Impl->parseFuncName(FuncName)) in parse()
1008 std::string FuncName = fInfo.mangle(); in getFunction() local
1010 M->getValueSymbolTable().lookup(FuncName)); in getFunction()
1025 std::string const FuncName = fInfo.mangle(); in getOrInsertFunction() local
1027 M->getValueSymbolTable().lookup(FuncName)); in getOrInsertFunction()
1054 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction()
1061 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DLeonPasses.cpp91 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction()
92 if (FuncName.compare_insensitive("fesetround") == 0) { in runOnMachineFunction()
86 StringRef FuncName = MO.getGlobal()->getName(); runOnMachineFunction() local
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DBuiltins.cpp63 bool Builtin::Context::isBuiltinFunc(llvm::StringRef FuncName) { in isBuiltinFunc() argument
64 bool InStdNamespace = FuncName.consume_front("std-"); in isBuiltinFunc()
67 if (FuncName == BuiltinInfo[i].Name && in isBuiltinFunc()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h539 virtual Error getRecords(StringRef FuncName,
586 Error getRecords(StringRef FuncName,
646 virtual Error getRecords(StringRef FuncName,
766 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
777 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
781 Error getFunctionBitmap(StringRef FuncName, uint64_t FuncHash,
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsCallLowering.cpp343 std::string FuncName = F.getName().str(); in lowerReturn() local
345 FuncName.c_str(), /*IsReturn*/ true); in lowerReturn()
398 const std::string FuncName = F.getName().str(); in lowerFormalArguments() local
399 MipsIncomingValueAssigner Assigner(TLI.CCAssignFnForCall(), FuncName.c_str(), in lowerFormalArguments()
555 const std::string FuncName = F.getName().str(); in lowerCall() local
559 FuncName.c_str(), in lowerCall()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DFunctionInfo.cpp206 LR.FuncName = GR.getString(NameOffset); in lookup()
250 SrcLoc.Name = LR.FuncName; in lookup()
263 SrcLoc.Name = LR.FuncName; in lookup()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1161 InstrProfSymtab &ProfileNames, StringRef &FuncName) { in getFuncNameViaRef() argument
1163 FuncName = ProfileNames.getFuncOrVarName(NameRef); in getFuncNameViaRef()
1212 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1215 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
1216 if (NameS && FuncName.empty()) in getFuncName()
1261 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1263 FuncName); in getFuncName()
1305 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1307 FuncName); in getFuncName()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h40 : ParentContext(Parent), FuncName(FName), FuncSamples(FSamples),
70 FunctionId FuncName;
71 StringRef FuncName; global() variable
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.cpp251 void TracePC::SetFocusFunction(const std::string &FuncName) { in SetFocusFunction() argument
256 if (FuncName.empty() || FuncName == "auto") in SetFocusFunction()
266 if (FuncName != Name) continue; in SetFocusFunction()
274 "valid (%s) and symbolization is enabled.\n", FuncName.c_str()); in SetFocusFunction()

1234