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

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp42 StringRef FName) const;
46 StringRef FName) const;
66 StringRef FName) const {
87 StringRef TrimmedFName = FName.ltrim('_');
88 if (TrimmedFName != FName)
89 FName = TrimmedFName;
95 os << "Call to '" << FName << "' uses"; local
H A DUnixAPIChecker.cpp116 StringRef FName = C.getCalleeName(FD);
117 if (FName.empty())
120 if (FName == "open")
123 else if (FName == "openat")
126 else if (FName == "pthread_once")
472 StringRef FName = C.getCalleeName(FD);
473 if (FName.empty())
476 if (FName == "calloc")
479 else if (FName == "malloc")
482 else if (FName
[all...]
H A DMallocChecker.cpp3054 StringRef FName = II->getName();
3058 if (FName.endswith("NoCopy")) {
3077 if (FName == "funopen")
3084 if (FName == "setbuf" || FName =="setbuffer" ||
3085 FName == "setlinebuf" || FName == "setvbuf") {
3100 if (FName == "CGBitmapContextCreate" ||
3101 FName == "CGBitmapContextCreateWithData" ||
3102 FName
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp187 static bool isRetain(const FunctionDecl *FD, StringRef FName) { argument
188 return FName.startswith_lower("retain") || FName.endswith_lower("retain");
191 static bool isRelease(const FunctionDecl *FD, StringRef FName) { argument
192 return FName.startswith_lower("release") || FName.endswith_lower("release");
195 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { argument
196 return FName.startswith_lower("autorelease") ||
197 FName.endswith_lower("autorelease");
200 static bool isMakeCollectable(StringRef FName) { argument
236 getSummaryForOSObject(const FunctionDecl *FD, StringRef FName, QualType RetTy) argument
286 getSummaryForObjCOrCFObject( const FunctionDecl *FD, StringRef FName, QualType RetTy, const FunctionType *FT, bool &AllowAnnotations) argument
503 StringRef FName = II ? II->getName() : ""; local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp78 StringRef FName = II->getName();
79 if (FName.equals(Name))
82 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos))
85 if (FName.startswith("__") && FName.endswith("_chk") &&
86 FName.find(Name) != StringRef::npos)
H A DCallEvent.cpp631 StringRef FName = II->getName();
635 if (FName.endswith("NoCopy"))
640 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos))
645 if (FName.startswith("CF") || FName.startswith("CG")) {
646 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos ||
647 StrInStrNoCase(FName, "AddValue") != StringRef::npos ||
648 StrInStrNoCase(FName, "SetValue") != StringRef::npos ||
649 StrInStrNoCase(FName, "WithDat
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMachineFunction.cpp86 const GlobalValue *FName = &MF.getFunction(); local
88 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI);
92 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO);
115 const GlobalValue *FName = &MF.getFunction(); local
117 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI);
120 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp47 /// Dump the function profile for \p FName.
49 /// \param FName Name of the function to print.
51 void SampleProfileReader::dumpFunctionProfile(StringRef FName, argument
53 OS << "Function: " << FName << ": " << Profiles[FName];
64 /// Parse one line of \p Input, and update function name in \p FName,
69 static bool ParseHead(const StringRef &Input, StringRef &FName, argument
75 FName = Input.substr(0, n1);
217 StringRef FName; local
218 if (!ParseHead(*LineIt, FName, NumSample
232 StringRef FName; local
281 StringRef FName; local
[all...]
H A DSampleProfWriter.cpp291 std::error_code SampleProfileWriterBinary::writeNameIdx(StringRef FName) { argument
292 const auto &ret = NameTable.find(FName);
299 void SampleProfileWriterBinary::addName(StringRef FName) { argument
300 NameTable.insert(std::make_pair(FName, 0));
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_handlers_cxx.cpp177 const char *FName = FLoc.get()->info.function; local
178 if (!FName)
179 FName = "(unknown)";
183 << FName << Data->Type;
184 Diag(FLoc, DL_Note, ET, "%0 defined here") << FName;
H A Dubsan_handlers.cpp847 const char *FName = FLoc.get()->info.function; local
848 if (!FName)
849 FName = "(unknown)";
850 Diag(FLoc, DL_Note, ET, "%0 defined here") << FName;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
441 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { argument
442 Name = std::string(FName);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h128 std::error_code writeNameIdx(StringRef FName);
134 void addName(StringRef FName);
H A DSampleProf.h388 StringRef FName, uint64_t Num,
391 FName, Num, Weight);
386 addCalledTargetSamples(uint32_t LineOffset, uint32_t Discriminator, StringRef FName, uint64_t Num, uint64_t Weight = 1) argument
H A DSampleProfReader.h345 /// Print the profile for \p FName on stream \p OS.
346 void dumpFunctionProfile(StringRef FName, raw_ostream &OS = dbgs());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp1085 // FName must be an absolute path.
1087 StringRef FName, StringSaver &Saver, TokenizerCallback Tokenizer,
1090 assert(sys::path::is_absolute(FName));
1092 FS.getBufferForFile(FName);
1118 llvm::StringRef BasePath = llvm::sys::path::parent_path(FName);
1182 const char *FName = Arg + 1; local
1186 if (llvm::sys::path::is_relative(FName)) {
1191 llvm::sys::path::append(CurrDir, FName);
1192 FName = CurrDir.c_str();
1194 auto IsEquivalent = [FName,
1086 ExpandResponseFile( StringRef FName, StringSaver &Saver, TokenizerCallback Tokenizer, SmallVectorImpl<const char *> &NewArgv, bool MarkEOLs, bool RelativeNames, llvm::vfs::FileSystem &FS) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DRetainSummaryManager.h606 StringRef FName, QualType RetTy);
611 StringRef FName,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.cpp501 StringRef FName = A->getValue(); local
502 if (!llvm::sys::fs::exists(FName))
503 D.Diag(diag::err_drv_no_such_file) << FName;
506 Args.MakeArgString(Twine("-plugin-opt=sample-profile=") + FName));
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h481 std::string FName = mangle(F->getName(), DL);
484 LD.StubsMgr->findStub(FName, false).getAddress();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp543 StringRef FName = sys::path::filename(Filename);
546 return std::string(FName);
547 sys::path::append(CurPath, FName);
H A DDataFlowSanitizer.cpp391 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
714 StringRef FName) {
716 FunctionCallee C = Mod->getOrInsertFunction(FName, FTT);
713 getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName) argument
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp524 StringRef FName = Samples.getName(); local
525 MergeResult(Result, ProfileMap[FName].merge(Samples, Input.Weight));
528 handleMergeWriterError(errorCodeToError(EC), Input.Filename, FName); local
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3027 llvm::DIFile *FName = getOrCreateFile(FileLoc); local
3029 return DBuilder.createTempMacroFile(Parent, Line, FName);

Completed in 147 milliseconds