Home
last modified time | relevance | path

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

12345678910>>...16

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrPredicates.td9 def TruePredicate : Predicate<"true">;
35 def HasEGPR : Predicate<"Subtarget->hasEGPR()">;
36 def NoEGPR : Predicate<"!Subtarget->hasEGPR()">;
46 def HasNDD : Predicate<"Subtarget->hasNDD()">;
47 def NoNDD : Predicate<"!Subtarget->hasNDD()">;
50 def HasNOPL : Predicate<"Subtarget->hasNOPL()">;
51 def HasMMX : Predicate<"Subtarget->hasMMX()">;
54 def HasSSE1 : Predicate<"Subtarget->hasSSE1()">;
69 def HasAVX : Predicate<"Subtarget->hasAVX()">;
79 def HasCDI : Predicate<"Subtarget->hasCDI()">;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMPredicates.td9 def HasV4T : Predicate<"Subtarget->hasV4TOps()">,
11 def NoV4T : Predicate<"!Subtarget->hasV4TOps()">;
12 def HasV5T : Predicate<"Subtarget->hasV5TOps()">,
14 def NoV5T : Predicate<"!Subtarget->hasV5TOps()">;
15 def HasV5TE : Predicate<"Subtarget->hasV5TEOps()">,
17 def HasV6 : Predicate<"Subtarget->hasV6Ops()">,
19 def NoV6 : Predicate<"!Subtarget->hasV6Ops()">;
20 def HasV6M : Predicate<"Subtarget->hasV6MOps()">,
134 def HasV7Clrex : Predicate<"Subtarget->hasV7Clrex()">,
143 def HasVirtualization: Predicate<"false">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DMacroFusionPredicatorEmitter.cpp126 for (Record *Predicate : Predicates) { in emitPredicates()
129 emitFirstPredicate(Predicate, PE, OS); in emitPredicates()
131 emitSecondPredicate(Predicate, PE, OS); in emitPredicates()
133 emitBothPredicate(Predicate, PE, OS); in emitPredicates()
143 if (Predicate->isSubClassOf("WildcardPred")) { in emitFirstPredicate()
166 PrintFatalError(Predicate->getLoc(), in emitFirstPredicate()
186 PrintFatalError(Predicate->getLoc(), in emitSecondPredicate()
198 emitFirstPredicate(Predicate, PE, OS); in emitBothPredicate()
199 emitSecondPredicate(Predicate, PE, OS); in emitBothPredicate()
200 } else if (Predicate->isSubClassOf("TieReg")) { in emitBothPredicate()
[all …]
H A DGlobalISelEmitter.cpp221 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
224 if (Predicate.isLoad() || Predicate.isStore()) { in isTrivialOperatorNode()
229 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in isTrivialOperatorNode()
238 if (Predicate.isAtomic() && Predicate.getMemoryVT()) in isTrivialOperatorNode()
516 (Predicate.isLoad() || Predicate.isAtomic()) && in getEquivNode()
520 (Predicate.isLoad() || Predicate.isAtomic()) && in getEquivNode()
564 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates()
590 if (Predicate.isLoad() && Predicate.isNonExtLoad()) { in addBuiltinPredicates()
595 if (Predicate.isLoad() && Predicate.isAnyExtLoad()) { in addBuiltinPredicates()
640 if (Predicate.isLoad() || Predicate.isStore() || Predicate.isAtomic()) { in addBuiltinPredicates()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFeatures.td18 def HasStdExtI : Predicate<"Subtarget->hasStdExtI()">,
301 : Predicate<"Subtarget->hasStdExtCOrZca()">,
429 : Predicate<"Subtarget->hasStdExtZbkc()">,
928 : Predicate<"Subtarget->hasVendorXCVelw()">,
944 : Predicate<"Subtarget->hasVendorXCVmac()">,
952 : Predicate<"Subtarget->hasVendorXCVmem()">,
960 : Predicate<"Subtarget->hasVendorXCValu()">,
976 : Predicate<"Subtarget->hasVendorXCVbi()">,
990 def IsRV64 : Predicate<"Subtarget->is64Bit()">,
993 def IsRV32 : Predicate<"!Subtarget->is64Bit()">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPU.td1605 // Predicate helper class
1658 Predicate<"!Subtarget->hasGFX90AInsts() &&"
1710 def isGFX9Only : Predicate <
1719 Predicate<"Subtarget->hasGFX90AInsts()">,
1723 Predicate<"!Subtarget->hasGFX90AInsts()">,
1727 Predicate<"!Subtarget->hasGFX90AInsts() &&"
1741 Predicate<"Subtarget->hasGFX940Insts()">,
1745 Predicate<"!Subtarget->hasGFX940Insts() &&"
1881 Predicate<"Subtarget->hasSDWA()">,
1885 Predicate<"Subtarget->hasSDWA()">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h26 enum Predicate { enum
70 Predicate InvertPredicate(Predicate Opcode);
74 Predicate getSwappedPredicate(Predicate Opcode);
77 inline unsigned getPredicateCondition(Predicate Opcode) { in getPredicateCondition()
82 inline unsigned getPredicateHint(Predicate Opcode) { in getPredicateHint()
87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate()
88 return (Predicate)((Condition & ~BR_HINT_MASK) | in getPredicate()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h228 template <typename Predicate> Predicate predNot(Predicate P) { in predNot()
233 template<typename Predicate>
234 Predicate all(Predicate P0, Predicate P1) { in all()
241 Predicate all(Predicate P0, Predicate P1, Args... args) { in all()
246 template<typename Predicate>
247 Predicate any(Predicate P0, Predicate P1) { in any()
254 Predicate any(Predicate P0, Predicate P1, Args... args) { in any()
400 LegalityPredicate Predicate; variable
407 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() function
411 return Predicate(Query); in match()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonDepArch.td12 def HasV5 : Predicate<"HST->hasV5Ops()">, AssemblerPredicate<(all_of ArchV5)>;
14 def HasV55 : Predicate<"HST->hasV55Ops()">, AssemblerPredicate<(all_of ArchV55)>;
16 def HasV60 : Predicate<"HST->hasV60Ops()">, AssemblerPredicate<(all_of ArchV60)>;
18 def HasV62 : Predicate<"HST->hasV62Ops()">, AssemblerPredicate<(all_of ArchV62)>;
20 def HasV65 : Predicate<"HST->hasV65Ops()">, AssemblerPredicate<(all_of ArchV65)>;
22 def HasV66 : Predicate<"HST->hasV66Ops()">, AssemblerPredicate<(all_of ArchV66)>;
24 def HasV67 : Predicate<"HST->hasV67Ops()">, AssemblerPredicate<(all_of ArchV67)>;
26 def HasV68 : Predicate<"HST->hasV68Ops()">, AssemblerPredicate<(all_of ArchV68)>;
28 def HasV69 : Predicate<"HST->hasV69Ops()">, AssemblerPredicate<(all_of ArchV69)>;
30 def HasV71 : Predicate<"HST->hasV71Ops()">, AssemblerPredicate<(all_of ArchV71)>;
[all …]
H A DHexagon.td112 // Hexagon Instruction Predicate Definitions.
115 def UseMEMOPS : Predicate<"HST->useMemops()">;
116 def UseHVX64B : Predicate<"HST->useHVX64BOps()">,
120 def UseHVX : Predicate<"HST->useHVXOps()">,
122 def UseHVXV60 : Predicate<"HST->useHVXV60Ops()">,
124 def UseHVXV62 : Predicate<"HST->useHVXV62Ops()">,
140 def UseAudio : Predicate<"HST->useAudioOps()">,
142 def UseZReg : Predicate<"HST->useZRegOps()">,
144 def UseCompound : Predicate<"HST->useCompound()">;
145 def HasPreV65 : Predicate<"HST->hasPreV65()">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCmpInstAnalysis.h46 unsigned getICmpCode(CmpInst::Predicate Pred);
55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
63 inline unsigned getFCmpCode(CmpInst::Predicate CC) { in getFCmpCode()
92 CmpInst::Predicate &Pred);
97 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
H A DScalarEvolution.h283 const ICmpInst::Predicate Pred;
289 const ICmpInst::Predicate Pred,
297 ICmpInst::Predicate getPredicate() const { return Pred; }
1088 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
1173 ICmpInst::Predicate Pred);
1176 ICmpInst::Predicate Pred;
1908 ICmpInst::Predicate FoundPred,
1934 bool isImpliedViaOperations(ICmpInst::Predicate Pred,
1941 bool isKnownViaNonRecursiveReasoning(ICmpInst::Predicate Pred,
1996 bool isImpliedViaMerge(ICmpInst::Predicate Pred,
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h42 template <class T> class Predicate {
48 Predicate() : m_value() {} in Predicate() function
57 Predicate(T initial_value) : m_value(initial_value) {} in Predicate() function
62 ~Predicate() = default;
226 Predicate(const Predicate &) = delete;
227 const Predicate &operator=(const Predicate &) = delete;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_mve.td394 Predicate:$pred),
395 (bitcast (IRInt<int_op, [UVector, Predicate]>
428 Predicate:$pred),
718 def: Intrinsic<Predicate, arguments,
721 def: Intrinsic<Predicate, !con(arguments, (args Predicate:$inpred)),
962 Predicate:$pred),
964 [Vector, UVector, Predicate]>
982 Predicate:$pred),
996 [UVector, Vector, Predicate]>
1014 Predicate:$pred),
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKY.td37 def HasFdivdu : Predicate<"Subtarget->hasFdivdu()">,
107 def HasSTM : Predicate<"Subtarget->hasSTM()">,
119 def HasDSP : Predicate<"Subtarget->hasDSP()">,
169 def HasJAVA : Predicate<"Subtarget->hasJAVA()">,
181 def HasNVIC : Predicate<"Subtarget->hasNVIC()">,
255 def UseCCRT : Predicate<"Subtarget->useCCRT()">,
268 def iHasE1 : Predicate<"Subtarget->hasE1()">,
275 def iHasE2 : Predicate<"Subtarget->hasE2()">,
281 def iHas2E3 : Predicate<"Subtarget->has2E3()">,
287 def iHasMP : Predicate<"Subtarget->hasMP()">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h901 static Predicate getOrderedPredicate(Predicate Pred) {
912 static Predicate getUnorderedPredicate(Predicate Pred) {
924 static Predicate getInversePredicate(Predicate pred);
939 static Predicate getSwappedPredicate(Predicate pred);
972 static Predicate getStrictPredicate(Predicate pred);
985 static Predicate getNonStrictPredicate(Predicate pred);
990 static Predicate getFlippedStrictnessPredicate(Predicate pred);
1043 static Predicate getSignedPredicate(Predicate pred);
1055 static Predicate getUnsignedPredicate(Predicate pred);
1068 static Predicate getFlippedSignednessPredicate(Predicate pred);
[all …]
H A DConstantRange.h103 static ConstantRange makeAllowedICmpRegion(CmpInst::Predicate Pred,
114 static ConstantRange makeSatisfyingICmpRegion(CmpInst::Predicate Pred,
124 static ConstantRange makeExactICmpRegion(CmpInst::Predicate Pred,
129 bool icmp(CmpInst::Predicate Pred, const ConstantRange &Other) const;
148 static CmpInst::Predicate
149 getEquivalentPredWithFlippedSignedness(CmpInst::Predicate Pred,
190 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;
195 getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS, APInt &Offset) const;
/freebsd-14.2/sys/contrib/dev/acpica/compiler/
H A Dasltransform.c629 ACPI_PARSE_OBJECT *Predicate; in TrDoSwitch() local
702 Predicate = CaseOp->Asl.Child; in TrDoSwitch()
714 Predicate->Asl.Next = NewOp2; in TrDoSwitch()
778 NewOp->Asl.Next = Predicate; in TrDoSwitch()
788 Predicate = NewOp2; in TrDoSwitch()
789 Predicate->Asl.Next = CaseBlock; in TrDoSwitch()
877 Predicate = StartNode->Asl.Child; in TrDoSwitch()
980 NewOp->Asl.Next = Predicate->Asl.Next; in TrDoSwitch()
993 StoreOp->Asl.Child = Predicate; in TrDoSwitch()
994 Predicate->Asl.Parent = StoreOp; in TrDoSwitch()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArch.td24 : Predicate<"Subtarget->is64Bit()">,
28 : Predicate<"!Subtarget->is64Bit()">,
39 def HasBasicF : Predicate<"Subtarget->hasBasicF()">;
46 def HasBasicD : Predicate<"Subtarget->hasBasicD()">;
52 def HasExtLSX : Predicate<"Subtarget->hasExtLSX()">;
59 def HasExtLASX : Predicate<"Subtarget->hasExtLASX()">;
65 def HasExtLVZ : Predicate<"Subtarget->hasExtLVZ()">;
71 def HasExtLBT : Predicate<"Subtarget->hasExtLBT()">;
78 : Predicate<"Subtarget->hasLaGlobalWithPcrel()">,
87 : Predicate<"Subtarget->hasLaGlobalWithAbs()">,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp21 unsigned llvm::getICmpCode(CmpInst::Predicate Pred) { in getICmpCode()
41 CmpInst::Predicate &Pred) { in getPredForICmpCode()
58 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) { in predicatesFoldable()
65 CmpInst::Predicate &Pred) { in getPredForFCmpCode()
66 Pred = static_cast<FCmpInst::Predicate>(Code); in getPredForFCmpCode()
77 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcondition_variable34 template <class Predicate>
35 void wait(unique_lock<mutex>& lock, Predicate pred);
42 template <class Clock, class Duration, class Predicate>
46 Predicate pred);
53 template <class Rep, class Period, class Predicate>
57 Predicate pred);
79 template <class Lock, class Predicate>
80 void wait(Lock& lock, Predicate pred);
91 Predicate pred);
102 Predicate pred);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp207 Value *Predicate; in scalarizeMaskedLoad() local
211 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
214 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad()
337 Value *Predicate; in scalarizeMaskedStore() local
341 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedStore()
344 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedStore()
459 Value *Predicate; in scalarizeMaskedGather() local
463 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedGather()
586 Value *Predicate; in scalarizeMaskedScatter() local
692 Value *Predicate; in scalarizeMaskedExpandLoad() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp874 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate(); in ConstantFoldBinaryInstruction()
1209 Constant *llvm::ConstantFoldCompareInstruction(CmpInst::Predicate Predicate, in ConstantFoldCompareInstruction() argument
1260 switch (Predicate) { in ConstantFoldCompareInstruction()
1333 switch (Predicate) { in ConstantFoldCompareInstruction()
1343 switch (Predicate) { in ConstantFoldCompareInstruction()
1353 switch (Predicate) { in ConstantFoldCompareInstruction()
1375 if (Predicate == ICmpInst::ICMP_ULT || Predicate == ICmpInst::ICMP_ULE) in ConstantFoldCompareInstruction()
1381 if (Predicate == ICmpInst::ICMP_SLT || Predicate == ICmpInst::ICMP_SLE) in ConstantFoldCompareInstruction()
1387 if (Predicate == ICmpInst::ICMP_UGT || Predicate == ICmpInst::ICMP_UGE) in ConstantFoldCompareInstruction()
1393 if (Predicate == ICmpInst::ICMP_SGT || Predicate == ICmpInst::ICMP_SGE) in ConstantFoldCompareInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips.td23 list<Predicate> EncodingPredicates = [];
25 list<Predicate> GPRPredicates = [];
27 list<Predicate> PTRPredicates = [];
29 list<Predicate> SYMPredicates = [];
31 list<Predicate> FGRPredicates = [];
33 list<Predicate> InsnPredicates = [];
35 list<Predicate> ASEPredicate = [];
37 list<Predicate> HardFloatPredicate = [];
39 list<Predicate> AdditionalPredicates = [];
52 class AdditionalRequires<list<Predicate> preds> {
[all …]
H A DMipsInstrInfo.td157 // Mips Instruction Predicate Definitions.
243 def HasMSA : Predicate<"Subtarget->hasMSA()">,
247 def HasMT : Predicate<"Subtarget->hasMT()">,
440 list<Predicate> ASEPredicate = [HasCnMips];
444 list<Predicate> ASEPredicate = [NotCnMips];
460 list<Predicate> ASEPredicate = [HasMSA];
472 list <Predicate> ASEPredicate = [HasMT];
476 list <Predicate> ASEPredicate = [HasCRC];
480 list <Predicate> ASEPredicate = [HasVirt];
484 list <Predicate> ASEPredicate = [HasGINV];
[all …]

12345678910>>...16