/freebsd-src/contrib/llvm-project/clang/lib/ASTMatchers/ |
H A D | GtestMatchers.cpp | 38 static DeclarationMatcher getComparisonDecl(GtestCmp Cmp) { in getComparisonDecl() 70 static llvm::StringRef getComparisonTypeName(GtestCmp Cmp) { in getComparisonTypeName() 88 static std::string getMacroName(MacroType Macro, GtestCmp Cmp) { in getMacroName() 122 gtestComparisonInternal(MacroType Macro, GtestCmp Cmp, StatementMatcher Left, in gtestComparisonInternal() 190 internal::BindableMatcher<Stmt> gtestAssert(GtestCmp Cmp, StatementMatcher Left, in gtestAssert() 195 internal::BindableMatcher<Stmt> gtestExpect(GtestCmp Cmp, StatementMatcher Left, in gtestExpect()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionOptimizer.cpp | 230 static AArch64CC::CondCode getAdjustedCmp(AArch64CC::CondCode Cmp) { in getAdjustedCmp() argument 244 MachineInstr *CmpMI, AArch64CC::CondCode Cmp) { in adjustCmp() argument 275 AArch64CC::CondCode Cmp; in modifyCmp() local 318 adjustTo(MachineInstr * CmpMI,AArch64CC::CondCode Cmp,MachineInstr * To,int ToImm) adjustTo() argument [all...] |
H A D | SMEABIPass.cpp | 121 auto *Cmp = Builder.CreateCmp(ICmpInst::ICMP_NE, TPIDR2, updateNewStateFunctions() local
|
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyTIL.h | 413 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() 504 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare() 525 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare() 557 typename C::CType compare(const Literal* E, C& Cmp) const { in compare() 660 typename C::CType compare(const LiteralPtr* E, C& Cmp) const { in compare() 705 typename C::CType compare(const Function* E, C& Cmp) const { in compare() 761 typename C::CType compare(const SFunction* E, C& Cmp) const { in compare() 796 typename C::CType compare(const Code* E, C& Cmp) const { in compare() 831 typename C::CType compare(const Field* E, C& Cmp) const { in compare() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LibCallsShrinkWrap.cpp | 83 Value *createOrCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createOrCond() argument 93 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond() argument 100 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond() argument 111 Value *createCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createCond() argument 118 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond() argument [all...] |
H A D | LowerAtomic.cpp | 25 Value *Cmp = CXI->getCompareOperand(); in lowerAtomicCmpXchgInst() local 83 Value *Cmp = Builder.CreateICmpUGE(Loaded, Val); in buildAtomicRMWValue() local
|
H A D | LowerGlobalDtors.cpp | 210 Value *Cmp = new ICmpInst(*EntryBB, ICmpInst::ICMP_NE, Res, runImpl() local
|
H A D | PredicateInfo.cpp | 409 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processAssume() local 455 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processBranch() local 793 CmpInst *Cmp = dyn_cast<CmpInst>(Condition); getConstraint() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | OptEmitter.cpp |
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandMemCmp.cpp | 390 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_NE, Diff, in emitLoadCompareByteBlock() local 427 Value *Cmp = nullptr; in getCompareLoadPairs() local 482 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads() local 547 Value *Cmp in emitLoadCompareBlock() local 589 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, emitMemCmpResultBlock() local 635 Value *Cmp = getCompareLoadPairs(0, LoadIndex); getMemCmpEqZeroOneBlock() local 689 Value *Cmp = Builder.CreateICmp(CmpInst::getUnsignedPredicate(Pred), getMemCmpOneBlock() local [all...] |
H A D | ExpandLargeFpConvert.cpp | 171 Value *Cmp = expandFPToI() local 361 Value *Cmp = Builder.CreateICmpEQ(IntVal, ConstantInt::getSigned(IntTy, 0)); expandIToFP() local
|
/freebsd-src/contrib/llvm-project/llvm/lib/Support/ |
H A D | Statistic.cpp | 144 if (int Cmp = std::strcmp(LHS->getDebugType(), RHS->getDebugType())) in sort() local 147 if (int Cmp = std::strcmp(LHS->getName(), RHS->getName())) in sort() local
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 769 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), foldGEPICmp() local 1201 foldICmpWithZero(ICmpInst & Cmp) foldICmpWithZero() argument 1283 foldICmpWithConstant(ICmpInst & Cmp) foldICmpWithConstant() argument 1333 foldICmpWithDominatingICmp(ICmpInst & Cmp) foldICmpWithDominatingICmp() argument 1408 foldICmpTruncConstant(ICmpInst & Cmp,TruncInst * Trunc,const APInt & C) foldICmpTruncConstant() argument 1486 foldICmpTruncWithTruncOrExt(ICmpInst & Cmp,const SimplifyQuery & Q) foldICmpTruncWithTruncOrExt() argument 1539 foldICmpXorConstant(ICmpInst & Cmp,BinaryOperator * Xor,const APInt & C) foldICmpXorConstant() argument 1611 foldICmpXorShiftConst(ICmpInst & Cmp,BinaryOperator * Xor,const APInt & C) foldICmpXorShiftConst() argument 1640 foldICmpAndShift(ICmpInst & Cmp,BinaryOperator * And,const APInt & C1,const APInt & C2) foldICmpAndShift() argument 1726 foldICmpAndConstConst(ICmpInst & Cmp,BinaryOperator * And,const APInt & C1) foldICmpAndConstConst() argument 1834 foldICmpAndConstant(ICmpInst & Cmp,BinaryOperator * And,const APInt & C) foldICmpAndConstant() argument 1929 foldICmpOrXorSubChain(ICmpInst & Cmp,BinaryOperator * Or,InstCombiner::BuilderTy & Builder) foldICmpOrXorSubChain() argument 1988 foldICmpOrConstant(ICmpInst & Cmp,BinaryOperator * Or,const APInt & C) foldICmpOrConstant() argument 2079 foldICmpMulConstant(ICmpInst & Cmp,BinaryOperator * Mul,const APInt & C) foldICmpMulConstant() argument 2170 foldICmpShlOne(ICmpInst & Cmp,Instruction * Shl,const APInt & C) foldICmpShlOne() argument 2214 foldICmpShlConstant(ICmpInst & Cmp,BinaryOperator * Shl,const APInt & C) foldICmpShlConstant() argument 2374 foldICmpShrConstant(ICmpInst & Cmp,BinaryOperator * Shr,const APInt & C) foldICmpShrConstant() argument 2528 foldICmpSRemConstant(ICmpInst & Cmp,BinaryOperator * SRem,const APInt & C) foldICmpSRemConstant() argument 2579 foldICmpUDivConstant(ICmpInst & Cmp,BinaryOperator * UDiv,const APInt & C) foldICmpUDivConstant() argument 2612 foldICmpDivConstant(ICmpInst & Cmp,BinaryOperator * Div,const APInt & C) foldICmpDivConstant() argument 2794 foldICmpSubConstant(ICmpInst & Cmp,BinaryOperator * Sub,const APInt & C) foldICmpSubConstant() argument 2929 foldICmpAddConstant(ICmpInst & Cmp,BinaryOperator * Add,const APInt & C) foldICmpAddConstant() argument 3114 foldICmpSelectConstant(ICmpInst & Cmp,SelectInst * Select,ConstantInt * C) foldICmpSelectConstant() argument 3165 foldICmpBitCast(ICmpInst & Cmp) foldICmpBitCast() argument 3305 foldICmpInstWithConstant(ICmpInst & Cmp) foldICmpInstWithConstant() argument 3353 foldICmpBinOpEqualityWithConstant(ICmpInst & Cmp,BinaryOperator * BO,const APInt & C) foldICmpBinOpEqualityWithConstant() argument 3497 foldICmpEqIntrinsicWithConstant(ICmpInst & Cmp,IntrinsicInst * II,const APInt & C) foldICmpEqIntrinsicWithConstant() argument 3604 foldICmpIntrinsicWithIntrinsic(ICmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldICmpIntrinsicWithIntrinsic() argument 3660 foldICmpInstWithConstantAllowUndef(ICmpInst & Cmp,const APInt & C) foldICmpInstWithConstantAllowUndef() argument 3682 foldICmpBinOpWithConstant(ICmpInst & Cmp,BinaryOperator * BO,const APInt & C) foldICmpBinOpWithConstant() argument 3825 foldICmpIntrinsicWithConstant(ICmpInst & Cmp,IntrinsicInst * II,const APInt & C) foldICmpIntrinsicWithConstant() argument 6164 __anon68ee6cff1302(Instruction &Cmp) foldICmpUsingKnownBits() argument 6650 foldICmpWithHighBitMask(ICmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldICmpWithHighBitMask() argument 6693 foldVectorCmp(CmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldVectorCmp() argument 7183 Value *Cmp = Builder.CreateICmp(Pred, SLTZero, Y, I.getName()); visitICmpInst() local [all...] |
H A D | InstCombineSelect.cpp | 121 foldSelectICmpAnd(SelectInst & Sel,ICmpInst * Cmp,InstCombiner::BuilderTy & Builder) foldSelectICmpAnd() argument 570 foldSelectICmpAndAnd(Type * SelType,const ICmpInst * Cmp,Value * TVal,Value * FVal,InstCombiner::BuilderTy & Builder) foldSelectICmpAndAnd() argument 618 foldSelectICmpAndZeroShl(const ICmpInst * Cmp,Value * TVal,Value * FVal,InstCombiner::BuilderTy & Builder) foldSelectICmpAndZeroShl() argument 954 canonicalizeSaturatedAdd(ICmpInst * Cmp,Value * TVal,Value * FVal,InstCombiner::BuilderTy & Builder) canonicalizeSaturatedAdd() argument 1025 foldAbsDiff(ICmpInst * Cmp,Value * TVal,Value * FVal,InstCombiner::BuilderTy & Builder) foldAbsDiff() argument 1174 canonicalizeSPF(ICmpInst & Cmp,Value * TrueVal,Value * FalseVal,InstCombinerImpl & IC) canonicalizeSPF() argument 1265 foldSelectValueEquivalence(SelectInst & Sel,ICmpInst & Cmp) foldSelectValueEquivalence() argument 1534 tryToReuseConstantFromSelectInComparison(SelectInst & Sel,ICmpInst & Cmp,InstCombinerImpl & IC) tryToReuseConstantFromSelectInComparison() argument 1606 foldSelectZeroOrOnes(ICmpInst * Cmp,Value * TVal,Value * FVal,InstCombiner::BuilderTy & Builder) foldSelectZeroOrOnes() argument 2089 auto *Cmp = dyn_cast<CmpInst>(Cond); foldSelectExtConst() local 3602 Value *Cmp; visitSelectInst() local 3825 if (ICmpInst *Cmp = dyn_cast<ICmpInst>(B)) visitSelectInst() local [all...] |
H A D | InstCombineMulDivRem.cpp | 1148 Value *Cmp = Builder.CreateICmpULT(Inc, ConstantInt::get(Ty, 3)); commonIDivTransforms() local 1411 Value *Cmp = Builder.CreateICmpUGE(Op0, Op1); visitUDiv() local 1416 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); visitUDiv() local 2035 Value *Cmp = Builder.CreateICmpNE(Op1, ConstantInt::get(Ty, 1)); visitURem() local 2043 Value *Cmp = Builder.CreateICmpULT(F0, Op1); visitURem() local 2055 Value *Cmp = visitURem() local 2066 Value *Cmp = Builder.CreateICmpEQ(FrozenOp0, Op1); visitURem() local [all...] |
H A D | InstCombineAndOrXor.cpp | 1112 __anon4f77c6d20902(ICmpInst *Cmp, unsigned OpNo) foldEqOfParts() argument 2237 Value *Cmp = Builder.CreateIsNull(Neg); visitAnd() local 2398 Value *Cmp = Builder.CreateICmpEQ(X, ConstantInt::get(Ty, BitNum)); visitAnd() local 2418 Value *Cmp = Builder.CreateICmpEQ(X, CmpC); visitAnd() local 2428 Constant *Cmp = visitAnd() local 2435 Value *Cmp = Builder.CreateICmpEQ(X, CmpC); visitAnd() local 2587 if (auto *Cmp = dyn_cast<ICmpInst>(X)) visitAnd() local 2594 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) visitAnd() local 2604 if (auto *Cmp = dyn_cast<ICmpInst>(X)) visitAnd() local 2611 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) visitAnd() local 3641 if (auto *Cmp = dyn_cast<ICmpInst>(X)) visitOr() local 3648 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) visitOr() local 3658 if (auto *Cmp = dyn_cast<ICmpInst>(X)) visitOr() local 3665 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) visitOr() local [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | BitTracker.h | 98 struct Cmp { struct 99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} in Cmp() argument 101 DenseMap<const MachineInstr*,unsigned> &Dist;
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | atomic_helpers.h | 116 inline bool atomic_compare_exchange_strong(volatile T *A, typename T::Type *Cmp, in atomic_compare_exchange_strong() 137 atomic_compare_exchange_strong(volatile T *A, typename T::Type Cmp, in atomic_compare_exchange_strong()
|
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 291 processICmp(ICmpInst * Cmp,LazyValueInfo * LVI) processICmp() argument 324 constantFoldCmp(CmpInst * Cmp,LazyValueInfo * LVI) constantFoldCmp() argument 341 processCmp(CmpInst * Cmp,LazyValueInfo * LVI) processCmp() argument 792 auto *Cmp = expandUDivOrURem() local 796 auto *Cmp = expandUDivOrURem() local [all...] |
H A D | CallSiteSplitting.cpp | 109 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { in isCondRelevantToAnyCallArgument() argument 140 ICmpInst *Cmp = cast<ICmpInst>(Cond); in recordCondition() local
|
H A D | MergeICmps.cpp | 205 BCECmpBlock(BCECmp Cmp, BasicBlock *BB, InstructionSet BlockInsts) in BCECmpBlock() argument 240 BCECmp Cmp; member in __anon513fc4110111::BCECmpBlock 575 [](int i, const BCECmpBlock &Cmp) { in makeName() argument [all...] |
H A D | ConstraintElimination.cpp | 1028 if (auto Cmp = dyn_cast<ICmpInst>(&I)) { addInfoFor() local 1123 if (auto *Cmp = dyn_cast<ICmpInst>(Cur)) { addInfoFor() local 1307 auto *Cmp = Builder.CreateICmp(Entry.Pred, Entry.LHS, Entry.RHS); generateReproducer() local 1362 checkAndReplaceCondition(CmpInst * Cmp,ConstraintInfo & Info,unsigned NumIn,unsigned NumOut,Instruction * ContextInst,Module * ReproducerModule,ArrayRef<ReproducerEntry> ReproducerCondStack,DominatorTree & DT,SmallVectorImpl<Instruction * > & ToRemove) checkAndReplaceCondition() argument 1366 __anon74ef54230d02(CmpInst *Cmp, bool IsTrue) checkAndReplaceCondition() argument 1687 } else if (auto *Cmp = dyn_cast<ICmpInst>(Inst)) { eliminateConstraints() local [all...] |
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | DataflowWorklist.h | 51 PostOrderCFGView::BlockOrderCompare Cmp; member
|
/freebsd-src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/ |
H A D | UncheckedOptionalAccessModel.cpp | 771 __anon28249dc60c02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument 779 __anon28249dc60d02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument 787 __anon28249dc60e02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument 788 __anon28249dc60f02(const clang::CXXOperatorCallExpr *Cmp, const MatchFinder::MatchResult &, LatticeTransferState &State) buildTransferMatchSwitch() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Value.h | 838 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists() 898 template <class Compare> void Value::sortUseList(Compare Cmp) { in sortUseList()
|