Home
last modified time | relevance | path

Searched defs:Cmp (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ConditionOptimizer.cpp229 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp()
243 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp()
274 AArch64CC::CondCode Cmp; in modifyCmp() local
319 AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) in adjustTo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp303 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() local
334 Value *Cmp = nullptr; in getCompareLoadPairs() local
410 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads() local
482 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, LoadSrc1, LoadSrc2); in emitLoadCompareBlock() local
518 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, in emitMemCmpResultBlock() local
562 Value *Cmp = getCompareLoadPairs(0, LoadIndex); in getMemCmpEqZeroOneBlock() local
DStackProtector.cpp509 Value *Cmp = B.CreateICmpEQ(Guard, LI2); in InsertStackProtectors() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStatistic.cpp138 if (int Cmp = std::strcmp(LHS->getDebugType(), RHS->getDebugType())) in sort() local
141 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName())) in sort() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp951 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), in foldGEPICmp() local
1392 Instruction *InstCombiner::foldICmpWithZero(ICmpInst &Cmp) { in foldICmpWithZero()
1433 Instruction *InstCombiner::foldICmpWithConstant(ICmpInst &Cmp) { in foldICmpWithConstant()
1458 Instruction *InstCombiner::foldICmpWithDominatingICmp(ICmpInst &Cmp) { in foldICmpWithDominatingICmp()
1528 Instruction *InstCombiner::foldICmpTruncConstant(ICmpInst &Cmp, in foldICmpTruncConstant()
1561 Instruction *InstCombiner::foldICmpXorConstant(ICmpInst &Cmp, in foldICmpXorConstant()
1633 Instruction *InstCombiner::foldICmpAndShift(ICmpInst &Cmp, BinaryOperator *And, in foldICmpAndShift()
1716 Instruction *InstCombiner::foldICmpAndConstConst(ICmpInst &Cmp, in foldICmpAndConstConst()
1825 Instruction *InstCombiner::foldICmpAndConstant(ICmpInst &Cmp, in foldICmpAndConstant()
1879 Instruction *InstCombiner::foldICmpOrConstant(ICmpInst &Cmp, BinaryOperator *Or, in foldICmpOrConstant()
[all …]
DInstCombineMulDivRem.cpp771 Value *Cmp = Builder.CreateICmpULT(Inc, ConstantInt::get(Ty, 3)); in commonIDivTransforms() local
987 Value *Cmp = Builder.CreateICmpUGE(Op0, Op1); in visitUDiv() local
992 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitUDiv() local
1380 Value *Cmp = Builder.CreateICmpNE(Op1, ConstantInt::get(Ty, 1)); in visitURem() local
1386 Value *Cmp = Builder.CreateICmpULT(Op0, Op1); in visitURem() local
1397 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitURem() local
DInstCombineSelect.cpp123 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, in foldSelectICmpAnd()
501 static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *Cmp, in foldSelectICmpAndAnd()
735 static Value *canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, in canonicalizeSaturatedAdd()
902 static bool adjustMinMax(SelectInst &Sel, ICmpInst &Cmp) { in adjustMinMax()
999 canonicalizeMinMaxWithConstant(SelectInst &Sel, ICmpInst &Cmp, in canonicalizeMinMaxWithConstant()
1043 static Instruction *canonicalizeAbsNabs(SelectInst &Sel, ICmpInst &Cmp, in canonicalizeAbsNabs()
1151 static Value *foldSelectValueEquivalence(SelectInst &Sel, ICmpInst &Cmp, in foldSelectValueEquivalence()
1330 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, in tryToReuseConstantFromSelectInComparison()
1891 auto *Cmp = dyn_cast<CmpInst>(Cond); in foldSelectExtConst() local
2571 Value *Cmp; in visitSelectInst() local
DInstCombineAndOrXor.cpp1925 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
1928 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
1933 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
1936 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
2650 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitOr() local
2653 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitOr() local
2658 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitOr() local
2661 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitOr() local
3231 Value *Cmp = Builder.CreateICmpSLT(A, ConstantInt::getNullValue(Ty)); in visitXor() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DBitTracker.h98 struct Cmp { struct
99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} in Cmp() function
101 DenseMap<const MachineInstr*,unsigned> &Dist;
DHexagonConstPropagation.cpp1107 bool MachineConstEvaluator::evaluateCMPrr(uint32_t Cmp, const RegisterSubReg &R1, in evaluateCMPrr()
1146 bool MachineConstEvaluator::evaluateCMPri(uint32_t Cmp, const RegisterSubReg &R1, in evaluateCMPri()
1173 bool MachineConstEvaluator::evaluateCMPrp(uint32_t Cmp, const RegisterSubReg &R1, in evaluateCMPrp()
1199 bool MachineConstEvaluator::evaluateCMPii(uint32_t Cmp, const APInt &A1, in evaluateCMPii()
1240 bool MachineConstEvaluator::evaluateCMPpi(uint32_t Cmp, uint32_t Props, in evaluateCMPpi()
1306 bool MachineConstEvaluator::evaluateCMPpp(uint32_t Cmp, uint32_t Props1, in evaluateCMPpp()
2602 uint32_t Cmp = getCmp(Opc); in evaluateHexCompare2() local
DHexagonHardwareLoops.cpp512 Comparison::Kind Cmp = (Comparison::Kind)0; in getComparisonKind() local
671 Comparison::Kind Cmp; in getLoopTripCount() local
1469 Comparison::Kind Cmp = in loopCountMayWrapOrUnderFlow() local
1804 Comparison::Kind Cmp = in fixupInductionVariable() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp104 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond()
114 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond()
123 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerGlobalDtors.cpp168 Value *Cmp = new ICmpInst(*EntryBB, ICmpInst::ICMP_NE, Res, in runOnModule() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp27 Value *Cmp = CXI->getCompareOperand(); in LowerAtomicCmpXchgInst() local
DCallSiteSplitting.cpp111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallSite CS) { in isCondRelevantToAnyCallArgument()
143 ICmpInst *Cmp = cast<ICmpInst>(Cond); in recordCondition() local
DInferAddressSpaces.cpp377 else if (ICmpInst *Cmp = dyn_cast<ICmpInst>(&I)) { in collectFlatAddressExpressions() local
953 if (ICmpInst *Cmp = dyn_cast<ICmpInst>(CurUser)) { in rewriteWithNewAddressSpaces() local
DMergeICmps.cpp578 [](int i, const BCECmpBlock &Cmp) { in makeName()
749 for (auto &Cmp : Comparisons_) { in simplify() local
/third_party/python/Lib/test/
Dtest_compare.py8 class Cmp: class
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DValue.h580 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
639 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp78 auto Cmp = [CmpStart, CmpEnd](const char *LHS, const char *RHS) { in lookupLLVMIntrinsicByName() local
DAutoUpgrade.cpp1195 Value *Cmp = Builder.CreateICmp(Pred, LHS, RHS); in upgradeX86vpcom() local
1278 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_SGT, Op0, Zero); in upgradeAbs() local
1292 Value *Cmp = Builder.CreateICmp(Pred, Op0, Op1); in upgradeIntMinMax() local
1358 Value *Cmp; in upgradeMaskedCompare() local
1398 Value* Cmp = Builder.CreateIsNotNull(AndNode); in upgradeMaskedMove() local
3449 Value *Cmp = Builder.CreateICmpSGE( in UpgradeIntrinsicCall() local
3462 Value *Cmp = Name.endswith(".ui") || Name.endswith(".ull") in UpgradeIntrinsicCall() local
3470 Value *Cmp = Name.endswith(".ui") || Name.endswith(".ull") in UpgradeIntrinsicCall() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DValue.h686 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
746 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.cpp446 SDValue Cmp; in getAVRCmp() local
628 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerBR_CC() local
643 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerSELECT_CC() local
658 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, DL); in LowerSETCC() local
/third_party/flutter/skia/third_party/externals/wuffs/script/
Dcrawl.go118 func (k key) Cmp(l key) int { func
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIOptimizeExecMaskingPreRA.cpp225 auto *Cmp = TRI->findReachingDef(CmpReg, CmpSubReg, *And, MRI, LIS); in optimizeVcndVcmpPair() local

1234