| /llvm-project-15.0.7/llvm/tools/llvm-remark-size-diff/ |
| H A D | RemarkSizeDiff.cpp | 80 std::string FuncName; member 106 FunctionDiff(StringRef FuncName, const InstCountAndStackSize &A, in FunctionDiff() 108 : FuncName(FuncName) { in FunctionDiff() 149 const std::string &FuncName = FD.FuncName; in printFunctionDiff() local 170 OS << FuncName << ", "; in printFunctionDiff() 371 for (const auto &FuncName : FuncNameToSizeInfoA.keys()) in computeDiff() local 372 FuncNames.insert(FuncName.str()); in computeDiff() 373 for (const auto &FuncName : FuncNameToSizeInfoB.keys()) in computeDiff() local 374 FuncNames.insert(FuncName.str()); in computeDiff() 375 for (const std::string &FuncName : FuncNames) { in computeDiff() local [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.h | 66 bool isFunctionHot(StringRef FuncName) const; 75 getBBClusterInfoForFunction(StringRef FuncName) const; 81 StringRef getAliasName(StringRef FuncName) const { in getAliasName() argument 82 auto R = FuncAliasMap.find(FuncName); in getAliasName() 83 return R == FuncAliasMap.end() ? FuncName : R->second; in getAliasName()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 124 std::string FuncName = IntrinsicFunc->getName().str(); in lowerLLVMIntrinsicName() local 125 std::replace(FuncName.begin(), FuncName.end(), '.', '_'); in lowerLLVMIntrinsicName() 126 FuncName = "spirv." + FuncName; in lowerLLVMIntrinsicName() 127 return FuncName; in lowerLLVMIntrinsicName() 151 const std::string FuncName = lowerLLVMIntrinsicName(FSHIntrinsic); in lowerFunnelShifts() local 153 getOrCreateFunction(M, FSHRetTy, FSHFuncTy->params(), FuncName); in lowerFunnelShifts() 233 const std::string FuncName = lowerLLVMIntrinsicName(UMulIntrinsic); in lowerUMulWithOverflow() local 235 getOrCreateFunction(M, FSHLRetTy, UMulFuncTy->params(), FuncName); in lowerUMulWithOverflow()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 456 std::string FuncName = std::string(F->getName()); in getFunction() local 458 CGM.Error(Loc, "special function " + FuncName + in getFunction() 836 Gen.callFunc(FuncName, QT, Addrs, CGF); in callSpecialFunction() 847 return Gen.getFunction(FuncName, QT, Alignments, CGM); in getSpecialFunction() 856 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDefaultConstructor() local 881 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructDestructor() local 892 std::string FuncName = GenName.getName(QT, IsVolatile); in callCStructCopyConstructor() local 953 GenCopyConstructor(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructCopyConstructor() 965 GenMoveConstructor(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructMoveConstructor() 977 GenCopyAssignment(Ctx), FuncName, QT, IsVolatile, in getNonTrivialCStructCopyAssignmentOperator() [all …]
|
| H A D | CodeGenPGO.h | 30 std::string FuncName; variable 85 void emitEmptyCounterMapping(const Decl *D, StringRef FuncName,
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | DomTreeUpdaterTest.cpp | 32 StringRef FuncName = "f"; in TEST() local 51 Function *F = M->getFunction(FuncName); in TEST() 150 StringRef FuncName = "f"; in TEST() local 162 Function *F = M->getFunction(FuncName); in TEST() 215 StringRef FuncName = "f"; in TEST() local 305 StringRef FuncName = "f"; in TEST() local 433 StringRef FuncName = "f"; in TEST() local 525 StringRef FuncName = "f"; in TEST() local 604 StringRef FuncName = "f"; in TEST() local 705 StringRef FuncName = "f"; in TEST() local [all …]
|
| H A D | IVDescriptorsTest.cpp | 23 Module &M, StringRef FuncName, in runWithLoopInfoAndSE() argument 25 auto *F = M.getFunction(FuncName); in runWithLoopInfoAndSE() 26 ASSERT_NE(F, nullptr) << "Could not find " << FuncName; in runWithLoopInfoAndSE()
|
| H A D | DDGTest.cpp | 24 static void runTest(Module &M, StringRef FuncName, in runTest() argument 28 auto *F = M.getFunction(FuncName); in runTest() 29 ASSERT_NE(F, nullptr) << "Could not find " << FuncName; in runTest()
|
| H A D | LoopNestTest.cpp | 22 Module &M, StringRef FuncName, in runTest() argument 24 auto *F = M.getFunction(FuncName); in runTest() 25 ASSERT_NE(F, nullptr) << "Could not find " << FuncName; in runTest()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.cpp | 31 bool BasicBlockSectionsProfileReader::isFunctionHot(StringRef FuncName) const { in isFunctionHot() 32 return getBBClusterInfoForFunction(FuncName).first; in isFunctionHot() 37 StringRef FuncName) const { in getBBClusterInfoForFunction() 39 auto R = ProgramBBClusterInfo.find(getAliasName(FuncName)); in getBBClusterInfoForFunction()
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | Attributes.cpp | 87 StringRef FuncName = Rule->getValueAsString("CompatFunc"); in emitFnAttrCompatCheck() local 88 OS << " Ret &= " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck() 101 StringRef FuncName = Rule->getValueAsString("MergeFunc"); in emitFnAttrCompatCheck() local 102 OS << " " << FuncName << "(Caller, Callee);\n"; in emitFnAttrCompatCheck()
|
| H A D | SubtargetFeatureInfo.cpp | 90 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAvailableFeatures() argument 94 << FuncName << "(const " << TargetName << "Subtarget *Subtarget"; in emitComputeAvailableFeatures() 145 StringRef TargetName, StringRef ClassName, StringRef FuncName, in emitComputeAssemblerAvailableFeatures() argument 150 OS << FuncName << "(const FeatureBitset &FB) "; in emitComputeAssemblerAvailableFeatures()
|
| H A D | SubtargetFeatureInfo.h | 78 StringRef FuncName, 96 StringRef TargetName, StringRef ClassName, StringRef FuncName,
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | StokeInfo.h | 40 std::string FuncName; member 62 FuncName = ""; in reset() 86 Outfile << FuncName << "," << Offset << "," << Size << "," << NumInstrs in printData()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | SampleProf.h | 449 StringRef FuncName; 454 SampleContextFrame(StringRef FuncName, LineLocation Location) 455 : FuncName(FuncName), Location(Location) {} 458 return Location == That.Location && FuncName == That.FuncName; 467 OContextStr << FuncName.str(); 478 return hash_combine(arg.FuncName, arg.Location.LineOffset, 627 Name = Context.back().FuncName; 650 auto V = Context1.FuncName.compare(Context2.FuncName); 674 if (ThisContext.back().FuncName != ThatContext.back().FuncName) 1252 : FuncName(FName), FuncSamples(FSamples), CallSiteLoc(CallLoc){}; [all …]
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 702 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords() argument 703 auto Iter = HashTable->find(FuncName); in getRecords() 756 Error getRecords(StringRef FuncName, in getRecords() argument 758 return Underlying.getRecords(FuncName, Data); in getRecords() 815 Error getRecords(StringRef FuncName, in getRecords() argument 817 StringRef RealName = extractName(FuncName); in getRecords() 821 if (RealName.begin() == FuncName.begin() && in getRecords() 822 RealName.end() == FuncName.end()) in getRecords() 823 FuncName = Remapped; in getRecords() 844 return Underlying.getRecords(FuncName, Data); in getRecords() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCPseudoProbe.cpp | 218 return It->second.FuncName; in getProbeFNameForGUID() 222 OS << "GUID: " << FuncGUID << " Name: " << FuncName << "\n"; in print() 234 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Cur->Parent->Guid); in getInlineContext() local 236 MCPseduoProbeFrameLocation(FuncName, std::get<1>(Cur->ISite))); in getInlineContext() 264 StringRef FuncName = getProbeFNameForGUID(GUID2FuncMAP, Guid); in print() local 265 OS << FuncName.str() << " "; in print() 569 MCPseduoProbeFrameLocation(FuncDesc->FuncName, Probe->getIndex())); in getInlineContextForProbe()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profgen/ |
| H A D | ProfiledBinary.cpp | 76 StringRef CallerName = Callsite.FuncName; in addInstructionForContext() 132 StringRef FuncName = in trackInlineesOptimizedAway() local 133 ProbeDecoder.getFuncDescForGUID(ProbeNode.Guid)->FuncName; in trackInlineesOptimizedAway() 134 ProbeContext.emplace_back(FuncName, 0); in trackInlineesOptimizedAway() 359 ProfiledGuids.insert(Function::getGUID(F->FuncName)); in decodePseudoProbe() 388 StringRef FuncName = in decodePseudoProbe() local 389 ProbeDecoder.getFuncDescForGUID(Frame->Guid)->FuncName; in decodePseudoProbe() 390 TopLevelProbeFrameMap[FuncName] = Frame; in decodePseudoProbe() 685 Func.FuncName = Ret.first->first; in loadSymbolsFromDWARFUnit() 840 auto I = TopLevelProbeFrameMap.find(Func->FuncName); in computeInlinedContextSizeForFunc()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageFilters.cpp | 23 StringRef FuncName = Function.Name; in matches() local 24 return FuncName.contains(Name); in matches()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | LoopUtilsTest.cpp | 29 static void run(Module &M, StringRef FuncName, in run() argument 33 Function *F = M.getFunction(FuncName); in run()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | GISelMITest.h | 59 StringRef MIRCode, const char *FuncName, in parseMIR() argument 80 StringRef MIRString, const char *FuncName) { in createDummyModule() argument 84 parseMIR(Context, MIR, TM, MIRString, FuncName, *MMI); in createDummyModule()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 681 bool AMDGPULibFunc::parse(StringRef FuncName, AMDGPULibFunc &F) { in parse() argument 682 if (FuncName.empty()) { in parse() 687 if (eatTerm(FuncName, "_Z")) in parse() 691 if (F.Impl->parseFuncName(FuncName)) in parse() 948 std::string FuncName = fInfo.mangle(); in getFunction() local 950 M->getValueSymbolTable().lookup(FuncName)); in getFunction() 963 std::string const FuncName = fInfo.mangle(); in getOrInsertFunction() local 965 M->getValueSymbolTable().lookup(FuncName)); in getOrInsertFunction() 991 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction() 997 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | ReorderFunctions.cpp | 256 std::string FuncName; in readFunctionOrderFile() local 257 while (std::getline(FuncsFile, FuncName)) in readFunctionOrderFile() 258 FunctionNames.push_back(FuncName); in readFunctionOrderFile() 344 const std::string FuncName = in runOnFunctions() local 346 BD = BC.getBinaryDataByName(FuncName); in runOnFunctions()
|
| /llvm-project-15.0.7/llvm/lib/Target/Sparc/ |
| H A D | LeonPasses.cpp | 86 StringRef FuncName = MO.getGlobal()->getName(); in runOnMachineFunction() local 87 if (FuncName.compare_insensitive("fesetround") == 0) { in runOnMachineFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 793 InstrProfSymtab &ProfileNames, StringRef &FuncName) { in getFuncNameViaRef() argument 795 FuncName = ProfileNames.getFuncName(NameRef); in getFuncNameViaRef() 844 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 847 FuncName = ProfileNames.getFuncName(NameRef, NameS); in getFuncName() 848 if (NameS && FuncName.empty()) in getFuncName() 892 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 894 FuncName); in getFuncName() 936 Error getFuncName(InstrProfSymtab &ProfileNames, StringRef &FuncName) const { in getFuncName() 938 FuncName); in getFuncName()
|