| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 27 enum Predicate { enum 71 Predicate InvertPredicate(Predicate Opcode); 75 Predicate getSwappedPredicate(Predicate Opcode); 78 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition() 83 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint() 88 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() 89 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
|
| 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()
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 180 template<typename Predicate> 181 Predicate all(Predicate P0, Predicate P1) { in all() 187 template<typename Predicate, typename... Args> 188 Predicate all(Predicate P0, Predicate P1, Args... args) { in all() 245 LegalityPredicate Predicate; variable 252 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() argument 256 return Predicate(Query); in match() 315 add({Predicate, Action}); in actionIf() 322 add({Predicate, Action, Mutation}); in actionIf() 410 return actionIf(LegalizeAction::Legal, Predicate); in legalIf() [all …]
|
| H A D | InstructionSelectorImpl.h | 243 int64_t Predicate = MatchTable[CurrentIdx++]; in executeMatchTable() local 247 << InsnID << "], Predicate=" << Predicate << ")\n"); in executeMatchTable() 251 assert(Predicate > GIPFP_I64_Invalid && "Expected a valid predicate"); in executeMatchTable() 260 if (!testImmPredicate_I64(Predicate, Value)) in executeMatchTable() 267 int64_t Predicate = MatchTable[CurrentIdx++]; in executeMatchTable() local 282 if (!testImmPredicate_APInt(Predicate, Value)) in executeMatchTable() 289 int64_t Predicate = MatchTable[CurrentIdx++]; in executeMatchTable() local 301 if (!testImmPredicate_APFloat(Predicate, Value)) in executeMatchTable() 308 int64_t Predicate = MatchTable[CurrentIdx++]; in executeMatchTable() local 314 assert(Predicate > GIPFP_MI_Invalid && "Expected a valid predicate"); in executeMatchTable() [all …]
|
| /freebsd-12.1/sys/contrib/dev/acpica/compiler/ |
| H A D | asltransform.c | 590 ACPI_PARSE_OBJECT *Predicate; in TrDoSwitch() local 661 Predicate = CaseOp->Asl.Child; in TrDoSwitch() 673 Predicate->Asl.Next = NewOp2; in TrDoSwitch() 737 NewOp->Asl.Next = Predicate; in TrDoSwitch() 747 Predicate = NewOp2; in TrDoSwitch() 748 Predicate->Asl.Next = CaseBlock; in TrDoSwitch() 836 Predicate = StartNode->Asl.Child; in TrDoSwitch() 939 NewOp->Asl.Next = Predicate->Asl.Next; in TrDoSwitch() 952 StoreOp->Asl.Child = Predicate; in TrDoSwitch() 953 Predicate->Asl.Parent = StoreOp; in TrDoSwitch() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPU.td | 682 // Predicate helper class 685 def isSICI : Predicate< 690 def isVI : Predicate < 694 def isGFX9 : Predicate < 699 def isCIVI : Predicate < 742 def HasSDWA : Predicate<"Subtarget->hasSDWA()">, 745 def HasSDWA9 : Predicate<"Subtarget->hasSDWA()">, 748 def HasDPP : Predicate<"Subtarget->hasDPP()">, 751 def HasR128A16 : Predicate<"Subtarget->hasR128A16()">, 767 def HasMovrel : Predicate<"Subtarget->hasMovrel()">, [all …]
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | GlobalISelEmitter.cpp | 297 if (Predicate.isNonExtLoad() || Predicate.isAnyExtLoad() || in isTrivialOperatorNode() 298 Predicate.isSignExtLoad() || Predicate.isZeroExtLoad()) in isTrivialOperatorNode() 304 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 307 if (Predicate.isLoad() || Predicate.isStore()) { in isTrivialOperatorNode() 312 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 1683 Predicate(Predicate) {} in InstructionImmPredicateMatcher() 1838 Predicate(Predicate) {} in GenericInstructionPredicateMatcher() 3204 if (Predicate.isLoad() && Predicate.isNonExtLoad()) { in createAndImportSelDAGMatcher() 3209 if (Predicate.isLoad() && Predicate.isAnyExtLoad()) { in createAndImportSelDAGMatcher() 3229 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in createAndImportSelDAGMatcher() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonDepArch.td | 13 def HasV66 : Predicate<"HST->hasV66Ops()">, AssemblerPredicate<"ArchV66">; 15 def HasV65 : Predicate<"HST->hasV65Ops()">, AssemblerPredicate<"ArchV65">; 17 def HasV62 : Predicate<"HST->hasV62Ops()">, AssemblerPredicate<"ArchV62">; 19 def HasV60 : Predicate<"HST->hasV60Ops()">, AssemblerPredicate<"ArchV60">; 21 def HasV55 : Predicate<"HST->hasV55Ops()">, AssemblerPredicate<"ArchV55">; 23 def HasV5 : Predicate<"HST->hasV5Ops()">, AssemblerPredicate<"ArchV5">;
|
| H A D | RDFGraph.h | 553 template <typename Predicate> 607 template <typename Predicate> 608 NodeList members_if(Predicate P, const DataFlowGraph &G) const; 841 template <typename Predicate> 844 Predicate P) const; 858 template <typename Predicate> void linkStmtRefs(DefStackMap &DefM, 859 NodeAddr<StmtNode*> SA, Predicate P); 887 template <typename Predicate> 888 NodeAddr<RefNode*> RefNode::getNextRef(RegisterRef RR, Predicate P, in getNextRef() 913 template <typename Predicate> [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/RISCV/ |
| H A D | RISCV.td | 19 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">, 25 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">, 31 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">, 38 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">, 44 def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">, 50 def IsRV64 : Predicate<"Subtarget->is64Bit()">, 52 def IsRV32 : Predicate<"!Subtarget->is64Bit()">,
|
| /freebsd-12.1/contrib/libc++/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 …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | CmpInstAnalysis.h | 56 CmpInst::Predicate &Pred); 60 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2); 65 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
|
| H A D | ScalarEvolution.h | 886 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS, 891 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred, 912 ICmpInst::Predicate &InvariantPred, 1229 std::unique_ptr<SCEVUnionPredicate> Predicate; 1235 Predicate(std::move(Predicate)) {} 1238 return !Predicate || Predicate->isAlwaysTrue(); 1644 bool isImpliedViaOperations(ICmpInst::Predicate Pred, 1651 bool isKnownViaNonRecursiveReasoning(ICmpInst::Predicate Pred, 1671 bool isImpliedViaGuard(BasicBlock *BB, ICmpInst::Predicate Pred, 1692 bool isImpliedViaMerge(ICmpInst::Predicate Pred, [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | InstrTypes.h | 646 enum Predicate { 721 Predicate getPredicate() const { 745 Predicate getInversePredicate() const { 753 static Predicate getInversePredicate(Predicate pred); 768 static Predicate getSwappedPredicate(Predicate pred); 783 static Predicate getFlippedStrictnessPredicate(Predicate pred); 796 static Predicate getNonStrictPredicate(Predicate pred); 829 static Predicate getSignedPredicate(Predicate pred); 835 Predicate getSignedPredicate() { 873 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); [all …]
|
| H A D | PatternMatch.h | 205 template <typename Predicate> struct cst_pred_ty : public Predicate { 238 template <typename Predicate> struct api_pred_ty : public Predicate { 264 template <typename Predicate> struct cstfp_pred_ty : public Predicate { 879 struct BinOpPred_match : Predicate { 985 PredicateTy &Predicate; member 992 : Predicate(Pred), L(LHS), R(RHS) {} in CmpClass_match() 999 Predicate = I->getPredicate(); in match() 1284 typename CmpInst_t::Predicate Pred = in match() 1297 static bool match(ICmpInst::Predicate Pred) { in match() 1304 static bool match(ICmpInst::Predicate Pred) { in match() [all …]
|
| H A D | ConstantRange.h | 70 static ConstantRange makeAllowedICmpRegion(CmpInst::Predicate Pred, 81 static ConstantRange makeSatisfyingICmpRegion(CmpInst::Predicate Pred, 91 static ConstantRange makeExactICmpRegion(CmpInst::Predicate Pred, 123 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | Predicate.h | 46 template <class T> class Predicate { 54 Predicate() : m_value(), m_mutex(), m_condition() {} in Predicate() function 65 Predicate(T initial_value) in Predicate() function 73 ~Predicate() = default; 251 DISALLOW_COPY_AND_ASSIGN(Predicate);
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | MipsInstrInfo.td | 157 // Mips Instruction Predicate Definitions. 237 def HasMSA : Predicate<"Subtarget->hasMSA()">, 241 def HasMT : Predicate<"Subtarget->hasMT()">, 434 list<Predicate> ASEPredicate = [HasCnMips]; 438 list<Predicate> ASEPredicate = [NotCnMips]; 446 list<Predicate> ASEPredicate = [HasMSA]; 458 list <Predicate> ASEPredicate = [HasMT]; 462 list <Predicate> ASEPredicate = [HasCRC]; 466 list <Predicate> ASEPredicate = [HasVirt]; 470 list <Predicate> ASEPredicate = [HasGINV]; [all …]
|
| H A D | Mips.td | 24 list<Predicate> EncodingPredicates = []; 26 list<Predicate> GPRPredicates = []; 28 list<Predicate> PTRPredicates = []; 30 list<Predicate> FGRPredicates = []; 32 list<Predicate> InsnPredicates = []; 33 // Predicate for the ASE that an instruction belongs to. 34 list<Predicate> ASEPredicate = []; 36 list<Predicate> HardFloatPredicate = []; 38 list<Predicate> AdditionalPredicates = []; 50 class AdditionalRequires<list<Predicate> preds> { [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMLegalizerInfo.cpp | 330 ARMLegalizerInfo::getFCmpLibcalls(CmpInst::Predicate Predicate, in getFCmpLibcalls() argument 332 assert(CmpInst::isFPPredicate(Predicate) && "Unsupported FCmp predicate"); in getFCmpLibcalls() 334 return FCmp32Libcalls[Predicate]; in getFCmpLibcalls() 336 return FCmp64Libcalls[Predicate]; in getFCmpLibcalls() 390 auto Predicate = in legalizeCustom() local 391 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in legalizeCustom() 392 auto Libcalls = getFCmpLibcalls(Predicate, OpSize); in legalizeCustom() 395 assert((Predicate == CmpInst::FCMP_TRUE || in legalizeCustom() 396 Predicate == CmpInst::FCMP_FALSE) && in legalizeCustom() 399 Predicate == CmpInst::FCMP_TRUE ? 1 : 0); in legalizeCustom() [all …]
|
| H A D | ARMLegalizerInfo.h | 50 CmpInst::Predicate Predicate; member 64 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | CmpInstAnalysis.cpp | 23 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode() 44 CmpInst::Predicate &Pred) { in getPredForICmpCode() 61 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) { in predicatesFoldable() 68 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInfo.td | 16 // WebAssembly Instruction Predicate Definitions. 19 def HasAddr32 : Predicate<"!Subtarget->hasAddr64()">; 20 def HasAddr64 : Predicate<"Subtarget->hasAddr64()">; 21 def HasSIMD128 : Predicate<"Subtarget->hasSIMD128()">, 24 Predicate<"Subtarget->hasUnimplementedSIMD128()">, 29 Predicate<"Subtarget->hasNontrappingFPToInt()">, 33 Predicate<"!Subtarget->hasNontrappingFPToInt()">, 37 Predicate<"Subtarget->hasSignExt()">, 41 Predicate<"!Subtarget->hasSignExt()">, 46 Predicate<"Subtarget->hasExceptionHandling()">, [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 247 CmpInst::Predicate Predicate; in handleBrSelExpect() local 251 Predicate = CmpInst::ICMP_NE; in handleBrSelExpect() 253 Predicate = CmpI->getPredicate(); in handleBrSelExpect() 254 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ) in handleBrSelExpect() 286 (Predicate == CmpInst::ICMP_EQ)) in handleBrSelExpect()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.td | 791 // X86 Instruction Predicate Definitions. 792 def TruePredicate : Predicate<"true">; 797 def HasMMX : Predicate<"Subtarget->hasMMX()">; 815 def HasAVX : Predicate<"Subtarget->hasAVX()">; 822 def HasCDI : Predicate<"Subtarget->hasCDI()">; 824 def HasPFI : Predicate<"Subtarget->hasPFI()">; 825 def HasERI : Predicate<"Subtarget->hasERI()">; 826 def HasDQI : Predicate<"Subtarget->hasDQI()">; 834 def PKU : Predicate<"Subtarget->hasPKU()">; 835 def HasVNNI : Predicate<"Subtarget->hasVNNI()">; [all …]
|