| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrPredicates.td | 1 //===---X86InstrPredicates.td - X86 Predicate Definitions --*- tablegen -*-===// 9 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()">; 48 def HasZU : Predicate<"Subtarget->hasZU()">; 49 def HasCF : Predicate<"Subtarget->hasCF()">; 50 def HasCMOV : Predicate<"Subtarget->canUseCMOV()">; 51 def NoCMOV : Predicate<"!Subtarget->canUseCMOV()">; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMPredicates.td | 9 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 …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | MacroFusionPredicatorEmitter.cpp | 128 for (const Record *Predicate : Predicates) { in emitPredicates() local 129 const Record *Target = Predicate->getValueAsDef("Target"); in emitPredicates() 131 emitFirstPredicate(Predicate, IsCommutable, PE, OS); in emitPredicates() 133 emitSecondPredicate(Predicate, IsCommutable, PE, OS); in emitPredicates() 135 emitBothPredicate(Predicate, IsCommutable, PE, OS); in emitPredicates() 142 void MacroFusionPredicatorEmitter::emitFirstPredicate(const Record *Predicate, in emitFirstPredicate() argument 146 if (Predicate->isSubClassOf("WildcardPred")) { in emitFirstPredicate() 149 << (Predicate->getValueAsBit("ReturnValue") ? "true" : "false") in emitFirstPredicate() 151 } else if (Predicate->isSubClassOf("OneUsePred")) { in emitFirstPredicate() 158 } else if (Predicate->isSubClassOf("FirstInstHasSameReg")) { in emitFirstPredicate() [all …]
|
| H A D | GlobalISelEmitter.cpp | 201 const TreePredicateFn &Predicate = Call.Fn; in isTrivialOperatorNode() local 203 if (Predicate.isAlwaysTrue()) in isTrivialOperatorNode() 206 if (Predicate.isImmediatePattern()) in isTrivialOperatorNode() 209 if (Predicate.hasNoUse() || Predicate.hasOneUse()) in isTrivialOperatorNode() 212 if (Predicate.isNonExtLoad() || Predicate.isAnyExtLoad() || in isTrivialOperatorNode() 213 Predicate.isSignExtLoad() || Predicate.isZeroExtLoad()) in isTrivialOperatorNode() 216 if (Predicate.isNonTruncStore() || Predicate.isTruncStore()) in isTrivialOperatorNode() 219 if (Predicate.isLoad() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 222 if (Predicate.isStore() && Predicate.getMemoryVT()) in isTrivialOperatorNode() 225 if (Predicate.isLoad() || Predicate.isStore()) { in isTrivialOperatorNode() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaFeatures.td | 8 def HasDensity : Predicate<"Subtarget->hasDensity()">, 13 def HasSingleFloat : Predicate<"Subtarget->hasSingleFloat()">, 18 def HasWindowed : Predicate<"Subtarget->hasWindowed()">, 23 def HasMAC16 : Predicate<"Subtarget->hasMAC16()">, 28 def HasBoolean : Predicate<"Subtarget->hasBoolean()">, 33 def HasLoop : Predicate<"Subtarget->hasLoop()">, 38 def HasSEXT : Predicate<"Subtarget->hasSEXT()">, 43 def HasCLAMPS : Predicate<"Subtarget->hasCLAMPS()">, 48 def HasNSA : Predicate<"Subtarget->hasNSA()">, 53 def HasMINMAX : Predicate<"Subtarget->hasMINMAX()">, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVFeatures.td | 86 def HasStdExtZicbom : Predicate<"Subtarget->hasStdExtZicbom()">, 92 def HasStdExtZicbop : Predicate<"Subtarget->hasStdExtZicbop()">, 99 def HasStdExtZicboz : Predicate<"Subtarget->hasStdExtZicboz()">, 122 def HasStdExtZicsr : Predicate<"Subtarget->hasStdExtZicsr()">, 133 def HasStdExtZicond : Predicate<"Subtarget->hasStdExtZicond()">, 139 def HasStdExtZifencei : Predicate<"Subtarget->hasStdExtZifencei()">, 146 def HasStdExtZihintpause : Predicate<"Subtarget->hasStdExtZihintpause()">, 153 def HasStdExtZihintntl : Predicate<"Subtarget->hasStdExtZihintntl()">, 163 def HasStdExtZimop : Predicate<"Subtarget->hasStdExtZimop()">, 170 def HasStdExtZicfilp : Predicate<"Subtarget->hasStdExtZicfilp()">, [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPU.td | 2086 // Predicate helper class 2090 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">, 2094 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 2099 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 2105 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" 2111 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">, 2115 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||" 2120 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||" 2126 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||" 2132 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||" [all …]
|
| H A D | AMDGPUPredicateControl.td | 9 def TruePredicate : Predicate<"">; 12 def FalsePredicate : Predicate<"false">; 16 class True16PredicateClass<string cond> : Predicate<cond>; 20 Predicate SubtargetPredicate = TruePredicate; 21 Predicate AssemblerPredicate = TruePredicate; 22 Predicate WaveSizePredicate = TruePredicate; 24 list<Predicate> OtherPredicates = []; 25 list<Predicate> Predicates =
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCPredicates.h | 26 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/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonDepArch.td | 12 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 D | Hexagon.td | 124 // Hexagon Instruction Predicate Definitions. 127 def UseMEMOPS : Predicate<"HST->useMemops()">; 128 def UseHVX64B : Predicate<"HST->useHVX64BOps()">, 130 def UseHVX128B : Predicate<"HST->useHVX128BOps()">, 132 def UseHVX : Predicate<"HST->useHVXOps()">, 134 def UseHVXV60 : Predicate<"HST->useHVXV60Ops()">, 136 def UseHVXV62 : Predicate<"HST->useHVXV62Ops()">, 138 def UseHVXV65 : Predicate<"HST->useHVXV65Ops()">, 140 def UseHVXV66 : Predicate<"HST->useHVXV66Ops()">, 142 def UseHVXV67 : Predicate<"HST->useHVXV67Ops()">, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 227 template <typename Predicate> Predicate predNot(Predicate P) { in predNot() 232 template<typename Predicate> 233 Predicate all(Predicate P0, Predicate P1) { in all() 239 template<typename Predicate, typename... Args> 240 Predicate all(Predicate P0, Predicate P1, Args... args) { in all() 245 template<typename Predicate> 246 Predicate any(Predicate P0, Predicate P1) { in any() 252 template<typename Predicate, typename... Args> 253 Predicate any(Predicate P0, Predicate P1, Args... args) { in any() 414 LegalityPredicate Predicate; variable [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CmpInstAnalysis.h | 47 unsigned getICmpCode(CmpInst::Predicate Pred); 56 CmpInst::Predicate &Pred); 60 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2); 64 inline unsigned getFCmpCode(CmpInst::Predicate CC) { in getFCmpCode() 93 CmpInst::Predicate &Pred); 99 CmpInst::Predicate Pred; 109 decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate Pred,
|
| H A D | FloatingPointPredicateUtils.h | 43 fcmpToClassTest(FCmpInst::Predicate Pred, const Function &F, Value *LHS, 58 fcmpToClassTest(FCmpInst::Predicate Pred, const Function &F, Value *LHS, 65 fcmpImpliesClass(CmpInst::Predicate Pred, const Function &F, Value *LHS, 72 fcmpImpliesClass(CmpInst::Predicate Pred, const Function &F, Value *LHS, 79 fcmpImpliesClass(CmpInst::Predicate Pred, const Function &F, Value *LHS,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | CmpPredicate.h | 24 CmpInst::Predicate Pred; 33 CmpPredicate(CmpInst::Predicate Pred, bool HasSameSign = false) 40 operator CmpInst::Predicate() const { return Pred; } in Predicate() function 47 CmpInst::Predicate dropSameSign() const { return Pred; } in dropSameSign() 65 LLVM_ABI CmpInst::Predicate getPreferredSignedPredicate() const; 68 bool operator==(CmpInst::Predicate P) const { return Pred == P; } 69 bool operator!=(CmpInst::Predicate P) const { return Pred != P; }
|
| H A D | InstrTypes.h | 678 enum Predicate : unsigned { 714 Bitfield::Element<Predicate, 0, 6, LAST_ICMP_PREDICATE>; 718 return enum_seq_inclusive(Predicate::FIRST_FCMP_PREDICATE, 719 Predicate::LAST_FCMP_PREDICATE, 725 return enum_seq_inclusive(Predicate::FIRST_ICMP_PREDICATE, 726 Predicate::LAST_ICMP_PREDICATE, 731 LLVM_ABI CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred, 746 LLVM_ABI static CmpInst *Create(OtherOps Op, Predicate Pred, Value *S1, 757 CreateWithCopiedFlags(OtherOps Op, Predicate Pred, Value *S1, Value *S2, 767 Predicate getPredicate() const { return getSubclassData<PredicateField>(); } [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | Predicate.h | 42 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/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArch.td | 23 def Has32S : Predicate<"Subtarget->has32S()">; 33 : Predicate<"Subtarget->is64Bit()">, 37 : Predicate<"!Subtarget->is64Bit()">, 48 def HasBasicF : Predicate<"Subtarget->hasBasicF()">; 55 def HasBasicD : Predicate<"Subtarget->hasBasicD()">; 61 def HasExtLSX : Predicate<"Subtarget->hasExtLSX()">; 68 def HasExtLASX : Predicate<"Subtarget->hasExtLASX()">; 74 def HasExtLVZ : Predicate<"Subtarget->hasExtLVZ()">; 80 def HasExtLBT : Predicate<"Subtarget->hasExtLBT()">; 87 : Predicate<"Subtarget->hasLaGlobalWithPcrel()">, [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | arm_mve.td | 171 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 …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | condition_variable | 34 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 …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKY.td | 24 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 …]
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | GIMatchDagPredicateDependencyEdge.h | |
| /freebsd/sys/contrib/dev/acpica/compiler/ |
| H A D | asltransform.c | 629 ACPI_PARSE_OBJECT *Predicate; in TrDoSwitch() local 702 Predicate = CaseOp->Asl.Child; in TrDoSwitch() 704 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) || in TrDoSwitch() 705 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in TrDoSwitch() 714 Predicate->Asl.Next = NewOp2; in TrDoSwitch() 721 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch() 726 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch() 731 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch() 736 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch() 739 NewOp2->Asl.Child = Predicate; /* PARSEOP_PACKAGE */ in TrDoSwitch() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 962 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1, in areGlobalsPotentiallyEqual() 992 static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2) { in evaluateICmpRelation() 1015 ICmpInst::Predicate SwappedRelation = evaluateICmpRelation(V2, V1); in evaluateICmpRelation() 1101 Constant *llvm::ConstantFoldCompareInstruction(CmpInst::Predicate Predicate, in ConstantFoldCompareInstruction() argument 1111 if (Predicate == FCmpInst::FCMP_FALSE) in ConstantFoldCompareInstruction() 1114 if (Predicate == FCmpInst::FCMP_TRUE) in ConstantFoldCompareInstruction() 1122 bool isIntegerPredicate = ICmpInst::isIntPredicate(Predicate); in ConstantFoldCompareInstruction() 1126 if (ICmpInst::isEquality(Predicate) || (isIntegerPredicate && C1 == C2)) in ConstantFoldCompareInstruction() 1132 return ConstantInt::get(ResultTy, CmpInst::isTrueWhenEqual(Predicate)); in ConstantFoldCompareInstruction() 1136 return ConstantInt::get(ResultTy, CmpInst::isUnordered(Predicate)); in ConstantFoldCompareInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 200 Value *Predicate = Builder.CreateExtractElement(Mask, uint64_t(0ull), in scalarizeMaskedLoad() local 203 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedLoad() 244 Value *Predicate; in scalarizeMaskedLoad() local 248 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad() 251 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad() 261 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedLoad() 366 Value *Predicate = Builder.CreateExtractElement(Mask, uint64_t(0ull), in scalarizeMaskedStore() local 369 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false, in scalarizeMaskedStore() 403 Value *Predicate; in scalarizeMaskedStore() local 407 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedStore() [all …]
|