Home
last modified time | relevance | path

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

1234567

/llvm-project/clang/lib/ASTMatchers/
H A DGtestMatchers.cpp38 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()
/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.cons/
H A Dinitializer_list_compare_alloc.pass.cpp27 typedef test_less<int> Cmp; in main() typedef
61 typedef test_less<int> Cmp; in main() typedef
126 typedef test_less<int> Cmp; in main() typedef
H A Dinitializer_list_compare.pass.cpp26 typedef test_less<int> Cmp; in main() typedef
58 typedef test_less<int> Cmp; in main() typedef
/llvm-project/libcxx/test/std/containers/associative/set/set.cons/
H A Dinitializer_list_compare_alloc.pass.cpp27 typedef test_less<int> Cmp; main() typedef
45 typedef test_less<int> Cmp; main() typedef
H A Dinitializer_list_compare.pass.cpp24 typedef test_less<int> Cmp; main() typedef
/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, updateNewStateFunctions() local
/llvm-project/llvm/utils/TableGen/Common/
H A DOptEmitter.cpp54 if (int Cmp = StrCmpOptionName(A->getValueAsString("Name").str().c_str(), CompareOptionRecords() local
67 if (int Cmp = StrCmpOptionName(APre->str().c_str(), BPre->str().c_str())) CompareOptionRecords() local
/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); buildAtomicRMWValue() local
H A DLowerGlobalDtors.cpp211 Value *Cmp = new ICmpInst(EntryBB, ICmpInst::ICMP_NE, Res, in runImpl() local
/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h413 typename C::CType compare(const Variable* E, C& Cmp) const { in compare() argument
473 typename C::CType compare(const Future* E, C& Cmp) const { in compare() argument
504 typename C::CType compare(const Undefined* E, C& Cmp) const { in compare() argument
525 typename C::CType compare(const Wildcard* E, C& Cmp) const { in compare() argument
557 compare(const Literal * E,C & Cmp) compare() argument
660 compare(const LiteralPtr * E,C & Cmp) compare() argument
705 compare(const Function * E,C & Cmp) compare() argument
761 compare(const SFunction * E,C & Cmp) compare() argument
796 compare(const Code * E,C & Cmp) compare() argument
831 compare(const Field * E,C & Cmp) compare() argument
870 compare(const Apply * E,C & Cmp) compare() argument
908 compare(const SApply * E,C & Cmp) compare() argument
960 compare(const Project * E,C & Cmp) compare() argument
994 compare(const Call * E,C & Cmp) compare() argument
1028 compare(const Alloc * E,C & Cmp) compare() argument
1057 compare(const Load * E,C & Cmp) compare() argument
1088 compare(const Store * E,C & Cmp) compare() argument
1124 compare(const ArrayIndex * E,C & Cmp) compare() argument
1161 compare(const ArrayAdd * E,C & Cmp) compare() argument
1199 compare(const UnaryOp * E,C & Cmp) compare() argument
1245 compare(const BinaryOp * E,C & Cmp) compare() argument
1285 compare(const Cast * E,C & Cmp) compare() argument
1344 compare(const Phi * E,C & Cmp) compare() argument
1403 compare(const Goto * E,C & Cmp) compare() argument
1453 compare(const Branch * E,C & Cmp) compare() argument
1485 compare(const Return * E,C & Cmp) compare() argument
1645 compare(const BasicBlock * E,C & Cmp) compare() argument
1775 compare(const SCFG * E,C & Cmp) compare() argument
1809 compare(const Identifier * E,C & Cmp) compare() argument
1846 compare(const IfThenElse * E,C & Cmp) compare() argument
1894 compare(const Let * E,C & Cmp) compare() argument
[all...]
/llvm-project/libcxx/test/std/containers/associative/multiset/multiset.cons/
H A Dinitializer_list_compare.pass.cpp24 typedef test_less<int> Cmp; main() typedef
H A Dinitializer_list_compare_alloc.pass.cpp25 typedef test_less<int> Cmp; main() typedef
/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
/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 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...]
/llvm-project/clang/test/AST/Interp/
H A Dspaceship.cpp
/llvm-project/clang/test/CXX/class/class.compare/class.spaceship/
H A Dp1.cpp87 template<typename T> struct Cmp : T { // #base struct
181 template<typename T> struct Cmp { struct
182 Val val;
/llvm-project/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;
/llvm-project/clang-tools-extra/clangd/index/
H A DSymbolLocation.h84 int Cmp = std::strcmp(L.FileURI, R.FileURI); variable
/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp774 Value *Cmp = Builder.CreateICmp(ICmpInst::getSignedPredicate(Cond), foldGEPICmp() local
1202 foldICmpWithZero(ICmpInst & Cmp) foldICmpWithZero() argument
1284 foldICmpWithConstant(ICmpInst & Cmp) foldICmpWithConstant() argument
1334 foldICmpWithDominatingICmp(ICmpInst & Cmp) foldICmpWithDominatingICmp() argument
1410 foldICmpTruncConstant(ICmpInst & Cmp,TruncInst * Trunc,const APInt & C) foldICmpTruncConstant() argument
1497 foldICmpTruncWithTruncOrExt(ICmpInst & Cmp,const SimplifyQuery & Q) foldICmpTruncWithTruncOrExt() argument
1556 foldICmpXorConstant(ICmpInst & Cmp,BinaryOperator * Xor,const APInt & C) foldICmpXorConstant() argument
1628 foldICmpXorShiftConst(ICmpInst & Cmp,BinaryOperator * Xor,const APInt & C) foldICmpXorShiftConst() argument
1657 foldICmpAndShift(ICmpInst & Cmp,BinaryOperator * And,const APInt & C1,const APInt & C2) foldICmpAndShift() argument
1743 foldICmpAndConstConst(ICmpInst & Cmp,BinaryOperator * And,const APInt & C1) foldICmpAndConstConst() argument
1873 foldICmpAndConstant(ICmpInst & Cmp,BinaryOperator * And,const APInt & C) foldICmpAndConstant() argument
1979 foldICmpOrXorSubChain(ICmpInst & Cmp,BinaryOperator * Or,InstCombiner::BuilderTy & Builder) foldICmpOrXorSubChain() argument
2038 foldICmpOrConstant(ICmpInst & Cmp,BinaryOperator * Or,const APInt & C) foldICmpOrConstant() argument
2139 foldICmpMulConstant(ICmpInst & Cmp,BinaryOperator * Mul,const APInt & C) foldICmpMulConstant() argument
2230 foldICmpShlOne(ICmpInst & Cmp,Instruction * Shl,const APInt & C) foldICmpShlOne() argument
2274 foldICmpShlConstant(ICmpInst & Cmp,BinaryOperator * Shl,const APInt & C) foldICmpShlConstant() argument
2455 foldICmpShrConstant(ICmpInst & Cmp,BinaryOperator * Shr,const APInt & C) foldICmpShrConstant() argument
2619 foldICmpSRemConstant(ICmpInst & Cmp,BinaryOperator * SRem,const APInt & C) foldICmpSRemConstant() argument
2670 foldICmpUDivConstant(ICmpInst & Cmp,BinaryOperator * UDiv,const APInt & C) foldICmpUDivConstant() argument
2703 foldICmpDivConstant(ICmpInst & Cmp,BinaryOperator * Div,const APInt & C) foldICmpDivConstant() argument
2885 foldICmpSubConstant(ICmpInst & Cmp,BinaryOperator * Sub,const APInt & C) foldICmpSubConstant() argument
3020 foldICmpAddConstant(ICmpInst & Cmp,BinaryOperator * Add,const APInt & C) foldICmpAddConstant() argument
3212 foldICmpSelectConstant(ICmpInst & Cmp,SelectInst * Select,ConstantInt * C) foldICmpSelectConstant() argument
3260 foldICmpBitCast(ICmpInst & Cmp) foldICmpBitCast() argument
3414 foldICmpInstWithConstant(ICmpInst & Cmp) foldICmpInstWithConstant() argument
3462 foldICmpBinOpEqualityWithConstant(ICmpInst & Cmp,BinaryOperator * BO,const APInt & C) foldICmpBinOpEqualityWithConstant() argument
3609 foldICmpEqIntrinsicWithConstant(ICmpInst & Cmp,IntrinsicInst * II,const APInt & C) foldICmpEqIntrinsicWithConstant() argument
3716 foldICmpIntrinsicWithIntrinsic(ICmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldICmpIntrinsicWithIntrinsic() argument
3772 foldICmpInstWithConstantAllowPoison(ICmpInst & Cmp,const APInt & C) foldICmpInstWithConstantAllowPoison() argument
3794 foldICmpBinOpWithConstant(ICmpInst & Cmp,BinaryOperator * BO,const APInt & C) foldICmpBinOpWithConstant() argument
3983 foldICmpIntrinsicWithConstant(ICmpInst & Cmp,IntrinsicInst * II,const APInt & C) foldICmpIntrinsicWithConstant() argument
6493 __anon9256b8a01502(Instruction &Cmp) foldICmpUsingKnownBits() argument
6979 foldICmpWithHighBitMask(ICmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldICmpWithHighBitMask() argument
7022 foldVectorCmp(CmpInst & Cmp,InstCombiner::BuilderTy & Builder) foldVectorCmp() argument
7554 Value *Cmp = Builder.CreateICmp(Pred, SLTZero, Y, I.getName()); visitICmpInst() local
[all...]
/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()
137 atomic_compare_exchange_strong(volatile T *A, typename T::Type Cmp, in atomic_compare_exchange_strong()
/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h51 PostOrderCFGView::BlockOrderCompare Cmp; member
/llvm-project/lldb/unittests/Core/
H A DSourceLocationSpecTest.cpp124 auto Cmp = [](SourceLocationSpec a, SourceLocationSpec b) { in TEST() local
/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp287 processICmp(ICmpInst * Cmp,LazyValueInfo * LVI) processICmp() argument
316 constantFoldCmp(CmpInst * Cmp,LazyValueInfo * LVI) constantFoldCmp() argument
330 processCmp(CmpInst * Cmp,LazyValueInfo * LVI) processCmp() argument
860 auto *Cmp = B.CreateICmp(ICmpInst::ICMP_ULT, FrozenX, FrozenY, expandUDivOrURem() local
864 auto *Cmp = expandUDivOrURem() local
[all...]

1234567