Searched refs:FName (Results 1 - 20 of 20) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp40 StringRef FName) const;
44 StringRef FName) const;
53 StringRef FName) const {
78 StringRef TrimmedFName = FName.ltrim("_");
79 if (TrimmedFName != FName)
80 FName = TrimmedFName;
85 os << "Call to '" << FName << "' uses"; local
H A DPthreadLockChecker.cpp85 StringRef FName = C.getCalleeName(CE); local
86 if (FName.empty())
92 if (FName == "pthread_mutex_lock" ||
93 FName == "pthread_rwlock_rdlock" ||
94 FName == "pthread_rwlock_wrlock")
97 else if (FName == "lck_mtx_lock" ||
98 FName == "lck_rw_lock_exclusive" ||
99 FName == "lck_rw_lock_shared")
102 else if (FName == "pthread_mutex_trylock" ||
103 FName
[all...]
H A DRetainCountChecker.cpp884 static bool isRetain(const FunctionDecl *FD, StringRef FName) { argument
885 return FName.endswith("Retain");
888 static bool isRelease(const FunctionDecl *FD, StringRef FName) { argument
889 return FName.endswith("Release");
892 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { argument
893 return FName.endswith("Autorelease");
896 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { argument
899 return FName.find("MakeCollectable") != StringRef::npos;
1053 StringRef FName = II->getName(); local
1057 FName
[all...]
H A DUnixAPIChecker.cpp356 StringRef FName = C.getCalleeName(FD);
357 if (FName.empty())
361 llvm::StringSwitch<SubChecker>(FName)
H A DMallocChecker.cpp2457 StringRef FName = II->getName();
2461 if (FName.endswith("NoCopy")) {
2480 if (FName == "funopen")
2487 if (FName == "setbuf" || FName =="setbuffer" ||
2488 FName == "setlinebuf" || FName == "setvbuf") {
2503 if (FName == "CGBitmapContextCreate" ||
2504 FName == "CGBitmapContextCreateWithData" ||
2505 FName
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp73 StringRef FName = II->getName();
74 if (FName.equals(Name))
77 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos))
80 if (FName.startswith("__") && FName.endswith("_chk") &&
81 FName.find(Name) != StringRef::npos)
H A DCallEvent.cpp375 StringRef FName = II->getName();
379 if (FName.endswith("NoCopy"))
384 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos))
389 if (FName.startswith("CF") || FName.startswith("CG")) {
390 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos ||
391 StrInStrNoCase(FName, "AddValue") != StringRef::npos ||
392 StrInStrNoCase(FName, "SetValue") != StringRef::npos ||
393 StrInStrNoCase(FName, "WithDat
[all...]
/freebsd-11.0-release/contrib/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h34 /// Write sample profiles in \p S for function \p FName.
37 virtual std::error_code write(StringRef FName, const FunctionSamples &S) = 0;
47 StringRef FName = I.first(); local
49 if (std::error_code EC = write(FName, Profile))
83 std::error_code write(StringRef FName, const FunctionSamples &S) override;
116 std::error_code writeNameIdx(StringRef FName);
117 std::error_code writeBody(StringRef FName, const FunctionSamples &S);
120 void addName(StringRef FName);
H A DSampleProf.h224 std::string FName, uint64_t Num,
227 FName, Num, Weight);
222 addCalledTargetSamples(uint32_t LineOffset, uint32_t Discriminator, std::string FName, uint64_t Num, uint64_t Weight = 1) argument
H A DSampleProfReader.h245 /// \brief Print the profile for \p FName on stream \p OS.
246 void dumpFunctionProfile(StringRef FName, raw_ostream &OS = dbgs());
/freebsd-11.0-release/contrib/llvm/lib/ProfileData/
H A DSampleProfWriter.cpp40 std::error_code SampleProfileWriterText::write(StringRef FName, argument
44 OS << FName << ":" << S.getTotalSamples();
85 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { argument
86 const auto &ret = NameTable.find(FName);
93 void SampleProfileWriterBinary::addName(StringRef FName) { argument
95 NameTable.insert(std::make_pair(FName, NextIdx));
139 std::error_code SampleProfileWriterBinary::writeBody(StringRef FName, argument
143 if (std::error_code EC = writeNameIdx(FName))
183 std::error_code SampleProfileWriterBinary::write(StringRef FName, argument
186 return writeBody(FName,
[all...]
H A DSampleProfReader.cpp35 /// \brief Dump the function profile for \p FName.
37 /// \param FName Name of the function to print.
39 void SampleProfileReader::dumpFunctionProfile(StringRef FName, argument
41 OS << "Function: " << FName << ": " << Profiles[FName];
52 /// Parse one line of \p Input, and update function name in \p FName,
57 static bool ParseHead(const StringRef &Input, StringRef &FName, argument
63 FName = Input.substr(0, n1);
175 StringRef FName; local
176 if (!ParseHead(*LineIt, FName, NumSample
189 StringRef FName; local
235 StringRef FName; local
[all...]
/freebsd-11.0-release/contrib/compiler-rt/lib/ubsan/
H A Dubsan_handlers.cc450 const char *FName = FLoc.get()->info.function; local
451 if (!FName)
452 FName = "(unknown)";
456 << FName << Data->Type;
457 Diag(FLoc, DL_Note, "%0 defined here") << FName;
541 const char *FName = FLoc.get()->info.function; local
542 if (!FName)
543 FName = "(unknown)";
544 Diag(FLoc, DL_Note, "%0 defined here") << FName;
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/
H A DMipsSEISelDAGToDAG.cpp155 const GlobalValue *FName = MF.getFunction(); local
157 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI);
161 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO);
184 const GlobalValue *FName = MF.getFunction(); local
186 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI);
189 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO);
/freebsd-11.0-release/contrib/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp181 StringRef FName = I->first(); local
183 sampleprof_error Result = ProfileMap[FName].merge(Samples, Input.Weight);
186 handleMergeWriterError(EC, Input.Filename, FName);
/freebsd-11.0-release/contrib/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h323 std::string FName = mangle(F->getName(), DL);
324 auto StubSym = LMResources.StubsMgr->findStub(FName, false);
/freebsd-11.0-release/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp39 const char *FName,
44 EnsureFunctionExists(M, FName, Fn.arg_begin(), Fn.arg_end(),
38 EnsureFPIntrinsicsExist(Module &M, Function &Fn, const char *FName, const char *DName, const char *LDName) argument
/freebsd-11.0-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp442 StringRef FName = sys::path::filename(Filename); local
444 if (sys::fs::current_path(CurPath)) return FName;
445 sys::path::append(CurPath, FName);
H A DDataFlowSanitizer.cpp272 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
572 StringRef FName) {
574 Constant *C = Mod->getOrInsertFunction(FName, FTT);
571 getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName) argument
/freebsd-11.0-release/contrib/llvm/lib/Support/
H A DCommandLine.cpp702 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, argument
707 MemoryBuffer::getFile(FName);

Completed in 249 milliseconds