Home
last modified time | relevance | path

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

12345

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp100 const auto &FunctionName = safeGetName(F); in isCtorOfRefCounted() local
102 return FunctionName == "Ref" || FunctionName == "makeRef" in isCtorOfRefCounted()
104 || FunctionName == "RefPtr" || FunctionName == "makeRefPtr" in isCtorOfRefCounted()
106 || FunctionName == "UniqueRef" || FunctionName == "makeUniqueRef" || in isCtorOfRefCounted()
107 FunctionName == "makeUniqueRefWithoutFastMallocCheck" in isCtorOfRefCounted()
109 || FunctionName == "String" || FunctionName == "AtomString" || in isCtorOfRefCounted()
110 FunctionName == "UniqueString" in isCtorOfRefCounted()
112 || FunctionName == "Identifier"; in isCtorOfRefCounted()
187 const auto FunctionName = safeGetName(F); in isPtrConversion() local
188 if (FunctionName == "getPtr" || FunctionName == "WeakPtr" || in isPtrConversion()
[all …]
/openbsd-src/gnu/llvm/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()
H A DNoSanitizeList.cpp41 StringRef FunctionName) const { in containsFunction()
42 return SSCL->inSection(Mask, "fun", FunctionName); in containsFunction()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp168 io.mapRequired("Function Name", P.FunctionName); in mapping()
196 void InstrProfCorrelatorImpl<IntPtrT>::addProbe(StringRef FunctionName, in addProbe() argument
205 maybeSwap<uint64_t>(IndexedInstrProf::ComputeHash(FunctionName)), in addProbe()
216 NamesVec.push_back(FunctionName.str()); in addProbe()
267 std::optional<const char *> FunctionName; in correlateProfileDataImpl() local
289 AnnotationFormValue->getAsCString().moveInto(FunctionName)) in correlateProfileDataImpl()
299 if (!FunctionName || !CFGHash || !CounterPtr || !NumCounters) { in correlateProfileDataImpl()
301 << FunctionName << "\n\tCFGHash: " << CFGHash in correlateProfileDataImpl()
312 << FunctionName << "\n\tExpected: [0x" in correlateProfileDataImpl()
320 LLVM_DEBUG(dbgs() << "Could not find address of " << *FunctionName in correlateProfileDataImpl()
[all …]
H A DMemProf.cpp73 GlobalValue::GUID IndexedMemProfRecord::getGUID(const StringRef FunctionName) { in getGUID() argument
74 const auto Pos = FunctionName.find(".llvm."); in getGUID()
81 return Function::getGUID(FunctionName.take_front(Pos)); in getGUID()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/
H A DDIContext.h38 std::string FunctionName; member
50 : FileName(BadString), FunctionName(BadString), StartFileName(BadString) { in DILineInfo()
55 FileName == RHS.FileName && FunctionName == RHS.FunctionName &&
63 return std::tie(FileName, FunctionName, StartFileName, Line, Column,
65 std::tie(RHS.FileName, RHS.FunctionName, RHS.StartFileName, RHS.Line,
75 if (FunctionName != BadString) in dump()
76 OS << "function '" << FunctionName << "', "; in dump()
125 std::string FunctionName; member
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Remarks/
H A DRemark.h80 StringRef FunctionName; member
159 LHS.FunctionName == RHS.FunctionName && LHS.Loc == RHS.Loc &&
169 LHS.FunctionName, LHS.Loc, LHS.Hotness, LHS.Args) <
171 RHS.FunctionName, RHS.Loc, RHS.Hotness, RHS.Args);
/openbsd-src/gnu/llvm/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()
174 printFunctionName(Info.FunctionName, Inlined); in print()
223 if (L.FunctionName.empty()) in print()
226 OS << L.FunctionName; in print()
302 {{"FunctionName", LineInfo.FunctionName != DILineInfo::BadString in print()
303 ? LineInfo.FunctionName in print()
351 {{"FunctionName", Local.FunctionName}, in print()
H A DSymbolizableObjectFile.cpp285 std::string FunctionName, FileName; in symbolizeCode() local
287 if (getNameFromSymbolTable(ModuleOffset.Address, FunctionName, Start, Size, in symbolizeCode()
289 LineInfo.FunctionName = FunctionName; in symbolizeCode()
313 std::string FunctionName, FileName; in symbolizeInlinedCode() local
315 if (getNameFromSymbolTable(ModuleOffset.Address, FunctionName, Start, Size, in symbolizeInlinedCode()
319 LI->FunctionName = FunctionName; in symbolizeInlinedCode()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
279 void addInstantiation(StringRef FunctionName, unsigned Line,
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h363 #define AST_TYPE_TRAVERSE_MATCHER_DECL(MatcherName, FunctionName, \ argument
367 static QualType (T::*value())() const { return &T::FunctionName; } \
391 #define AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName, ReturnTypesF) \ argument
394 static QualType (T::*value())() const { return &T::FunctionName; } \
403 #define AST_TYPELOC_TRAVERSE_MATCHER_DECL(MatcherName, FunctionName, \ argument
407 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \
417 AST_TYPE_TRAVERSE_MATCHER_DECL(MatcherName, FunctionName##Type, ReturnTypesF)
429 #define AST_TYPELOC_TRAVERSE_MATCHER(MatcherName, FunctionName, ReturnTypesF) \ argument
432 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \
440 AST_TYPE_TRAVERSE_MATCHER(MatcherName, FunctionName##Type, ReturnTypesF)
/openbsd-src/gnu/llvm/llvm/tools/sancov/
H A Dsancov.cpp322 PointsByFn[Loc.FunctionName].push_back(PointPtr); in operator <<()
329 std::string FunctionName = P.first; in operator <<() local
332 W.attributeObject(FunctionName, [&] { in operator <<()
335 if (Loc.FileName != FileName || Loc.FunctionName != FunctionName) in operator <<()
416 auto FunctionName = parseScalarString(FunctionKVNode.getKey()); in read() local
437 LineInfo.FunctionName = FunctionName; in read()
492 DefaultIgnorelist->inSection("sancov", "fun", I.FunctionName)) in isIgnorelisted()
498 UserIgnorelist->inSection("sancov", "fun", I.FunctionName)) in isIgnorelisted()
918 return std::tie(FileName, FunctionName) < in operator <()
919 std::tie(RHS.FileName, RHS.FunctionName); in operator <()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DSignals.cpp236 StringRef FunctionName = *CurLine++; in printSymbolizedStackTrace() local
237 if (FunctionName.empty()) in printSymbolizedStackTrace()
240 if (!FunctionName.startswith("??")) in printSymbolizedStackTrace()
241 OS << FunctionName << ' '; in printSymbolizedStackTrace()
/openbsd-src/gnu/llvm/llvm/tools/llvm-xray/
H A Dfunc-id-helper.cpp40 if (DI.FunctionName == DILineInfo::BadString) in SymbolOrNumber()
43 F << DI.FunctionName; in SymbolOrNumber()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DPointerSortingChecker.cpp57 decltype(auto) callsName(const char *FunctionName) { in callsName() argument
58 return callee(functionDecl(hasName(FunctionName))); in callsName()
/openbsd-src/gnu/llvm/llvm/lib/Remarks/
H A DYAMLRemarkSerializer.cpp26 std::optional<RemarkLocation> RL, T FunctionName, in mapRemarkHeader() argument
32 io.mapRequired("Function", FunctionName); in mapRemarkHeader()
67 unsigned FunctionID = StrTab.add(Remark->FunctionName).first; in mapping()
72 Remark->FunctionName, Remark->Hotness, Remark->Args); in mapping()
/openbsd-src/gnu/llvm/llvm/include/llvm/XRay/
H A DInstrumentationMap.h63 std::string FunctionName; member
125 IO.mapOptional("function-name", Entry.FunctionName);
/openbsd-src/gnu/llvm/llvm/tools/llvm-link/
H A Dllvm-link.cpp333 std::string FunctionName = Import.substr(0, Idx); in importFunctions() local
345 Function *F = SrcModule.getFunction(FunctionName); in importFunctions()
348 << FunctionName << " from " << FileName << "\n"; in importFunctions()
355 errs() << "Ignoring import request for weak-any function " << FunctionName in importFunctions()
361 errs() << "Importing " << FunctionName << " from " << FileName << "\n"; in importFunctions()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp96 StringRef FunctionName = Call.getCalleeIdentifier()->getName(); in REGISTER_SET_WITH_PROGRAMSTATE() local
105 C.getNoteTag([SymbolicEnvPtrRegion, FunctionName]( in REGISTER_SET_WITH_PROGRAMSTATE()
109 Out << '\'' << FunctionName in REGISTER_SET_WITH_PROGRAMSTATE()
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DSampleProfReader.h288 void insert(StringRef FunctionName) { Remappings->insert(FunctionName); } in insert() argument
292 bool exist(StringRef FunctionName) { in exist() argument
293 return Remappings->lookup(FunctionName); in exist()
298 std::optional<StringRef> lookUpNameInProfile(StringRef FunctionName);
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DSourcePrinter.cpp437 bool PrintFunctionName = LineInfo.FunctionName != DILineInfo::BadString && in printLines()
438 LineInfo.FunctionName != OldLineInfo.FunctionName; in printLines()
440 OS << Delimiter << LineInfo.FunctionName; in printLines()
443 if (!StringRef(LineInfo.FunctionName).endswith("()")) in printLines()

12345