Home
last modified time | relevance | path

Searched refs:Predicate (Results 1 – 25 of 140) sorted by relevance

123456

/minix3/external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/
H A Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
37 Predicate cp(g); in main()
44 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
49 Predicate cp(g); in main()
56 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
62 Predicate cp(g); in main()
69 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
73 Predicate cp(g); in main()
80 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
86 Predicate cp(g); in main()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/
H A Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
37 Predicate cp(g); in main()
44 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
49 Predicate cp(g); in main()
56 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
62 Predicate cp(g); in main()
69 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
73 Predicate cp(g); in main()
80 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef
86 Predicate cp(g); in main()
[all …]
/minix3/external/bsd/libc++/dist/libcxx/test/support/
H A Dcounting_predicates.hpp14 template <typename Predicate, typename Arg>
17 unary_counting_predicate(Predicate p) : p_(p), count_(0) {} in unary_counting_predicate()
25 Predicate p_;
30 template <typename Predicate, typename Arg1, typename Arg2=Arg1>
34 binary_counting_predicate ( Predicate p ) : p_(p), count_(0) {} in binary_counting_predicate()
42 Predicate p_;
/minix3/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h27 enum Predicate { enum
60 Predicate InvertPredicate(Predicate Opcode);
64 Predicate getSwappedPredicate(Predicate Opcode);
H A DPPCPredicates.cpp19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { in InvertPredicate()
53 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate()
/minix3/external/bsd/libc++/dist/libcxx/test/containers/sequences/list/list.ops/
H A Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(int), int> Predicate; typedef
39 Predicate cp(g); in main()
48 Predicate cp(even); in main()
58 Predicate cp(g); in main()
/minix3/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/list/list.ops/
H A Dremove_if.pass.cpp31 typedef unary_counting_predicate<bool(*)(int), int> Predicate; typedef
39 Predicate cp(g); in main()
48 Predicate cp(even); in main()
58 Predicate cp(g); in main()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DCmpInstAnalysis.h57 CmpInst::Predicate &NewICmpPred);
61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
/minix3/external/bsd/libc++/dist/libcxx/include/
H A Dcondition_variable35 template <class Predicate>
36 void wait(unique_lock<mutex>& lock, Predicate pred);
43 template <class Clock, class Duration, class Predicate>
47 Predicate pred);
54 template <class Rep, class Period, class Predicate>
58 Predicate pred);
80 template <class Lock, class Predicate>
81 void wait(Lock& lock, Predicate pred);
88 template <class Lock, class Clock, class Duration, class Predicate>
92 Predicate pred);
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagon.td35 // Hexagon Instruction Predicate Definitions.
37 def HasV2T : Predicate<"Subtarget.hasV2TOps()">;
38 def HasV2TOnly : Predicate<"Subtarget.hasV2TOpsOnly()">;
39 def NoV2T : Predicate<"!Subtarget.hasV2TOps()">;
40 def HasV3T : Predicate<"Subtarget.hasV3TOps()">;
41 def HasV3TOnly : Predicate<"Subtarget.hasV3TOpsOnly()">;
42 def NoV3T : Predicate<"!Subtarget.hasV3TOps()">;
43 def HasV4T : Predicate<"Subtarget.hasV4TOps()">;
44 def NoV4T : Predicate<"!Subtarget.hasV4TOps()">;
45 def HasV5T : Predicate<"Subtarget.hasV5TOps()">;
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode()
73 CmpInst::Predicate &NewICmpPred) { in getICmpValue()
92 bool llvm::PredicatesFoldable(ICmpInst::Predicate p1, ICmpInst::Predicate p2) { in PredicatesFoldable()
H A DFlattenCFG.cpp248 CmpInst::Predicate Predicate = CI->getPredicate(); in FlattenParallelAndOr() local
250 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
251 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); in FlattenParallelAndOr()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMips.td24 list<Predicate> EncodingPredicates = [];
26 list<Predicate> GPRPredicates = [];
28 list<Predicate> FGRPredicates = [];
30 list<Predicate> InsnPredicates = [];
32 list<Predicate> AdditionalPredicates = [];
33 list<Predicate> Predicates = !listconcat(EncodingPredicates,
41 class AdditionalRequires<list<Predicate> preds> {
42 list<Predicate> AdditionalPredicates = preds;
H A DMipsInstrInfo.td147 // Mips Instruction Predicate Definitions.
149 def HasMips2 : Predicate<"Subtarget->hasMips2()">,
151 def HasMips3_32 : Predicate<"Subtarget->hasMips3_32()">,
153 def HasMips3_32r2 : Predicate<"Subtarget->hasMips3_32r2()">,
155 def HasMips3 : Predicate<"Subtarget->hasMips3()">,
157 def HasMips4_32 : Predicate<"Subtarget->hasMips4_32()">,
159 def NotMips4_32 : Predicate<"!Subtarget->hasMips4_32()">,
161 def HasMips4_32r2 : Predicate<"Subtarget->hasMips4_32r2()">,
163 def HasMips5_32r2 : Predicate<"Subtarget->hasMips5_32r2()">,
165 def HasMips32 : Predicate<"Subtarget->hasMips32()">,
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DPatternMatch.h204 template <typename Predicate> struct cst_pred_ty : public Predicate {
218 template <typename Predicate> struct api_pred_ty : public Predicate {
698 PredicateTy &Predicate; member
703 : Predicate(Pred), L(LHS), R(RHS) {} in CmpClass_match()
708 Predicate = I->getPredicate(); in match()
716 inline CmpClass_match<LHS, RHS, CmpInst, CmpInst::Predicate>
717 m_Cmp(CmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_Cmp()
718 return CmpClass_match<LHS, RHS, CmpInst, CmpInst::Predicate>(Pred, L, R); in m_Cmp()
722 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
723 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp()
[all …]
H A DInstrTypes.h694 enum Predicate {
757 Predicate getPredicate() const {
758 return Predicate(getSubclassDataFromInstruction());
762 void setPredicate(Predicate P) { setInstructionSubclassData(P); }
764 static bool isFPPredicate(Predicate P) {
768 static bool isIntPredicate(Predicate P) {
780 Predicate getInversePredicate() const {
788 static Predicate getInversePredicate(Predicate pred);
796 Predicate getSwappedPredicate() const {
803 static Predicate getSwappedPredicate(Predicate pred);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DAnalysis.h84 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
93 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2149 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const { in optimizeCmpPredicate()
2151 CmpInst::Predicate Predicate = CI->getPredicate(); in optimizeCmpPredicate() local
2153 return Predicate; in optimizeCmpPredicate()
2155 switch (Predicate) { in optimizeCmpPredicate()
2157 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2158 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2159 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2160 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
2161 case CmpInst::FCMP_OLT: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate()
2162 case CmpInst::FCMP_OLE: Predicate = CmpInst::FCMP_ORD; break; in optimizeCmpPredicate()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DScalarEvolution.h480 ICmpInst::Predicate p);
519 bool isImpliedCond(ICmpInst::Predicate Pred,
527 bool isImpliedCondOperands(ICmpInst::Predicate Pred,
534 bool isImpliedCondOperandsHelper(ICmpInst::Predicate Pred,
550 bool isKnownPredicateWithRanges(ICmpInst::Predicate Pred,
738 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
744 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
865 bool isKnownPredicate(ICmpInst::Predicate Pred,
873 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred,
/minix3/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZProcessors.td15 : Predicate<"Subtarget.has"##intname##"()">,
20 : Predicate<"!Subtarget.has"##intname##"()">;
/minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPU.td188 // Predicate helper class
192 Predicate SubtargetPredicate;
193 list<Predicate> OtherPredicates = [];
194 list<Predicate> Predicates = !listconcat([SubtargetPredicate],
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86InstrInfo.td694 // X86 Instruction Predicate Definitions.
695 def HasCMov : Predicate<"Subtarget->hasCMov()">;
696 def NoCMov : Predicate<"!Subtarget->hasCMov()">;
698 def HasMMX : Predicate<"Subtarget->hasMMX()">;
699 def Has3DNow : Predicate<"Subtarget->has3DNow()">;
700 def Has3DNowA : Predicate<"Subtarget->has3DNowA()">;
701 def HasSSE1 : Predicate<"Subtarget->hasSSE1()">;
702 def UseSSE1 : Predicate<"Subtarget->hasSSE1() && !Subtarget->hasAVX()">;
703 def HasSSE2 : Predicate<"Subtarget->hasSSE2()">;
704 def UseSSE2 : Predicate<"Subtarget->hasSSE2() && !Subtarget->hasAVX()">;
[all …]
H A DX86FastISel.cpp168 getX86ConditionCode(CmpInst::Predicate Predicate) { in getX86ConditionCode() argument
171 switch (Predicate) { in getX86ConditionCode()
206 getX86SSEConditionCode(CmpInst::Predicate Predicate) { in getX86SSEConditionCode() argument
219 switch (Predicate) { in getX86SSEConditionCode()
1152 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI); in X86SelectCmp() local
1154 switch (Predicate) { in X86SelectCmp()
1185 if (Predicate == CmpInst::FCMP_ORD || Predicate == CmpInst::FCMP_UNO) { in X86SelectCmp()
1197 switch (Predicate) { in X86SelectCmp()
1222 std::tie(CC, SwapArgs) = getX86ConditionCode(Predicate); in X86SelectCmp()
1304 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI); in X86SelectBranch() local
[all …]
/minix3/external/bsd/llvm/dist/clang/test/Sema/
H A Dwarn-documentation.cpp1079 class Predicate class
1090 template<> class Predicate<int, char> class
1101 template<class T> class Predicate<T, int> class
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DIfConversion.cpp126 SmallVector<MachineOperand, 4> Predicate; member
645 bool AlreadyPredicated = !BBI.Predicate.empty(); in ScanInstructions()
733 if (BBI.Predicate.size() && !TII->SubsumesPredicate(Pred, BBI.Predicate)) in FeasibilityAnalysis()
806 bool TNeedSub = !TrueBBI.Predicate.empty(); in AnalyzeBlock()
807 bool FNeedSub = !FalseBBI.Predicate.empty(); in AnalyzeBlock()
1560 std::copy(Cond.begin(), Cond.end(), std::back_inserter(BBI.Predicate)); in PredicateBlock()
1625 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in CopyAndPredicateBlock()
1626 std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1627 std::copy(Cond.begin(), Cond.end(), std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1666 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in MergeBlocks()
[all …]

123456