Home
last modified time | relevance | path

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

123456

/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/multimap/multimap.cons/
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()
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()
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dreduce_key_val.hpp229 template <typename K, typename V, class Cmp>
230 …__device__ __forceinline__ void mergeShfl(K& key, V& val, const Cmp& cmp, unsigned int delta, int … in mergeShfl()
240 template <typename K, typename V, class Cmp>
241 …e__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, unsigned int … in merge()
253 class Cmp>
256 const Cmp& cmp, in mergeShfl()
270 class Cmp>
274 const Cmp& cmp, unsigned int tid, unsigned int delta) in merge()
314 template <class KP, class KR, class VP, class VR, class Cmp>
315 … static __device__ void reduce(KP skeys, KR key, VP svals, VR val, unsigned int tid, Cmp cmp) in reduce()
[all …]
/external/libcxx/test/std/containers/associative/set/set.cons/
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()
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/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/llvm/lib/Target/AArch64/
DAArch64ConditionOptimizer.cpp102 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp);
104 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To,
211 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp() argument
212 switch (Cmp) { in getAdjustedCmp()
225 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp() argument
232 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp()
248 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp()
256 AArch64CC::CondCode Cmp; in modifyCmp() local
257 std::tie(Imm, Opc, Cmp) = Info; in modifyCmp()
275 .addImm(Cmp) in modifyCmp()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/block/detail/
Dreduce_key_val.hpp200 template <typename K, typename V, class Cmp>
201 …__device__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, uint t… in merge()
215 class Cmp>
219 const Cmp& cmp, uint tid, uint delta) in merge()
249 template <class KP, class KR, class VP, class VR, class Cmp>
250 __device__ static void reduce(KP skeys, KR key, VP svals, VR val, uint tid, Cmp cmp) in reduce()
311 template <int I, class KP, class KR, class VP, class VR, class Cmp> struct Unroll
313 __device__ static void loop(KP skeys, KR key, VP svals, VR val, uint tid, Cmp cmp) in loop()
316 Unroll<I / 2, KP, KR, VP, VR, Cmp>::loop(skeys, key, svals, val, tid, cmp); in loop()
320 … template <class KP, class KR, class VP, class VR, class Cmp> struct Unroll<0, KP, KR, VP, VR, Cmp>
[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.cc215 __ Cmp(w10, string_start_minus_one()); in CheckAtStart() local
224 __ Cmp(w10, string_start_minus_one()); in CheckNotAtStart() local
268 __ Cmp(current_input_offset(), w10); in CheckGreedyLoop() local
304 __ Cmp(current_input_offset(), w12); in CheckNotBackReferenceIgnoreCase() local
339 __ Cmp(w10, w11); in CheckNotBackReferenceIgnoreCase() local
345 __ Cmp(w11, w10); in CheckNotBackReferenceIgnoreCase() local
348 __ Cmp(w10, 'z' - 'a'); // Is w10 a lowercase letter? in CheckNotBackReferenceIgnoreCase() local
352 __ Cmp(w10, 254 - 224); in CheckNotBackReferenceIgnoreCase() local
357 __ Cmp(capture_start_address, capture_end_addresss); in CheckNotBackReferenceIgnoreCase() local
372 __ 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/opencv3/modules/cudev/include/opencv2/cudev/block/
Dreduce.hpp85 template <int N, typename K, typename V, class Cmp>
86 …d blockReduceKeyVal(volatile K* skeys, K& key, volatile V* svals, V& val, uint tid, const Cmp& cmp) in blockReduceKeyVal()
88 …cher<N>::reductor::template reduce<volatile K*, K&, volatile V*, V&, const Cmp&>(skeys, key, svals… in blockReduceKeyVal()
95 class Cmp>
99 uint tid, const Cmp& cmp) in blockReduceKeyVal()
104 const Cmp&>(skeys, key, svals, val, tid, cmp); in blockReduceKeyVal()
/external/v8/src/arm64/
Dcode-stubs-arm64.cc168 __ Cmp(exponent, HeapNumber::kExponentBias + HeapNumber::kMantissaBits + 32); in Generate() local
177 __ Cmp(exponent, HeapNumber::kExponentBias + 63); in Generate() local
216 __ Cmp(right, left); in EmitIdenticalObjectComparison() local
229 __ Cmp(right_type, SYMBOL_TYPE); in EmitIdenticalObjectComparison() local
232 __ Cmp(right_type, SIMD128_VALUE_TYPE); in EmitIdenticalObjectComparison() local
237 __ Cmp(right_type, Operand(HEAP_NUMBER_TYPE)); in EmitIdenticalObjectComparison() local
248 __ Cmp(right_type, FIRST_JS_RECEIVER_TYPE); in EmitIdenticalObjectComparison() local
251 __ Cmp(right_type, SYMBOL_TYPE); in EmitIdenticalObjectComparison() local
254 __ Cmp(right_type, SIMD128_VALUE_TYPE); in EmitIdenticalObjectComparison() local
267 __ Cmp(right_type, ODDBALL_TYPE); in EmitIdenticalObjectComparison() local
[all …]
Dbuiltins-arm64.cc221 __ Cmp(x1, x3); in Generate_NumberConstructor_ConstructStub() local
348 __ Cmp(x1, x3); in Generate_StringConstructor_ConstructStub() local
475 __ Cmp(constructor, x10); in Generate_JSConstructStubHelper() local
524 __ Cmp(constructon_count, Operand(Map::kSlackTrackingCounterEnd)); in Generate_JSConstructStubHelper() local
543 __ Cmp(write_address, end_of_pre_allocated); in Generate_JSConstructStubHelper() local
555 __ Cmp(constructon_count, Operand(Map::kSlackTrackingCounterEnd)); in Generate_JSConstructStubHelper() local
631 __ Cmp(x4, x2); in Generate_JSConstructStubHelper() local
748 __ Cmp(x10, Operand::UntagSmiAndScale(argc, kPointerSizeLog2)); in Generate_CheckStackOverflow() local
751 __ Cmp(x10, Operand(argc, LSL, kPointerSizeLog2)); in Generate_CheckStackOverflow() local
818 __ Cmp(scratch, argv); in Generate_JSEntryTrampolineHelper() local
[all …]
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp370 Instruction *Cmp = nullptr; in isMinMaxSelectCmpPattern() local
375 if ((Cmp = dyn_cast<ICmpInst>(I)) || (Cmp = dyn_cast<FCmpInst>(I))) { in isMinMaxSelectCmpPattern()
376 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin()))) in isMinMaxSelectCmpPattern()
384 if (!(Cmp = dyn_cast<ICmpInst>(I->getOperand(0))) && in isMinMaxSelectCmpPattern()
385 !(Cmp = dyn_cast<FCmpInst>(I->getOperand(0)))) in isMinMaxSelectCmpPattern()
387 if (!Cmp->hasOneUse()) in isMinMaxSelectCmpPattern()
604 Value *Cmp; in createMinMaxOp() local
606 Cmp = Builder.CreateFCmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
608 Cmp = Builder.CreateICmp(P, Left, Right, "rdx.minmax.cmp"); in createMinMaxOp()
610 Value *Select = Builder.CreateSelect(Cmp, Left, Right, "rdx.minmax.select"); in createMinMaxOp()
/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/opencv3/modules/cudev/include/opencv2/cudev/warp/detail/
Dreduce_key_val.hpp170 template <typename K, typename V, class Cmp>
171 …__device__ void merge(volatile K* skeys, K& key, volatile V* svals, V& val, const Cmp& cmp, uint t… in merge()
185 class Cmp>
189 const Cmp& cmp, uint tid, uint delta) in merge()
219 template <class KP, class KR, class VP, class VR, class Cmp>
220 __device__ static void reduce(KP skeys, KR key, VP svals, VR val, uint tid, Cmp cmp) in reduce()
/external/llvm/include/llvm/IR/
DValue.h535 template <class Compare> void sortUseList(Compare Cmp);
550 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() argument
563 if (Cmp(*R, *L)) { in mergeUseLists()
581 static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp);
599 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList() argument
636 Current = mergeUseLists(Slots[I], Current, Cmp); in sortUseList()
657 UseList = mergeUseLists(Slots[I], UseList, Cmp); in sortUseList()
/external/opencv3/modules/cudev/include/opencv2/cudev/warp/
Dreduce.hpp83 template <typename K, typename V, class Cmp>
84 …id warpReduceKeyVal(volatile K* skeys, K& key, volatile V* svals, V& val, uint tid, const Cmp& cmp) in warpReduceKeyVal()
86 …ail::WarpReductor::template reduce<volatile K*, K&, volatile V*, V&, const Cmp&>(skeys, key, svals… in warpReduceKeyVal()
92 class Cmp>
96 uint tid, const Cmp& cmp) in warpReduceKeyVal()
101 const Cmp&>(skeys, key, svals, val, tid, cmp); in warpReduceKeyVal()
/external/llvm/utils/TableGen/
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()

123456