/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 147 static Kind getSwappedComparison(Kind Cmp) { in getSwappedComparison() 148 assert ((!((Cmp & L) && (Cmp & G))) && "Malformed comparison operator"); in getSwappedComparison() 149 if ((Cmp & L) || (Cmp & G)) in getSwappedComparison() 150 return (Kind)(Cmp ^ (L|G)); in getSwappedComparison() 151 return Cmp; in getSwappedComparison() 154 static Kind getNegatedComparison(Kind Cmp) { in getNegatedComparison() 155 if ((Cmp & L) || (Cmp in getNegatedComparison() 512 Comparison::Kind Cmp = (Comparison::Kind)0; getComparisonKind() local 671 Comparison::Kind Cmp; getLoopTripCount() local 1469 Comparison::Kind Cmp = loopCountMayWrapOrUnderFlow() local 1804 Comparison::Kind Cmp = fixupInductionVariable() local [all...] |
H A D | HexagonConstPropagation.cpp | 347 static uint32_t negate(uint32_t Cmp) { in negate() 348 if (Cmp == EQ) in negate() 350 if (Cmp == NE) in negate() 352 assert((Cmp & (L|G)) != (L|G)); in negate() 353 return Cmp ^ (L|G); in negate() 365 bool evaluateCMPrr(uint32_t Cmp, const RegisterSubReg &R1, const RegisterSubReg &R2, 367 bool evaluateCMPri(uint32_t Cmp, const RegisterSubReg &R1, const APInt &A2, 369 bool evaluateCMPrp(uint32_t Cmp, const RegisterSubReg &R1, uint64_t Props2, 371 bool evaluateCMPii(uint32_t Cmp, const APInt &A1, const APInt &A2, 373 bool evaluateCMPpi(uint32_t Cmp, uint32_ 1107 evaluateCMPrr(uint32_t Cmp, const RegisterSubReg &R1, const RegisterSubReg &R2, const CellMap &Inputs, bool &Result) evaluateCMPrr() argument 1146 evaluateCMPri(uint32_t Cmp, const RegisterSubReg &R1, const APInt &A2, const CellMap &Inputs, bool &Result) evaluateCMPri() argument 1173 evaluateCMPrp(uint32_t Cmp, const RegisterSubReg &R1, uint64_t Props2, const CellMap &Inputs, bool &Result) evaluateCMPrp() argument 1199 evaluateCMPii(uint32_t Cmp, const APInt &A1, const APInt &A2, bool &Result) evaluateCMPii() argument 1240 evaluateCMPpi(uint32_t Cmp, uint32_t Props, const APInt &A2, bool &Result) evaluateCMPpi() argument 1306 evaluateCMPpp(uint32_t Cmp, uint32_t Props1, uint32_t Props2, bool &Result) evaluateCMPpp() argument 2602 uint32_t Cmp = getCmp(Opc); evaluateHexCompare2() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 951 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), in foldGEPICmp() local 953 return replaceInstUsesWith(I, Cmp); in foldGEPICmp() 1392 Instruction *InstCombiner::foldICmpWithZero(ICmpInst &Cmp) { in foldICmpWithZero() argument 1393 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero() 1394 if (!match(Cmp.getOperand(1), m_Zero())) in foldICmpWithZero() 1400 SelectPatternResult SPR = matchSelectPattern(Cmp.getOperand(0), A, B); in foldICmpWithZero() 1402 if (isKnownPositive(A, DL, 0, &AC, &Cmp, &DT)) in foldICmpWithZero() 1403 return new ICmpInst(Pred, B, Cmp.getOperand(1)); in foldICmpWithZero() 1404 if (isKnownPositive(B, DL, 0, &AC, &Cmp, &DT)) in foldICmpWithZero() 1405 return new ICmpInst(Pred, A, Cmp in foldICmpWithZero() 1433 foldICmpWithConstant(ICmpInst &Cmp) foldICmpWithConstant() argument 1458 foldICmpWithDominatingICmp(ICmpInst &Cmp) foldICmpWithDominatingICmp() argument 1528 foldICmpTruncConstant(ICmpInst &Cmp, TruncInst *Trunc, const APInt &C) foldICmpTruncConstant() argument 1561 foldICmpXorConstant(ICmpInst &Cmp, BinaryOperator *Xor, const APInt &C) foldICmpXorConstant() argument 1633 foldICmpAndShift(ICmpInst &Cmp, BinaryOperator *And, const APInt &C1, const APInt &C2) foldICmpAndShift() argument 1716 foldICmpAndConstConst(ICmpInst &Cmp, BinaryOperator *And, const APInt &C1) foldICmpAndConstConst() argument 1825 foldICmpAndConstant(ICmpInst &Cmp, BinaryOperator *And, const APInt &C) foldICmpAndConstant() argument 1879 foldICmpOrConstant(ICmpInst &Cmp, BinaryOperator *Or, const APInt &C) foldICmpOrConstant() argument 1940 foldICmpMulConstant(ICmpInst &Cmp, BinaryOperator *Mul, const APInt &C) foldICmpMulConstant() argument 1961 foldICmpShlOne(ICmpInst &Cmp, Instruction *Shl, const APInt &C) foldICmpShlOne() argument 2023 foldICmpShlConstant(ICmpInst &Cmp, BinaryOperator *Shl, const APInt &C) foldICmpShlConstant() argument 2163 foldICmpShrConstant(ICmpInst &Cmp, BinaryOperator *Shr, const APInt &C) foldICmpShrConstant() argument 2256 foldICmpSRemConstant(ICmpInst &Cmp, BinaryOperator *SRem, const APInt &C) foldICmpSRemConstant() argument 2295 foldICmpUDivConstant(ICmpInst &Cmp, BinaryOperator *UDiv, const APInt &C) foldICmpUDivConstant() argument 2324 foldICmpDivConstant(ICmpInst &Cmp, BinaryOperator *Div, const APInt &C) foldICmpDivConstant() argument 2494 foldICmpSubConstant(ICmpInst &Cmp, BinaryOperator *Sub, const APInt &C) foldICmpSubConstant() argument 2556 foldICmpAddConstant(ICmpInst &Cmp, BinaryOperator *Add, const APInt &C) foldICmpAddConstant() argument 2674 foldICmpSelectConstant(ICmpInst &Cmp, SelectInst *Select, ConstantInt *C) foldICmpSelectConstant() argument 2725 foldICmpBitCast(ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) foldICmpBitCast() argument 2819 foldICmpInstWithConstant(ICmpInst &Cmp) foldICmpInstWithConstant() argument 2904 foldICmpBinOpEqualityWithConstant(ICmpInst &Cmp, BinaryOperator *BO, const APInt &C) foldICmpBinOpEqualityWithConstant() argument 3024 foldICmpEqIntrinsicWithConstant(ICmpInst &Cmp, IntrinsicInst *II, const APInt &C) foldICmpEqIntrinsicWithConstant() argument 3109 foldICmpIntrinsicWithConstant(ICmpInst &Cmp, IntrinsicInst *II, const APInt &C) foldICmpIntrinsicWithConstant() argument 4070 foldICmpWithMinMax(ICmpInst &Cmp) foldICmpWithMinMax() argument 5353 foldICmpWithHighBitMask(ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) foldICmpWithHighBitMask() argument 5404 foldVectorCmp(CmpInst &Cmp, InstCombiner::BuilderTy &Builder) foldVectorCmp() argument [all...] |
H A D | InstCombineInternal.h | 919 Instruction *foldICmpUsingKnownBits(ICmpInst &Cmp); 920 Instruction *foldICmpWithDominatingICmp(ICmpInst &Cmp); 921 Instruction *foldICmpWithConstant(ICmpInst &Cmp); 922 Instruction *foldICmpInstWithConstant(ICmpInst &Cmp); 923 Instruction *foldICmpInstWithConstantNotInt(ICmpInst &Cmp); 924 Instruction *foldICmpBinOp(ICmpInst &Cmp, const SimplifyQuery &SQ); 925 Instruction *foldICmpEquality(ICmpInst &Cmp); 928 Instruction *foldICmpWithZero(ICmpInst &Cmp); 930 Value *foldUnsignedMultiplicationOverflowCheck(ICmpInst &Cmp); 932 Instruction *foldICmpSelectConstant(ICmpInst &Cmp, SelectIns [all...] |
H A D | InstCombineSelect.cpp | 123 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, in foldSelectICmpAnd() argument 132 if (SelType->isVectorTy() != Cmp->getType()->isVectorTy()) in foldSelectICmpAnd() 138 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd() 140 if (!match(Cmp->getOperand(1), m_Zero())) in foldSelectICmpAnd() 143 V = Cmp->getOperand(0); in foldSelectICmpAnd() 149 } else if (decomposeBitTestICmp(Cmp->getOperand(0), Cmp->getOperand(1), in foldSelectICmpAnd() 175 if (!Cmp->hasOneUse()) in foldSelectICmpAnd() 501 static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *Cmp, in foldSelectICmpAndAnd() argument 504 if (!(Cmp in foldSelectICmpAndAnd() 735 canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, InstCombiner::BuilderTy &Builder) canonicalizeSaturatedAdd() argument 902 adjustMinMax(SelectInst &Sel, ICmpInst &Cmp) adjustMinMax() argument 999 canonicalizeMinMaxWithConstant(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) canonicalizeMinMaxWithConstant() argument 1043 canonicalizeAbsNabs(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) canonicalizeAbsNabs() argument 1151 foldSelectValueEquivalence(SelectInst &Sel, ICmpInst &Cmp, const SimplifyQuery &Q) foldSelectValueEquivalence() argument 1330 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, InstCombiner::BuilderTy &Builder) tryToReuseConstantFromSelectInComparison() argument 1891 auto *Cmp = dyn_cast<CmpInst>(Cond); foldSelectExtConst() local 2571 Value *Cmp; visitSelectInst() local [all...] |
H A D | InstCombineCasts.cpp | 283 auto *Cmp = dyn_cast<CmpInst>(Sel->getCondition()); in commonCastTransforms() local 284 if (!Cmp || Cmp->getOperand(0)->getType() != Sel->getType()) in commonCastTransforms() 847 Instruction *InstCombiner::transformZExtICmp(ICmpInst *Cmp, ZExtInst &Zext, in transformZExtICmp() argument 853 if (match(Cmp->getOperand(1), m_APInt(Op1CV))) { in transformZExtICmp() 857 if ((Cmp->getPredicate() == ICmpInst::ICMP_SLT && Op1CV->isNullValue()) || in transformZExtICmp() 858 (Cmp->getPredicate() == ICmpInst::ICMP_SGT && Op1CV->isAllOnesValue())) { in transformZExtICmp() 859 if (!DoTransform) return Cmp; in transformZExtICmp() 861 Value *In = Cmp->getOperand(0); in transformZExtICmp() 868 if (Cmp in transformZExtICmp() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 112 CmpInfo adjustCmp(MachineInstr *CmpMI, AArch64CC::CondCode Cmp); 114 bool adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To, 229 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp() argument 230 switch (Cmp) { in getAdjustedCmp() 243 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp() 250 int Correction = (Cmp == AArch64CC::GT) ? 1 : -1; in adjustCmp() 266 return CmpInfo(NewImm, Opc, getAdjustedCmp(Cmp)); in adjustCmp() 274 AArch64CC::CondCode Cmp; in modifyCmp() local 275 std::tie(Imm, Opc, Cmp) = Info; in modifyCmp() 293 .addImm(Cmp) in modifyCmp() 242 adjustCmp( MachineInstr *CmpMI, AArch64CC::CondCode Cmp) adjustCmp() argument 318 adjustTo(MachineInstr *CmpMI, AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) adjustTo() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeExecMaskingPreRA.cpp | 225 auto *Cmp = TRI->findReachingDef(CmpReg, CmpSubReg, *And, MRI, LIS); in optimizeVcndVcmpPair() local 226 if (!Cmp || !(Cmp->getOpcode() == AMDGPU::V_CMP_NE_U32_e32 || in optimizeVcndVcmpPair() 227 Cmp->getOpcode() == AMDGPU::V_CMP_NE_U32_e64) || in optimizeVcndVcmpPair() 228 Cmp->getParent() != And->getParent()) in optimizeVcndVcmpPair() 231 MachineOperand *Op1 = TII->getNamedOperand(*Cmp, AMDGPU::OpName::src0); in optimizeVcndVcmpPair() 232 MachineOperand *Op2 = TII->getNamedOperand(*Cmp, AMDGPU::OpName::src1); in optimizeVcndVcmpPair() 239 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, MRI, LIS); in optimizeVcndVcmpPair() 254 LLVM_DEBUG(dbgs() << "Folding sequence:\n\t" << *Sel << '\t' << *Cmp << '\t' in optimizeVcndVcmpPair() 269 // Try to remove compare. Cmp valu in optimizeVcndVcmpPair() [all...] |
/third_party/node/deps/v8/src/regexp/arm64/ |
H A D | regexp-macro-assembler-arm64.cc | 200 __ Cmp(scratch, Operand(backtrack_limit())); in Backtrack() 240 __ Cmp(w10, string_start_minus_one()); in CheckAtStart() 248 __ Cmp(w10, string_start_minus_one()); in CheckNotAtStart() 289 __ Cmp(current_input_offset(), w10); in CheckGreedyLoop() 336 __ Cmp(current_input_offset(), w12); in CheckNotBackReferenceIgnoreCase() 371 __ Cmp(w10, w11); in CheckNotBackReferenceIgnoreCase() 377 __ Cmp(w11, w10); in CheckNotBackReferenceIgnoreCase() 380 __ Cmp(w10, 'z' - 'a'); // Is w10 a lowercase letter? in CheckNotBackReferenceIgnoreCase() 384 __ Cmp(w10, 254 - 224); in CheckNotBackReferenceIgnoreCase() 389 __ Cmp(capture_start_addres in CheckNotBackReferenceIgnoreCase() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 303 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() local 306 BranchInst::Create(EndBlock, LoadCmpBlocks[BlockIndex + 1], Cmp); in emitLoadCompareByteBlock() 334 Value *Cmp = nullptr; in getCompareLoadPairs() 377 Cmp = Builder.CreateICmpNE(LoadSrc1, LoadSrc2); in getCompareLoadPairs() 392 if (!Cmp) { in getCompareLoadPairs() 402 Cmp = Builder.CreateICmpNE(OrList[0], ConstantInt::get(Diff->getType(), 0)); in getCompareLoadPairs() 405 return Cmp; in getCompareLoadPairs() 410 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads() local 417 BranchInst *CmpBr = BranchInst::Create(ResBlock.BB, NextBB, Cmp); in emitLoadCompareBlockMultipleLoads() 482 Value *Cmp in emitLoadCompareBlock() local 518 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, emitMemCmpResultBlock() local 562 Value *Cmp = getCompareLoadPairs(0, LoadIndex); getMemCmpEqZeroOneBlock() local [all...] |
H A D | CodeGenPrepare.cpp | 113 STATISTIC(NumCmpUses, "Number of uses of Cmp expressions replaced with uses of " 401 bool replaceMathCmpWithIntrinsic(BinaryOperator *BO, CmpInst *Cmp, 403 bool optimizeCmp(CmpInst *Cmp, bool &ModifiedDT); 404 bool combineToUSubWithOverflow(CmpInst *Cmp, bool &ModifiedDT); 405 bool combineToUAddWithOverflow(CmpInst *Cmp, bool &ModifiedDT); 1190 CmpInst *Cmp, in replaceMathCmpWithIntrinsic() 1192 if (BO->getParent() != Cmp->getParent()) { in replaceMathCmpWithIntrinsic() 1217 for (Instruction &Iter : *Cmp->getParent()) { in replaceMathCmpWithIntrinsic() 1218 if (&Iter == BO || &Iter == Cmp) { in replaceMathCmpWithIntrinsic() 1230 Cmp in replaceMathCmpWithIntrinsic() 1189 replaceMathCmpWithIntrinsic(BinaryOperator *BO, CmpInst *Cmp, Intrinsic::ID IID) replaceMathCmpWithIntrinsic() argument 1237 matchUAddWithOverflowConstantEdgeCases(CmpInst *Cmp, BinaryOperator *&Add) matchUAddWithOverflowConstantEdgeCases() argument 1268 combineToUAddWithOverflow(CmpInst *Cmp, bool &ModifiedDT) combineToUAddWithOverflow() argument 1294 combineToUSubWithOverflow(CmpInst *Cmp, bool &ModifiedDT) combineToUSubWithOverflow() argument 1361 sinkCmpExpression(CmpInst *Cmp, const TargetLowering &TLI) sinkCmpExpression() argument 1440 foldICmpWithDominatingICmp(CmpInst *Cmp, const TargetLowering &TLI) foldICmpWithDominatingICmp() argument 1508 optimizeCmp(CmpInst *Cmp, bool &ModifiedDT) optimizeCmp() argument 1853 Value *Cmp = Builder.CreateICmpEQ(CountZeros->getOperand(0), Zero, "cmpz"); despeculateCountZeros() local 5977 CmpInst *Cmp = dyn_cast<CmpInst>(SI->getCondition()); isFormingBranchFromSelectProfitable() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | Value.h | 563 /// Sorts the Value's use-list by Cmp using a stable mergesort. Cmp is 565 template <class Compare> void sortUseList(Compare Cmp); 573 /// Merges \c L and \c R using \c Cmp. To enable stable sorts, always pushes 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() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | CallSiteSplitting.cpp | 111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument() argument 112 assert(isa<Constant>(Cmp->getOperand(1)) && "Expected a constant operand."); in isCondRelevantToAnyCallArgument() 113 Value *Op0 = Cmp->getOperand(0); in isCondRelevantToAnyCallArgument() 143 ICmpInst *Cmp = cast<ICmpInst>(Cond); in recordCondition() 145 if (isCondRelevantToAnyCallArgument(Cmp, CS)) in recordCondition() 146 Conditions.push_back({Cmp, From->getTerminator()->getSuccessor(0) == To in recordCondition() 148 : Cmp->getInversePredicate()}); in recordCondition()
|
H A D | InferAddressSpaces.cpp | 377 else if (ICmpInst *Cmp = dyn_cast<ICmpInst>(&I)) { in collectFlatAddressExpressions() 379 if (Cmp->getOperand(0)->getType()->isPointerTy()) { in collectFlatAddressExpressions() 380 PushPtrOperand(Cmp->getOperand(0)); in collectFlatAddressExpressions() 381 PushPtrOperand(Cmp->getOperand(1)); in collectFlatAddressExpressions() 953 if (ICmpInst *Cmp = dyn_cast<ICmpInst>(CurUser)) { in rewriteWithNewAddressSpaces() 963 Value *OtherSrc = Cmp->getOperand(OtherIdx); in rewriteWithNewAddressSpaces() 967 Cmp->setOperand(OtherIdx, OtherNewV); in rewriteWithNewAddressSpaces() 968 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces() 976 Cmp->setOperand(SrcIdx, NewV); in rewriteWithNewAddressSpaces() 977 Cmp in rewriteWithNewAddressSpaces() [all...] |
H A D | CorrelatedValuePropagation.cpp | 303 static bool processCmp(CmpInst *Cmp, LazyValueInfo *LVI) { in processCmp() argument 304 Value *Op0 = Cmp->getOperand(0); in processCmp() 305 auto *C = dyn_cast<Constant>(Cmp->getOperand(1)); in processCmp() 315 if (I && I->getParent() == Cmp->getParent()) in processCmp() 319 LVI->getPredicateAt(Cmp->getPredicate(), Op0, C, Cmp); in processCmp() 324 Constant *TorF = ConstantInt::get(Type::getInt1Ty(Cmp->getContext()), Result); in processCmp() 325 Cmp->replaceAllUsesWith(TorF); in processCmp() 326 Cmp->eraseFromParent(); in processCmp()
|
H A D | GVN.cpp | 1392 static bool impliesEquivalanceIfTrue(CmpInst* Cmp) { in impliesEquivalanceIfTrue() argument 1393 if (Cmp->getPredicate() == CmpInst::Predicate::ICMP_EQ) in impliesEquivalanceIfTrue() 1399 if (Cmp->getPredicate() == CmpInst::Predicate::FCMP_OEQ || in impliesEquivalanceIfTrue() 1400 (Cmp->getPredicate() == CmpInst::Predicate::FCMP_UEQ && in impliesEquivalanceIfTrue() 1401 Cmp->getFastMathFlags().noNaNs())) { in impliesEquivalanceIfTrue() 1402 Value *LHS = Cmp->getOperand(0); in impliesEquivalanceIfTrue() 1403 Value *RHS = Cmp->getOperand(1); in impliesEquivalanceIfTrue() 1418 static bool impliesEquivalanceIfFalse(CmpInst* Cmp) { in impliesEquivalanceIfFalse() argument 1419 if (Cmp->getPredicate() == CmpInst::Predicate::ICMP_NE) in impliesEquivalanceIfFalse() 1425 if ((Cmp in impliesEquivalanceIfFalse() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Statistic.cpp | 138 if (int Cmp = std::strcmp(LHS->getDebugType(), RHS->getDebugType())) in sort() 139 return Cmp < 0; in sort() 141 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName())) in sort() 142 return Cmp < 0; in sort()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LibCallsShrinkWrap.cpp | 104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond() argument 109 auto Cond1 = createCond(BBBuilder, Arg, Cmp, Val); in createOrCond() 114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond() argument 119 return BBBuilder.CreateFCmp(Cmp, Arg, V); in createCond() 123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond() argument 126 return createCond(BBBuilder, Arg, Cmp, Val); in createCond()
|
H A D | PredicateInfo.cpp | 370 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) { in processAssume() 371 collectCmpOps(Cmp, CmpOperands); in processAssume() 374 auto *PA = new PredicateAssume(Op, II, Cmp); in processAssume() 441 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) { in processBranch() 442 collectCmpOps(Cmp, CmpOperands); in processBranch() 445 InsertHelper(Op, isAnd, isOr, Cmp); in processBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
H A D | AVRISelLowering.cpp | 446 SDValue Cmp; in getAVRCmp() local 551 Cmp = DAG.getNode(AVRISD::TST, DL, MVT::Glue, Top); in getAVRCmp() 553 Cmp = DAG.getNode(AVRISD::CMP, DL, MVT::Glue, LHSlo, RHSlo); in getAVRCmp() 554 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHShi, RHShi, Cmp); in getAVRCmp() 589 Cmp = DAG.getNode(AVRISD::TST, DL, MVT::Glue, Top); in getAVRCmp() 591 Cmp = DAG.getNode(AVRISD::CMP, DL, MVT::Glue, LHS0, RHS0); in getAVRCmp() 592 Cmp = DAG.getNode(AVRISD::CMPC, DL, MVT::Glue, LHS1, RHS1, Cmp); in getAVRCmp() 593 Cmp in getAVRCmp() 628 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); LowerBR_CC() local 643 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); LowerSELECT_CC() local 658 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, DL); LowerSETCC() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | Value.h | 669 /// Sorts the Value's use-list by Cmp using a stable mergesort. Cmp is 671 template <class Compare> void sortUseList(Compare Cmp); 679 /// Merges \c L and \c R using \c Cmp. To enable stable sorts, always pushes 686 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() argument 699 if (Cmp(*R, *L)) { in mergeUseLists() 746 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList() argument 783 Current = mergeUseLists(Slots[I], Current, Cmp); in sortUseList() 804 UseList = mergeUseLists(Slots[I], UseList, Cmp); in sortUseList()
|
/third_party/node/deps/v8/src/builtins/arm64/ |
H A D | builtins-arm64.cc | 107 __ Cmp(x2, cp); in Generate_JSBuiltinsConstructStubHelper() 227 __ Cmp(x2, cp); in Generate_JSConstructStubGeneric() 426 __ Cmp(scratch, Operand(static_cast<int>(CodeKind::BASELINE))); in AssertCodeTIsBaselineAllowClobber() 454 __ Cmp(scratch1, INTERPRETER_DATA_TYPE); in GetSharedFunctionInfoBytecodeOrBaseline() 506 __ Cmp(sp, x10); in Generate_ResumeGeneratorTrampoline() 713 __ Cmp(x11, 0); // If x11 is zero, this is the outermost frame. in Generate_JSEntryVariant() 821 __ Cmp(x10, StackFrame::OUTERMOST_JSENTRY_FRAME); in Generate_JSEntryVariant() 920 __ Cmp(argc, JSParameterCount(0)); in Generate_JSEntryTrampolineHelper() 934 __ Cmp(x0, scratch); in Generate_JSEntryTrampolineHelper() 1029 __ Cmp(params_siz in LeaveInterpreterFrame() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 464 Instruction *Cmp = nullptr; in isMinMaxSelectCmpPattern() local 469 if ((Cmp = dyn_cast<ICmpInst>(I)) || (Cmp = dyn_cast<FCmpInst>(I))) { in isMinMaxSelectCmpPattern() 470 if (!Cmp->hasOneUse() || !(Select = dyn_cast<SelectInst>(*I->user_begin()))) in isMinMaxSelectCmpPattern() 478 if (!(Cmp = dyn_cast<ICmpInst>(I->getOperand(0))) && in isMinMaxSelectCmpPattern() 479 !(Cmp = dyn_cast<FCmpInst>(I->getOperand(0)))) in isMinMaxSelectCmpPattern() 481 if (!Cmp->hasOneUse()) in isMinMaxSelectCmpPattern()
|
/third_party/python/Lib/test/ |
H A D | test_compare.py | 15 class Cmp: class in ComparisonSimpleTest 20 return '<Cmp %s>' % self.arg 25 set1 = [2, 2.0, 2, 2+0j, Cmp(2.0)] 47 a = self.Cmp(1) 48 b = self.Cmp(1) 49 c = self.Cmp(2)
|
/third_party/node/deps/v8/src/base/ |
H A D | logging.h | 127 bool _cmp = ::v8::base::Cmp##name##Impl< \ 320 Cmp##NAME##Impl(Lhs lhs, Rhs rhs) { \ 347 // The Cmp##NAME##Impl function is only instantiable if one of the two types is 356 bool>::type Cmp##NAME##Impl(Lhs lhs, Rhs rhs) { \ 364 bool cmp = Cmp##NAME##Impl<LhsPassT, RhsPassT>(lhs, rhs); \
|