HomeSort by: relevance | last modified time | path
    Searched refs:Predicate (Results 1 - 25 of 231) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCPredicates.h 1 //===-- PPCPredicates.h - PPC Branch Predicate Information ------*- C++ -*-===//
25 /// Predicate - These are "(BI << 5) | BO" for various predicates.
26 enum Predicate {
69 /// Invert the specified predicate. != -> ==, < -> >=.
70 Predicate InvertPredicate(Predicate Opcode);
72 /// Assume the condition register is set by MI(a,b), return the predicate if
74 Predicate getSwappedPredicate(Predicate Opcode);
77 inline unsigned getPredicateCondition(Predicate Opcode)
    [all...]
PPCPredicates.cpp 1 //===-- PPCPredicates.cpp - PPC Branch Predicate Information --------------===//
18 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) {
52 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) {
81 llvm_unreachable("Invalid use of bit predicate code");
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
CmpInstAnalysis.h 23 /// Encode a icmp predicate into a three bit mask. These bits are carefully
48 /// This is the complement of getICmpCode. It turns a predicate code into
49 /// either a constant true or false or the predicate for a new ICmp.
50 /// The sign is passed in to determine which kind of predicate to use in the
53 /// NULL return means a new ICmp is needed. The predicate is output in Pred.
55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
62 /// returned predicate is either == or !=. Returns false if decomposition
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred
    [all...]
ScalarEvolution.h 221 /// Returns the estimated complexity of this predicate. This is roughly
225 /// Returns true if the predicate is always true. This means that no
229 /// Returns true if this predicate implies \p N.
232 /// Prints a textual representation of this predicate with an indentation of
236 /// Returns the SCEV to which this predicate applies, or nullptr if this is
300 /// count. This means that if we have a nusw predicate for i32 {0,+,1} with a
417 /// Adds a predicate to this union.
430 /// We estimate the complexity of a union predicate as the size number of
694 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
700 ICmpInst::Predicate Pred, const SCEV *LHS
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
GIMatchDagPredicateDependencyEdge.h 20 /// Represents a dependency that must be met to evaluate a predicate.
25 /// The MI that must be available in order to test the predicate.
27 /// The MO that must be available in order to test the predicate. May be
30 /// The Predicate that requires information from RequiredMI/RequiredMO.
31 const GIMatchDagPredicate *Predicate;
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; }
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMLegalizerInfo.h 41 // The predicate to be used when comparing the value returned by the
47 CmpInst::Predicate Predicate;
51 // Map from each FCmp predicate to the corresponding libcall infos. A FCmp
59 // Get the libcall(s) corresponding to \p Predicate for operands of \p Size
61 FCmpLibcallsList getFCmpLibcalls(CmpInst::Predicate, unsigned Size) const;
ARMLegalizerInfo.cpp 350 ARMLegalizerInfo::getFCmpLibcalls(CmpInst::Predicate Predicate,
352 assert(CmpInst::isFPPredicate(Predicate) && "Unsupported FCmp predicate");
354 return FCmp32Libcalls[Predicate];
356 return FCmp64Libcalls[Predicate];
357 llvm_unreachable("Unsupported size for FCmp predicate");
402 auto Predicate =
403 static_cast<CmpInst::Predicate>(MI.getOperand(1).getPredicate());
404 auto Libcalls = getFCmpLibcalls(Predicate, OpSize)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
AArch64GlobalISelUtils.h 45 bool isCMN(const MachineInstr *MaybeSub, const CmpInst::Predicate &Pred,
62 void changeFCMPPredToAArch64CC(const CmpInst::Predicate P,
73 void changeVectorFCMPPredToAArch64CC(const CmpInst::Predicate P,
AArch64GlobalISelUtils.cpp 44 const CmpInst::Predicate &Pred,
99 const CmpInst::Predicate P, AArch64CC::CondCode &CondCode,
153 const CmpInst::Predicate P, AArch64CC::CondCode &CondCode,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
OverflowInstAnalysis.cpp 24 ICmpInst::Predicate Pred;
56 (IsAnd && Pred == ICmpInst::Predicate::ICMP_NE &&
58 (!IsAnd && Pred == ICmpInst::Predicate::ICMP_EQ &&
CmpInstAnalysis.cpp 22 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate()
38 llvm_unreachable("Invalid ICmp predicate!");
43 CmpInst::Predicate &Pred) {
60 bool llvm::predicatesFoldable(ICmpInst::Predicate P1, ICmpInst::Predicate P2) {
67 CmpInst::Predicate &Pred,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/
llvm-objdump.h 70 /// predicate.
76 : Predicate(std::move(P)), Iterator(I), End(E) {
91 while (Iterator != End && !Predicate(*Iterator)) {
95 FilterPredicate Predicate;
101 /// predicate.
105 : Predicate(std::move(P)), Object(O) {}
107 return SectionFilterIterator(Predicate, Object.section_begin(),
111 return SectionFilterIterator(Predicate, Object.section_end(),
116 FilterPredicate Predicate;
122 /// Creates a SectionFilter with a standard predicate that conditionally skip
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
LegalizerInfo.h 195 template<typename Predicate>
196 Predicate all(Predicate P0, Predicate P1) {
202 template<typename Predicate, typename... Args>
203 Predicate all(Predicate P0, Predicate P1, Args... args) {
208 template<typename Predicate>
209 Predicate any(Predicate P0, Predicate P1)
    [all...]
  /src/sys/external/bsd/acpica/dist/compiler/
asltransform.c 521 ACPI_PARSE_OBJECT *Predicate;
546 /* First child is the Switch() predicate */
594 Predicate = CaseOp->Asl.Child;
596 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) ||
597 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE))
606 Predicate->Asl.Next = NewOp2;
613 TrAmlInitLineNumbers (NewOp2, Predicate);
618 TrAmlInitLineNumbers (NewOp2, Predicate);
623 TrAmlInitLineNumbers (NewOp2, Predicate);
628 TrAmlInitLineNumbers (NewOp2, Predicate);
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
GlobalISelEmitter.cpp 84 /// Get the name of the enum value used to number the predicate function.
85 std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) {
86 if (Predicate.hasGISelPredicateCode())
87 return "GIPFP_MI_" + Predicate.getFnName();
88 return "GIPFP_" + Predicate.getImmTypeIdentifier().str() + "_" +
89 Predicate.getFnName();
92 /// Get the opcode used to check this predicate.
93 std::string getMatchOpcodeForImmPredicate(const TreePredicateFn &Predicate) {
94 return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate";
313 const TreePredicateFn &Predicate = Call.Fn
    [all...]
X86EVEX2VEXTablesEmitter.cpp 33 typedef std::pair<StringRef, StringRef> Predicate;
39 std::vector<Predicate> EVEX2VEXPredicates;
51 // Prints function which checks target feature specific predicate.
52 void printCheckPredicate(const std::vector<Predicate> &Predicates,
77 const std::vector<Predicate> &Predicates, raw_ostream &OS) {
200 "Instruction with checkPredicate set must have one predicate!");
257 // Adding predicate check to EVEX2VEXPredicates table when needed.
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
InstrTypes.h 717 /// predicate values are not overlapping between the classes.
722 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,
776 /// Construct a compare instruction, given the opcode, the predicate and
782 Predicate predicate, Value *S1,
786 /// Construct a compare instruction, given the opcode, the predicate and the
790 static CmpInst *Create(OtherOps Op, Predicate predicate, Value *S1
    [all...]
ConstantRange.h 96 /// predicate with any value contained within Other is contained in the
103 static ConstantRange makeAllowedICmpRegion(CmpInst::Predicate Pred,
107 /// satisfy the given predicate with all values contained within Other.
114 static ConstantRange makeSatisfyingICmpRegion(CmpInst::Predicate Pred,
118 /// the given predicate with any value contained within Other. Formally, this
124 static ConstantRange makeExactICmpRegion(CmpInst::Predicate Pred,
127 /// Does the predicate \p Pred hold between ranges this and \p Other?
128 /// NOTE: false does not mean that inverse predicate holds!
129 bool icmp(CmpInst::Predicate Pred, const ConstantRange &Other) const;
168 bool getEquivalentICmp(CmpInst::Predicate &Pred, APInt &RHS) const
    [all...]
PatternMatch.h 323 /// and fixed width vectors that satisfy a specified predicate.
325 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>;
371 /// satisfy a specified predicate, and bind them to an APInt.
372 template <typename Predicate> struct api_pred_ty : public Predicate {
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
Operations.h 39 CmpInst::Predicate Pred);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
Analysis.h 99 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
108 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
ScalarizeMaskedMemIntrin.cpp 213 Value *Predicate;
217 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
220 Predicate = Builder.CreateExtractElement(Mask, Idx);
230 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false,
347 Value *Predicate;
351 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask),
354 Predicate = Builder.CreateExtractElement(Mask, Idx);
364 SplitBlockAndInsertIfThen(Predicate, InsertPt, /*Unreachable=*/false,
469 Value *Predicate;
473 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask)
    [all...]
LowerExpectIntrinsic.cpp 275 CmpInst::Predicate Predicate;
279 Predicate = CmpInst::ICMP_NE;
281 Predicate = CmpI->getPredicate();
282 if (Predicate != CmpInst::ICMP_NE && Predicate != CmpInst::ICMP_EQ)
319 (Predicate == CmpInst::ICMP_EQ)) {
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
SveEmitter.cpp 69 bool DefaultType, IsScalable, Predicate, PredicatePattern, PrefetchOp;
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; }
466 Predicate = true;
555 Predicate = true;
594 Predicate = false;
600 Predicate = false;
606 Predicate = false
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFTargetTransformInfo.h 48 CmpInst::Predicate VecPred,

Completed in 53 milliseconds

1 2 3 4 5 6 7 8 910