Home
last modified time | relevance | path

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

12345678910>>...20

/netbsd-src/external/apache2/llvm/dist/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.cpp350 ARMLegalizerInfo::getFCmpLibcalls(CmpInst::Predicate Predicate, in getFCmpLibcalls() argument
352 assert(CmpInst::isFPPredicate(Predicate) && "Unsupported FCmp predicate"); in getFCmpLibcalls()
354 return FCmp32Libcalls[Predicate]; in getFCmpLibcalls()
356 return FCmp64Libcalls[Predicate]; in getFCmpLibcalls()
402 auto Predicate = in legalizeCustom() local
403 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate()); in legalizeCustom()
404 auto Libcalls = getFCmpLibcalls(Predicate, OpSize); in legalizeCustom()
407 assert((Predicate == CmpInst::FCMP_TRUE || in legalizeCustom()
408 Predicate == CmpInst::FCMP_FALSE) && in legalizeCustom()
411 Predicate == CmpInst::FCMP_TRUE ? 1 : 0); in legalizeCustom()
[all …]
H A DARMLegalizerInfo.h47 CmpInst::Predicate Predicate; member
61 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPU.td1171 // Predicate helper class
1175 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
1179 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1184 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1190 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
1194 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1199 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1205 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1212 Predicate<"!Subtarget->hasGFX90AInsts() &&"
1220 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS">,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h195 template<typename Predicate>
196 Predicate all(Predicate P0, Predicate P1) { in all()
202 template<typename Predicate, typename... Args>
203 Predicate all(Predicate P0, Predicate P1, Args... args) { in all()
208 template<typename Predicate>
209 Predicate any(Predicate P0, Predicate P1) { in any()
215 template<typename Predicate, typename... Args>
216 Predicate any(Predicate P0, Predicate P1, Args... args) { in any()
339 LegalityPredicate Predicate; variable
344 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action,
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCV.td18 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">,
25 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">,
32 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">,
40 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
48 def HasStdExtZfh : Predicate<"Subtarget->hasStdExtZfh()">,
55 def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">,
62 def HasStdExtZba : Predicate<"Subtarget->hasStdExtZba()">,
65 def NotHasStdExtZba : Predicate<"!Subtarget->hasStdExtZba()">;
70 def HasStdExtZbb : Predicate<"Subtarget->hasStdExtZbb()">,
77 def HasStdExtZbc : Predicate<"Subtarget->hasStdExtZbc()">,
[all …]
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/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)>;
H A DHexagon.td93 // Hexagon Instruction Predicate Definitions.
96 def UseMEMOPS : Predicate<"HST->useMemops()">;
97 def UseHVX64B : Predicate<"HST->useHVX64BOps()">,
99 def UseHVX128B : Predicate<"HST->useHVX128BOps()">,
101 def UseHVX : Predicate<"HST->useHVXOps()">,
103 def UseHVXV60 : Predicate<"HST->useHVXV60Ops()">,
105 def UseHVXV62 : Predicate<"HST->useHVXV62Ops()">,
107 def UseHVXV65 : Predicate<"HST->useHVXV65Ops()">,
109 def UseHVXV66 : Predicate<"HST->useHVXV66Ops()">,
111 def UseHVXV67 : Predicate<"HST->useHVXV67Ops()">,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp85 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { in getEnumNameForPredicate() argument
86 if (Predicate.hasGISelPredicateCode()) in getEnumNameForPredicate()
87 return "GIPFP_MI_" + Predicate.getFnName(); in getEnumNameForPredicate()
88 return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" + in getEnumNameForPredicate()
89 Predicate.getFnName(); in getEnumNameForPredicate()
93 std::string getMatchOpcodeForImmPredicate(const TreePredicateFn &Predicate) { in getMatchOpcodeForImmPredicate() argument
94 return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate"; in getMatchOpcodeForImmPredicate()
313 const TreePredicateFn &Predicate = Call.Fn; in isTrivialOperatorNode() local
315 if (Predicate.isAlwaysTrue()) in isTrivialOperatorNode()
318 if (Predicate.isImmediatePattern()) in isTrivialOperatorNode()
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Dasltransform.c521 ACPI_PARSE_OBJECT *Predicate; in TrDoSwitch() local
594 Predicate = CaseOp->Asl.Child; in TrDoSwitch()
596 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) || in TrDoSwitch()
597 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in TrDoSwitch()
606 Predicate->Asl.Next = NewOp2; in TrDoSwitch()
613 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
618 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
623 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
628 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
631 NewOp2->Asl.Child = Predicate; /* PARSEOP_PACKAGE */ in TrDoSwitch()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstrTypes.h722 enum Predicate : unsigned {
758 Bitfield::Element<Predicate, 0, 6, LAST_ICMP_PREDICATE>;
761 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
766 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
782 Predicate predicate, Value *S1,
790 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
799 Predicate getPredicate() const { return getSubclassData<PredicateField>(); }
802 void setPredicate(Predicate P) { setSubclassData<PredicateField>(P); }
804 static bool isFPPredicate(Predicate P) {
810 static bool isIntPredicate(Predicate P) {
[all …]
H A DPatternMatch.h325 template <typename Predicate, typename ConstantVal>
326 struct cstval_pred_ty : public Predicate {
363 template <typename Predicate>
364 using cst_pred_ty = cstval_pred_ty<Predicate, ConstantInt>;
367 template <typename Predicate>
368 using cstfp_pred_ty = cstval_pred_ty<Predicate, ConstantFP>;
372 template <typename Predicate> struct api_pred_ty : public Predicate {
398 template <typename Predicate> struct apf_pred_ty : public Predicate {
594 ICmpInst::Predicate Pred;
598 case ICmpInst::Predicate::ICMP_EQ: in isValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DScalarEvolution.h694 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
700 ICmpInst::Predicate Pred, const SCEV *LHS,
705 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
933 bool isKnownViaInduction(ICmpInst::Predicate Pred, const SCEV *LHS,
938 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
944 Optional<bool> evaluatePredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
949 bool isKnownPredicateAt(ICmpInst::Predicate Pred, const SCEV *LHS,
955 Optional<bool> evaluatePredicateAt(ICmpInst::Predicate Pred, const SCEV *LHS,
961 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
980 ICmpInst::Predicate Pred);
[all …]
H A DCmpInstAnalysis.h55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicateDependencyEdge.h31 const GIMatchDagPredicate *Predicate; variable
39 const GIMatchDagPredicate *Predicate, in GIMatchDagPredicateDependencyEdge() argument
41 : RequiredMI(RequiredMI), RequiredMO(RequiredMO), Predicate(Predicate), in GIMatchDagPredicateDependencyEdge()
46 const GIMatchDagPredicate *getPredicate() const { return Predicate; } in getPredicate()
/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp213 Value *Predicate; in scalarizeMaskedLoad() local
217 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
220 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad()
230 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedLoad()
347 Value *Predicate; in scalarizeMaskedStore() local
351 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedStore()
354 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedStore()
364 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedStore()
469 Value *Predicate; in scalarizeMaskedGather() local
473 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedGather()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h76 : Predicate(std::move(P)), Iterator(I), End(E) { in SectionFilterIterator()
91 while (Iterator != End && !Predicate(*Iterator)) { in ScanPredicate()
95 FilterPredicate Predicate; variable
105 : Predicate(std::move(P)), Object(O) {} in SectionFilter()
107 return SectionFilterIterator(Predicate, Object.section_begin(), in begin()
111 return SectionFilterIterator(Predicate, Object.section_end(), in end()
116 FilterPredicate Predicate;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
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 …]
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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp22 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode()
43 CmpInst::Predicate &Pred) { in getPredForICmpCode()
60 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) { in predicatesFoldable()
67 CmpInst::Predicate &Pred, in decomposeBitTestICmp()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DSveEmitter.cpp69 bool DefaultType, IsScalable, Predicate, PredicatePattern, PrefetchOp; member in __anon47288a980111::SVEType
78 IsScalable(true), Predicate(false), PredicatePattern(false), in SVEType()
98 bool isInteger() const { return !isFloatingPoint() && !Predicate; } in isInteger()
100 return !isFloatingPoint() && Predicate && NumVectors == 0; in isScalarPredicate()
102 bool isPredicateVector() const { return Predicate; } in isPredicateVector()
466 Predicate = true; in applyTypespec()
555 Predicate = true; in applyModifier()
594 Predicate = false; in applyModifier()
600 Predicate = false; in applyModifier()
606 Predicate = false; in applyModifier()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.td15 // WebAssembly Instruction Predicate Definitions.
18 def IsPIC : Predicate<"TM.isPositionIndependent()">;
19 def IsNotPIC : Predicate<"!TM.isPositionIndependent()">;
21 def HasAddr32 : Predicate<"!Subtarget->hasAddr64()">;
23 def HasAddr64 : Predicate<"Subtarget->hasAddr64()">;
26 Predicate<"Subtarget->hasSIMD128()">,
30 Predicate<"Subtarget->hasAtomics()">,
34 Predicate<"Subtarget->hasMultivalue()">,
38 Predicate<"Subtarget->hasNontrappingFPToInt()">,
42 Predicate<"!Subtarget->hasNontrappingFPToInt()">,
[all …]

12345678910>>...20