Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/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()
H A DSMEABIPass.cpp120 auto *Cmp = Builder.CreateCmp(ICmpInst::ICMP_NE, TPIDR2, in updateNewStateFunctions() local
/freebsd/contrib/llvm-project/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()
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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp83 Value *createOrCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createOrCond()
93 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val, in createOrCond()
100 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp, in createCond()
111 Value *createCond(CallInst *CI, Value *Arg, CmpInst::Predicate Cmp, in createCond()
118 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) { in createCond()
H A DLowerAtomic.cpp25 Value *Cmp = CXI->getCompareOperand(); in lowerAtomicCmpXchgInst() local
83 Value *Cmp = Builder.CreateICmpUGE(Loaded, Val); in buildAtomicRMWValue() local
H A DLowerGlobalDtors.cpp211 Value *Cmp = new ICmpInst(EntryBB, ICmpInst::ICMP_NE, Res, in runImpl() local
H A DPredicateInfo.cpp409 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processAssume() local
455 if (auto *Cmp = dyn_cast<CmpInst>(Cond)) in processBranch() local
791 CmpInst *Cmp = dyn_cast<CmpInst>(Condition); in getConstraint() local
H A DAMDGPUEmitPrintf.cpp134 auto Cmp = Builder.CreateICmpEQ(Data, CharZero); in getStrlenWithNull() local
456 auto *Cmp = cast<ICmpInst>(Builder.CreateICmpNE(Ptr, zeroIntPtr, "")); in emitAMDGPUPrintfCall() local
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
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
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp390 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 = Builder.CreateICmp(ICmpInst::ICMP_EQ, Loads.Lhs, Loads.Rhs); in emitLoadCompareBlock() local
589 Value *Cmp = Builder.CreateICmp(ICmpInst::ICMP_ULT, ResBlock.PhiSrc1, in emitMemCmpResultBlock() local
635 Value *Cmp = getCompareLoadPairs(0, LoadIndex); in getMemCmpEqZeroOneBlock() local
689 Value *Cmp = Builder.CreateICmp(CmpInst::getUnsignedPredicate(Pred), in getMemCmpOneBlock() local
H A DExpandLargeFpConvert.cpp172 Value *Cmp = in expandFPToI() local
364 Value *Cmp = Builder.CreateICmpEQ(IntVal, ConstantInt::getSigned(IntTy, 0)); in expandIToFP() local
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStatistic.cpp144 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/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp774 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), in foldGEPICmp() local
1202 Instruction *InstCombinerImpl::foldICmpWithZero(ICmpInst &Cmp) { in foldICmpWithZero()
1284 Instruction *InstCombinerImpl::foldICmpWithConstant(ICmpInst &Cmp) { in foldICmpWithConstant()
1334 Instruction *InstCombinerImpl::foldICmpWithDominatingICmp(ICmpInst &Cmp) { in foldICmpWithDominatingICmp()
1410 Instruction *InstCombinerImpl::foldICmpTruncConstant(ICmpInst &Cmp, in foldICmpTruncConstant()
1497 InstCombinerImpl::foldICmpTruncWithTruncOrExt(ICmpInst &Cmp, in foldICmpTruncWithTruncOrExt()
1556 Instruction *InstCombinerImpl::foldICmpXorConstant(ICmpInst &Cmp, in foldICmpXorConstant()
1628 Instruction *InstCombinerImpl::foldICmpXorShiftConst(ICmpInst &Cmp, in foldICmpXorShiftConst()
1657 Instruction *InstCombinerImpl::foldICmpAndShift(ICmpInst &Cmp, in foldICmpAndShift()
1743 Instruction *InstCombinerImpl::foldICmpAndConstConst(ICmpInst &Cmp, in foldICmpAndConstConst()
[all …]
H A DInstCombineSelect.cpp122 static Value *foldSelectICmpAnd(SelectInst &Sel, ICmpInst *Cmp, in foldSelectICmpAnd()
586 static Instruction *foldSelectICmpAndAnd(Type *SelType, const ICmpInst *Cmp, in foldSelectICmpAndAnd()
634 static Value *foldSelectICmpAndZeroShl(const ICmpInst *Cmp, Value *TVal, in foldSelectICmpAndZeroShl()
970 static Value *canonicalizeSaturatedAdd(ICmpInst *Cmp, Value *TVal, Value *FVal, in canonicalizeSaturatedAdd()
1041 static Value *foldAbsDiff(ICmpInst *Cmp, Value *TVal, Value *FVal, in foldAbsDiff()
1193 static Value *canonicalizeSPF(ICmpInst &Cmp, Value *TrueVal, Value *FalseVal, in canonicalizeSPF()
1287 ICmpInst &Cmp) { in foldSelectValueEquivalence()
1572 tryToReuseConstantFromSelectInComparison(SelectInst &Sel, ICmpInst &Cmp, in tryToReuseConstantFromSelectInComparison()
1644 static Instruction *foldSelectZeroOrOnes(ICmpInst *Cmp, Value *TVal, in foldSelectZeroOrOnes()
2233 auto *Cmp = dyn_cast<CmpInst>(Cond); in foldSelectExtConst() local
[all …]
H A DInstCombineMulDivRem.cpp1287 Value *Cmp = Builder.CreateICmpULT(Inc, ConstantInt::get(Ty, 3)); in commonIDivTransforms() local
1547 Value *Cmp = Builder.CreateICmpUGE(Op0, Op1); in visitUDiv() local
1552 Value *Cmp = Builder.CreateICmpEQ(Op0, ConstantInt::getAllOnesValue(Ty)); in visitUDiv() local
2191 Value *Cmp = Builder.CreateICmpNE(Op1, ConstantInt::get(Ty, 1)); in visitURem() local
2201 Value *Cmp = Builder.CreateICmpULT(F0, Op1); in visitURem() local
2215 Value *Cmp = in visitURem() local
2228 Value *Cmp = Builder.CreateICmpEQ(FrozenOp0, Op1); in visitURem() local
H A DInstCombineAndOrXor.cpp1155 unsigned OpNo) -> std::optional<IntPart> { in foldEqOfParts()
2363 Value *Cmp = Builder.CreateIsNull(Neg); in visitAnd() local
2523 Value *Cmp = Builder.CreateICmpEQ(X, ConstantInt::get(Ty, BitNum)); in visitAnd() local
2543 Value *Cmp = Builder.CreateICmpEQ(X, CmpC); in visitAnd() local
2553 Constant *Cmp = in visitAnd() local
2560 Value *Cmp = Builder.CreateICmpEQ(X, CmpC); in visitAnd() local
2697 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
2704 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
2714 if (auto *Cmp = dyn_cast<ICmpInst>(X)) in visitAnd() local
2721 if (auto *Cmp = dyn_cast<ICmpInst>(Y)) in visitAnd() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DBitTracker.h98 struct Cmp { struct
99 Cmp(DenseMap<const MachineInstr*,unsigned> &Map) : Dist(Map) {} in Cmp() function
101 DenseMap<const MachineInstr*,unsigned> &Dist;
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Datomic_helpers.h116 inline bool atomic_compare_exchange_strong(volatile T *A, typename T::Type *Cmp, in atomic_compare_exchange_strong() argument
137 atomic_compare_exchange_strong(volatile T *A, typename T::Type Cmp, in atomic_compare_exchange() argument
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp287 static bool processICmp(ICmpInst *Cmp, LazyValueInfo *LVI) { in processICmp()
316 static bool constantFoldCmp(CmpInst *Cmp, LazyValueInfo *LVI) { in constantFoldCmp()
330 static bool processCmp(CmpInst *Cmp, LazyValueInfo *LVI) { in processCmp()
858 auto *Cmp = B.CreateICmp(ICmpInst::ICMP_ULT, FrozenX, FrozenY, in expandUDivOrURem() local
862 auto *Cmp = in expandUDivOrURem() local
H A DCallSiteSplitting.cpp109 static bool isCondRelevantToAnyCallArgument(ICmpInst *Cmp, CallBase &CB) { in isCondRelevantToAnyCallArgument()
140 ICmpInst *Cmp = cast<ICmpInst>(Cond); in recordCondition() local
H A DMergeICmps.cpp205 BCECmpBlock(BCECmp Cmp, BasicBlock *BB, InstructionSet BlockInsts) in BCECmpBlock()
240 BCECmp Cmp; member in __anonde3b773f0111::BCECmpBlock
575 [](int i, const BCECmpBlock &Cmp) { in makeName()
H A DConstraintElimination.cpp1061 if (auto Cmp = dyn_cast<ICmpInst>(&I)) { in addInfoFor() local
1161 if (auto *Cmp = dyn_cast<ICmpInst>(Cur)) { in addInfoFor() local
1345 auto *Cmp = Builder.CreateICmp(Entry.Pred, Entry.LHS, Entry.RHS); in generateReproducer() local
1400 CmpInst *Cmp, ConstraintInfo &Info, unsigned NumIn, unsigned NumOut, in checkAndReplaceCondition()
1404 auto ReplaceCmpWithConstant = [&](CmpInst *Cmp, bool IsTrue) { in checkAndReplaceCondition()
1767 } else if (auto *Cmp = dyn_cast<ICmpInst>(Inst)) { in eliminateConstraints() local
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp840 [](const clang::CXXOperatorCallExpr *Cmp, in buildTransferMatchSwitch()
848 [](const clang::CXXOperatorCallExpr *Cmp, in buildTransferMatchSwitch()
856 [](const clang::CXXOperatorCallExpr *Cmp, in buildTransferMatchSwitch()
857 const MatchFinder::MatchResult &, LatticeTransferState &State) { in buildTransferMatchSwitch()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DValue.h826 mergeUseLists(Use * L,Use * R,Compare Cmp) mergeUseLists() argument
886 sortUseList(Compare Cmp) sortUseList() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp644 SDValue Cmp; in getAVRCmp() local
695 SDValue Cmp; in getAVRCmp() local
877 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerBR_CC() local
892 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, dl); in LowerSELECT_CC() local
907 SDValue Cmp = getAVRCmp(LHS, RHS, CC, TargetCC, DAG, DL); in LowerSETCC() local

12345