Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicBlockSectionsProfileReader.h88 bool isFunctionHot(StringRef FuncName) const;
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) const;
207 getClonePathsForFunction(StringRef FuncName) const;
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkSizeDiff.cpp66 std::string FuncName; member
92 FunctionDiff(StringRef FuncName, const InstCountAndStackSize &A, in FunctionDiff()
94 : FuncName(FuncName) { in FunctionDiff()
135 const std::string &FuncName = FD.FuncName; in printFunctionDiff() local
156 OS << FuncName << ", "; in printFunctionDiff()
351 for (const auto &FuncName : FuncNameToSizeInfoA.keys()) in computeDiff() local
352 FuncNames.insert(FuncName.str()); in computeDiff()
353 for (const auto &FuncName : FuncNameToSizeInfoB.keys()) in computeDiff() local
354 FuncNames.insert(FuncName.str()); in computeDiff()
355 for (const std::string &FuncName : FuncNames) { in computeDiff() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DBasicBlockSectionsProfileReader.cpp60 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()
438 StringRef FuncName) const { in getClonePathsForFunction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp71 std::string FuncName = IntrinsicFunc->getName().str(); in lowerLLVMIntrinsicName() local
72 std::replace(FuncName.begin(), FuncName.end(), '.', '_'); in lowerLLVMIntrinsicName()
73 FuncName = "spirv." + FuncName; in lowerLLVMIntrinsicName()
74 return FuncName; in lowerLLVMIntrinsicName()
101 std::string FuncName = lowerLLVMIntrinsicName(Intrinsic); in lowerIntrinsicToFunction() local
103 FuncName += ".volatile"; in lowerIntrinsicToFunction()
105 Function *F = M->getFunction(FuncName); in lowerIntrinsicToFunction()
112 M->getOrInsertFunction(FuncName, Intrinsic->getFunctionType()); in lowerIntrinsicToFunction()
163 const std::string FuncName = lowerLLVMIntrinsicName(FSHIntrinsic); in lowerFunnelShifts() local
165 getOrCreateFunction(M, FSHRetTy, FSHFuncTy->params(), FuncName); in lowerFunnelShifts()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp453 std::string FuncName = std::string(F->getName()); in getFunction() local
455 CGM.Error(Loc, "special function " + FuncName + in getFunction()
828 Gen.callFunc(FuncName, QT, Addrs, CGF); in callSpecialFunction()
839 return Gen.getFunction(FuncName, QT, Alignments, CGM); in getSpecialFunction()
848 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDefaultConstructor() local
873 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDestructor() local
884 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructCopyConstructor() local
945 GenCopyConstructor(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructCopyConstructor()
957 GenMoveConstructor(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructMoveConstructor()
969 GenCopyAssignment(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructCopyAssignmentOperator()
[all …]
H A DCodeGenPGO.h31 std::string FuncName; variable
90 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64SMEAttributes.cpp48 SMEAttrs::SMEAttrs(StringRef FuncName) : Bitmask(0) { in SMEAttrs() argument
49 if (FuncName == "__arm_tpidr2_save" || FuncName == "__arm_sme_state") in SMEAttrs()
51 if (FuncName == "__arm_tpidr2_restore") in SMEAttrs()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DAttributes.cpp89 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() local
90 OS << " Ret &= " << FuncName << "(Caller, Callee"; in emitFnAttrCompatCheck()
107 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck() local
108 OS << " " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck()
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.h80 StringRef TargetName, StringRef ClassName, StringRef FuncName,
99 StringRef TargetName, StringRef ClassName, StringRef FuncName,
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-14.2/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-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp307 for (auto &FuncName : FuncNames) in readTemporalProfTraceData() local
938 auto Iter = HashTable->find(FuncName); in getRecords()
991 Error getRecords(StringRef FuncName, in getRecords() argument
993 return Underlying.getRecords(FuncName, Data); in getRecords()
1051 Error getRecords(StringRef FuncName, in getRecords() argument
1053 StringRef RealName = extractName(FuncName); in getRecords()
1057 if (RealName.begin() == FuncName.begin() && in getRecords()
1058 RealName.end() == FuncName.end()) in getRecords()
1059 FuncName = Remapped; in getRecords()
1080 return Underlying.getRecords(FuncName, Data); in getRecords()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCPseudoProbe.cpp279 return It->second.FuncName; in getProbeFNameForGUID()
283 OS << "GUID: " << FuncGUID << " Name: " << FuncName << "\n"; in print()
295 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Cur->Parent->Guid); in getInlineContext() local
297 MCPseduoProbeFrameLocation(FuncName, std::get<1>(Cur->ISite))); in getInlineContext()
325 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Guid); in print() local
326 OS << FuncName.str() << " "; in print()
633 MCPseduoProbeFrameLocation(FuncDesc->FuncName, Probe->getIndex())); in getInlineContextForProbe()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DLeonPasses.cpp91 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction() local
92 if (FuncName.compare_insensitive("fesetround") == 0) { in runOnMachineFunction()
/freebsd-14.2/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-14.2/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.equals(BuiltinInfo[i].Name) && in isBuiltinFunc()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h535 virtual Error getRecords(StringRef FuncName,
580 Error getRecords(StringRef FuncName,
634 virtual Error getRecords(StringRef FuncName,
727 getInstrProfRecord(StringRef FuncName, uint64_t FuncHash,
736 Error getFunctionCounts(StringRef FuncName, uint64_t FuncHash,
740 Error getFunctionBitmapBytes(StringRef FuncName, uint64_t FuncHash,
H A DInstrProf.h204 std::string getPGOFuncNameVarName(StringRef FuncName,
492 Error addFuncName(StringRef FuncName) { in addFuncName() argument
493 if (FuncName.empty()) in addFuncName()
496 auto Ins = NameTab.insert(FuncName); in addFuncName()
499 IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey())); in addFuncName()
626 StringRef FuncName; member
637 FuncName = Name; in setFuncInfo()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h1068 InstrProfSymtab &ProfileNames, StringRef &FuncName) { in getFuncNameViaRef() argument
1070 FuncName = ProfileNames.getFuncOrVarName(NameRef); in getFuncNameViaRef()
1119 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1122 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName()
1123 if (NameS && FuncName.empty()) in getFuncName()
1168 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1170 FuncName); in getFuncName()
1212 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName()
1214 FuncName); in getFuncName()
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DSampleContextTracker.h40 : ParentContext(Parent), FuncName(FName), FuncSamples(FSamples), in ParentContext()
70 FunctionId FuncName; variable
/freebsd-14.2/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