Home
last modified time | relevance | path

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

12345678910>>...17

/openbsd-src/gnu/llvm/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()">,
23 def HasV8MBaseline : Predicate<"Subtarget->hasV8MBaselineOps()">,
26 def HasV8MMainline : Predicate<"Subtarget->hasV8MMainlineOps()">,
[all …]
H A DARMLegalizerInfo.h47 CmpInst::Predicate Predicate; member
61 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVFeatures.td16 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">,
25 : Predicate<"Subtarget->hasStdExtM() || Subtarget->hasStdExtZmmul()">,
33 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">,
40 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">,
48 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
56 def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
63 def HasStdExtZihintpause : Predicate<"Subtarget->hasStdExtZihintpause()">,
70 def HasStdExtZihintntl : Predicate<"Subtarget->hasStdExtZihintntl()">,
78 def HasStdExtZfhmin : Predicate<"Subtarget->hasStdExtZfhmin()">,
86 def HasStdExtZfh : Predicate<"Subtarget->hasStdExtZfh()">,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPU.td1434 // Predicate helper class
1438 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
1442 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1447 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1453 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1459 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1463 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1468 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1474 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1480 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h227 template<typename Predicate>
228 Predicate all(Predicate P0, Predicate P1) { in all()
234 template<typename Predicate, typename... Args>
235 Predicate all(Predicate P0, Predicate P1, Args... args) { in all()
240 template<typename Predicate>
241 Predicate any(Predicate P0, Predicate P1) { in any()
247 template<typename Predicate, typename... Args>
248 Predicate any(Predicate P0, Predicate P1, Args... args) { in any()
394 LegalityPredicate Predicate; variable
399 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action,
[all …]
/openbsd-src/gnu/llvm/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()">,
118 def UseHVX128B : Predicate<"HST->useHVX128BOps()">,
120 def UseHVX : Predicate<"HST->useHVXOps()">,
122 def UseHVXV60 : Predicate<"HST->useHVXV60Ops()">,
124 def UseHVXV62 : Predicate<"HST->useHVXV62Ops()">,
126 def UseHVXV65 : Predicate<"HST->useHVXV65Ops()">,
128 def UseHVXV66 : Predicate<"HST->useHVXV66Ops()">,
130 def UseHVXV67 : Predicate<"HST->useHVXV67Ops()">,
[all …]
/openbsd-src/gnu/llvm/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; }
775 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
781 ICmpInst::Predicate Pred, const SCEV *LHS,
786 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
1046 bool isKnownViaInduction(ICmpInst::Predicate Pred, const SCEV *LHS,
1051 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
1057 std::optional<bool> evaluatePredicate(ICmpInst::Predicate Pred,
1062 bool isKnownPredicateAt(ICmpInst::Predicate Pred, const SCEV *LHS,
[all …]
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp1108 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate(); in ConstantFoldBinaryInstruction()
1320 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) { in evaluateFCmpRelation()
1350 FCmpInst::Predicate SwappedRelation = evaluateFCmpRelation(V2, V1); in evaluateFCmpRelation()
1373 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual()
1409 static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2, in evaluateICmpRelation()
1422 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ; in evaluateICmpRelation()
1440 ICmpInst::Predicate SwappedRelation = in evaluateICmpRelation()
1447 ICmpInst::Predicate SwappedRelation = in evaluateICmpRelation()
1475 ICmpInst::Predicate SwappedRelation = in evaluateICmpRelation()
1582 static Constant *constantFoldCompareGlobalToNull(CmpInst::Predicate Predicate, in constantFoldCompareGlobalToNull() argument
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A Darm_mve.td171 defvar pred_cg = (IRInt<"fma_predicated", [Vector, Predicate]>
178 Predicate:$pred), pred_cg>;
191 Predicate:$pred),
195 Predicate:$pred),
214 Vector, (args Vector:$addend, Vector:$m1, Scalar:$m2_s, Predicate:$pred),
215 (IRInt<"vmla_n_predicated", [Vector, Predicate]>
218 Vector, (args Vector:$m1, Vector:$m2, Scalar:$addend_s, Predicate:$pred),
219 (IRInt<"vmlas_n_predicated", [Vector, Predicate]>
232 Vector, (args Vector:$addend, Vector:$m1, Scalar:$m2_s, Predicate:$pred),
233 (IRInt<NAME # "h_predicated", [Vector, Predicate]>
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKY.td24 def HasFPUv2_SF : Predicate<"Subtarget->hasFPUv2SingleFloat()">,
31 def HasFPUv2_DF : Predicate<"Subtarget->hasFPUv2DoubleFloat()">,
37 def HasFdivdu : Predicate<"Subtarget->hasFdivdu()">,
44 def HasFPUv3_HI : Predicate<"Subtarget->hasFPUv3HalfWord()">,
51 def HasFPUv3_HF : Predicate<"Subtarget->hasFPUv3HalfFloat()">,
58 def HasFPUv3_SF : Predicate<"Subtarget->hasFPUv3SingleFloat()">,
65 def HasFPUv3_DF : Predicate<"Subtarget->hasFPUv3DoubleFloat()">,
71 def iHasFLOATE1 : Predicate<"Subtarget->hasFLOATE1()">,
77 def iHasFLOAT1E2 : Predicate<"Subtarget->hasFLOAT1E2()">,
83 def iHasFLOAT1E3 : Predicate<"Subtarget->hasFLOAT1E3()">,
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicateDependencyEdge.h32 const GIMatchDagPredicate *Predicate; variable
40 const GIMatchDagPredicate *Predicate, in GIMatchDagPredicateDependencyEdge() argument
42 : RequiredMI(RequiredMI), RequiredMO(RequiredMO), Predicate(Predicate), in GIMatchDagPredicateDependencyEdge()
47 const GIMatchDagPredicate *getPredicate() const { return Predicate; } in getPredicate()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstrTypes.h718 enum Predicate : unsigned {
754 Bitfield::Element<Predicate, 0, 6, LAST_ICMP_PREDICATE>;
758 return enum_seq_inclusive(Predicate::FIRST_FCMP_PREDICATE,
759 Predicate::LAST_FCMP_PREDICATE,
765 return enum_seq_inclusive(Predicate::FIRST_ICMP_PREDICATE,
766 Predicate::LAST_ICMP_PREDICATE,
771 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
776 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
791 Predicate predicate, Value *S1,
799 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
[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;
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp84 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { in getEnumNameForPredicate() argument
85 if (Predicate.hasGISelPredicateCode()) in getEnumNameForPredicate()
86 return "GIPFP_MI_" + Predicate.getFnName(); in getEnumNameForPredicate()
87 return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" + in getEnumNameForPredicate()
88 Predicate.getFnName(); in getEnumNameForPredicate()
92 std::string getMatchOpcodeForImmPredicate(const TreePredicateFn &Predicate) { in getMatchOpcodeForImmPredicate() argument
93 return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate"; in getMatchOpcodeForImmPredicate()
326 const TreePredicateFn &Predicate = Call.Fn; in isTrivialOperatorNode() local
328 if (Predicate.isAlwaysTrue()) in isTrivialOperatorNode()
331 if (Predicate.isImmediatePattern()) in isTrivialOperatorNode()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArch.td24 : Predicate<"Subtarget->is64Bit()">,
28 : Predicate<"!Subtarget->is64Bit()">,
40 : Predicate<"Subtarget->hasBasicF()">,
50 : Predicate<"Subtarget->hasBasicD()">,
59 : Predicate<"Subtarget->hasExtLSX()">,
69 : Predicate<"Subtarget->hasExtLASX()">,
78 : Predicate<"Subtarget->hasExtLVZ()">,
87 : Predicate<"Subtarget->hasExtLBT()">,
96 : Predicate<"Subtarget->hasLaGlobalWithPcrel()">,
105 : Predicate<"Subtarget->hasLaGlobalWithAbs()">,
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h73 : Predicate(std::move(P)), Iterator(I), End(E) { in SectionFilterIterator()
88 while (Iterator != End && !Predicate(*Iterator)) { in ScanPredicate()
92 FilterPredicate Predicate; variable
102 : Predicate(std::move(P)), Object(O) {} in SectionFilter()
104 return SectionFilterIterator(Predicate, Object.section_begin(), in begin()
108 return SectionFilterIterator(Predicate, Object.section_end(), in end()
113 FilterPredicate Predicate;
/openbsd-src/gnu/llvm/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);
87 template <class Lock, class Clock, class Duration, class Predicate>
91 Predicate pred);
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp211 Value *Predicate; in scalarizeMaskedLoad() local
215 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
218 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad()
228 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedLoad()
345 Value *Predicate; in scalarizeMaskedStore() local
349 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedStore()
352 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedStore()
362 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedStore()
467 Value *Predicate; in scalarizeMaskedGather() local
471 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedGather()
[all …]
/openbsd-src/gnu/llvm/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 = [];
34 // Predicate for the ASE that an instruction belongs to.
35 list<Predicate> ASEPredicate = [];
36 // Predicate for marking the instruction as usable in hard-float mode only.
37 list<Predicate> HardFloatPredicate = [];
[all …]
H A DMipsInstrInfo.td156 // Mips Instruction Predicate Definitions.
158 def HasMips2 : Predicate<"Subtarget->hasMips2()">,
160 def HasMips3_32 : Predicate<"Subtarget->hasMips3_32()">,
162 def HasMips3_32r2 : Predicate<"Subtarget->hasMips3_32r2()">,
164 def HasMips3 : Predicate<"Subtarget->hasMips3()">,
166 def NotMips3 : Predicate<"!Subtarget->hasMips3()">,
168 def HasMips4_32 : Predicate<"Subtarget->hasMips4_32()">,
170 def NotMips4_32 : Predicate<"!Subtarget->hasMips4_32()">,
172 def HasMips4_32r2 : Predicate<"Subtarget->hasMips4_32r2()">,
174 def HasMips5_32r2 : Predicate<"Subtarget->hasMips5_32r2()">,
[all …]

12345678910>>...17