| /trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | PthreadLockChecker.cpp | 53 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 …]
|
| HD | MacOSXAPIChecker.cpp | 40 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()
|
| HD | RetainCountChecker.cpp | 799 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 …]
|
| HD | UnixAPIChecker.cpp | 337 StringRef FName = C.getCalleeName(FD); in checkPreStmt() local 338 if (FName.empty()) in checkPreStmt() 342 llvm::StringSwitch<SubChecker>(FName) in checkPreStmt()
|
| HD | MallocChecker.cpp | 1949 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/ |
| HD | CheckerContext.cpp | 77 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()
|
| HD | CallEvent.cpp | 365 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/ |
| HD | SampleProfile.cpp | 88 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/ |
| HD | MipsSEISelDAGToDAG.cpp | 151 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/ |
| HD | DebugInfo.cpp | 823 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/ |
| HD | GCOVProfiling.cpp | 401 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()
|
| HD | DataFlowSanitizer.cpp | 194 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/ |
| HD | IntrinsicLowering.cpp | 39 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/ |
| HD | NeonEmitter.cpp | 1929 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/ |
| HD | CommandLine.cpp | 609 static bool ExpandResponseFile(const char *FName, StringSaver &Saver, in ExpandResponseFile() argument 613 if (MemoryBuffer::getFile(FName, MemBuf)) in ExpandResponseFile()
|