Home
last modified time | relevance | path

Searched refs:FunctionName (Results 1 – 25 of 156) sorted by relevance

1234567

/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DUnsafeFunctionsCheck.cpp39 getAnnexKReplacementFor(StringRef FunctionName) { in getReplacementFor() argument
40 return StringSwitch<std::string>(FunctionName) in getReplacementFor()
43 .Default((Twine{FunctionName} + "_s").str()); in getReplacementFor()
46 static StringRef getReplacementFor(StringRef FunctionName, in getReplacementFor()
51 StringSwitch<StringRef>(FunctionName) in getReplacementFor()
61 return StringSwitch<StringRef>(FunctionName) in getReplacementForAdditional() argument
68 static StringRef getReplacementForAdditional(StringRef FunctionName, in getReplacementForAdditional()
72 StringRef AnnexKReplacementFunction = StringSwitch<StringRef>(FunctionName) in getReplacementForAdditional()
81 return StringSwitch<StringRef>(FunctionName)
89 /// \returns The rationale for replacing the function \p FunctionName wit in getRationaleFor()
32 getAnnexKReplacementFor(StringRef FunctionName) getAnnexKReplacementFor() argument
84 getRationaleFor(StringRef FunctionName) getRationaleFor() argument
198 StringRef FunctionName = FuncDecl->getName(); check() local
[all...]
/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp126 const std::string &FunctionName = safeGetName(F); in isReturnValueRefCounted()
128 return isRefType(FunctionName) || FunctionName == "adoptRef" || in isReturnValueRefCounted()
129 FunctionName == "UniqueRef" || FunctionName == "makeUniqueRef" || in isReturnValueRefCounted()
130 FunctionName == "makeUniqueRefWithoutFastMallocCheck" in isReturnValueRefCounted()
132 || FunctionName == "String" || FunctionName == "AtomString" || in isReturnValueRefCounted()
133 FunctionName == "UniqueString" in isReturnValueRefCounted()
135 || FunctionName in isReturnValueRefCounted()
113 const std::string &FunctionName = safeGetName(F); isCtorOfRefCounted() local
217 const auto FunctionName = safeGetName(F); isPtrConversion() local
[all...]
/llvm-project/clang/lib/Basic/
H A DXRayLists.cpp35 XRayFunctionFilter::shouldImbueFunction(StringRef FunctionName) const { in shouldImbueFunction()
39 if (AlwaysInstrument->inSection("xray_always_instrument", "fun", FunctionName, in shouldImbueFunction()
41 AttrList->inSection("always", "fun", FunctionName, "arg1")) in shouldImbueFunction()
44 FunctionName) || in shouldImbueFunction()
45 AttrList->inSection("always", "fun", FunctionName)) in shouldImbueFunction()
49 FunctionName) || in shouldImbueFunction()
50 AttrList->inSection("never", "fun", FunctionName)) in shouldImbueFunction()
H A DProfileList.cpp119 ProfileList::isFunctionExcluded(StringRef FunctionName, in isFunctionExcluded() argument
123 if (auto V = inSection(Section, "function", FunctionName)) in isFunctionExcluded()
125 if (SCL->inSection(Section, "!fun", FunctionName)) in isFunctionExcluded()
127 if (SCL->inSection(Section, "fun", FunctionName)) in isFunctionExcluded()
/llvm-project/llvm/test/tools/llvm-symbolizer/
H A Doutput-style-json-code.test15 …puts/addr.exe","Symbol":[{"Column":0,"Discriminator":0,"FileName":"","FunctionName":"","Line":0,"S…
20 …[{"Column":17,"Discriminator":2,"FileName":"/tmp{{/|\\\\}}discrim.c","FunctionName":"foo","Line":5…
30 …ymbol":[{"Column":3,"Discriminator":0,"FileName":"/tmp{{/|\\\\}}x.c","FunctionName":"main","Line":…
40FunctionName":"inctwo","Line":3,"StartAddress":"0x400540","StartFileName":"/tmp{{/|\\\\}}x.c","Sta…
51FunctionName":"inctwo","Line":3,"StartAddress":"0x400540","StartFileName":"/tmp{{/|\\\\}}x.c","Sta…
61FunctionName":"","Line":3,"StartAddress":"0x400540","StartFileName":"/tmp{{/|\\\\}}x.c","StartLine…
68FunctionName":"static_func","Line":4,"StartAddress":"0x121d","StartFileName":"/tmp/dbginfo{{/|\\\\…
/llvm-project/llvm/unittests/Remarks/
H A DRemarksAPITest.cpp20 R.FunctionName = "func"; in TEST()
36 R2.FunctionName = "func0"; in TEST()
50 R.FunctionName = "func"; in TEST()
90 R.FunctionName = "func"; in TEST()
104 EXPECT_NE(R.FunctionName.data(), R2.FunctionName.data()); in TEST()
114 EXPECT_EQ(StrTab.add(R.FunctionName).second.data(), R2.FunctionName.data()); in TEST()
H A DBitstreamRemarksSerializerTest.cpp88 R.FunctionName = "function"; in TEST()
117 R.FunctionName = "function"; in TEST()
143 R.FunctionName = "function"; in TEST()
173 R.FunctionName = "function"; in TEST()
200 R.FunctionName = "function"; in TEST()
229 R.FunctionName = "function"; in TEST()
263 R.FunctionName = "function"; in TEST()
313 R.FunctionName = "function"; in TEST()
H A DYAMLRemarksSerializerTest.cpp76 R.FunctionName = "func"; in TEST()
109 R.FunctionName = "func"; in TEST()
139 R.FunctionName = "func"; in TEST()
175 R.FunctionName = "func"; in TEST()
215 R.FunctionName = "func"; in TEST()
249 R.FunctionName = "func"; in TEST()
289 R.FunctionName = "func"; in TEST()
/llvm-project/llvm/include/llvm/DebugInfo/
H A DDIContext.h39 std::string FunctionName;
56 : FileName(BadString), FunctionName(BadString), StartFileName(BadString) {
61 FileName == RHS.FileName && FunctionName == RHS.FunctionName &&
69 return std::tie(FileName, FunctionName, StartFileName, Line, Column,
71 std::tie(RHS.FileName, RHS.FunctionName, RHS.StartFileName, RHS.Line,
81 if (FunctionName != BadString) in dump()
82 OS << "function '" << FunctionName << "', "; in dump()
131 std::string FunctionName;
38 std::string FunctionName; global() member
129 std::string FunctionName; global() member
/llvm-project/bolt/lib/Passes/
H A DAsmDump.cpp150 StringRef FunctionName = BF.getOneName(); in dumpFunction()
151 OS << " .globl " << FunctionName << '\n'; in dumpFunction()
152 OS << " .type " << FunctionName << ", %function\n"; in dumpFunction()
153 OS << FunctionName << ":\n"; in dumpFunction() local
158 << "1 " << FunctionName << " 0 " in dumpFunction()
210 OS << "# FDATA: 1 " << FunctionName << " #" << BranchLabel << "# " in dumpFunction()
211 << "1 " << FunctionName << " #" << Succ->getName() << "# " in dumpFunction()
219 OS << ".size " << FunctionName << ", .-" << FunctionName << '\n'; in dumpFunction()
/llvm-project/llvm/include/llvm/ProfileData/
H A DSymbolRemappingReader.h113 Key insert(StringRef FunctionName) { in insert() argument
114 return Canonicalizer.canonicalize(FunctionName); in insert()
123 Key lookup(StringRef FunctionName) { in lookup() argument
124 return Canonicalizer.lookup(FunctionName); in lookup()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dconvert-member-functions-to-static.cpp221 #define T(FunctionName, Keyword) \ argument
222 Keyword int FunctionName() { return 0; }
227 #define T2(FunctionName) \ argument
228 int FunctionName() { return 0; }
H A Dmake-member-function-const.cpp297 #define T(FunctionName, Keyword) \ argument
298 int FunctionName() Keyword { return M; }
303 #define T2(FunctionName) \ argument
304 int FunctionName() { return M; }
/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp122 void PlainPrinterBase::printFunctionName(StringRef FunctionName, bool Inlined) { in printFunctionName() argument
124 if (FunctionName == DILineInfo::BadString) in printFunctionName()
125 FunctionName = DILineInfo::Addr2LineBadString; in printFunctionName()
128 OS << Prefix << FunctionName << Delimiter; in printFunctionName()
181 printFunctionName(Info.FunctionName, Inlined); in print()
230 if (L.FunctionName.empty()) in print()
233 OS << L.FunctionName; in print()
305 {{"FunctionName", LineInfo.FunctionName != DILineInfo::BadString in toJSON()
306 ? LineInfo.FunctionName in toJSON()
[all...]
H A DSymbolizableObjectFile.cpp284 std::string FunctionName, FileName; in symbolizeCode()
286 if (getNameFromSymbolTable(ModuleOffset.Address, FunctionName, Start, Size, in symbolizeCode()
288 LineInfo.FunctionName = FunctionName; in symbolizeCode()
312 std::string FunctionName, FileName; in symbolizeInlinedCode()
314 if (getNameFromSymbolTable(ModuleOffset.Address, FunctionName, Start, Size, in symbolizeInlinedCode()
318 LI->FunctionName = FunctionName; in symbolizeInlinedCode()
285 std::string FunctionName, FileName; symbolizeCode() local
313 std::string FunctionName, FileName; symbolizeInlinedCode() local
/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp252 io.mapRequired("Function Name", P.FunctionName); in dumpYaml()
358 std::optional<const char *> FunctionName; in correlateProfileDataImpl()
379 AnnotationFormValue->getAsCString().moveInto(FunctionName)) in correlateProfileDataImpl()
388 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl()
391 << "Incomplete DIE for function " << FunctionName in correlateProfileDataImpl()
405 *FunctionName, *CounterPtr, CountersStart, CountersEnd); in correlateProfileDataImpl()
412 *FunctionName); in correlateProfileDataImpl()
420 P.FunctionName = *FunctionName; in correlateProfileDataImpl()
434 this->addDataProbe(IndexedInstrProf::ComputeHash(*FunctionName), *CFGHas in correlateProfileNameImpl()
334 std::optional<const char *> FunctionName; correlateProfileDataImpl() local
[all...]
/llvm-project/llvm/include/llvm/Remarks/
H A DRemark.h110 StringRef FunctionName; member
192 LHS.FunctionName == RHS.FunctionName && LHS.Loc == RHS.Loc &&
202 LHS.FunctionName, LHS.Loc, LHS.Hotness, LHS.Args) <
204 RHS.FunctionName, RHS.Loc, RHS.Hotness, RHS.Args);
/llvm-project/llvm/test/tools/llvm-remarkutil/size-diff/
H A Djson-add-remove-func.test12 ; ADD: "FunctionName": "func0",
24 ; ADD: "FunctionName": "func1",
38 ; REMOVE: "FunctionName": "func0",
48 ; REMOVE: "FunctionName": "func1",
/llvm-project/libc/utils/LibcTableGenUtil/
H A DAPIIndexer.cpp
/llvm-project/llvm/examples/OrcV2Examples/LLJITWithThinLTOSummaries/
H A DLLJITWithThinLTOSummaries.cpp135 Expected<StringRef> getMainModulePath(StringRef FunctionName, in getMainModulePath() argument
138 GlobalValue::GUID G = GlobalValue::getGUID(FunctionName); in getMainModulePath()
143 return make_error<DefinitionNotFoundInSummary>(FunctionName.str(), Index); in getMainModulePath()
145 return make_error<DuplicateDefinitionInSummary>(FunctionName.str(), VI); in getMainModulePath()
150 "Entry point is not a function: " + FunctionName); in getMainModulePath()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp103 StringRef FunctionName) const;
123 CheckerContext &C, ProgramStateRef State, StringRef FunctionName) const { in REGISTER_SET_WITH_PROGRAMSTATE()
129 FunctionName = std::string{FunctionName}]( in REGISTER_SET_WITH_PROGRAMSTATE()
158 Out << '\'' << FunctionName << "' call may invalidate " in REGISTER_SET_WITH_PROGRAMSTATE()
175 StringRef FunctionName = Call.getCalleeIdentifier()->getName(); in EnvpInvalidatingCall() local
177 createEnvInvalidationNote(C, State, FunctionName); in EnvpInvalidatingCall()
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ARM/
H A Dunwind-non-relocatable.test17 # UNWIND-NEXT: FunctionName: func1
28 # UNWIND-NEXT: FunctionName: func2
38 # UNWIND-NEXT: FunctionName: func3
53 # UNWIND-NEXT: FunctionName: func4
64 # UNWIND-NEXT: FunctionName: func5
73 # UNWIND-NEXT: FunctionName: func5
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DUseStdMinMaxCheck.cpp107 StringRef FunctionName, in createReplacement()
119 return (AssignLhsStr + " = " + FunctionName + in UseStdMinMaxCheck()
177 auto ReplaceAndDiagnose = [&](const llvm::StringRef FunctionName) { in check()
180 << FunctionName << BinaryOp->getOpcodeStr() in check()
185 FunctionName, BinaryOp)) in check()
86 createReplacement(const Expr * CondLhs,const Expr * CondRhs,const Expr * AssignLhs,const SourceManager & Source,const LangOptions & LO,StringRef FunctionName,const BinaryOperator * BO) createReplacement() argument
166 __anon3665c4ea0202(const llvm::StringRef FunctionName) check() argument
/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h56 StringRef FunctionName; member
60 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView()
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
310 void addInstantiation(StringRef FunctionName, unsigned Line,
/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMappingReader.h36 StringRef FunctionName; member
168 StringRef FunctionName; member
174 ProfileMappingRecord(CovMapVersion Version, StringRef FunctionName, in ProfileMappingRecord()
177 : Version(Version), FunctionName(FunctionName), in ProfileMappingRecord()

1234567