/external/tensorflow/tensorflow/compiler/xla/ |
D | comparison_util.cc | 22 std::string ComparisonDirectionToString(Comparison::Direction direction) { in ComparisonDirectionToString() 24 case Comparison::Direction::kEq: in ComparisonDirectionToString() 26 case Comparison::Direction::kNe: in ComparisonDirectionToString() 28 case Comparison::Direction::kGe: in ComparisonDirectionToString() 30 case Comparison::Direction::kGt: in ComparisonDirectionToString() 32 case Comparison::Direction::kLe: in ComparisonDirectionToString() 34 case Comparison::Direction::kLt: in ComparisonDirectionToString() 41 StatusOr<Comparison::Direction> StringToComparisonDirection( in StringToComparisonDirection() 44 new absl::flat_hash_map<string, Comparison::Direction>({ in StringToComparisonDirection() 45 {"EQ", Comparison::Direction::kEq}, in StringToComparisonDirection() [all …]
|
D | comparison_util.h | 27 class Comparison { 47 Comparison() = delete; 48 explicit Comparison(Direction dir, Type type) : dir_(dir), type_(type) {} in Comparison() function 49 explicit Comparison(Direction dir, PrimitiveType type); 75 Comparison Converse() const; 79 absl::optional<Comparison> Inverse() const; 116 inline std::ostream& operator<<(std::ostream& os, const Comparison& cmp) { 119 string ComparisonDirectionToString(Comparison::Direction direction); 120 std::string ComparisonTypeToString(Comparison::Type type); 122 StatusOr<Comparison::Direction> StringToComparisonDirection( [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | comparisons.cc | 124 void Comparison(const TfLiteTensor* input1, const TfLiteTensor* input2, in Comparison() function 166 Comparison<bool, reference_ops::EqualFn>(input1, input2, output, in EqualEval() 170 Comparison<float, reference_ops::EqualFn>(input1, input2, output, in EqualEval() 174 Comparison<int32_t, reference_ops::EqualFn>(input1, input2, output, in EqualEval() 178 Comparison<int64_t, reference_ops::EqualFn>(input1, input2, output, in EqualEval() 216 Comparison<bool, reference_ops::NotEqualFn>(input1, input2, output, in NotEqualEval() 220 Comparison<float, reference_ops::NotEqualFn>(input1, input2, output, in NotEqualEval() 224 Comparison<int32_t, reference_ops::NotEqualFn>(input1, input2, output, in NotEqualEval() 228 Comparison<int64_t, reference_ops::NotEqualFn>(input1, input2, output, in NotEqualEval() 266 Comparison<float, reference_ops::GreaterFn>(input1, input2, output, in GreaterEval() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 395 BCECmpBlock &&Comparison) { in enqueueBlock() argument 396 LLVM_DEBUG(dbgs() << "Block '" << Comparison.BB->getName() in enqueueBlock() 397 << "': Found cmp of " << Comparison.SizeBits() in enqueueBlock() 398 << " bits between " << Comparison.Lhs().BaseId << " + " in enqueueBlock() 399 << Comparison.Lhs().Offset << " and " in enqueueBlock() 400 << Comparison.Rhs().BaseId << " + " in enqueueBlock() 401 << Comparison.Rhs().Offset << "\n"); in enqueueBlock() 403 Comparisons.push_back(std::move(Comparison)); in enqueueBlock() 446 BCECmpBlock Comparison = visitCmpBlock(Phi.getIncomingValueForBlock(Block), in BCECmpChain() local 448 Comparison.BB = Block; in BCECmpChain() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | MergeICmps.cpp | 395 BCECmpBlock &&Comparison) { in enqueueBlock() argument 396 LLVM_DEBUG(dbgs() << "Block '" << Comparison.BB->getName() in enqueueBlock() 397 << "': Found cmp of " << Comparison.SizeBits() in enqueueBlock() 398 << " bits between " << Comparison.Lhs().BaseId << " + " in enqueueBlock() 399 << Comparison.Lhs().Offset << " and " in enqueueBlock() 400 << Comparison.Rhs().BaseId << " + " in enqueueBlock() 401 << Comparison.Rhs().Offset << "\n"); in enqueueBlock() 403 Comparisons.push_back(std::move(Comparison)); in enqueueBlock() 446 BCECmpBlock Comparison = visitCmpBlock(Phi.getIncomingValueForBlock(Block), in BCECmpChain() local 448 Comparison.BB = Block; in BCECmpChain() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 130 struct Comparison { struct 187 Comparison::Kind getComparisonKind(unsigned CondOpc, 207 int64_t IVBump, Comparison::Kind Cmp) const; 507 HexagonHardwareLoops::Comparison::Kind 512 Comparison::Kind Cmp = (Comparison::Kind)0; in getComparisonKind() 517 Cmp = Comparison::EQ; in getComparisonKind() 521 Cmp = Comparison::NE; in getComparisonKind() 524 Cmp = Comparison::LTs; in getComparisonKind() 527 Cmp = Comparison::LTu; in getComparisonKind() 531 Cmp = Comparison::LEs; in getComparisonKind() [all …]
|
D | HexagonConstPropagation.cpp | 328 struct Comparison { struct in __anon4e8e348b0111::MachineConstEvaluator 1125 uint32_t NegCmp = Comparison::negate(Cmp); in evaluateCMPrr() 1188 uint32_t NegCmp = Comparison::negate(Cmp); in evaluateCMPrp() 1207 if (Cmp == Comparison::NE) { in evaluateCMPii() 1211 if (Cmp == Comparison::EQ) { in evaluateCMPii() 1215 if (Cmp & Comparison::EQ) { in evaluateCMPii() 1219 assert((Cmp & (Comparison::L | Comparison::G)) && "Malformed comparison"); in evaluateCMPii() 1225 if (Cmp & Comparison::U) { in evaluateCMPii() 1228 if (Cmp & Comparison::L) in evaluateCMPii() 1230 else if (Cmp & Comparison::G) in evaluateCMPii() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 130 struct Comparison { struct 187 Comparison::Kind getComparisonKind(unsigned CondOpc, 207 int64_t IVBump, Comparison::Kind Cmp) const; 507 HexagonHardwareLoops::Comparison::Kind 512 Comparison::Kind Cmp = (Comparison::Kind)0; in getComparisonKind() 517 Cmp = Comparison::EQ; in getComparisonKind() 521 Cmp = Comparison::NE; in getComparisonKind() 524 Cmp = Comparison::LTs; in getComparisonKind() 527 Cmp = Comparison::LTu; in getComparisonKind() 531 Cmp = Comparison::LEs; in getComparisonKind() [all …]
|
D | HexagonConstPropagation.cpp | 329 struct Comparison { struct in __anoned9efeff0111::MachineConstEvaluator 1120 uint32_t NegCmp = Comparison::negate(Cmp); in evaluateCMPrr() 1183 uint32_t NegCmp = Comparison::negate(Cmp); in evaluateCMPrp() 1202 if (Cmp == Comparison::NE) { in evaluateCMPii() 1206 if (Cmp == Comparison::EQ) { in evaluateCMPii() 1210 if (Cmp & Comparison::EQ) { in evaluateCMPii() 1214 assert((Cmp & (Comparison::L | Comparison::G)) && "Malformed comparison"); in evaluateCMPii() 1220 if (Cmp & Comparison::U) { in evaluateCMPii() 1223 if (Cmp & Comparison::L) in evaluateCMPii() 1225 else if (Cmp & Comparison::G) in evaluateCMPii() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 102 struct Comparison { struct 160 Comparison::Kind getComparisonKind(unsigned CondOpc, 180 int64_t IVBump, Comparison::Kind Cmp) const; 488 HexagonHardwareLoops::Comparison::Kind 493 Comparison::Kind Cmp = (Comparison::Kind)0; in getComparisonKind() 498 Cmp = Comparison::EQ; in getComparisonKind() 502 Cmp = Comparison::NE; in getComparisonKind() 505 Cmp = Comparison::LEs; in getComparisonKind() 508 Cmp = Comparison::LEu; in getComparisonKind() 513 Cmp = Comparison::GTu; in getComparisonKind() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 273 int Comparison = APSInt::compareValues(ValueLHS, ValueRHS); in rangeSubsumesRange() local 276 return OpcodeRHS == BO_EQ && Comparison == 0; in rangeSubsumesRange() 278 return (OpcodeRHS == BO_NE && Comparison == 0) || in rangeSubsumesRange() 279 (OpcodeRHS == BO_EQ && Comparison != 0) || in rangeSubsumesRange() 280 (OpcodeRHS == BO_LT && Comparison >= 0) || in rangeSubsumesRange() 281 (OpcodeRHS == BO_LE && Comparison > 0) || in rangeSubsumesRange() 282 (OpcodeRHS == BO_GT && Comparison <= 0) || in rangeSubsumesRange() 283 (OpcodeRHS == BO_GE && Comparison < 0); in rangeSubsumesRange() 286 return ((OpcodeRHS == BO_LT && Comparison >= 0) || in rangeSubsumesRange() 287 (OpcodeRHS == BO_LE && Comparison > 0) || in rangeSubsumesRange() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | comparison_expander.cc | 68 if (compare->type() == Comparison::Type::kFloatTotalOrder && in InstructionMatchesPattern() 81 CHECK(compare->type() == Comparison::Type::kFloatTotalOrder); in ExpandInstruction() 127 Comparison::Type::kSigned)); in ExpandInstruction()
|
/external/llvm-project/llvm/test/CodeGen/NVPTX/ |
D | compare-int.ll | 290 ; Comparison happens in 16-bit 300 ; Comparison happens in 16-bit 310 ; Comparison happens in 16-bit 320 ; Comparison happens in 16-bit 330 ; Comparison happens in 16-bit 340 ; Comparison happens in 16-bit 350 ; Comparison happens in 16-bit 360 ; Comparison happens in 16-bit 370 ; Comparison happens in 16-bit 380 ; Comparison happens in 16-bit
|
/external/llvm/test/CodeGen/NVPTX/ |
D | compare-int.ll | 290 ; Comparison happens in 16-bit 300 ; Comparison happens in 16-bit 310 ; Comparison happens in 16-bit 320 ; Comparison happens in 16-bit 330 ; Comparison happens in 16-bit 340 ; Comparison happens in 16-bit 350 ; Comparison happens in 16-bit 360 ; Comparison happens in 16-bit 370 ; Comparison happens in 16-bit 380 ; Comparison happens in 16-bit
|
/external/llvm-project/llvm/test/Transforms/Util/PredicateInfo/ |
D | unnamed-types.ll | 10 ; CHECK: branch predicate info { TrueEdge: 1 Comparison: %cmp1 = icmp ne %0* %arg, null Edge: [lab… 15 ; CHECK-NEXT: branch predicate info { TrueEdge: 0 Comparison: %cmp2 = icmp ne %1* null, %tmp Edge:…
|
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | abseil-duration-comparison.rst | 18 // Original - Comparison in the floating point domain 27 // Original - Comparison in the integer domain
|
D | abseil-time-comparison.rst | 17 // Original - Comparison in the integer domain
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CheckHtmlFiles.java | 207 …ap.M4<String, String, DtdType, Comparison> status = ChainedMap.of(new TreeMap(), new TreeMap(), ne… in checkForDtd() 215 status.put(element, key, dtdType, Comparison.missing); in checkForDtd() 219 status.put(element, key, dtdType, Comparison.no_rem); in checkForDtd() 224 status.put(extraItem.getKey(), extraItem.getValue(), DtdType.ldmlICU, Comparison.extra); in checkForDtd() 227 for (Entry<String, Map<String, Map<DtdType, Comparison>>> entry1 : status) { in checkForDtd() 230 … final Map<String, Map<DtdType, Comparison>> itemToDtdTypeToComparison = entry1.getValue(); in checkForDtd() 233 Map<DtdType, Comparison> typeToComparison = itemToDtdTypeToComparison.get(item); in checkForDtd() 234 for (Entry<DtdType, Comparison> entry2 : typeToComparison.entrySet()) { in checkForDtd() 244 enum Comparison { enum in CheckHtmlFiles
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/ |
D | FibonacciMaker.java | 20 import com.android.dx.Comparison; 55 code.compare(Comparison.LT, baseCase, i, constant2); in main()
|
/external/tensorflow/tensorflow/lite/experimental/acceleration/compatibility/ |
D | database.fbs | 17 enum Comparison : byte { 38 comparison:Comparison;
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SignedCharMisuseCheck.cpp | 149 if (const auto *Comparison = Result.Nodes.getNodeAs<Expr>("comparison")) { in check() local 163 diag(Comparison->getBeginLoc(), in check()
|
/external/ruy/ruy/ |
D | check_macros.h | 80 template <template <typename T> class Comparison, typename LhsType, 87 if (!Comparison<CommonType>()(lhs_value, rhs_value)) {
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | DexMakerTest.java | 524 Method lt = branchingMethod(Comparison.LT); in testBranching() 529 Method le = branchingMethod(Comparison.LE); in testBranching() 534 Method eq = branchingMethod(Comparison.EQ); in testBranching() 539 Method ge = branchingMethod(Comparison.GE); in testBranching() 544 Method gt = branchingMethod(Comparison.GT); in testBranching() 549 Method ne = branchingMethod(Comparison.NE); in testBranching() 555 private Method branchingMethod(Comparison comparison) throws Exception { in branchingMethod() 588 Method lt = branchingZMethod(Comparison.LT); in testBranchingZ() 593 Method le = branchingZMethod(Comparison.LE); in testBranchingZ() 598 Method eq = branchingZMethod(Comparison.EQ); in testBranchingZ() [all …]
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | Comparison.java | 26 public enum Comparison { enum
|
/external/python/cpython2/Lib/plat-mac/ |
D | aetypes.py | 164 class Comparison: class 185 return isinstance(x, Comparison) 187 class NComparison(Comparison): 191 Comparison.__init__(obj1, self.relo, obj2)
|