Home
last modified time | relevance | path

Searched refs:IsSafe (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DNotNullTerminatedResultCheck.cpp438 static void renameMemcpy(StringRef Name, bool IsCopy, bool IsSafe, in renameMemcpy() argument
444 NewFuncName += IsSafe ? "_s" : ""; in renameMemcpy()
875 bool IsSafe = UseSafeFunctions && IsOverflows && isKnownDest(Result) && in memcpyFix() local
879 IsSafe && getLangOpts().CPlusPlus && in memcpyFix()
882 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpyFix()
884 if (IsSafe && !IsDestLengthNotRequired) in memcpyFix()
890 if (!IsCopy && !IsSafe) in memcpyFix()
904 bool IsSafe = IsOverflows; in memcpy_sFix() local
906 renameMemcpy(Name, IsCopy, IsSafe, Result, Diag); in memcpy_sFix()
908 if (!IsSafe || (IsSafe && RemoveDestLength)) in memcpy_sFix()
[all …]
/external/llvm/lib/CodeGen/
DBranchFolding.cpp1816 bool IsSafe = true; in HoistCommonCodeInSuccs() local
1820 IsSafe = false; in HoistCommonCodeInSuccs()
1832 IsSafe = false; in HoistCommonCodeInSuccs()
1848 IsSafe = false; in HoistCommonCodeInSuccs()
1854 IsSafe = false; in HoistCommonCodeInSuccs()
1864 if (!IsSafe) in HoistCommonCodeInSuccs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp1980 bool IsSafe = true; in HoistCommonCodeInSuccs() local
1984 IsSafe = false; in HoistCommonCodeInSuccs()
1996 IsSafe = false; in HoistCommonCodeInSuccs()
2012 IsSafe = false; in HoistCommonCodeInSuccs()
2018 IsSafe = false; in HoistCommonCodeInSuccs()
2028 if (!IsSafe) in HoistCommonCodeInSuccs()
/external/llvm-project/llvm/lib/CodeGen/
DBranchFolding.cpp1934 bool IsSafe = true; in HoistCommonCodeInSuccs() local
1938 IsSafe = false; in HoistCommonCodeInSuccs()
1950 IsSafe = false; in HoistCommonCodeInSuccs()
1966 IsSafe = false; in HoistCommonCodeInSuccs()
1972 IsSafe = false; in HoistCommonCodeInSuccs()
1982 if (!IsSafe) in HoistCommonCodeInSuccs()
/external/eigen/Eigen/src/Core/util/
DXprHelper.h59 bool IsSafe = NumTraits<T>::IsInteger || !NumTraits<PromotedType>::IsInteger>
/external/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.h1124 static bool IsSafe(const Object &object) { return true; } in IsSafe() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp3699 bool IsSafe = false; in optimizeCompareInstr() local
3709 IsSafe = true; in optimizeCompareInstr()
3776 IsSafe = true; in optimizeCompareInstr()
3783 if ((IsCmpZero || IsSwapped) && !IsSafe) { in optimizeCompareInstr()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.cpp4248 bool IsSafe = false; in optimizeCompareInstr() local
4258 IsSafe = true; in optimizeCompareInstr()
4325 IsSafe = true; in optimizeCompareInstr()
4332 if ((IsCmpZero || IsSwapped) && !IsSafe) { in optimizeCompareInstr()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5191 bool IsSafe = false; in optimizeCompareInstr() local
5201 IsSafe = true; in optimizeCompareInstr()
5276 IsSafe = true; in optimizeCompareInstr()
5283 if ((IsCmpZero || IsSwapped) && !IsSafe) { in optimizeCompareInstr()
/external/clang/lib/Sema/
DSemaExpr.cpp11792 bool IsSafe = LangOpts.CPlusPlus11? CRD->isStandardLayout() : CRD->isPOD(); in BuildBuiltinOffsetOf() local
11797 if (!IsSafe && !DidWarnAboutNonPOD && in BuildBuiltinOffsetOf()
/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp15019 bool IsSafe = LangOpts.CPlusPlus11? CRD->isStandardLayout() : CRD->isPOD(); in BuildBuiltinOffsetOf() local
15024 if (!IsSafe && !DidWarnAboutNonPOD && in BuildBuiltinOffsetOf()