/minix/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/ |
H A D | remove_if.pass.cpp | 31 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef 37 Predicate cp(g); in main() 49 Predicate cp(g); in main() 62 Predicate cp(g); in main() 73 Predicate cp(g); in main() 86 Predicate cp(g); in main() 100 Predicate cp(g); in main() 112 Predicate cp(g); in main() 125 Predicate cp(g); in main() 136 Predicate cp(g); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/containers/sequences/forwardlist/forwardlist.ops/ |
H A D | remove_if.pass.cpp | 31 typedef unary_counting_predicate<bool(*)(T), T> Predicate; in main() typedef 37 Predicate cp(g); in main() 49 Predicate cp(g); in main() 62 Predicate cp(g); in main() 73 Predicate cp(g); in main() 86 Predicate cp(g); in main() 100 Predicate cp(g); in main() 112 Predicate cp(g); in main() 125 Predicate cp(g); in main() 136 Predicate cp(g); in main() [all …]
|
/minix/external/bsd/libc++/dist/libcxx/test/support/ |
H A D | counting_predicates.hpp | 14 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_;
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCPredicates.h | 27 enum Predicate { enum 60 Predicate InvertPredicate(Predicate Opcode); 64 Predicate getSwappedPredicate(Predicate Opcode);
|
H A D | PPCPredicates.cpp | 19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { in InvertPredicate() 53 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate()
|
/minix/external/bsd/libc++/dist/libcxx/test/std/containers/sequences/list/list.ops/ |
H A D | remove_if.pass.cpp | 31 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()
|
/minix/external/bsd/libc++/dist/libcxx/test/containers/sequences/list/list.ops/ |
H A D | remove_if.pass.cpp | 31 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()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | CmpInstAnalysis.h | 57 CmpInst::Predicate &NewICmpPred); 61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
|
/minix/external/bsd/libc++/dist/libcxx/include/ |
H A D | condition_variable | 35 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); 92 Predicate pred); 99 template <class Lock, class Rep, class Period, class Predicate> [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | Hexagon.td | 35 // 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()">; 42 def NoV3T : Predicate<"!Subtarget.hasV3TOps()">; 43 def HasV4T : Predicate<"Subtarget.hasV4TOps()">; 44 def NoV4T : Predicate<"!Subtarget.hasV4TOps()">; 45 def HasV5T : Predicate<"Subtarget.hasV5TOps()">; 46 def NoV5T : Predicate<"!Subtarget.hasV5TOps()">; [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 45 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 D | FlattenCFG.cpp | 248 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()
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/ |
H A D | Mips.td | 24 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 D | MipsInstrInfo.td | 147 // Mips Instruction Predicate Definitions. 149 def HasMips2 : Predicate<"Subtarget->hasMips2()">, 155 def HasMips3 : Predicate<"Subtarget->hasMips3()">, 165 def HasMips32 : Predicate<"Subtarget->hasMips32()">, 173 def IsGP64bit : Predicate<"Subtarget->isGP64bit()">, 177 def HasMips64 : Predicate<"Subtarget->hasMips64()">, 187 def HasCnMips : Predicate<"Subtarget->hasCnMips()">, 196 def NotDSP : Predicate<"!Subtarget->hasDSP()">; 201 def IsLE : Predicate<"Subtarget->isLittle()">; 202 def IsBE : Predicate<"!Subtarget->isLittle()">; [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 204 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() 971 typename CmpInst_t::Predicate Pred = in match() 983 static bool match(ICmpInst::Predicate Pred) { in match() 990 static bool match(ICmpInst::Predicate Pred) { in match() 997 static bool match(ICmpInst::Predicate Pred) { in match() 1004 static bool match(ICmpInst::Predicate Pred) { in match() [all …]
|
H A D | InstrTypes.h | 694 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);
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | Analysis.h | 84 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred); 93 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 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() 2163 case CmpInst::FCMP_ONE: Predicate = CmpInst::FCMP_FALSE; break; in optimizeCmpPredicate() [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 480 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,
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZProcessors.td | 15 : Predicate<"Subtarget.has"##intname##"()">, 20 : Predicate<"!Subtarget.has"##intname##"()">;
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
H A D | AMDGPU.td | 188 // Predicate helper class 192 Predicate SubtargetPredicate; 193 list<Predicate> OtherPredicates = []; 194 list<Predicate> Predicates = !listconcat([SubtargetPredicate],
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.td | 694 // X86 Instruction Predicate Definitions. 698 def HasMMX : Predicate<"Subtarget->hasMMX()">; 715 def HasAVX : Predicate<"Subtarget->hasAVX()">; 723 def HasCDI : Predicate<"Subtarget->hasCDI()">; 724 def HasPFI : Predicate<"Subtarget->hasPFI()">; 725 def HasERI : Predicate<"Subtarget->hasERI()">; 726 def HasDQI : Predicate<"Subtarget->hasDQI()">; 728 def HasBWI : Predicate<"Subtarget->hasBWI()">; 729 def HasVLX : Predicate<"Subtarget->hasVLX()">, 784 def OptForSize : Predicate<"OptForSize">; [all …]
|
H A D | X86FastISel.cpp | 168 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 1185 if (Predicate == CmpInst::FCMP_ORD || Predicate == CmpInst::FCMP_UNO) { in X86SelectCmp() 1304 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI); in X86SelectBranch() local 1327 Predicate = CmpInst::getInversePredicate(Predicate); in X86SelectBranch() 1712 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI); in X86FastEmitCMoveSelect() local 1828 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI); in X86FastEmitSSESelect() local [all …]
|
/minix/external/bsd/llvm/dist/clang/test/Sema/ |
H A D | warn-documentation.cpp | 1079 class Predicate class 1090 template<> class Predicate<int, char> class 1101 template<class T> class Predicate<T, int> class
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | IfConversion.cpp | 126 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() 1666 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in MergeBlocks() 1667 std::back_inserter(ToBBI.Predicate)); in MergeBlocks() [all …]
|