Searched refs:Cmp (Results 1 - 25 of 219) sorted by relevance

123456789

/external/libcxx/test/std/containers/associative/multiset/multiset.cons/
H A Dinitializer_list_compare.pass.cpp24 typedef test_compare<std::less<int> > Cmp; typedef
25 typedef std::multiset<int, Cmp> C;
27 C m({1, 2, 3, 4, 5, 6}, Cmp(10));
37 assert(m.key_comp() == Cmp(10));
H A Dinitializer_list_compare_alloc.pass.cpp25 typedef test_compare<std::less<int> > Cmp; typedef
27 typedef std::multiset<int, Cmp, A> C;
29 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4));
39 assert(m.key_comp() == Cmp(10));
/external/libcxx/test/std/containers/associative/set/set.cons/
H A Dinitializer_list_compare.pass.cpp24 typedef test_compare<std::less<int> > Cmp; typedef
25 typedef std::set<int, Cmp> C;
27 C m({1, 2, 3, 4, 5, 6}, Cmp(10));
37 assert(m.key_comp() == Cmp(10));
H A Dinitializer_list_compare_alloc.pass.cpp28 typedef test_compare<std::less<int> > Cmp; typedef
30 typedef std::set<int, Cmp, A> C;
32 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4));
42 assert(m.key_comp() == Cmp(10));
46 typedef test_compare<std::less<int> > Cmp; typedef
48 typedef std::set<int, Cmp, A> C;
/external/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dinitializer_list_compare.pass.cpp26 typedef test_compare<std::less<int> > Cmp; typedef
27 typedef std::multimap<int, double, Cmp> C;
41 Cmp(4)
55 assert(m.key_comp() == Cmp(4));
58 typedef test_compare<std::less<int> > Cmp; typedef
59 typedef std::multimap<int, double, Cmp, min_allocator<std::pair<const int, double>>> C;
73 Cmp(4)
87 assert(m.key_comp() == Cmp(4));
H A Dinitializer_list_compare_alloc.pass.cpp27 typedef test_compare<std::less<int> > Cmp; typedef
29 typedef std::multimap<int, double, Cmp, A> C;
43 Cmp(4), A(5)
57 assert(m.key_comp() == Cmp(4));
61 typedef test_compare<std::less<int> > Cmp; typedef
63 typedef std::multimap<int, double, Cmp, A> C;
77 Cmp(4), A()
91 assert(m.key_comp() == Cmp(4));
126 typedef test_compare<std::less<int> > Cmp; typedef
128 typedef std::multimap<int, double, Cmp,
[all...]
/external/tensorflow/tensorflow/core/lib/gtl/
H A Dtop_n.h53 // Cmp is an stl binary predicate. Note that Cmp is the "greater" predicate,
61 template <class T, class Cmp = std::greater<T> >
92 explicit TopN(size_t limit) : TopN(limit, Cmp()) {}
93 TopN(size_t limit, const Cmp &cmp) : limit_(limit), cmp_(cmp) {}
181 Cmp *comparator() { return &cmp_; }
201 Cmp cmp_; // Greater-than comparison function
208 template <class T, class Cmp>
210 void TopN<T, Cmp>::PushInternal(U &&v, T *dropped) { // NOLINT(build/c++11)
248 template <class T, class Cmp>
[all...]
H A Dedit_distance.h46 template <typename T, typename Cmp>
48 const gtl::ArraySlice<T>& t, const Cmp& cmp) {
96 template <typename Container1, typename Container2, typename Cmp>
98 const Cmp& cmp) {
H A Dtop_n_test.cc45 template <class Cmp>
46 void TestIntTopNHelper(size_t limit, size_t n_elements, const Cmp &cmp,
52 TopN<int, Cmp> top(limit, cmp);
76 template <class Cmp>
77 void TestIntTopN(size_t limit, size_t n_elements, const Cmp &cmp,
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h275 // template <class C> typename C::CType compare(CType* E, C& Cmp) {
396 typename C::CType compare(const Variable* E, C& Cmp) const {
397 return Cmp.compareVariableRefs(this, E);
457 typename C::CType compare(const Future* E, C& Cmp) const {
459 return Cmp.comparePointers(this, E);
460 return Cmp.compare(Result, E->Result);
485 typename C::CType compare(const Undefined* E, C& Cmp) const {
486 return Cmp.trueResult();
507 typename C::CType compare(const Wildcard* E, C& Cmp) const {
508 return Cmp
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ConditionOptimizer.cpp101 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
103 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To,
218 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { argument
219 switch (Cmp) {
232 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) {
239 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1;
255 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp));
263 AArch64CC::CondCode Cmp; local
264 std::tie(Imm, Opc, Cmp) = Info;
282 .addImm(Cmp)
231 adjustCmp( MachineInstr *CmpMI, AArch64CC::CondCode Cmp) argument
307 adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) argument
[all...]
/external/vixl/examples/aarch64/
H A Dabs.cc38 __ Cmp(x0, 0);
H A Dcheck-bounds.cc40 __ Cmp(x0, x1);
/external/llvm/lib/IR/
H A DIntrinsicInst.cpp69 auto Cmp = [CmpStart, CmpEnd](const char *LHS, const char *RHS) { local
73 std::tie(Low, High) = std::equal_range(Low, High, Name.data(), Cmp);
/external/python/cpython2/Lib/test/
H A Dtest_compare.py21 class Cmp: class in inherits:
26 return '<Cmp %s>' % self.arg
32 set1 = [2, 2.0, 2L, 2+0j, Coerce(2), Cmp(2.0)]
/external/python/cpython3/Lib/test/
H A Dtest_compare.py7 class Cmp: class in inherits:
12 return '<Cmp %s>' % self.arg
25 set1 = [2, 2.0, 2, 2+0j, Cmp(2.0)]
48 a = Cmp(1)
49 b = Cmp(1)
50 c = Cmp(2)
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp119 static Kind getSwappedComparison(Kind Cmp) { argument
120 assert ((!((Cmp & L) && (Cmp & G))) && "Malformed comparison operator");
121 if ((Cmp & L) || (Cmp & G))
122 return (Kind)(Cmp ^ (L|G));
123 return Cmp;
126 static Kind getNegatedComparison(Kind Cmp) { argument
127 if ((Cmp & L) || (Cmp
134 isSigned(Kind Cmp) argument
138 isUnsigned(Kind Cmp) argument
493 Comparison::Kind Cmp = (Comparison::Kind)0; local
638 Comparison::Kind Cmp; local
1431 Comparison::Kind Cmp = getComparisonKind(MI->getOpcode(), 0, 0, 0); local
1767 Comparison::Kind Cmp = getComparisonKind(PredDef->getOpcode(), 0, 0, 0); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Support/
H A DStatistic.cpp85 int Cmp = std::strcmp(LHS->getName(), RHS->getName()); local
86 if (Cmp != 0) return Cmp < 0;
/external/llvm/lib/Support/
H A DStatistic.cpp108 if (int Cmp = std::strcmp(LHS->getDebugType(), RHS->getDebugType()))
109 return Cmp < 0;
111 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName()))
112 return Cmp < 0;
/external/vixl/examples/aarch32/
H A Dabs.cc36 __ Cmp(r0, 0);
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVLowerBool.cpp81 auto Cmp = new ICmpInst(&I, CmpInst::ICMP_NE, Op, Zero); local
82 replace(&I, Cmp);
/external/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp63 void emitBranchToTrap(Value *Cmp = nullptr);
96 /// If Cmp is non-null, perform a jump only if its value evaluates to true.
97 void BoundsChecking::emitBranchToTrap(Value *Cmp) { argument
99 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Cmp);
105 Cmp = nullptr; // unconditional branch
114 if (Cmp)
115 BranchInst::Create(getTrapBB(), Cont, Cmp, OldBB); local
/external/v8/src/regexp/arm64/
H A Dregexp-macro-assembler-arm64.cc214 __ Cmp(w10, string_start_minus_one());
223 __ Cmp(w10, string_start_minus_one());
267 __ Cmp(current_input_offset(), w10);
303 __ Cmp(current_input_offset(), w12);
338 __ Cmp(w10, w11);
344 __ Cmp(w11, w10);
347 __ Cmp(w10, 'z' - 'a'); // Is w10 a lowercase letter?
351 __ Cmp(w10, 254 - 224);
356 __ Cmp(capture_start_address, capture_end_addresss);
371 __ Cmp(current_input_offse
[all...]
/external/llvm/utils/TableGen/
H A DOptParserEmitter.cpp56 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").c_str(),
58 return Cmp;
71 if (int Cmp = StrCmpOptionName(APre->c_str(), BPre->c_str()))
72 return Cmp;
/external/v8/src/builtins/arm64/
H A Dbuiltins-arm64.cc201 __ Cmp(x10, x11);
307 __ Cmp(x1, x3);
459 __ Cmp(x1, x3);
625 __ Cmp(x4, x2);
884 __ Cmp(x10, Operand::UntagSmiAndScale(argc, kPointerSizeLog2));
887 __ Cmp(x10, Operand(argc, LSL, kPointerSizeLog2));
950 __ Cmp(scratch, argv);
1052 __ Cmp(x0, Operand(masm->CodeObject())); // Self-reference to this code.
1164 __ Cmp(scratch, Operand(num_args, LSL, kPointerSizeLog2));
1192 __ Cmp(inde
[all...]

Completed in 8640 milliseconds

123456789