Home
last modified time | relevance | path

Searched refs:IsPositive (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DComplexDeinterleavingPass.cpp205 bool IsPositive; member
992 auto [V, IsPositive] = Worklist.back(); in identifyReassocNodes()
999 Addends.emplace_back(V, IsPositive); in identifyReassocNodes()
1011 Addends.emplace_back(I, IsPositive); in identifyReassocNodes()
1037 IsPositive = !IsPositive; in identifyReassocNodes()
1044 IsPositive = !IsPositive; in identifyReassocNodes()
1055 Addends.emplace_back(I, IsPositive); in identifyReassocNodes()
1243 if (RealMul.IsPositive && ImagMul.IsPositive) in identifyMultiplications()
1245 else if (!RealMul.IsPositive && !ImagMul.IsPositive) in identifyMultiplications()
1252 if (!RealMul.IsPositive && ImagMul.IsPositive) in identifyMultiplications()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DWarnings.cpp202 bool IsPositive = !Opt.consume_front("no-"); in ProcessWarningOptions() local
204 auto Severity = IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
218 EmitUnknownDiagWarning(Diags, Flavor, IsPositive ? "-R" : "-Rno-", in ProcessWarningOptions()
222 IsPositive ? diag::Severity::Remark in ProcessWarningOptions()
/freebsd-14.2/contrib/googletest/docs/reference/
H A Dassertions.md387 For example, for a Boolean function `IsPositive()` overloaded to take either a
392 EXPECT_PRED1(static_cast<bool (*)(int)>(IsPositive), 5);
393 EXPECT_PRED1(static_cast<bool (*)(double)>(IsPositive), 3.14);
396 Writing simply `EXPECT_PRED1(IsPositive, 5);` would result in a compiler error.
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-matchers-arithmetic_test.cc825 int IsPositive(double x) { return x > 0 ? 1 : 0; } in IsPositive() function
849 Matcher<double> m = Truly(IsPositive); in TEST()
884 Matcher<double> m = Truly(IsPositive); in TEST()
900 EXPECT_FALSE(ExplainMatchResult(Truly(IsPositive), -1, &listener)); in TEST()
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc830 static bool IsPositive(int n) { return n > 0; } in IsPositive() function
834 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works for an empty container. in TEST()
838 EXPECT_EQ(0, CountIf(v, IsPositive)); // Works when no value satisfies. in TEST()
843 EXPECT_EQ(2, CountIf(v, IsPositive)); in TEST()
2428 bool IsPositive(double x) { return x > 0; } in IsPositive() function
2444 EXPECT_PRED1((bool (*)(int))(IsPositive), 5); // NOLINT in TEST()
2445 ASSERT_PRED1((bool (*)(double))(IsPositive), 6.0); // NOLINT in TEST()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1978 bool IsPositive = in constantFoldCanonicalize() local
1984 APFloat::getZero(Src.getSemantics(), !IsPositive)); in constantFoldCanonicalize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp46380 bool IsPositive[2] = {false, false}; in canReduceVMulWidth() local
46385 IsPositive[i] = DAG.SignBitIsZero(Opd); in canReduceVMulWidth()
46388 bool AllPositive = IsPositive[0] && IsPositive[1]; in canReduceVMulWidth()