|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/Hashing.h 363 typename std::enable_if<is_hashable_data<T>::value, T>::type
363 typename std::enable_if<is_hashable_data<T>::value, T>::type
364 get_hashable_data(const T &value) {
385 bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
514 char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
554 const T &arg, const Ts &...args) {
554 const T &arg, const Ts &...args) {
600 template <typename ...Ts> hash_code hash_combine(const Ts &...args) {
include/llvm/ADT/Optional.h 144 T value;
172 T &getValue() LLVM_LVALUE_FUNCTION noexcept {
176 T const &getValue() const LLVM_LVALUE_FUNCTION noexcept {
181 T &&getValue() && noexcept {
206 ::new ((void *)std::addressof(value)) T(std::move(y));
216 optional_detail::OptionalStorage<T> Storage;
219 using value_type = T;
224 Optional(const T &y) : Storage(optional_detail::in_place_t{}, y) {}
227 Optional(T &&y) : Storage(optional_detail::in_place_t{}, std::move(y)) {}
230 Optional &operator=(T &&y) {
241 static inline Optional create(const T *y) {
245 Optional &operator=(const T &y) {
253 const T *getPointer() const { return &Storage.getValue(); }
254 T *getPointer() { return &Storage.getValue(); }
255 const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
256 T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
260 const T *operator->() const { return getPointer(); }
261 T *operator->() { return getPointer(); }
262 const T &operator*() const LLVM_LVALUE_FUNCTION { return getValue(); }
263 T &operator*() LLVM_LVALUE_FUNCTION { return getValue(); }
266 constexpr T getValueOr(U &&value) const LLVM_LVALUE_FUNCTION {
271 T &&getValue() && { return std::move(Storage.getValue()); }
272 T &&operator*() && { return std::move(Storage.getValue()); }
275 T getValueOr(U &&value) && {
include/llvm/ADT/StringSwitch.h 48 Optional<T> Result;
67 StringSwitch &Case(StringLiteral S, T Value) {
74 StringSwitch& EndsWith(StringLiteral S, T Value) {
81 StringSwitch& StartsWith(StringLiteral S, T Value) {
88 StringSwitch &Cases(StringLiteral S0, StringLiteral S1, T Value) {
93 T Value) {
98 StringLiteral S3, T Value) {
103 StringLiteral S3, StringLiteral S4, T Value) {
109 T Value) {
115 StringLiteral S6, T Value) {
121 StringLiteral S6, StringLiteral S7, T Value) {
128 T Value) {
135 StringLiteral S9, T Value) {
140 StringSwitch &CaseLower(StringLiteral S, T Value) {
147 StringSwitch &EndsWithLower(StringLiteral S, T Value) {
154 StringSwitch &StartsWithLower(StringLiteral S, T Value) {
161 StringSwitch &CasesLower(StringLiteral S0, StringLiteral S1, T Value) {
166 T Value) {
171 StringLiteral S3, T Value) {
176 StringLiteral S3, StringLiteral S4, T Value) {
181 R Default(T Value) {
181 R Default(T Value) {
188 operator R() {
include/llvm/Analysis/CmpInstAnalysis.h 55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
include/llvm/Analysis/DependenceAnalysis.h 559 bool isKnownPredicate(ICmpInst::Predicate Pred,
include/llvm/Analysis/LoopInfo.h 671 ICmpInst::Predicate getCanonicalPredicate() const;
include/llvm/Analysis/ScalarEvolution.h 676 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
681 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
899 bool isKnownViaInduction(ICmpInst::Predicate Pred, const SCEV *LHS,
904 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
909 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
921 bool isMonotonicPredicate(const SCEVAddRecExpr *LHS, ICmpInst::Predicate Pred,
928 bool isLoopInvariantPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
930 ICmpInst::Predicate &InvariantPred,
938 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred, const SCEV *&LHS,
1589 ICmpInst::Predicate p);
1599 ICmpInst::Predicate Pred);
1649 bool isImpliedCond(ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS,
1655 bool isImpliedCond(ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS,
1656 ICmpInst::Predicate FoundPred, const SCEV *FoundLHS,
1662 bool isImpliedCondOperands(ICmpInst::Predicate Pred, const SCEV *LHS,
1670 bool isImpliedViaOperations(ICmpInst::Predicate Pred,
1677 bool isKnownViaNonRecursiveReasoning(ICmpInst::Predicate Pred,
1683 bool isImpliedCondOperandsHelper(ICmpInst::Predicate Pred, const SCEV *LHS,
1691 bool isImpliedCondOperandsViaRanges(ICmpInst::Predicate Pred, const SCEV *LHS,
1697 bool isImpliedViaGuard(BasicBlock *BB, ICmpInst::Predicate Pred,
1706 bool isImpliedCondOperandsViaNoOverflow(ICmpInst::Predicate Pred,
1718 bool isImpliedViaMerge(ICmpInst::Predicate Pred,
1731 bool isKnownPredicateViaConstantRanges(ICmpInst::Predicate Pred,
1739 bool isKnownPredicateViaNoOverflow(ICmpInst::Predicate Pred, const SCEV *LHS,
1744 bool isKnownPredicateViaSplitting(ICmpInst::Predicate Pred, const SCEV *LHS,
1783 ICmpInst::Predicate Pred, bool &Increasing);
include/llvm/Analysis/TargetFolder.h 228 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS,
232 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS,
include/llvm/Analysis/ValueLattice.h 293 Constant *getCompare(CmpInst::Predicate Pred, Type *Ty,
include/llvm/Analysis/ValueTracking.h 642 CmpInst::Predicate getMinMaxPred(SelectPatternFlavor SPF,
651 CmpInst::Predicate getInverseMinMaxPred(SelectPatternFlavor SPF);
include/llvm/CodeGen/Analysis.h 108 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
117 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
include/llvm/CodeGen/FastISel.h 507 CmpInst::Predicate optimizeCmpPredicate(const CmpInst *CI) const;
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h 124 CmpInst::Predicate Pred;
133 SrcOp(const CmpInst::Predicate P) : Pred(P), Ty(SrcType::Ty_Predicate) {}
185 CmpInst::Predicate getPredicate() const {
905 MachineInstrBuilder buildICmp(CmpInst::Predicate Pred, const DstOp &Res,
920 MachineInstrBuilder buildFCmp(CmpInst::Predicate Pred, const DstOp &Res,
include/llvm/CodeGen/MachineInstrBuilder.h 248 const MachineInstrBuilder &addPredicate(CmpInst::Predicate Pred) const {
include/llvm/CodeGen/SwitchLoweringUtils.h 106 CmpInst::Predicate Pred;
148 CaseBlock(CmpInst::Predicate pred, bool nocmp, const Value *cmplhs,
include/llvm/FuzzMutate/Operations.h 39 CmpInst::Predicate Pred);
include/llvm/IR/ConstantFolder.h 235 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS,
240 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS,
include/llvm/IR/ConstantRange.h 103 static ConstantRange makeAllowedICmpRegion(CmpInst::Predicate Pred,
114 static ConstantRange makeSatisfyingICmpRegion(CmpInst::Predicate Pred,
124 static ConstantRange makeExactICmpRegion(CmpInst::Predicate Pred,
156 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;
include/llvm/IR/IRBuilder.h 2229 Value *CreateICmp(CmpInst::Predicate P, Value *LHS, Value *RHS,
2237 Value *CreateFCmp(CmpInst::Predicate P, Value *LHS, Value *RHS,
include/llvm/IR/InstrTypes.h 769 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
774 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
790 Predicate predicate, Value *S1,
798 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
807 Predicate getPredicate() const {
812 void setPredicate(Predicate P) { setInstructionSubclassData(P); }
814 static bool isFPPredicate(Predicate P) {
818 static bool isIntPredicate(Predicate P) {
822 static StringRef getPredicateName(Predicate P);
831 Predicate getInversePredicate() const {
839 static Predicate getInversePredicate(Predicate pred);
839 static Predicate getInversePredicate(Predicate pred);
847 Predicate getSwappedPredicate() const {
854 static Predicate getSwappedPredicate(Predicate pred);
854 static Predicate getSwappedPredicate(Predicate pred);
862 Predicate getFlippedStrictnessPredicate() const {
869 static Predicate getFlippedStrictnessPredicate(Predicate pred);
869 static Predicate getFlippedStrictnessPredicate(Predicate pred);
873 Predicate getNonStrictPredicate() const {
882 static Predicate getNonStrictPredicate(Predicate pred);
882 static Predicate getNonStrictPredicate(Predicate pred);
915 static Predicate getSignedPredicate(Predicate pred);
915 static Predicate getSignedPredicate(Predicate pred);
921 Predicate getSignedPredicate() {
939 static bool isUnsigned(Predicate predicate);
943 static bool isSigned(Predicate predicate);
946 static bool isOrdered(Predicate predicate);
949 static bool isUnordered(Predicate predicate);
952 static bool isTrueWhenEqual(Predicate predicate);
955 static bool isFalseWhenEqual(Predicate predicate);
959 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
959 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
963 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
963 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
include/llvm/IR/Instructions.h 1175 Predicate pred, ///< The predicate to use for the comparison
1190 Predicate pred, ///< The predicate to use for the comparison
1204 Predicate pred, ///< The predicate to use for the comparison
1219 Predicate getSignedPredicate() const {
1225 static Predicate getSignedPredicate(Predicate pred);
1225 static Predicate getSignedPredicate(Predicate pred);
1231 Predicate getUnsignedPredicate() const {
1237 static Predicate getUnsignedPredicate(Predicate pred);
1237 static Predicate getUnsignedPredicate(Predicate pred);
1241 static bool isEquality(Predicate P) {
1263 static bool isRelational(Predicate P) {
1315 Predicate pred, ///< The predicate to use for the comparison
1328 Predicate pred, ///< The predicate to use for the comparison
1340 Predicate Pred, ///< The predicate to use for the comparison
1352 static bool isEquality(Predicate Pred) {
include/llvm/IR/NoFolder.h 299 Instruction *CreateICmp(CmpInst::Predicate P,
304 Instruction *CreateFCmp(CmpInst::Predicate P,
include/llvm/IR/PatternMatch.h 462 ICmpInst::Predicate Pred;
466 case ICmpInst::Predicate::ICMP_EQ:
468 case ICmpInst::Predicate::ICMP_NE:
470 case ICmpInst::Predicate::ICMP_UGT:
472 case ICmpInst::Predicate::ICMP_UGE:
474 case ICmpInst::Predicate::ICMP_ULT:
476 case ICmpInst::Predicate::ICMP_ULE:
478 case ICmpInst::Predicate::ICMP_SGT:
480 case ICmpInst::Predicate::ICMP_SGE:
482 case ICmpInst::Predicate::ICMP_SLT:
484 case ICmpInst::Predicate::ICMP_SLE:
494 m_SpecificInt_ICMP(ICmpInst::Predicate Predicate, const APInt &Threshold) {
1123 PredicateTy &Predicate;
1129 CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS)
1145 inline CmpClass_match<LHS, RHS, CmpInst, CmpInst::Predicate>
1146 m_Cmp(CmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
1147 return CmpClass_match<LHS, RHS, CmpInst, CmpInst::Predicate>(Pred, L, R);
1151 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
1152 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
1153 return CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>(Pred, L, R);
1157 inline CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate>
1158 m_FCmp(FCmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
1159 return CmpClass_match<LHS, RHS, FCmpInst, FCmpInst::Predicate>(Pred, L, R);
1456 typename CmpInst_t::Predicate Pred =
1469 static bool match(ICmpInst::Predicate Pred) {
1476 static bool match(ICmpInst::Predicate Pred) {
1483 static bool match(ICmpInst::Predicate Pred) {
1490 static bool match(ICmpInst::Predicate Pred) {
1497 static bool match(FCmpInst::Predicate Pred) {
1504 static bool match(FCmpInst::Predicate Pred) {
1511 static bool match(FCmpInst::Predicate Pred) {
1518 static bool match(FCmpInst::Predicate Pred) {
1622 ICmpInst::Predicate Pred;
1806 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate, true>
1807 m_c_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
1808 return CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate, true>(Pred, L,
include/llvm/Support/type_traits.h 31 using UnderlyingT = typename std::remove_reference<T>::type;
91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
include/llvm/Transforms/Scalar/GVN.h 117 Expression createCmpExpr(unsigned Opcode, CmpInst::Predicate Predicate,
136 uint32_t lookupOrAddCmp(unsigned Opcode, CmpInst::Predicate Pred,
lib/Analysis/AssumptionCache.cpp 81 CmpInst::Predicate Pred;
lib/Analysis/CmpInstAnalysis.cpp 22 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
43 CmpInst::Predicate &Pred) {
60 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) {
60 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) {
67 CmpInst::Predicate &Pred,
lib/Analysis/DependenceAnalysis.cpp 967 bool DependenceInfo::isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *X,
lib/Analysis/InstructionSimplify.cpp 80 CmpInst::Predicate ExpectedPred, Pred1, Pred2;
127 static bool isSameCompare(Value *V, CmpInst::Predicate Pred, Value *LHS,
132 CmpInst::Predicate CPred = Cmp->getPredicate();
401 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS,
526 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS,
948 static bool isICmpTrue(ICmpInst::Predicate Pred, Value *LHS, Value *RHS,
1378 ICmpInst::Predicate EqPred;
1383 ICmpInst::Predicate UnsignedPred;
1485 ICmpInst::Predicate Pred0, Pred1;
1510 ICmpInst::Predicate Pred0, Pred1;
1575 ICmpInst::Predicate P0 = Cmp0->getPredicate(), P1 = Cmp1->getPredicate();
1613 ICmpInst::Predicate Pred0, Pred1;
1686 ICmpInst::Predicate Pred0, Pred1;
1763 FCmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
1861 ICmpInst::Predicate Pred;
1864 Pred != ICmpInst::Predicate::ICMP_NE)
1885 ICmpInst::Predicate Pred;
1888 Pred != ICmpInst::Predicate::ICMP_EQ)
2254 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred,
2301 const DominatorTree *DT, CmpInst::Predicate Pred,
2487 static Value *simplifyICmpOfBools(CmpInst::Predicate Pred, Value *LHS,
2561 static Value *simplifyICmpWithZero(CmpInst::Predicate Pred, Value *LHS,
2623 static Value *simplifyICmpWithConstant(CmpInst::Predicate Pred, Value *LHS,
2664 static Value *simplifyICmpWithBinOp(CmpInst::Predicate Pred, Value *LHS,
2978 static Value *simplifyICmpWithMinMax(CmpInst::Predicate Pred, Value *LHS,
2983 CmpInst::Predicate P = CmpInst::BAD_ICMP_PREDICATE;
2984 CmpInst::Predicate EqP; // Chosen so that "A == max/min(A,B)" iff "A EqP B".
3037 CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP);
3111 CmpInst::Predicate InvEqP = CmpInst::getInversePredicate(EqP);
3184 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate;
3479 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate;
3800 ICmpInst::Predicate Pred,
3816 ICmpInst::Predicate Pred;
3907 FCmpInst::Predicate Pred;
lib/Analysis/LazyValueInfo.cpp 956 ICmpInst::Predicate Pred = ICI->getPredicate();
1194 CmpInst::Predicate Predicate = ICI->getPredicate();
1239 CmpInst::Predicate Pred =
lib/Analysis/LoopInfo.cpp 228 ICmpInst::Predicate Loop::LoopBounds::getCanonicalPredicate() const {
241 ICmpInst::Predicate Pred = (BI->getSuccessor(0) == L.getHeader())
lib/Analysis/ScalarEvolution.cpp 1346 ICmpInst::Predicate *Pred,
1366 ICmpInst::Predicate *Pred,
1402 ICmpInst::Predicate *Pred,
1418 ICmpInst::Predicate *Pred,
1498 ICmpInst::Predicate Pred;
1589 ICmpInst::Predicate Pred = ICmpInst::BAD_ICMP_PREDICATE;
2141 ICmpInst::Predicate Pred;
3636 llvm::CmpInst::Predicate GEPred =
3638 llvm::CmpInst::Predicate LEPred =
3640 llvm::CmpInst::Predicate FirstPred = IsMax ? GEPred : LEPred;
3641 llvm::CmpInst::Predicate SecondPred = IsMax ? LEPred : GEPred;
7362 ICmpInst::Predicate Pred;
7367 const ICmpInst::Predicate OriginalPred = Pred;
7495 ICmpInst::Predicate predicate) {
7567 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) {
8894 bool ScalarEvolution::SimplifyICmpOperands(ICmpInst::Predicate &Pred,
8953 CmpInst::Predicate NewPred;
9123 bool ScalarEvolution::isKnownViaInduction(ICmpInst::Predicate Pred,
9172 bool ScalarEvolution::isKnownPredicate(ICmpInst::Predicate Pred,
9187 bool ScalarEvolution::isKnownOnEveryIteration(ICmpInst::Predicate Pred,
9196 ICmpInst::Predicate Pred,
9217 ICmpInst::Predicate Pred,
9272 ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS, const Loop *L,
9273 ICmpInst::Predicate &InvariantPred, const SCEV *&InvariantLHS,
9311 auto P = Increasing ? Pred : ICmpInst::getInversePredicate(Pred);
9323 ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS) {
9352 bool ScalarEvolution::isKnownPredicateViaNoOverflow(ICmpInst::Predicate Pred,
9409 bool ScalarEvolution::isKnownPredicateViaSplitting(ICmpInst::Predicate Pred,
9432 ICmpInst::Predicate Pred,
9453 ICmpInst::Predicate Pred,
9563 ICmpInst::Predicate Pred,
9587 auto NonStrictPredicate = ICmpInst::getNonStrictPredicate(Pred);
9672 bool ScalarEvolution::isImpliedCond(ICmpInst::Predicate Pred,
9700 ICmpInst::Predicate FoundPred;
9712 bool ScalarEvolution::isImpliedCond(ICmpInst::Predicate Pred, const SCEV *LHS,
9714 ICmpInst::Predicate FoundPred,
9928 ICmpInst::Predicate Pred, const SCEV *LHS, const SCEV *RHS,
10004 bool ScalarEvolution::isImpliedViaMerge(ICmpInst::Predicate Pred,
10114 bool ScalarEvolution::isImpliedCondOperands(ICmpInst::Predicate Pred,
10144 ICmpInst::Predicate Pred,
10178 ICmpInst::Predicate Pred,
10208 bool ScalarEvolution::isImpliedViaOperations(ICmpInst::Predicate Pred,
10358 static bool isKnownPredicateExtendIdiom(ICmpInst::Predicate Pred,
10391 ScalarEvolution::isKnownViaNonRecursiveReasoning(ICmpInst::Predicate Pred,
10401 ScalarEvolution::isImpliedCondOperandsHelper(ICmpInst::Predicate Pred,
10445 bool ScalarEvolution::isImpliedCondOperandsViaRanges(ICmpInst::Predicate Pred,
10664 ICmpInst::Predicate Cond = IsSigned ? ICmpInst::ICMP_SLT
10758 ICmpInst::Predicate Cond = IsSigned ? ICmpInst::ICMP_SGT
lib/Analysis/ScalarEvolutionExpander.cpp 2103 ICmpInst::Predicate Pred;
lib/Analysis/ValueTracking.cpp 631 CmpInst::Predicate Pred;
1928 CmpInst::Predicate Pred;
4483 static SelectPatternResult matchFastFloatClamp(CmpInst::Predicate Pred,
4537 static SelectPatternResult matchClamp(CmpInst::Predicate Pred,
4573 static SelectPatternResult matchMinMaxOfMinMax(CmpInst::Predicate Pred,
4667 static SelectPatternResult matchMinMax(CmpInst::Predicate Pred,
4761 static SelectPatternResult matchSelectPattern(CmpInst::Predicate Pred,
5073 CmpInst::Predicate Pred = CmpI->getPredicate();
5109 CmpInst::Predicate llvm::getMinMaxPred(SelectPatternFlavor SPF, bool Ordered) {
5129 CmpInst::Predicate llvm::getInverseMinMaxPred(SelectPatternFlavor SPF) {
5134 static bool isTruePredicate(CmpInst::Predicate Pred, const Value *LHS,
5195 isImpliedCondOperands(CmpInst::Predicate Pred, const Value *ALHS,
5232 static Optional<bool> isImpliedCondMatchingOperands(CmpInst::Predicate APred,
5233 CmpInst::Predicate BPred,
5251 isImpliedCondMatchingImmOperands(CmpInst::Predicate APred,
5253 CmpInst::Predicate BPred,
5278 ICmpInst::Predicate APred =
5283 ICmpInst::Predicate BPred = RHS->getPredicate();
lib/AsmParser/LLParser.cpp 3398 CmpInst::Predicate Pred = (CmpInst::Predicate)PredVal;
lib/CodeGen/Analysis.cpp 201 ISD::CondCode llvm::getFCmpCondCode(FCmpInst::Predicate Pred) {
238 ISD::CondCode llvm::getICmpCondCode(ICmpInst::Predicate Pred) {
lib/CodeGen/CodeGenPrepare.cpp 1237 ICmpInst::Predicate Pred = Cmp->getPredicate();
1292 ICmpInst::Predicate Pred = Cmp->getPredicate();
lib/CodeGen/GlobalISel/CombinerHelper.cpp 788 CmpInst::Predicate InversePred = CmpInst::getInversePredicate(
lib/CodeGen/GlobalISel/IRTranslator.cpp 342 CmpInst::Predicate Pred =
724 CmpInst::Predicate Pred;
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 964 CmpInst::Predicate Pred =
977 MIRBuilder.buildICmp(CmpInst::Predicate::ICMP_EQ, ResTy, LHSH, RHSH);
2589 CmpInst::Predicate Pred
3946 static CmpInst::Predicate minMaxToCompare(unsigned Opc) {
3967 const CmpInst::Predicate Pred = minMaxToCompare(MI.getOpcode());
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 706 MachineInstrBuilder MachineIRBuilder::buildICmp(CmpInst::Predicate Pred,
713 MachineInstrBuilder MachineIRBuilder::buildFCmp(CmpInst::Predicate Pred,
lib/CodeGen/MIRParser/MIParser.cpp 2244 CmpInst::Predicate Pred;
lib/CodeGen/MachineOperand.cpp 936 auto Pred = static_cast<CmpInst::Predicate>(getPredicate());
lib/CodeGen/SelectionDAG/FastISel.cpp 2437 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const {
2439 CmpInst::Predicate Predicate = CI->getPredicate();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 2043 ICmpInst::Predicate Pred =
2048 FCmpInst::Predicate Pred =
3197 ICmpInst::Predicate predicate = ICmpInst::BAD_ICMP_PREDICATE;
3224 FCmpInst::Predicate predicate = FCmpInst::BAD_FCMP_PREDICATE;
lib/FuzzMutate/Operations.cpp 125 CmpInst::Predicate Pred) {
lib/IR/AutoUpgrade.cpp 1145 CmpInst::Predicate Pred;
1267 ICmpInst::Predicate Pred) {
1342 ICmpInst::Predicate Pred;
1831 ICmpInst::Predicate Pred =
lib/IR/ConstantFold.cpp 1199 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
1446 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) {
1476 FCmpInst::Predicate SwappedRelation = evaluateFCmpRelation(V2, V1);
1499 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1,
1535 static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2,
1548 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ;
1566 ICmpInst::Predicate SwappedRelation =
1573 ICmpInst::Predicate SwappedRelation =
1601 ICmpInst::Predicate SwappedRelation =
1803 CmpInst::Predicate Predicate = CmpInst::Predicate(pred);
lib/IR/ConstantRange.cpp 77 ConstantRange ConstantRange::makeAllowedICmpRegion(CmpInst::Predicate Pred,
127 ConstantRange ConstantRange::makeSatisfyingICmpRegion(CmpInst::Predicate Pred,
137 ConstantRange ConstantRange::makeExactICmpRegion(CmpInst::Predicate Pred,
149 bool ConstantRange::getEquivalentICmp(CmpInst::Predicate &Pred,
lib/IR/Constants.cpp 262 return PatternMatch::match(ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_EQ,
lib/IR/Instructions.cpp 3461 CmpInst::CmpInst(Type *ty, OtherOps op, Predicate predicate, Value *LHS,
3476 CmpInst::CmpInst(Type *ty, OtherOps op, Predicate predicate, Value *LHS,
3489 CmpInst::Create(OtherOps Op, Predicate predicate, Value *S1, Value *S2,
3509 CmpInst::Create(OtherOps Op, Predicate predicate, Value *S1, Value *S2,
3538 CmpInst::Predicate CmpInst::getInversePredicate(Predicate pred) {
3538 CmpInst::Predicate CmpInst::getInversePredicate(Predicate pred) {
3571 StringRef CmpInst::getPredicateName(Predicate Pred) {
3603 ICmpInst::Predicate ICmpInst::getSignedPredicate(Predicate pred) {
3603 ICmpInst::Predicate ICmpInst::getSignedPredicate(Predicate pred) {
3616 ICmpInst::Predicate ICmpInst::getUnsignedPredicate(Predicate pred) {
3616 ICmpInst::Predicate ICmpInst::getUnsignedPredicate(Predicate pred) {
3629 CmpInst::Predicate CmpInst::getFlippedStrictnessPredicate(Predicate pred) {
3629 CmpInst::Predicate CmpInst::getFlippedStrictnessPredicate(Predicate pred) {
3652 CmpInst::Predicate CmpInst::getSwappedPredicate(Predicate pred) {
3652 CmpInst::Predicate CmpInst::getSwappedPredicate(Predicate pred) {
3682 CmpInst::Predicate CmpInst::getNonStrictPredicate(Predicate pred) {
3682 CmpInst::Predicate CmpInst::getNonStrictPredicate(Predicate pred) {
3696 CmpInst::Predicate CmpInst::getSignedPredicate(Predicate pred) {
3696 CmpInst::Predicate CmpInst::getSignedPredicate(Predicate pred) {
3713 bool CmpInst::isUnsigned(Predicate predicate) {
3721 bool CmpInst::isSigned(Predicate predicate) {
3729 bool CmpInst::isOrdered(Predicate predicate) {
3738 bool CmpInst::isUnordered(Predicate predicate) {
3747 bool CmpInst::isTrueWhenEqual(Predicate predicate) {
3755 bool CmpInst::isFalseWhenEqual(Predicate predicate) {
3763 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) {
3763 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) {
3788 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) {
3788 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) {
lib/Target/AArch64/AArch64FastISel.cpp 2246 static AArch64CC::CondCode getCompareCC(CmpInst::Predicate Pred) {
2303 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2434 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2576 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2759 CmpInst::Predicate Predicate = optimizeCmpPredicate(Cmp);
lib/Target/AArch64/AArch64InstructionSelector.cpp 859 static bool isUnsignedICMPPred(const CmpInst::Predicate P) {
871 static AArch64CC::CondCode changeICMPPredToAArch64CC(CmpInst::Predicate P) {
898 static void changeFCMPPredToAArch64CC(CmpInst::Predicate P,
987 const auto Pred = (CmpInst::Predicate)CCMI->getOperand(1).getPredicate();
2543 CmpInst::Predicate Pred = (CmpInst::Predicate)I.getOperand(1).getPredicate();
3518 CmpInst::Predicate P = (CmpInst::Predicate)Predicate.getPredicate();
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 247 CmpInst::Predicate Pred;
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp 642 static int getV_CMPOpcode(CmpInst::Predicate P, unsigned Size) {
671 int AMDGPUInstructionSelector::getS_CMPOpcode(CmpInst::Predicate P,
723 auto Pred = (CmpInst::Predicate)I.getOperand(1).getPredicate();
lib/Target/AMDGPU/AMDGPUInstructionSelector.h 101 int getS_CMPOpcode(CmpInst::Predicate P, unsigned Size) const;
lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp 194 ICmpInst::Predicate Pred;
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp 2485 auto Pred = static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate());
lib/Target/AMDGPU/SIISelLowering.cpp 4186 if (CondCode < ICmpInst::Predicate::FIRST_ICMP_PREDICATE ||
4187 CondCode > ICmpInst::Predicate::LAST_ICMP_PREDICATE)
4190 ICmpInst::Predicate IcInput = static_cast<ICmpInst::Predicate>(CondCode);
4223 if (CondCode < FCmpInst::Predicate::FIRST_FCMP_PREDICATE ||
4224 CondCode > FCmpInst::Predicate::LAST_FCMP_PREDICATE) {
4238 FCmpInst::Predicate IcInput = static_cast<FCmpInst::Predicate>(CondCode);
5995 Op.getConstantOperandVal(3) == ICmpInst::Predicate::ICMP_NE)
lib/Target/ARM/ARMFastISel.cpp 1190 static ARMCC::CondCodes getComparePred(CmpInst::Predicate Pred) {
1250 CmpInst::Predicate Predicate = CI->getPredicate();
lib/Target/ARM/ARMInstructionSelector.cpp 391 getComparePreds(CmpInst::Predicate Pred) {
534 auto Cond =
lib/Target/ARM/ARMLegalizerInfo.cpp 403 auto Predicate =
440 CmpInst::Predicate ResultPred = Libcall.Predicate;
lib/Target/ARM/ARMLegalizerInfo.h 49 CmpInst::Predicate Predicate;
lib/Target/ARM/MVETailPredication.cpp 204 CmpInst::Predicate Pred;
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 680 CmpInst::Predicate P;
796 CmpInst::Predicate P;
lib/Target/Mips/MipsFastISel.cpp 647 CmpInst::Predicate P = CI->getPredicate();
lib/Target/Mips/MipsInstructionSelector.cpp 645 CmpInst::Predicate Cond =
709 switch (CmpInst::Predicate Cond = static_cast<CmpInst::Predicate>(
lib/Target/PowerPC/PPCFastISel.cpp 205 static Optional<PPC::Predicate> getComparePred(CmpInst::Predicate Pred) {
lib/Target/SystemZ/SystemZTDC.cpp 124 auto Pred = I.getPredicate();
234 auto Pred = I.getPredicate();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp 820 case CmpInst::Predicate::ICMP_NE:
821 case CmpInst::Predicate::ICMP_UGE:
822 case CmpInst::Predicate::ICMP_ULE:
823 case CmpInst::Predicate::ICMP_SGE:
824 case CmpInst::Predicate::ICMP_SLE:
827 case CmpInst::Predicate::FCMP_ONE:
828 case CmpInst::Predicate::FCMP_ORD:
829 case CmpInst::Predicate::FCMP_UEQ:
830 case CmpInst::Predicate::FCMP_UNO:
lib/Target/X86/X86FastISel.cpp 187 getX86SSEConditionCode(CmpInst::Predicate Predicate) {
1433 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
1640 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2033 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2161 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2366 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
lib/Target/X86/X86InstrInfo.cpp 2259 X86::getX86ConditionCode(CmpInst::Predicate Predicate) {
lib/Target/X86/X86InstrInfo.h 40 std::pair<CondCode, bool> getX86ConditionCode(CmpInst::Predicate Predicate);
lib/Target/X86/X86InstructionSelector.cpp 994 CmpInst::Predicate Predicate =
lib/Target/X86/X86TargetTransformInfo.cpp 1712 case CmpInst::Predicate::ICMP_NE:
1716 case CmpInst::Predicate::ICMP_SGE:
1717 case CmpInst::Predicate::ICMP_SLE:
1721 case CmpInst::Predicate::ICMP_ULT:
1722 case CmpInst::Predicate::ICMP_UGT:
1727 case CmpInst::Predicate::ICMP_ULE:
1728 case CmpInst::Predicate::ICMP_UGE:
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp 124 ICmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1139 !match(C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ,
1157 ICmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 27 static unsigned getFCmpCode(FCmpInst::Predicate CC) {
57 ICmpInst::Predicate NewPred;
67 const auto Pred = static_cast<FCmpInst::Predicate>(Code);
174 ICmpInst::Predicate Pred = Inside ? ICmpInst::ICMP_ULT : ICmpInst::ICMP_UGE;
231 ICmpInst::Predicate Pred) {
293 static bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
314 ICmpInst::Predicate &PredL,
315 ICmpInst::Predicate &PredR) {
444 ICmpInst::Predicate PredL, ICmpInst::Predicate PredR,
444 ICmpInst::Predicate PredL, ICmpInst::Predicate PredR,
469 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE;
574 ICmpInst::Predicate PredL, ICmpInst::Predicate PredR,
574 ICmpInst::Predicate PredL, ICmpInst::Predicate PredR,
609 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
641 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE;
760 ICmpInst::Predicate Pred0 = (Inverted ? Cmp0->getInversePredicate() :
768 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() :
785 ICmpInst::Predicate NewPred;
817 ICmpInst::Predicate Pred = LHS->getPredicate();
851 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_UGT : ICmpInst::ICMP_ULE;
863 ICmpInst::Predicate Pred = LHS->getPredicate();
890 auto NewPred = JoinedByAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE;
936 CmpInst::Predicate Pred;
964 CmpInst::Predicate Pred = ICmp->getPredicate();
1032 CmpInst::Predicate Pred0, Pred1;
1059 ICmpInst::Predicate EqPred;
1068 ICmpInst::Predicate UnsignedPred;
1154 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
1363 FCmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
1422 FCmpInst::Predicate Pred;
1428 FCmpInst::Predicate NanPred = Opcode == Instruction::And ? FCmpInst::FCMP_ORD
2196 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
2819 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
3091 CmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstCombineCalls.cpp 3702 CmpInst::Predicate SwapPred
3729 CmpInst::Predicate SrcPred;
3952 CmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstCombineCasts.cpp 1226 ICmpInst::Predicate Pred = ICI->getPredicate();
lib/Transforms/InstCombine/InstCombineCompares.cpp 76 static bool isSignTest(ICmpInst::Predicate &Pred, const APInt &C) {
805 ICmpInst::Predicate Cond,
845 ICmpInst::Predicate Cond,
1103 ICmpInst::Predicate Pred) {
1346 ICmpInst::Predicate Pred;
1363 ICmpInst::Predicate Pred;
1374 if (!match(C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ,
1393 CmpInst::Predicate Pred = Cmp.getPredicate();
1445 CmpInst::Predicate Pred = Cmp.getPredicate();
1483 CmpInst::Predicate Pred = Cmp.getPredicate();
1485 ICmpInst::Predicate DomPred;
1531 ICmpInst::Predicate Pred = Cmp.getPredicate();
1572 ICmpInst::Predicate Pred = Cmp.getPredicate();
1742 auto NewPred = isICMP_NE ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_SGE;
1751 auto NewPred = isICMP_NE ? ICmpInst::ICMP_UGE : ICmpInst::ICMP_ULT;
1853 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_UGT
1869 auto NewPred = Cmp.getPredicate() == CmpInst::ICMP_EQ ? CmpInst::ICMP_SGE
1881 ICmpInst::Predicate Pred = Cmp.getPredicate();
1949 ICmpInst::Predicate Pred = Cmp.getPredicate();
1970 ICmpInst::Predicate Pred = Cmp.getPredicate();
2040 ICmpInst::Predicate Pred = Cmp.getPredicate();
2169 CmpInst::Predicate Pred = Cmp.getPredicate();
2262 const ICmpInst::Predicate Pred = Cmp.getPredicate();
2368 ICmpInst::Predicate Pred = Cmp.getPredicate();
2498 ICmpInst::Predicate Pred = Cmp.getPredicate();
2567 CmpInst::Predicate Pred = Cmp.getPredicate();
2633 ICmpInst::Predicate PredA;
2644 ICmpInst::Predicate PredB;
2731 ICmpInst::Predicate Pred = Cmp.getPredicate();
2912 ICmpInst::Predicate Pred = Cmp.getPredicate();
3013 auto NewPred = isICMP_NE ? ICmpInst::ICMP_ULE : ICmpInst::ICMP_UGT;
3094 ICmpInst::Predicate NewPred = Cmp.getPredicate() == ICmpInst::ICMP_EQ
3280 ICmpInst::Predicate SrcPred;
3293 ICmpInst::Predicate DstPred;
3295 case ICmpInst::Predicate::ICMP_EQ:
3297 DstPred = ICmpInst::Predicate::ICMP_ULE;
3299 case ICmpInst::Predicate::ICMP_NE:
3301 DstPred = ICmpInst::Predicate::ICMP_UGT;
3303 case ICmpInst::Predicate::ICMP_UGT:
3306 DstPred = ICmpInst::Predicate::ICMP_UGT;
3308 case ICmpInst::Predicate::ICMP_UGE:
3311 DstPred = ICmpInst::Predicate::ICMP_ULE;
3313 case ICmpInst::Predicate::ICMP_ULT:
3316 DstPred = ICmpInst::Predicate::ICMP_UGT;
3318 case ICmpInst::Predicate::ICMP_ULE:
3321 DstPred = ICmpInst::Predicate::ICMP_ULE;
3323 case ICmpInst::Predicate::ICMP_SGT:
3331 DstPred = ICmpInst::Predicate::ICMP_SGT;
3333 case ICmpInst::Predicate::ICMP_SGE:
3341 DstPred = ICmpInst::Predicate::ICMP_SLE;
3343 case ICmpInst::Predicate::ICMP_SLT:
3351 DstPred = ICmpInst::Predicate::ICMP_SGT;
3353 case ICmpInst::Predicate::ICMP_SLE:
3361 DstPred = ICmpInst::Predicate::ICMP_SLE;
3381 ICmpInst::Predicate SrcPred;
3403 ICmpInst::Predicate DstPred;
3405 case ICmpInst::Predicate::ICMP_EQ:
3409 DstPred = ICmpInst::Predicate::ICMP_ULT;
3411 case ICmpInst::Predicate::ICMP_NE:
3415 DstPred = ICmpInst::Predicate::ICMP_UGE;
3531 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT,
3604 ICmpInst::Predicate Pred;
3619 case ICmpInst::Predicate::ICMP_ULT:
3622 case ICmpInst::Predicate::ICMP_UGE:
3635 NeedNegation = Pred == ICmpInst::Predicate::ICMP_EQ;
3677 const CmpInst::Predicate Pred = I.getPredicate();
3941 ICmpInst::Predicate NewPred =
3948 ICmpInst::Predicate NewPred =
4036 ICmpInst::Predicate Pred = Cmp.getPredicate();
4126 const CmpInst::Predicate Pred = I.getPredicate();
4216 ICmpInst::Predicate NewPred =
4928 ICmpInst::Predicate Pred = I.getPredicate();
5004 auto NewPred = ICmpInst::getInversePredicate(Pred);
5010 auto NewPred =
5023 auto NewPred = ICmpInst::getInversePredicate(Pred);
5151 llvm::Optional<std::pair<CmpInst::Predicate, Constant *>>
5152 llvm::getFlippedStrictnessPredicateAndConstant(CmpInst::Predicate Pred,
5160 CmpInst::Predicate UnsignedPred = ICmpInst::getUnsignedPredicate(Pred);
5195 CmpInst::Predicate NewPred = CmpInst::getFlippedStrictnessPredicate(Pred);
5208 ICmpInst::Predicate Pred = I.getPredicate();
5308 ICmpInst::Predicate Pred, NewPred;
5369 CmpInst::Predicate P = Cmp.getPredicate();
5459 ICmpInst::Predicate Pred = I.getPredicate();
5619 FCmpInst::Predicate P = I.getPredicate();
5673 ICmpInst::Predicate Pred;
5858 FCmpInst::Predicate Pred = I.getPredicate();
5964 const CmpInst::Predicate Pred = I.getPredicate();
lib/Transforms/InstCombine/InstCombineInternal.h 99 static inline bool isCanonicalPredicate(CmpInst::Predicate Pred) {
119 inline bool isSignBitCheck(ICmpInst::Predicate Pred, const APInt &RHS,
155 llvm::Optional<std::pair<CmpInst::Predicate, Constant *>>
156 getFlippedStrictnessPredicateAndConstant(CmpInst::Predicate Pred, Constant *C);
902 ICmpInst::Predicate Cond, Instruction &I);
911 ICmpInst::Predicate Pred);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 535 CmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstCombineSelect.cpp 51 CmpInst::Predicate Pred = getMinMaxPred(SPF);
63 CmpInst::Predicate Pred;
138 ICmpInst::Predicate Pred = Cmp->getPredicate();
542 ICmpInst::Predicate Pred = IC->getPredicate();
684 ICmpInst::Predicate Pred = ICI->getPredicate();
735 ICmpInst::Predicate Pred = Cmp->getPredicate();
844 ICmpInst::Predicate Pred = ICI->getPredicate();
895 ICmpInst::Predicate Pred = Cmp.getPredicate();
1003 ICmpInst::Predicate CanonicalPred = getMinMaxPred(SPR.Flavor);
1195 case ICmpInst::Predicate::ICMP_ULT:
1197 case ICmpInst::Predicate::ICMP_ULE:
1202 case ICmpInst::Predicate::ICMP_UGT:
1206 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE,
1213 case ICmpInst::Predicate::ICMP_UGE:
1237 ICmpInst::Predicate Pred1;
1255 case ICmpInst::Predicate::ICMP_SLT:
1257 case ICmpInst::Predicate::ICMP_SLE:
1262 case ICmpInst::Predicate::ICMP_SGT:
1266 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_NE,
1272 case ICmpInst::Predicate::ICMP_SGE:
1286 auto *Precond1 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SGE, C2,
1291 auto *Precond2 = ConstantExpr::getICmp(ICmpInst::Predicate::ICMP_SLE, C2,
1318 ICmpInst::Predicate Pred;
1409 ICmpInst::Predicate Pred = ICI->getPredicate();
1867 CmpInst::Predicate Pred;
2131 CmpInst::Predicate P = getMinMaxPred(SPF);
2176 ICmpInst::Predicate Pred;
2226 CmpInst::Predicate Pred;
2313 FCmpInst::Predicate InvPred = FCI->getInversePredicate();
2331 FCmpInst::Predicate InvPred = FCI->getInversePredicate();
2447 CmpInst::Predicate MinMaxPred = getMinMaxPred(SPF, SPR.Ordered);
lib/Transforms/InstCombine/InstCombineShifts.cpp 91 if (!match(NewShAmt, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_ULT,
103 m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ,
1105 C, m_SpecificInt_ICMP(ICmpInst::Predicate::ICMP_EQ,
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 72 CmpInst::Predicate UnusedPred;
386 CmpInst::Predicate Pred;
lib/Transforms/InstCombine/InstructionCombining.cpp 2481 ICmpInst::Predicate Pred;
2577 CmpInst::Predicate Pred;
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2318 CmpInst::Predicate pre;
lib/Transforms/Scalar/CallSiteSplitting.cpp 136 CmpInst::Predicate Pred;
lib/Transforms/Scalar/EarlyCSE.cpp 184 CmpInst::Predicate Pred = CI->getPredicate();
185 CmpInst::Predicate SwappedPred = CI->getSwappedPredicate();
216 CmpInst::Predicate Pred;
342 CmpInst::Predicate PredL, PredR;
lib/Transforms/Scalar/Float2Int.cpp 83 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) {
83 static CmpInst::Predicate mapFCmpPred(CmpInst::Predicate P) {
475 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate());
lib/Transforms/Scalar/GVN.cpp 292 CmpInst::Predicate Predicate = C->getPredicate();
309 CmpInst::Predicate Predicate,
571 CmpInst::Predicate Predicate,
1454 if (CmpI->getPredicate() == CmpInst::Predicate::ICMP_EQ ||
1455 CmpI->getPredicate() == CmpInst::Predicate::FCMP_OEQ ||
1456 (CmpI->getPredicate() == CmpInst::Predicate::FCMP_UEQ &&
1900 CmpInst::Predicate NotPred = Cmp->getInversePredicate();
lib/Transforms/Scalar/GVNSink.cpp 401 CmpInst::Predicate Predicate = C->getPredicate();
lib/Transforms/Scalar/GuardWidening.cpp 542 ICmpInst::Predicate Pred0, Pred1;
566 CmpInst::Predicate Pred;
lib/Transforms/Scalar/IndVarSimplify.cpp 369 CmpInst::Predicate NewPred = CmpInst::BAD_ICMP_PREDICATE;
1833 CmpInst::Predicate Pred;
1839 CmpInst::Predicate P =
2088 ICmpInst::Predicate Pred = Cond->getPredicate();
2480 ICmpInst::Predicate P;
2957 auto Pred = L->contains(BI->getSuccessor(0)) ?
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 283 ICmpInst::Predicate Pred = ICI->getPredicate();
644 ICmpInst::Predicate Pred,
667 ICmpInst::Predicate BoundPred =
694 ICmpInst::Predicate Pred,
715 ICmpInst::Predicate BoundPred =
794 ICmpInst::Predicate Pred = ICI->getPredicate();
1110 ICmpInst::Predicate PredLE =
1112 ICmpInst::Predicate PredLT =
1275 auto Pred =
lib/Transforms/Scalar/JumpThreading.cpp 773 CmpInst::Predicate Pred = Cmp->getPredicate();
lib/Transforms/Scalar/LoopFuse.cpp 916 ICmpInst::Predicate Pred =
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 226 ICmpInst::Predicate BCmpPred;
1241 ICmpInst::Predicate Pred = Cond->getPredicate();
1765 CmpInst::Predicate Pred =
1872 CmpInst::Predicate Pred =
1891 ICmpInst::Predicate BCmpPred;
1965 if (CmpOfLoads.BCmpPred != ICmpInst::Predicate::ICMP_EQ)
lib/Transforms/Scalar/LoopPredication.cpp 236 ICmpInst::Predicate Pred;
239 LoopICmp(ICmpInst::Predicate Pred, const SCEVAddRecExpr *IV,
280 ICmpInst::Predicate Pred, const SCEV *LHS,
364 auto Pred = ICI->getPredicate();
391 ICmpInst::Predicate Pred, const SCEV *LHS,
585 auto LimitCheckPred =
637 auto LimitCheckPred =
lib/Transforms/Scalar/LoopStrengthReduce.cpp 2268 CmpInst::Predicate Pred = ICmpInst::BAD_ICMP_PREDICATE;
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp 252 CmpInst::Predicate Predicate;
lib/Transforms/Scalar/MergeICmps.cpp 323 const ICmpInst::Predicate ExpectedPredicate,
lib/Transforms/Scalar/NewGVN.cpp 1141 CmpInst::Predicate Predicate = CI->getPredicate();
1589 CmpInst::Predicate Predicate =
1842 auto OurPredicate = CI->getPredicate();
1909 auto BranchPredicate = BranchCond->getPredicate();
lib/Transforms/Utils/FlattenCFG.cpp 259 CmpInst::Predicate Predicate = CI->getPredicate();
lib/Transforms/Utils/LibCallsShrinkWrap.cpp 103 Value *createOrCond(CallInst *CI, CmpInst::Predicate Cmp, float Val,
104 CmpInst::Predicate Cmp2, float Val2) {
113 Value *createCond(IRBuilder<> &BBBuilder, Value *Arg, CmpInst::Predicate Cmp,
122 Value *createCond(CallInst *CI, CmpInst::Predicate Cmp, float Val) {
lib/Transforms/Utils/LoopUnrollPeel.cpp 188 CmpInst::Predicate Pred;
lib/Transforms/Utils/LoopUtils.cpp 745 CmpInst::Predicate P = CmpInst::ICMP_NE;
1017 auto Predicate = Signed ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT;
1028 auto Predicate = Signed ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
lib/Transforms/Utils/PredicateInfo.cpp 356 CmpInst::Predicate Pred;
420 CmpInst::Predicate Pred;
lib/Transforms/Utils/SimplifyIndVar.cpp 178 ICmpInst::Predicate Pred = ICmp->getPredicate();
192 ICmpInst::Predicate InvariantPredicate;
247 ICmpInst::Predicate Pred = ICmp->getPredicate();
248 ICmpInst::Predicate OriginalPred = Pred;
383 auto LT = IsSigned ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT;
588 ICmpInst::Predicate Pred = ICI->getPredicate();
lib/Transforms/Vectorize/LoopVectorize.cpp 2688 auto P = Cost->requiresScalarEpilogue() ? ICmpInst::ICMP_ULE
lib/Transforms/Vectorize/SLPVectorizer.cpp 2521 CmpInst::Predicate P0 = cast<CmpInst>(VL0)->getPredicate();
2522 CmpInst::Predicate SwapP0 = CmpInst::getSwappedPredicate(P0);
3903 CmpInst::Predicate P0 = cast<CmpInst>(VL0)->getPredicate();
6176 CmpInst::Predicate Pred;
tools/clang/lib/CodeGen/CGBuiltin.cpp 2244 CmpInst::Predicate Pred = (BuiltinID == Builtin::BI__builtin_isinf)
5814 Value *Op, llvm::Type *Ty, const CmpInst::Predicate Fp,
5815 const CmpInst::Predicate Ip, const Twine &Name) {
7787 llvm::CmpInst::Predicate P;
7807 llvm::CmpInst::Predicate P;
7827 llvm::CmpInst::Predicate P;
7852 llvm::CmpInst::Predicate P;
9622 CmpInst::Predicate Pred;
9720 ICmpInst::Predicate Pred;
9774 static Value *EmitX86MinMax(CodeGenFunction &CGF, ICmpInst::Predicate Pred,
12055 FCmpInst::Predicate Pred;
tools/clang/lib/CodeGen/CGExprAgg.cpp 939 llvm::CmpInst::Predicate FCmp;
940 llvm::CmpInst::Predicate SCmp;
941 llvm::CmpInst::Predicate UCmp;
961 auto Inst =
tools/clang/lib/CodeGen/CGExprScalar.cpp 796 Value *EmitCompare(const BinaryOperator *E, llvm::CmpInst::Predicate UICmpOpc,
797 llvm::CmpInst::Predicate SICmpOpc,
798 llvm::CmpInst::Predicate FCmpOpc);
3726 llvm::CmpInst::Predicate UICmpOpc,
3727 llvm::CmpInst::Predicate SICmpOpc,
3728 llvm::CmpInst::Predicate FCmpOpc) {
tools/clang/lib/CodeGen/CodeGenFunction.h 3733 const llvm::CmpInst::Predicate Fp,
3734 const llvm::CmpInst::Predicate Ip,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1047 llvm::ICmpInst::Predicate Eq;
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 2825 llvm::ICmpInst::Predicate Eq;
tools/lldb/source/Expression/IRInterpreter.cpp 1090 CmpInst::Predicate predicate = icmp_inst->getPredicate();
tools/polly/include/polly/CodeGen/IslNodeBuilder.h 222 isl::ast_expr getUpperBound(isl::ast_node For, CmpInst::Predicate &Predicate);
tools/polly/include/polly/CodeGen/LoopGenerators.h 67 BasicBlock *&ExitBlock, ICmpInst::Predicate Predicate,
tools/polly/lib/Analysis/ScopBuilder.cpp 264 static isl::set buildConditionSet(ICmpInst::Predicate Pred, isl::pw_aff L,
tools/polly/lib/CodeGen/IslExprBuilder.cpp 198 CmpInst::Predicate Pred;
527 CmpInst::Predicate Predicates[5][2] = {
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 111 ICmpInst::Predicate &Predicate) {
193 CmpInst::Predicate Predicate;
519 CmpInst::Predicate Predicate;
624 CmpInst::Predicate Predicate;
tools/polly/lib/CodeGen/LoopGenerators.cpp 85 ICmpInst::Predicate Predicate,
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 207 Builder.CreateICmp(llvm::CmpInst::Predicate::ICMP_EQ, HasWork,
214 Builder.CreateICmp(llvm::CmpInst::Predicate::ICMP_EQ, HasWork,
233 Builder.CreateICmp(llvm::CmpInst::Predicate::ICMP_SLT, UB, AdjustedUB,
240 llvm::CmpInst::Predicate::ICMP_SLE, LB, UB, "polly.hasIteration");
unittests/IR/ConstantRangeTest.cpp 1694 CmpInst::Predicate Pred;
unittests/IR/PatternMatch.cpp 1127 ICmpInst::Predicate Pred = ICmpInst::ICMP_UGT;
1131 ICmpInst::Predicate MatchPred;
usr/include/c++/7.4.0/bits/move.h 46 inline _GLIBCXX_CONSTEXPR _Tp*
47 __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
136 inline _GLIBCXX17_CONSTEXPR _Tp*
137 addressof(_Tp& __r) noexcept
143 const _Tp* addressof(const _Tp&&) = delete;
143 const _Tp* addressof(const _Tp&&) = delete;
184 typename enable_if<__and_<__not_<__is_tuple_like<_Tp>>,
185 is_move_constructible<_Tp>,
186 is_move_assignable<_Tp>>::value>::type
187 swap(_Tp& __a, _Tp& __b)
187 swap(_Tp& __a, _Tp& __b)
198 _Tp __tmp = _GLIBCXX_MOVE(__a);
usr/include/c++/7.4.0/bits/stl_pair.h 100 return __and_<is_constructible<_T1, const _U1&>,
100 return __and_<is_constructible<_T1, const _U1&>,
107 return __and_<is_convertible<const _U1&, _T1>,
107 return __and_<is_convertible<const _U1&, _T1>,
114 return __and_<is_constructible<_T1, _U1&&>,
114 return __and_<is_constructible<_T1, _U1&&>,
115 is_constructible<_T2, _U2&&>>::value;
121 return __and_<is_convertible<_U1&&, _T1>,
121 return __and_<is_convertible<_U1&&, _T1>,
122 is_convertible<_U2&&, _T2>>::value;
128 using __do_converts = __and_<is_convertible<const _U1&, _T1>,
128 using __do_converts = __and_<is_convertible<const _U1&, _T1>,
129 is_convertible<_U2&&, _T2>>;
133 return __and_<is_constructible<_T1, const _U1&>,
133 return __and_<is_constructible<_T1, const _U1&>,
134 is_constructible<_T2, _U2&&>,
142 using __do_converts = __and_<is_convertible<_U1&&, _T1>,
142 using __do_converts = __and_<is_convertible<_U1&&, _T1>,
147 return __and_<is_constructible<_T1, _U1&&>,
147 return __and_<is_constructible<_T1, _U1&&>,
209 : private __pair_base<_T1, _T2>
211 typedef _T1 first_type; /// @c first_type is the first bound type
214 _T1 first; /// @c first is a copy of the first object
252 using _PCCP = _PCC<true, _T1, _T2>;
260 constexpr pair(const _T1& __a, const _T2& __b)
269 explicit constexpr pair(const _T1& __a, const _T2& __b)
283 _T1, _T2>;
311 constexpr pair(_U1&& __x, const _T2& __y)
325 constexpr pair(const _T1& __x, _U2&& __y)
325 constexpr pair(const _T1& __x, _U2&& __y)
332 explicit pair(const _T1& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
342 : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
379 __and_<is_copy_assignable<_T1>,
390 __and_<is_move_assignable<_T1>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
402 typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
405 operator=(const pair<_U1, _U2>& __p)
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
413 typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
416 operator=(pair<_U1, _U2>&& __p)
524 make_pair(_T1&& __x, _T2&& __y)
usr/include/c++/7.4.0/tuple 125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
159 static constexpr _Head&
162 static constexpr const _Head&
210 constexpr _Tuple_impl(const _Head& __head, const _Tail&... __tail)
216 constexpr _Tuple_impl(_UHead&& __head, _UTail&&... __tail)
242 _Tuple_impl(allocator_arg_t __tag, const _Alloc& __a)
248 const _Head& __head, const _Tail&... __tail)
350 static constexpr _Head&
353 static constexpr const _Head&
360 constexpr _Tuple_impl(const _Head& __head)
365 constexpr _Tuple_impl(_UHead&& __head)
390 const _Head& __head)
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
947 constexpr tuple(const _T1& __a1, const _T2& __a2)
956 explicit constexpr tuple(const _T1& __a1, const _T2& __a2)
971 constexpr tuple(_U1&& __a1, _U2&& __a2)
1066 tuple(allocator_arg_t __tag, const _Alloc& __a)
1078 const _T1& __a1, const _T2& __a2)
1090 const _T1& __a1, const _T2& __a2)
1302 constexpr _Head&
1307 constexpr const _Head&
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1588 constexpr tuple<_Elements&...>
1589 tie(_Elements&... __args) noexcept
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
381 : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
825 : public __is_destructible_safe<_Tp>::type
889 typedef decltype(__test<_Tp>(0)) type;
894 : public __and_<__not_<is_void<_Tp>>,
895 __is_default_constructible_impl<_Tp>>
915 : public __is_default_constructible_atom<_Tp>::type
921 : public __is_default_constructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1286 : public is_assignable<_Tp&, const _Tp&>
1286 : public is_assignable<_Tp&, const _Tp&>
1292 : public __is_copy_assignable_impl<_Tp>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
1352 : public is_nothrow_assignable<_Tp&, _Tp&&>
1352 : public is_nothrow_assignable<_Tp&, _Tp&&>
1358 : public __is_nt_move_assignable_impl<_Tp>
1377 static void __helper(const _Tp&);
1380 static true_type __test(const _Tp&,
1381 decltype(__helper<const _Tp&>({}))* = 0);
1390 typedef decltype(__test(declval<_Tp>())) type;
1395 : public __is_implicitly_default_constructible_impl<_Tp>::type
1400 : public __and_<is_default_constructible<_Tp>,
1401 __is_implicitly_default_constructible_safe<_Tp>>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
2104 { typedef typename remove_cv<_Up>::type __type; };
2131 typedef _Tp __type;
2157 { typedef _Tp type; };
2574 typename remove_reference<_Tp>::type>::type>::type
utils/unittest/googletest/include/gtest/gtest-printers.h 223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);