/external/libcxx/test/std/containers/associative/multimap/multimap.cons/ |
H A D | initializer_list_compare.pass.cpp | 25 typedef test_compare<std::less<int> > Cmp; typedef 26 typedef std::multimap<int, double, Cmp> C; 40 Cmp(4) 54 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 D | initializer_list_compare_alloc.pass.cpp | 26 typedef test_compare<std::less<int> > Cmp; typedef 28 typedef std::multimap<int, double, Cmp, A> C; 42 Cmp(4), A(5) 56 assert(m.key_comp() == Cmp(4)); 62 typedef test_compare<std::less<int> > Cmp; typedef 64 typedef std::multimap<int, double, Cmp, A> C; 78 Cmp(4), A() 92 assert(m.key_comp() == Cmp(4));
|
/external/libcxx/test/std/containers/associative/multiset/multiset.cons/ |
H A D | initializer_list_compare.pass.cpp | 23 typedef test_compare<std::less<int> > Cmp; typedef 24 typedef std::multiset<int, Cmp> C; 26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); 36 assert(m.key_comp() == Cmp(10));
|
H A D | initializer_list_compare_alloc.pass.cpp | 24 typedef test_compare<std::less<int> > Cmp; typedef 26 typedef std::multiset<int, Cmp, A> C; 28 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); 38 assert(m.key_comp() == Cmp(10));
|
/external/libcxx/test/std/containers/associative/set/set.cons/ |
H A D | initializer_list_compare.pass.cpp | 23 typedef test_compare<std::less<int> > Cmp; typedef 24 typedef std::set<int, Cmp> C; 26 C m({1, 2, 3, 4, 5, 6}, Cmp(10)); 36 assert(m.key_comp() == Cmp(10));
|
H A D | initializer_list_compare_alloc.pass.cpp | 26 typedef test_compare<std::less<int> > Cmp; typedef 28 typedef std::set<int, Cmp, A> C; 30 C m({1, 2, 3, 4, 5, 6}, Cmp(10), A(4)); 40 assert(m.key_comp() == Cmp(10)); 45 typedef test_compare<std::less<int> > Cmp; typedef 47 typedef std::set<int, Cmp, A> C;
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LowerAtomic.cpp | 27 Value *Cmp = CXI->getCompareOperand(); local 31 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp);
|
H A D | IndVarSimplify.cpp | 1190 ICmpInst *Cmp = dyn_cast<ICmpInst>(DU.NarrowUse); local 1191 if (!Cmp) 1209 if (!(DU.NeverNegative || IsSigned == Cmp->isSigned())) 1212 Value *Op = Cmp->getOperand(Cmp->getOperand(0) == DU.NarrowDef ? 1 : 0); 1224 Value *ExtOp = createExtendInst(Op, WideType, Cmp->isSigned(), Cmp);
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | BoundsChecking.cpp | 63 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
|
H A D | SanitizerCoverage.cpp | 477 Value *Cmp = IRB.CreateICmpSGE(Constant::getNullValue(Load->getType()), Load); local 479 Cmp, &*IP, false, MDBuilder(*C).createBranchWeights(1, 100000));
|
/external/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 455 Value *Cmp = B.CreateICmpEQ(LI1, LI2); local 462 B.CreateCondBr(Cmp, NewBB, FailBB, Weights);
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 102 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) { argument 212 switch (Cmp) { 225 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { 232 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; 248 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); 256 AArch64CC::CondCode Cmp; local 257 std::tie(Imm, Opc, Cmp) = Info; 275 .addImm(Cmp) 224 adjustCmp( MachineInstr *CmpMI, AArch64CC::CondCode Cmp) argument 300 adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) argument [all...] |
/external/llvm/unittests/ProfileData/ |
H A D | InstrProfTest.cpp | 443 auto Cmp = [](const InstrProfValueData &VD1, const InstrProfValueData &VD2) { local 448 std::sort(&VD_0[0], &VD_0[5], Cmp); 462 std::sort(&VD_1[0], &VD_1[4], Cmp); 474 std::sort(&VD_2[0], &VD_2[3], Cmp); 484 std::sort(&VD_3[0], &VD_3[2], Cmp);
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 764 Value *Cmp = Builder->CreateICmpEQ(II->getArgOperand(0), RHS); local 765 return new ZExtInst(Cmp, II->getType());
|
H A D | InstCombineSelect.cpp | 507 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS)) { 509 if (Pred == ICmpInst::ICMP_SGT && Cmp->isAllOnesValue()) { 512 } else if (Pred == ICmpInst::ICMP_SLT && Cmp->isNullValue()) { 1079 Value *Cmp; local 1081 Cmp = Builder->CreateICmp(Pred, LHS, RHS); 1086 Cmp = Builder->CreateFCmp(Pred, LHS, RHS); 1090 Builder->CreateSelect(Cmp, LHS, RHS),
|
H A D | InstCombineMulDivRem.cpp | 891 Value *Cmp = Builder->CreateICmpULT( local 893 return SelectInst::Create(Cmp, Op1, ConstantInt::get(I.getType(), 0)); 1406 Value *Cmp = Builder->CreateICmpNE(Op1, Op0); local 1407 Value *Ext = Builder->CreateZExt(Cmp, I.getType());
|
/external/llvm/include/llvm/IR/ |
H A D | Value.h | 533 /// Sorts the Value's use-list by Cmp using a stable mergesort. Cmp is 535 template <class Compare> void sortUseList(Compare Cmp); 543 /// Merges \c L and \c R using \c Cmp. To enable stable sorts, always pushes 550 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { argument 563 if (Cmp(*R, *L)) { 581 static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp); 599 template <class Compare> void Value::sortUseList(Compare Cmp) { argument 636 Current = mergeUseLists(Slots[I], Current, Cmp); 657 UseList = mergeUseLists(Slots[I], UseList, Cmp); [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 370 Instruction *Cmp = nullptr; local 375 if ((Cmp = dyn_cast<ICmpInst>(I)) || (Cmp = dyn_cast<FCmpInst>(I))) { 376 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin()))) 384 if (!(Cmp = dyn_cast<ICmpInst>(I->getOperand(0))) && 385 !(Cmp = dyn_cast<FCmpInst>(I->getOperand(0)))) 387 if (!Cmp->hasOneUse()) 604 Value *Cmp; local 606 Cmp = Builder.CreateFCmp(P, Left, Right, "rdx.minmax.cmp"); 608 Cmp [all...] |
/external/llvm/tools/llvm-nm/ |
H A D | llvm-nm.cpp | 544 std::function<bool(const NMSymbol &, const NMSymbol &)> Cmp; local 546 Cmp = compareSymbolAddress; 548 Cmp = compareSymbolSize; 550 Cmp = compareSymbolName; 553 Cmp = [=](const NMSymbol &A, const NMSymbol &B) { return Cmp(B, A); }; 554 std::sort(SymbolList.begin(), SymbolList.end(), Cmp);
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1237 __m128i Cmp = _mm_or_si128(_mm_cmpeq_epi8(Chunk, CRs), local 1239 unsigned Mask = _mm_movemask_epi8(Cmp);
|
/external/clang/lib/CodeGen/ |
H A D | CGAtomic.cpp | 391 // Cmp holds the result of the compare-exchange operation: true on success, 394 llvm::Value *Cmp = CGF.Builder.CreateExtractValue(Pair, 1); local 408 CGF.Builder.CreateCondBr(Cmp, ContinueBB, StoreExpectedBB); 417 // Update the memory at Dest with Cmp's value. 418 CGF.EmitStoreOfScalar(Cmp, CGF.MakeAddrLValue(Dest, E->getType()));
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGNodes.h | 1253 // Cmp: compare value 1258 EVT MemVT, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, 1263 InitOperands(Ops, Chain, Ptr, Cmp, Swp); 1257 AtomicSDNode(unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTL, EVT MemVT, SDValue Chain, SDValue Ptr, SDValue Cmp, SDValue Swp, MachineMemOperand *MMO, AtomicOrdering Ordering, SynchronizationScope SynchScope) argument
|
/external/llvm/lib/Analysis/ |
H A D | InstructionSimplify.cpp | 92 CmpInst *Cmp = dyn_cast<CmpInst>(V); local 93 if (!Cmp) 95 CmpInst::Predicate CPred = Cmp->getPredicate(); 96 Value *CLHS = Cmp->getOperand(0), *CRHS = Cmp->getOperand(1); 1921 CmpInst *Cmp = dyn_cast<CmpInst>(SI->getCondition()); 1922 if (!Cmp) 1924 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); 1925 if (Pred == Cmp [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 119 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 491 Comparison::Kind Cmp = (Comparison::Kind)0; local 636 Comparison::Kind Cmp; local 1429 Comparison::Kind Cmp = getComparisonKind(MI->getOpcode(), 0, 0, 0); local 1765 Comparison::Kind Cmp = getComparisonKind(PredDef->getOpcode(), 0, 0, 0); local [all...] |
/external/v8/src/arm64/ |
H A D | macro-assembler-arm64-inl.h | 208 void MacroAssembler::Cmp(const Register& rn, const Operand& operand) { function in class:v8::internal::MacroAssembler 1600 Cmp(lhs, rhs);
|