Home
last modified time | relevance | path

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

1234567891011

/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h27 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 DPPCPredicates.cpp19 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 DLegalizerInfo.h180 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 DInstructionSelectorImpl.h243 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 Dasltransform.c590 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 DAMDGPU.td682 // 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 DGlobalISelEmitter.cpp297 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 DHexagonDepArch.td13 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 DRDFGraph.h553 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 DRISCV.td19 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 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);
92 Predicate pred);
99 template <class Lock, class Rep, class Period, class Predicate>
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h56 CmpInst::Predicate &Pred);
60 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
65 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
H A DScalarEvolution.h886 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 DInstrTypes.h646 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 DPatternMatch.h205 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 DConstantRange.h70 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 DPredicate.h46 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 DMipsInstrInfo.td157 // 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 DMips.td24 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 DARMLegalizerInfo.cpp330 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 DARMLegalizerInfo.h50 CmpInst::Predicate Predicate; member
64 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp23 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 DWebAssemblyInstrInfo.td16 // 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 DLowerExpectIntrinsic.cpp247 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 DX86InstrInfo.td791 // 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 …]

1234567891011