Home
last modified time | relevance | path

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

12345678910

/external/libcxx/test/std/containers/associative/multimap/multimap.cons/
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()
129 typedef test_compare<std::less<int> > Cmp; in main() typedef
131 typedef std::multimap<int, double, Cmp, A> C; in main()
[all …]
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()
/external/clang/include/clang/Analysis/Analyses/
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 …]
/external/libcxx/test/std/containers/associative/set/set.cons/
Dinitializer_list_compare_alloc.pass.cpp27 typedef test_compare<std::less<int> > Cmp; in main() typedef
29 typedef std::set<int, Cmp, A> C; in main()
31 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); in main()
41 assert(m.key_comp() == Cmp(10)); in main()
46 typedef test_compare<std::less<int> > Cmp; in main() typedef
48 typedef std::set<int, Cmp, A> C; in main()
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()
/external/llvm/lib/Target/AArch64/
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) { in getAdjustedCmp() argument
219 switch (Cmp) { in getAdjustedCmp()
232 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp() argument
239 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp()
255 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
263 AArch64CC::CondCode Cmp; in modifyCmp() local
264 std::tie(Imm, Opc, Cmp) = Info; in modifyCmp()
282 .addImm(Cmp) in modifyCmp()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp119 static Kind getSwappedComparison(Kind Cmp) { in getSwappedComparison()
120 assert ((!((Cmp & L) && (Cmp & G))) && "Malformed comparison operator"); in getSwappedComparison()
121 if ((Cmp & L) || (Cmp & G)) in getSwappedComparison()
122 return (Kind)(Cmp ^ (L|G)); in getSwappedComparison()
123 return Cmp; in getSwappedComparison()
126 static Kind getNegatedComparison(Kind Cmp) { in getNegatedComparison()
127 if ((Cmp & L) || (Cmp & G)) in getNegatedComparison()
128 return (Kind)((Cmp ^ (L | G)) ^ EQ); in getNegatedComparison()
129 if ((Cmp & NE) || (Cmp & EQ)) in getNegatedComparison()
130 return (Kind)(Cmp ^ (EQ | NE)); in getNegatedComparison()
[all …]
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/
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()
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()
/external/llvm/test/CodeGen/Thumb2/
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
/external/v8/src/regexp/arm64/
Dregexp-macro-assembler-arm64.cc214 __ Cmp(w10, string_start_minus_one()); in CheckAtStart() local
223 __ Cmp(w10, string_start_minus_one()); in CheckNotAtStart() local
267 __ Cmp(current_input_offset(), w10); in CheckGreedyLoop() local
303 __ Cmp(current_input_offset(), w12); in CheckNotBackReferenceIgnoreCase() local
338 __ Cmp(w10, w11); in CheckNotBackReferenceIgnoreCase() local
344 __ Cmp(w11, w10); in CheckNotBackReferenceIgnoreCase() local
347 __ Cmp(w10, 'z' - 'a'); // Is w10 a lowercase letter? in CheckNotBackReferenceIgnoreCase() local
351 __ Cmp(w10, 254 - 224); in CheckNotBackReferenceIgnoreCase() local
356 __ Cmp(capture_start_address, capture_end_addresss); in CheckNotBackReferenceIgnoreCase() local
371 __ Cmp(current_input_offset().X(), Operand(current_input_offset(), SXTW)); in CheckNotBackReferenceIgnoreCase() local
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp63 void emitBranchToTrap(Value *Cmp = nullptr);
97 void BoundsChecking::emitBranchToTrap(Value *Cmp) { in emitBranchToTrap() argument
99 ConstantInt *C = dyn_cast_or_null<ConstantInt>(Cmp); in emitBranchToTrap()
105 Cmp = nullptr; // unconditional branch in emitBranchToTrap()
114 if (Cmp) in emitBranchToTrap()
115 BranchInst::Create(getTrapBB(), Cont, Cmp, OldBB); in emitBranchToTrap()
/external/llvm/test/CodeGen/Mips/msa/
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
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
/external/llvm/lib/Support/
DStatistic.cpp108 if (int Cmp = std::strcmp(LHS->getDebugType(), RHS->getDebugType())) in sort() local
109 return Cmp < 0; in sort()
111 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName())) in sort() local
112 return Cmp < 0; in sort()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc201 __ Cmp(x10, x11); in Generate_MathMaxMin() local
307 __ Cmp(x1, x3); in Generate_NumberConstructor_ConstructStub() local
459 __ Cmp(x1, x3); in Generate_StringConstructor_ConstructStub() local
625 __ Cmp(x4, x2); in Generate_JSConstructStubHelper() local
884 __ Cmp(x10, Operand::UntagSmiAndScale(argc, kPointerSizeLog2)); in Generate_CheckStackOverflow() local
887 __ Cmp(x10, Operand(argc, LSL, kPointerSizeLog2)); in Generate_CheckStackOverflow() local
950 __ Cmp(scratch, argv); in Generate_JSEntryTrampolineHelper() local
1052 __ Cmp(x0, Operand(masm->CodeObject())); // Self-reference to this code. in Generate_InterpreterEntryTrampoline() local
1164 __ Cmp(scratch, Operand(num_args, LSL, kPointerSizeLog2)); in Generate_StackOverflowCheck() local
1192 __ Cmp(index, last_arg); in Generate_InterpreterPushArgs() local
[all …]
/external/llvm/test/Analysis/LoopAccessAnalysis/
Dwrapping-pointer-versioning.ll51 ; LV-NEXT: [[Cmp:%[^ ]*]] = select i1 false, i1 [[CmpNeg]], i1 [[CmpPos]]
53 ; LV-NEXT: [[CheckOr0:%[^ ]*]] = or i1 [[Cmp]], [[BECheck]]
65 ; LV-NEXT: [[Cmp:%[^ ]*]] = select i1 false, i1 [[CmpNeg1]], i1 [[CmpPos1]]
66 ; LV-NEXT: [[PredCheck1:%[^ ]*]] = or i1 [[Cmp]], [[OFMulOverflow1]]
146 ; LV-NEXT: [[Cmp:%[^ ]*]] = select i1 true, i1 [[CmpNeg]], i1 [[CmpPos]]
148 ; LV-NEXT: [[CheckOr0:%[^ ]*]] = or i1 [[Cmp]], [[BECheck]]
160 ; LV-NEXT: [[Cmp:%[^ ]*]] = select i1 true, i1 [[CmpNeg1]], i1 [[CmpPos1]]
161 ; LV-NEXT: [[PredCheck1:%[^ ]*]] = or i1 [[Cmp]], [[OFMulOverflow1]]
226 ; LV-NEXT: [[Cmp:%[^ ]*]] = select i1 false, i1 [[CmpNeg]], i1 [[CmpPos]]
228 ; LV-NEXT: [[CheckOr0:%[^ ]*]] = or i1 [[Cmp]], [[BECheck]]
[all …]
/external/llvm/test/CodeGen/Mips/
D2013-11-18-fp64-const0.ll21 %Cmp = fcmp ule double 0.000000e+00, undef
26 %Sl18 = select i1 %Cmp, i1 %Cmp11, i1 %Cmp
/external/swiftshader/third_party/LLVM/lib/Support/
DStatistic.cpp85 int Cmp = std::strcmp(LHS->getName(), RHS->getName()); in operator ()() local
86 if (Cmp != 0) return Cmp < 0; in operator ()()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp377 Instruction *Cmp = nullptr; in isMinMaxSelectCmpPattern() local
382 if ((Cmp = dyn_cast<ICmpInst>(I)) || (Cmp = dyn_cast<FCmpInst>(I))) { in isMinMaxSelectCmpPattern()
383 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin()))) in isMinMaxSelectCmpPattern()
391 if (!(Cmp = dyn_cast<ICmpInst>(I->getOperand(0))) && in isMinMaxSelectCmpPattern()
392 !(Cmp = dyn_cast<FCmpInst>(I->getOperand(0)))) in isMinMaxSelectCmpPattern()
394 if (!Cmp->hasOneUse()) in isMinMaxSelectCmpPattern()
646 Value *Cmp; in createMinMaxOp() local
648 Cmp = Builder.CreateFCmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
650 Cmp = Builder.CreateICmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
652 Value *Select = Builder.CreateSelect(Cmp, Left, Right, "rdx.minmax.select"); in createMinMaxOp()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h565 template <class Compare> void sortUseList(Compare Cmp);
580 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() argument
593 if (Cmp(*R, *L)) { in mergeUseLists()
611 static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp);
639 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList() argument
676 Current = mergeUseLists(Slots[I], Current, Cmp); in sortUseList()
697 UseList = mergeUseLists(Slots[I], UseList, Cmp); in sortUseList()
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dbool-folding.ll39 ; Cmp/branch folding with intervening instructions.
67 ; Cmp/branch non-folding because of live-out.
92 ; Cmp/branch non-folding because of extra non-whitelisted uses.
178 ; Cmp/select folding with intervening instructions.
198 ; Cmp/multi-select folding.
234 ; Cmp/multi-select non-folding because of live-out.
272 ; Cmp/branch non-folding due to load folding and intervening store.
291 ; Cmp/select non-folding due to load folding and intervening store.
309 ; Cmp/select folding due to load folding and non-intervening store.
324 ; Cmp/multi-select non-folding because of extra non-whitelisted uses.
/external/llvm/include/llvm/IR/
DValue.h555 template <class Compare> void sortUseList(Compare Cmp);
570 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() argument
583 if (Cmp(*R, *L)) { in mergeUseLists()
601 static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp);
629 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList() argument
666 Current = mergeUseLists(Slots[I], Current, Cmp); in sortUseList()
687 UseList = mergeUseLists(Slots[I], UseList, Cmp); in sortUseList()
/external/llvm/lib/IR/
DIntrinsicInst.cpp69 auto Cmp = [CmpStart, CmpEnd](const char *LHS, const char *RHS) { in lookupLLVMIntrinsicByName() local
73 std::tie(Low, High) = std::equal_range(Low, High, Name.data(), Cmp); in lookupLLVMIntrinsicByName()
/external/python/cpython2/Lib/test/
Dtest_compare.py21 class Cmp: class
32 set1 = [2, 2.0, 2L, 2+0j, Coerce(2), Cmp(2.0)]

12345678910