Home
last modified time | relevance | path

Searched refs:FName (Results 1 – 15 of 15) sorted by relevance

/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDPthreadLockChecker.cpp53 StringRef FName = C.getCalleeName(CE); in REGISTER_LIST_WITH_PROGRAMSTATE() local
54 if (FName.empty()) in REGISTER_LIST_WITH_PROGRAMSTATE()
60 if (FName == "pthread_mutex_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
61 FName == "pthread_rwlock_rdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
62 FName == "pthread_rwlock_wrlock") in REGISTER_LIST_WITH_PROGRAMSTATE()
65 else if (FName == "lck_mtx_lock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
66 FName == "lck_rw_lock_exclusive" || in REGISTER_LIST_WITH_PROGRAMSTATE()
67 FName == "lck_rw_lock_shared") in REGISTER_LIST_WITH_PROGRAMSTATE()
70 else if (FName == "pthread_mutex_trylock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
71 FName == "pthread_rwlock_tryrdlock" || in REGISTER_LIST_WITH_PROGRAMSTATE()
[all …]
HDMacOSXAPIChecker.cpp40 StringRef FName) const;
44 StringRef FName) const;
53 StringRef FName) const { in CheckDispatchOnce()
78 StringRef TrimmedFName = FName.ltrim("_"); in CheckDispatchOnce()
79 if (TrimmedFName != FName) in CheckDispatchOnce()
80 FName = TrimmedFName; in CheckDispatchOnce()
85 os << "Call to '" << FName << "' uses"; in CheckDispatchOnce()
HDRetainCountChecker.cpp799 static bool isRetain(const FunctionDecl *FD, StringRef FName) { in isRetain() argument
800 return FName.endswith("Retain"); in isRetain()
803 static bool isRelease(const FunctionDecl *FD, StringRef FName) { in isRelease() argument
804 return FName.endswith("Release"); in isRelease()
807 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { in isAutorelease() argument
808 return FName.endswith("Autorelease"); in isAutorelease()
811 static bool isMakeCollectable(const FunctionDecl *FD, StringRef FName) { in isMakeCollectable() argument
814 return FName.find("MakeCollectable") != StringRef::npos; in isMakeCollectable()
967 StringRef FName = II->getName(); in getFunctionSummary() local
971 FName = FName.substr(FName.find_first_not_of('_')); in getFunctionSummary()
[all …]
HDUnixAPIChecker.cpp337 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local
338 if (FName.empty()) in checkPreStmt()
342 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
HDMallocChecker.cpp1949 StringRef FName = II->getName(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
1953 if (FName.endswith("NoCopy")) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1972 if (FName == "funopen") in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1979 if (FName == "setbuf" || FName =="setbuffer" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1980 FName == "setlinebuf" || FName == "setvbuf") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1995 if (FName == "CGBitmapContextCreate" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1996 FName == "CGBitmapContextCreateWithData" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1997 FName == "CVPixelBufferCreateWithBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1998 FName == "CVPixelBufferCreateWithPlanarBytes" || in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
1999 FName == "OSAtomicEnqueue") { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDCheckerContext.cpp77 StringRef FName = II->getName(); in isCLibraryFunction() local
78 if (FName.equals(Name)) in isCLibraryFunction()
81 if (FName.startswith("__inline") && (FName.find(Name) != StringRef::npos)) in isCLibraryFunction()
84 if (FName.startswith("__") && FName.endswith("_chk") && in isCLibraryFunction()
85 FName.find(Name) != StringRef::npos) in isCLibraryFunction()
HDCallEvent.cpp365 StringRef FName = II->getName(); in argumentsMayEscape() local
369 if (FName.endswith("NoCopy")) in argumentsMayEscape()
374 if (FName.startswith("NS") && (FName.find("Insert") != StringRef::npos)) in argumentsMayEscape()
379 if (FName.startswith("CF") || FName.startswith("CG")) { in argumentsMayEscape()
380 return StrInStrNoCase(FName, "InsertValue") != StringRef::npos || in argumentsMayEscape()
381 StrInStrNoCase(FName, "AddValue") != StringRef::npos || in argumentsMayEscape()
382 StrInStrNoCase(FName, "SetValue") != StringRef::npos || in argumentsMayEscape()
383 StrInStrNoCase(FName, "WithData") != StringRef::npos || in argumentsMayEscape()
384 StrInStrNoCase(FName, "AppendValue") != StringRef::npos || in argumentsMayEscape()
385 StrInStrNoCase(FName, "SetAttribute") != StringRef::npos; in argumentsMayEscape()
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDSampleProfile.cpp88 void printFunctionProfile(raw_ostream &OS, StringRef FName);
89 void dumpFunctionProfile(StringRef FName);
242 void SampleProfile::printFunctionProfile(raw_ostream &OS, StringRef FName) { in printFunctionProfile() argument
243 FunctionProfile FProfile = Profiles[FName]; in printFunctionProfile()
244 OS << "Function: " << FName << ", " << FProfile.TotalSamples << ", " in printFunctionProfile()
258 void SampleProfile::dumpFunctionProfile(StringRef FName) { in dumpFunctionProfile() argument
259 printFunctionProfile(dbgs(), FName); in dumpFunctionProfile()
312 StringRef FName = Loader.readLine(); in loadText() local
313 FunctionProfile &FProfile = Profiles[FName]; in loadText()
331 StringRef FName = Matches[1]; in loadText() local
[all …]
/trueos/contrib/llvm/lib/Target/Mips/
HDMipsSEISelDAGToDAG.cpp151 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
153 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
157 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
180 const GlobalValue *FName = MF.getFunction(); in initGlobalBaseReg() local
182 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_HI); in initGlobalBaseReg()
185 .addGlobalAddress(FName, 0, MipsII::MO_GPOFF_LO); in initGlobalBaseReg()
/trueos/contrib/llvm/lib/IR/
HDDebugInfo.cpp823 StringRef FName = in fixupSubprogramName() local
825 FName = Function::getRealLinkageName(FName); in fixupSubprogramName()
828 Out.reserve(FName.size() + Prefix.size()); in fixupSubprogramName()
832 for (size_t i = 0, e = FName.size(); i < e; ++i) { in fixupSubprogramName()
833 char C = FName[i]; in fixupSubprogramName()
/trueos/contrib/llvm/lib/Transforms/Instrumentation/
HDGCOVProfiling.cpp401 StringRef FName = sys::path::filename(Filename); in mangleName() local
403 if (sys::fs::current_path(CurPath)) return FName; in mangleName()
404 sys::path::append(CurPath, FName.str()); in mangleName()
HDDataFlowSanitizer.cpp194 Constant *getOrBuildTrampolineFunction(FunctionType *FT, StringRef FName);
447 StringRef FName) { in getOrBuildTrampolineFunction() argument
449 Constant *C = Mod->getOrInsertFunction(FName, FTT); in getOrBuildTrampolineFunction()
/trueos/contrib/llvm/lib/CodeGen/
HDIntrinsicLowering.cpp39 const char *FName, in EnsureFPIntrinsicsExist() argument
44 EnsureFunctionExists(M, FName, Fn->arg_begin(), Fn->arg_end(), in EnsureFPIntrinsicsExist()
/trueos/contrib/llvm/tools/clang/utils/TableGen/
HDNeonEmitter.cpp1929 std::string FName = (nElts == 1) ? "vcvt_f32" : "vcvt_f16"; in GenOpString() local
1931 MangleName(FName, typestr, ClassS) + "(__b);\n " + in GenOpString()
1939 std::string FName = (nElts == 2) ? "vcvt_f64" : "vcvt_f32"; in GenOpString() local
1941 ";\n return " + MangleName(FName, typestr, ClassS) + "(__a1);"; in GenOpString()
/trueos/contrib/llvm/lib/Support/
HDCommandLine.cpp609 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, in ExpandResponseFile() argument
613 if (MemoryBuffer::getFile(FName, MemBuf)) in ExpandResponseFile()