Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp24 static DeclarationMatcher getComparisonDecl(GtestCmp Cmp) { in getComparisonDecl()
44 static llvm::StringRef getAssertMacro(GtestCmp Cmp) { in getAssertMacro()
62 static llvm::StringRef getExpectMacro(GtestCmp Cmp) { in getExpectMacro()
89 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left, in gtestAssert()
96 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left, in gtestExpect()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ConditionOptimizer.cpp230 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp()
244 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp()
275 AArch64CC::CondCode Cmp; in modifyCmp() local
318 AArch64CC::CondCode Cmp, MachineInstr *To, int ToImm) in adjustTo()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h413 typename C::CType compare(const Variable* E, C& Cmp) const { in compare()
473 typename C::CType compare(const Future* E, C& Cmp) const { in compare()
500 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare()
521 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare()
553 typename C::CType compare(const Literal* E, C& Cmp) const { in compare()
653 typename C::CType compare(const LiteralPtr* E, C& Cmp) const { in compare()
696 typename C::CType compare(const Function* E, C& Cmp) const { in compare()
752 typename C::CType compare(const SFunction* E, C& Cmp) const { in compare()
787 typename C::CType compare(const Code* E, C& Cmp) const { in compare()
822 typename C::CType compare(const Field* E, C& Cmp) const { in compare()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DOptEmitter.cpp54 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").str().c_str(), in CompareOptionRecords() local
67 if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str())) in CompareOptionRecords() local
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/test/
H A Ddummyrange.d386 pure struct Cmp(T) in Cmp() function
426 static void testInputRange(T,Cmp)() in testInputRange() argument
478 static void testForwardRange(T,Cmp)() in testForwardRange() argument
487 static void testBidirectionalRange(T,Cmp)() in testBidirectionalRange() argument
500 static void testRandomAccessRange(T,Cmp)() in testRandomAccessRange() argument
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/test/
H A Ddummyrange.d386 pure struct Cmp(T) in Cmp() function
423 static void testInputRange(T,Cmp)() in testInputRange() argument
475 static void testForwardRange(T,Cmp)() in testForwardRange() argument
484 static void testBidirectionalRange(T,Cmp)() in testBidirectionalRange() argument
497 static void testRandomAccessRange(T,Cmp)() in testRandomAccessRange() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp347 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() local
384 Value *Cmp = nullptr; in getCompareLoadPairs() local
438 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads() local
497 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_EQ, Loads.Lhs, Loads.Rhs); in emitLoadCompareBlock() local
539 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, in emitMemCmpResultBlock() local
585 Value *Cmp = getCompareLoadPairs(0, LoadIndex); in getMemCmpEqZeroOneBlock() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp914 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), in foldGEPICmp() local
1356 Instruction *InstCombinerImpl::foldICmpWithZero(ICmpInst &Cmp) { in foldICmpWithZero()
1397 Instruction *InstCombinerImpl::foldICmpWithConstant(ICmpInst &Cmp) { in foldICmpWithConstant()
1443 Instruction *InstCombinerImpl::foldICmpWithDominatingICmp(ICmpInst &Cmp) { in foldICmpWithDominatingICmp()
1519 Instruction *InstCombinerImpl::foldICmpTruncConstant(ICmpInst &Cmp, in foldICmpTruncConstant()
1568 Instruction *InstCombinerImpl::foldICmpXorConstant(ICmpInst &Cmp, in foldICmpXorConstant()
1635 Instruction *InstCombinerImpl::foldICmpAndShift(ICmpInst &Cmp, in foldICmpAndShift()
1721 Instruction *InstCombinerImpl::foldICmpAndConstConst(ICmpInst &Cmp, in foldICmpAndConstConst()
1829 Instruction *InstCombinerImpl::foldICmpAndConstant(ICmpInst &Cmp, in foldICmpAndConstant()
1883 Instruction *InstCombinerImpl::foldICmpOrConstant(ICmpInst &Cmp, in foldICmpOrConstant()
[all …]
H A DInstCombineMulDivRem.cpp812 Value *Cmp = Builder.CreateICmpULT(Inc, ConstantInt::get(Ty, 3)); in commonIDivTransforms() local
1034 Value *Cmp = Builder.CreateICmpUGE(Op0, Op1); in visitUDiv() local
1039 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitUDiv() local
1493 Value *Cmp = Builder.CreateICmpNE(Op1, ConstantInt::get(Ty, 1)); in visitURem() local
1499 Value *Cmp = Builder.CreateICmpULT(Op0, Op1); in visitURem() local
1510 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitURem() local
H A DInstCombineSelect.cpp125 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, in foldSelectICmpAnd()
510 static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *Cmp, in foldSelectICmpAndAnd()
776 static Value *canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, in canonicalizeSaturatedAdd()
945 static bool adjustMinMax(SelectInst &Sel, ICmpInst &Cmp) { in adjustMinMax()
1042 ICmpInst &Cmp, in canonicalizeMinMaxWithConstant()
1080 static Instruction *canonicalizeAbsNabs(SelectInst &Sel, ICmpInst &Cmp, in canonicalizeAbsNabs()
1122 ICmpInst &Cmp) { in foldSelectValueEquivalence()
1370 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, in tryToReuseConstantFromSelectInComparison()
1932 auto *Cmp = dyn_cast<CmpInst>(Cond); in foldSelectExtConst() local
2953 Value *Cmp; in visitSelectInst() local
H A DInstCombineAndOrXor.cpp2037 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
2040 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
2045 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
2048 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
2849 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitOr() local
2852 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitOr() local
2857 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitOr() local
2860 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitOr() local
3226 Value *Cmp = Builder.CreateICmpSLT(A, ConstantInt::getNullValue(Ty)); in canonicalizeAbs() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A 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
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DBitTracker.h98 struct Cmp { struct
99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} in Cmp() argument
101 DenseMap<const MachineInstr*,unsigned> &Dist;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A 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()
H A DPredicateInfo.cpp422 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processAssume() local
468 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processBranch() local
778 CmpInst *Cmp = dyn_cast<CmpInst>(Condition); in getConstraint() local
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h53 PostOrderCFGView::BlockOrderCompare Cmp; member
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/
H A Datomic.d350 enum Cmp = SizedReg!(AX, T); in version() local
491 enum Cmp = SizedReg!(AX, T); in version() local
534 enum Cmp = SizedReg!(DX, T); in version() local
540 enum Cmp = SizedReg!(SI, T); in version() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp27 Value *Cmp = CXI->getCompareOperand(); in LowerAtomicCmpXchgInst() local
H A DConstraintElimination.cpp206 getConstraint(CmpInst *Cmp, const DenseMap<Value *, unsigned> &Value2Index, in getConstraint()
365 auto *Cmp = dyn_cast<CmpInst>(&I); in eliminateConstraints() local
H A DCallSiteSplitting.cpp111 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { in isCondRelevantToAnyCallArgument()
142 ICmpInst *Cmp = cast<ICmpInst>(Cond); in recordCondition() local
H A DMergeICmps.cpp577 [](int i, const BCECmpBlock &Cmp) { in makeName()
747 for (auto &Cmp : Comparisons_) { in simplify() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp186 Value *Cmp = new ICmpInst(*EntryBB, ICmpInst::ICMP_NE, Res, in runOnModule() local
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp522 SDValue Cmp; in getAVRCmp() local
549 SDValue Cmp; in getAVRCmp() local
731 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerBR_CC() local
746 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerSELECT_CC() local
761 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, DL); in LowerSETCC() local
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DValue.h828 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
888 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIOptimizeExecMaskingPreRA.cpp149 auto *Cmp = TRI->findReachingDef(CmpReg, CmpSubReg, *And, *MRI, LIS); in optimizeVcndVcmpPair() local

12345