Searched refs:Predicate (Results 1 - 25 of 201) sorted by relevance

123456789

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCPredicates.h1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===//
25 /// Predicate - These are "(BI << 5) | BO" for various predicates.
26 enum Predicate { enum in namespace:llvm::PPC
70 Predicate InvertPredicate(Predicate Opcode);
74 Predicate getSwappedPredicate(Predicate Opcode);
77 inline unsigned getPredicateCondition(Predicate Opcode) {
82 inline unsigned getPredicateHint(Predicate Opcode) {
87 inline Predicate getPredicat
[all...]
H A DPPCPredicates.cpp1 //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===//
18 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) {
52 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
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,
H A DScalarEvolution.h677 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
682 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
900 bool isKnownViaInduction(ICmpInst::Predicate Pred, const SCEV *LHS,
905 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
910 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
922 bool isMonotonicPredicate(const SCEVAddRecExpr *LHS, ICmpInst::Predicate Pred,
929 bool isLoopInvariantPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
931 ICmpInst::Predicate &InvariantPred,
939 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred, const SCEV *&LHS,
1265 std::unique_ptr<SCEVUnionPredicate> Predicate; member in struct:llvm::ScalarEvolution::ExitNotTakenInfo
1267 ExitNotTakenInfo(PoisoningVH<BasicBlock> ExitingBlock, const SCEV *ExactNotTaken, const SCEV *MaxNotTaken, std::unique_ptr<SCEVUnionPredicate> Predicate) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicateDependencyEdge.h30 /// The Predicate that requires information from RequiredMI/RequiredMO.
31 const GIMatchDagPredicate *Predicate; member in class:llvm::GIMatchDagPredicateDependencyEdge
32 /// The Predicate operand that requires information from
39 const GIMatchDagPredicate *Predicate,
41 : RequiredMI(RequiredMI), RequiredMO(RequiredMO), Predicate(Predicate),
46 const GIMatchDagPredicate *getPredicate() const { return Predicate; }
37 GIMatchDagPredicateDependencyEdge(const GIMatchDagInstr *RequiredMI, const GIMatchDagOperand *RequiredMO, const GIMatchDagPredicate *Predicate, const GIMatchDagOperand *PredicateOp) argument
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLegalizerInfo.h47 CmpInst::Predicate Predicate; member in struct:llvm::ARMLegalizerInfo::FCmpLibcallInfo
59 // Get the libcall(s) corresponding to \p Predicate for operands of \p Size
61 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
H A DARMLegalizerInfo.cpp350 ARMLegalizerInfo::getFCmpLibcalls(CmpInst::Predicate Predicate, argument
352 assert(CmpInst::isFPPredicate(Predicate) && "Unsupported FCmp predicate");
354 return FCmp32Libcalls[Predicate];
356 return FCmp64Libcalls[Predicate];
402 auto Predicate = local
403 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate());
404 auto Libcalls = getFCmpLibcalls(Predicate, OpSize);
407 assert((Predicate == CmpInst::FCMP_TRUE ||
408 Predicate
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DPredicate.h1 //===-- Predicate.h ---------------------------------------------*- C++ -*-===//
33 /// \class Predicate Predicate.h "lldb/Utility/Predicate.h"
41 template <class T> class Predicate { class in namespace:lldb_private
47 Predicate() : m_value(), m_mutex(), m_condition() {} function in class:lldb_private::Predicate
56 Predicate(T initial_value) function in class:lldb_private::Predicate
62 ~Predicate() = default;
89 /// \see Predicate::Broadcast()
224 Predicate(cons
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A Dllvm-objdump.h63 : Predicate(std::move(P)), Iterator(I), End(E) {
78 while (Iterator != End && !Predicate(*Iterator)) {
82 FilterPredicate Predicate; member in class:llvm::objdump::SectionFilterIterator
92 : Predicate(std::move(P)), Object(O) {}
94 return SectionFilterIterator(Predicate, Object.section_begin(),
98 return SectionFilterIterator(Predicate, Object.section_end(),
103 FilterPredicate Predicate; member in class:llvm::objdump::SectionFilter
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerInfo.h196 template<typename Predicate>
197 Predicate all(Predicate P0, Predicate P1) {
203 template<typename Predicate, typename... Args>
204 Predicate all(Predicate P0, Predicate P1, Args... args) {
209 template<typename Predicate>
210 Predicate an
[all...]
H A DInstructionSelectorImpl.h261 int64_t Predicate = MatchTable[CurrentIdx++]; local
265 << InsnID << "], Predicate=" << Predicate << ")\n"); local
269 assert(Predicate > GIPFP_I64_Invalid && "Expected a valid predicate");
278 if (!testImmPredicate_I64(Predicate, Value))
285 int64_t Predicate = MatchTable[CurrentIdx++]; local
289 << InsnID << "], Predicate=" << Predicate << ")\n"); local
293 assert(Predicate > GIPFP_APInt_Invalid && "Expected a valid predicate");
300 if (!testImmPredicate_APInt(Predicate, Valu
307 int64_t Predicate = MatchTable[CurrentIdx++]; local
311 << InsnID << "], Predicate=" << Predicate << ")\\n"); local
326 int64_t Predicate = MatchTable[CurrentIdx++]; local
330 << InsnID << "], Predicate=" << Predicate << ")\\n"); local
[all...]
/freebsd-13-stable/sys/contrib/dev/acpica/compiler/
H A Dasltransform.c624 ACPI_PARSE_OBJECT *Predicate; local
697 Predicate = CaseOp->Asl.Child;
699 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) ||
700 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE))
709 Predicate->Asl.Next = NewOp2;
716 TrAmlInitLineNumbers (NewOp2, Predicate);
721 TrAmlInitLineNumbers (NewOp2, Predicate);
726 TrAmlInitLineNumbers (NewOp2, Predicate);
731 TrAmlInitLineNumbers (NewOp2, Predicate);
734 NewOp2->Asl.Child = Predicate; /* PARSEOP_PACKAG
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp22 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
43 CmpInst::Predicate &Pred) {
60 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) {
67 CmpInst::Predicate &Pred,
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp85 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) { argument
86 if (Predicate.hasGISelPredicateCode())
87 return "GIPFP_MI_" + Predicate.getFnName();
88 return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" +
89 Predicate.getFnName();
93 std::string getMatchOpcodeForPredicate(const TreePredicateFn &Predicate) { argument
94 return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate";
309 const TreePredicateFn &Predicate = Call.Fn; local
311 if (Predicate.isAlwaysTrue())
314 if (Predicate
1020 prependPredicate(std::unique_ptr<PredicateTy> &&Predicate) argument
1802 TreePredicateFn Predicate; member in class:InstructionImmPredicateMatcher
1805 InstructionImmPredicateMatcher(unsigned InsnVarID, const TreePredicateFn &Predicate) argument
2027 TreePredicateFn Predicate; member in class:GenericInstructionPredicateMatcher
2030 GenericInstructionPredicateMatcher(unsigned InsnVarID, TreePredicateFn Predicate) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOperations.h39 CmpInst::Predicate Pred);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAnalysis.h104 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
113 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
H A DRDFGraph.h552 template <typename Predicate>
553 NodeAddr<RefNode*> getNextRef(RegisterRef RR, Predicate P, bool NextOnly,
606 template <typename Predicate>
607 NodeList members_if(Predicate P, const DataFlowGraph &G) const;
840 template <typename Predicate>
843 Predicate P) const;
857 template <typename Predicate> void linkStmtRefs(DefStackMap &DefM,
858 NodeAddr<StmtNode*> SA, Predicate P);
886 template <typename Predicate>
887 NodeAddr<RefNode*> RefNode::getNextRef(RegisterRef RR, Predicate
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DScalarizeMaskedMemIntrin.cpp195 Value *Predicate; local
198 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
201 Predicate = Builder.CreateExtractElement(Mask, Idx);
223 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr);
327 Value *Predicate; local
330 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
333 Predicate = Builder.CreateExtractElement(Mask, Idx);
355 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr);
446 Value *Predicate; local
449 Predicate
568 Value *Predicate; local
658 Value *Predicate; local
764 Value *Predicate; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp282 CmpInst::Predicate Predicate; local
286 Predicate = CmpInst::ICMP_NE;
288 Predicate = CmpI->getPredicate();
289 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ)
327 (Predicate == CmpInst::ICMP_EQ)) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstrTypes.h725 enum Predicate : unsigned {
761 Bitfield::Element<Predicate, 0, 6, LAST_ICMP_PREDICATE>;
764 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
769 CmpInst(Type *ty, Instruction::OtherOps op, Predicate pred,
785 Predicate predicate, Value *S1,
793 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1,
802 Predicate getPredicate() const { return getSubclassData<PredicateField>(); }
805 void setPredicate(Predicate P) { setSubclassData<PredicateField>(P); }
807 static bool isFPPredicate(Predicate P) {
813 static bool isIntPredicate(Predicate
[all...]
H A DPatternMatch.h268 template <typename Predicate, typename ConstantVal>
269 struct cstval_pred_ty : public Predicate {
306 template <typename Predicate>
307 using cst_pred_ty = cstval_pred_ty<Predicate, ConstantInt>;
310 template <typename Predicate>
311 using cstfp_pred_ty = cstval_pred_ty<Predicate, ConstantFP>;
315 template <typename Predicate> struct api_pred_ty : public Predicate {
510 ICmpInst::Predicate Pred;
514 case ICmpInst::Predicate
542 m_SpecificInt_ICMP(ICmpInst::Predicate Predicate, const APInt &Threshold) argument
1204 PredicateTy &Predicate; member in struct:llvm::PatternMatch::CmpClass_match
[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,
156 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const;
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp69 bool DefaultType, IsScalable, Predicate, PredicatePattern, PrefetchOp; member in class:__anon2451::SVEType
78 IsScalable(true), Predicate(false), PredicatePattern(false),
98 bool isInteger() const { return !isFloatingPoint() && !Predicate; }
100 return !isFloatingPoint() && Predicate && NumVectors == 0;
102 bool isPredicateVector() const { return Predicate; }
463 Predicate = true;
552 Predicate = true;
591 Predicate = false;
597 Predicate = false;
603 Predicate
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2496 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const {
2498 CmpInst::Predicate Predicate = CI->getPredicate(); local
2500 return Predicate;
2502 switch (Predicate) {
2504 case CmpInst::FCMP_FALSE: Predicate = CmpInst::FCMP_FALSE; break;
2505 case CmpInst::FCMP_OEQ: Predicate = CmpInst::FCMP_ORD; break;
2506 case CmpInst::FCMP_OGT: Predicate = CmpInst::FCMP_FALSE; break;
2507 case CmpInst::FCMP_OGE: Predicate = CmpInst::FCMP_ORD; break;
2508 case CmpInst::FCMP_OLT: Predicate
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp179 // Logically OR all incoming predicates by building the Predicate Tree.
180 VPValue *Predicate = genPredicateTree(IncomingPredicates); local
183 CurrBlock->setPredicate(Predicate);
235 // Predicate the blocks within Region.

Completed in 315 milliseconds

123456789