Home
last modified time | relevance | path

Searched refs:Cmp (Results 1 – 25 of 82) sorted by relevance

1234

/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dinitializer_list_compare.pass.cpp25 typedef test_compare<std::less<int> > Cmp; in main() typedef
26 typedef std::multimap<int, double, Cmp> C; in main()
40 Cmp(4) in main()
54 assert(m.key_comp() == Cmp(4)); in main()
58 typedef test_compare<std::less<int> > Cmp; in main() typedef
59 typedef std::multimap<int, double, Cmp, min_allocator<std::pair<const int, double>>> C; in main()
73 Cmp(4) in main()
87 assert(m.key_comp() == Cmp(4)); in main()
H A Dinitializer_list_compare_alloc.pass.cpp26 typedef test_compare<std::less<int> > Cmp; in main() typedef
28 typedef std::multimap<int, double, Cmp, A> C; in main()
42 Cmp(4), A(5) in main()
56 assert(m.key_comp() == Cmp(4)); in main()
62 typedef test_compare<std::less<int> > Cmp; in main() typedef
64 typedef std::multimap<int, double, Cmp, A> C; in main()
78 Cmp(4), A() in main()
92 assert(m.key_comp() == Cmp(4)); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/containers/associative/multimap/multimap.cons/
H A Dinitializer_list_compare.pass.cpp25 typedef test_compare<std::less<int> > Cmp; in main() typedef
26 typedef std::multimap<int, double, Cmp> C; in main()
40 Cmp(4) in main()
54 assert(m.key_comp() == Cmp(4)); in main()
58 typedef test_compare<std::less<int> > Cmp; in main() typedef
59 typedef std::multimap<int, double, Cmp, min_allocator<std::pair<const int, double>>> C; in main()
73 Cmp(4) in main()
87 assert(m.key_comp() == Cmp(4)); in main()
H A Dinitializer_list_compare_alloc.pass.cpp26 typedef test_compare<std::less<int> > Cmp; in main() typedef
28 typedef std::multimap<int, double, Cmp, A> C; in main()
42 Cmp(4), A(5) in main()
56 assert(m.key_comp() == Cmp(4)); in main()
62 typedef test_compare<std::less<int> > Cmp; in main() typedef
64 typedef std::multimap<int, double, Cmp, A> C; in main()
78 Cmp(4), A() in main()
92 assert(m.key_comp() == Cmp(4)); in main()
/minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h396 typename C::CType compare(const Variable* E, C& Cmp) const { in compare() argument
397 return Cmp.compareVariableRefs(this, E); in compare()
457 typename C::CType compare(const Future* E, C& Cmp) const { in compare() argument
459 return Cmp.comparePointers(this, E); in compare()
460 return Cmp.compare(Result, E->Result); in compare()
485 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare() argument
486 return Cmp.trueResult(); in compare()
507 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare() argument
508 return Cmp.trueResult(); in compare()
541 typename C::CType compare(const Literal* E, C& Cmp) const { in compare() argument
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/set/set.cons/
H A Dinitializer_list_compare_alloc.pass.cpp26 typedef test_compare<std::less<int> > Cmp; in main() typedef
28 typedef std::set<int, Cmp, A> C; in main()
30 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); in main()
40 assert(m.key_comp() == Cmp(10)); in main()
45 typedef test_compare<std::less<int> > Cmp; in main() typedef
47 typedef std::set<int, Cmp, A> C; in main()
H A Dinitializer_list_compare.pass.cpp23 typedef test_compare<std::less<int> > Cmp; in main() typedef
24 typedef std::set<int, Cmp> C; in main()
26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); in main()
36 assert(m.key_comp() == Cmp(10)); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/containers/associative/set/set.cons/
H A Dinitializer_list_compare_alloc.pass.cpp26 typedef test_compare<std::less<int> > Cmp; in main() typedef
28 typedef std::set<int, Cmp, A> C; in main()
30 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); in main()
40 assert(m.key_comp() == Cmp(10)); in main()
45 typedef test_compare<std::less<int> > Cmp; in main() typedef
47 typedef std::set<int, Cmp, A> C; in main()
H A Dinitializer_list_compare.pass.cpp23 typedef test_compare<std::less<int> > Cmp; in main() typedef
24 typedef std::set<int, Cmp> C; in main()
26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); in main()
36 assert(m.key_comp() == Cmp(10)); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/containers/associative/multiset/multiset.cons/
H A Dinitializer_list_compare.pass.cpp23 typedef test_compare<std::less<int> > Cmp; in main() typedef
24 typedef std::multiset<int, Cmp> C; in main()
26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); in main()
36 assert(m.key_comp() == Cmp(10)); in main()
H A Dinitializer_list_compare_alloc.pass.cpp24 typedef test_compare<std::less<int> > Cmp; in main() typedef
26 typedef std::multiset<int, Cmp, A> C; in main()
28 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); in main()
38 assert(m.key_comp() == Cmp(10)); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/associative/multiset/multiset.cons/
H A Dinitializer_list_compare.pass.cpp23 typedef test_compare<std::less<int> > Cmp; in main() typedef
24 typedef std::multiset<int, Cmp> C; in main()
26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); in main()
36 assert(m.key_comp() == Cmp(10)); in main()
H A Dinitializer_list_compare_alloc.pass.cpp24 typedef test_compare<std::less<int> > Cmp; in main() typedef
26 typedef std::multiset<int, Cmp, A> C; in main()
28 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); in main()
38 assert(m.key_comp() == Cmp(10)); in main()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ConditionOptimizer.cpp99 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
101 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To,
204 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp() argument
205 switch (Cmp) { in getAdjustedCmp()
218 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp() argument
225 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp()
241 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
249 AArch64CC::CondCode Cmp; in modifyCmp() local
250 std::tie(Imm, Opc, Cmp) = Info; in modifyCmp()
268 .addImm(Cmp) in modifyCmp()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/
H A D2013-03-06-vector-sext-operand-scalarize.ll7 %Cmp = icmp uge i32 %a, 42
8 %vec = insertelement <1 x i1> zeroinitializer, i1 %Cmp, i32 0
15 %Cmp = icmp uge i32 %a, 42
16 %vec = insertelement <1 x i1> zeroinitializer, i1 %Cmp, i32 0
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp65 void emitBranchToTrap(Value *Cmp = nullptr);
99 void BoundsChecking::emitBranchToTrap(Value *Cmp) { in emitBranchToTrap() argument
101 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Cmp); in emitBranchToTrap()
107 Cmp = nullptr; // unconditional branch in emitBranchToTrap()
116 if (Cmp) in emitBranchToTrap()
117 BranchInst::Create(getTrapBB(), Cont, Cmp, OldBB); in emitBranchToTrap()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DValue.h503 template <class Compare> void sortUseList(Compare Cmp);
518 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() argument
520 mergeUseListsImpl(L, R, &Merged, Cmp); in mergeUseLists()
528 static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp);
546 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList() argument
583 Current = mergeUseLists(Slots[I], Current, Cmp); in sortUseList()
604 UseList = mergeUseLists(Slots[I], UseList, Cmp); in sortUseList()
614 void Value::mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp) { in mergeUseListsImpl() argument
623 if (Cmp(*R, *L)) { in mergeUseListsImpl()
625 mergeUseListsImpl(L, R->Next, &R->Next, Cmp); in mergeUseListsImpl()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/
H A Dllvm-stress-s1704963983.ll23 %Cmp = icmp eq i32 434069, 272505
34 %Sl9 = select i1 %Cmp, i8 77, i8 77
43 %Sl16 = select i1 %Cmp, i8 77, i8 %5
52 %Sl24 = select i1 %Cmp, double 0.000000e+00, double 0.000000e+00
67 %Sl32 = select i1 %Cmp, <2 x i1> zeroinitializer, <2 x i1> zeroinitializer
75 %Sl39 = select i1 %Cmp, double 0.000000e+00, double %Sl24
83 %Sl45 = select i1 %Cmp, <8 x i1> %Cmp10, <8 x i1> %Shuff42
95 %Sl53 = select i1 %Cmp, <8 x i64> %Shuff, <8 x i64> %Shuff
106 %Sl60 = select i1 %Cmp, i8 77, i8 77
115 %Sl68 = select i1 %Cmp, <8 x i32> %B30, <8 x i32> zeroinitializer
H A Dllvm-stress-s2704903805.ll24 %Cmp = icmp ule i16 -25210, %E
35 %Sl11 = select i1 %Cmp, i32 -1, i32 -1
50 %Sl18 = select i1 %Cmp, <2 x i64> zeroinitializer, <2 x i64> zeroinitializer
51 %Cmp19 = icmp ne i1 %Cmp12, %Cmp
61 %Sl25 = select i1 %Cmp, <2 x i32> zeroinitializer, <2 x i32> <i32 -1, i32 -1>
77 %Sl38 = select i1 %Cmp, i16 %E34, i16 %E
78 %Cmp39 = icmp eq i1 %Cmp19, %Cmp
133 %Sl75 = select i1 %Cmp, i32 463279, i32 %L61
H A Dllvm-stress-s449609655-simplified.ll20 %Cmp = icmp ult i8 -3, %0
24 %Sl31 = select i1 %Cmp, <4 x i8> <i8 -1, i8 -1, i8 -1, i8 -1>, <4 x i8> zeroinitializer
/minix3/external/bsd/llvm/dist/llvm/test/CodeGen/Mips/
H A D2013-11-18-fp64-const0.ll21 %Cmp = fcmp ule double 0.000000e+00, undef
26 %Sl18 = select i1 %Cmp, i1 %Cmp11, i1 %Cmp
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp110 static Kind getSwappedComparison(Kind Cmp) { in getSwappedComparison()
111 assert ((!((Cmp & L) && (Cmp & G))) && "Malformed comparison operator"); in getSwappedComparison()
112 if ((Cmp & L) || (Cmp & G)) in getSwappedComparison()
113 return (Kind)(Cmp ^ (L|G)); in getSwappedComparison()
114 return Cmp; in getSwappedComparison()
151 Comparison::Kind Cmp) const;
524 Comparison::Kind Cmp; in getLoopTripCount() local
545 Cmp = !Negated ? Comparison::EQ : Comparison::NE; in getLoopTripCount()
549 Cmp = !Negated ? Comparison::GTu : Comparison::LEu; in getLoopTripCount()
553 Cmp = !Negated ? Comparison::GTs : Comparison::LEs; in getLoopTripCount()
[all …]
/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DOptParserEmitter.cpp56 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").c_str(), in CompareOptionRecords() local
58 return Cmp; in CompareOptionRecords()
71 if (int Cmp = StrCmpOptionName(APre->c_str(), BPre->c_str())) in CompareOptionRecords() local
72 return Cmp; in CompareOptionRecords()
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DStatistic.cpp115 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName())) in PrintStatistics() local
116 return Cmp < 0; in PrintStatistics()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp504 if (CmpInst *Cmp = dyn_cast<CmpInst>(I)) { in ComputeValueKnownInPredecessors() local
506 PHINode *PN = dyn_cast<PHINode>(Cmp->getOperand(0)); in ComputeValueKnownInPredecessors()
513 Value *RHS = Cmp->getOperand(1)->DoPHITranslation(BB, PredBB); in ComputeValueKnownInPredecessors()
515 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, DL); in ComputeValueKnownInPredecessors()
521 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
523 CxtI ? CxtI : Cmp); in ComputeValueKnownInPredecessors()
538 if (isa<Constant>(Cmp->getOperand(1)) && Cmp->getType()->isIntegerTy()) { in ComputeValueKnownInPredecessors()
539 if (!isa<Instruction>(Cmp->getOperand(0)) || in ComputeValueKnownInPredecessors()
540 cast<Instruction>(Cmp->getOperand(0))->getParent() != BB) { in ComputeValueKnownInPredecessors()
541 Constant *RHSCst = cast<Constant>(Cmp->getOperand(1)); in ComputeValueKnownInPredecessors()
[all …]

1234