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

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
IRSimilarityIdentifier.cpp 30 // find the "less than" version of the predicate for consistency for
33 CmpInst::Predicate Predicate = predicateForConsistency(C);
34 if (Predicate != C->getPredicate())
35 RevisedPredicate = Predicate;
42 // If we have a CmpInst where the predicate is reversed, it means the
52 CmpInst::Predicate IRInstructionData::predicateForConsistency(CmpInst *CI) {
68 CmpInst::Predicate IRInstructionData::getPredicate() const {
70 "Can only get a predicate from a compare instruction");
93 // If there is a predicate, this means that either there is a swappe
    [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/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/Transforms/Vectorize/
VPlanPredicator.cpp 11 /// interfaces to predicate and linearize the VPlan region.
28 // predicate being propagated from PredBB to CurrBB depending on the edge type
30 // i. PredBB is controlled by predicate %BP, and
57 // Now AND intermediate value with PredBB's block predicate if it has one.
84 // The last element is the root predicate which is returned.
110 // This root needs to replace the existing block predicate. This is done in
135 // Blocks that dominate region exit inherit the predicate from the region.
136 // Return after setting the predicate.
164 // edge predicates. We use the predecessor's block predicate instead.
179 // Logically OR all incoming predicates by building the Predicate Tree
234 void VPlanPredicator::predicate(void) { function in class:VPlanPredicator
    [all...]
  /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/Transforms/Utils/
PredicateInfo.h 45 /// predicate info is never inserted.
71 /// Constraint for a predicate of the form "cmp Pred Op, OtherOp", where Op
74 CmpInst::Predicate Predicate;
78 // Base class for all predicate information we provide.
79 // All of our predicate information has at least a comparison.
87 // The renamed operand in the condition used for this predicate. For nested
91 // The condition associated with this predicate.
111 // Provides predicate information for assumes. Since assumes are always true,
126 // predicate originates, and the TO block is the block where the predicate i
    [all...]
  /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...]
  /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/lib/Target/Hexagon/MCTargetDesc/
HexagonMCCompound.cpp 150 // that predicate register will match. Nevertheless,
176 const MCOperand &Predicate = HMCI.getOperand(0);
177 unsigned PredReg = Predicate.getReg();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
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)) {
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...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
FlattenCFG.cpp 259 CmpInst::Predicate Predicate = CI->getPredicate();
261 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) {
262 CI->setPredicate(ICmpInst::getInversePredicate(Predicate));
488 // else), then we can simply invert the predicate.
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
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.
CodeGenSchedule.h 319 const Record *Predicate; // MCInstrPredicate definition.
321 : ProcModelMask(CpuMask), OperandMask(Operands), Predicate(Pred) {}
325 OperandMask == Other.OperandMask && Predicate == Other.Predicate;
348 const Record *Predicate);
374 /// auto-generate the body of a predicate function as a member of tablegen'd
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
InstructionSelectorImpl.h 272 int64_t Predicate = MatchTable[CurrentIdx++];
276 << "), Predicate=" << Predicate << ")\n");
281 assert(Predicate > GIPFP_I64_Invalid && "Expected a valid predicate");
290 if (!testImmPredicate_I64(Predicate, Value))
297 int64_t Predicate = MatchTable[CurrentIdx++];
301 << InsnID << "], Predicate=" << Predicate << ")\n");
305 assert(Predicate > GIPFP_APInt_Invalid && "Expected a valid predicate")
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 446 // Negation predicate.
483 const ParmVarDecl *Predicate = D->getParamDecl(0);
484 QualType PredicateQPtrTy = Predicate->getType();
498 // Everything checks out. Create a fakse body that checks the predicate,
501 // void dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) {
502 // if (*predicate != ~0l) {
503 // *predicate = ~0l;
519 // (2) Create the assignment to the predicate.
529 M.makeDeclRefExpr(Predicate), PredicateQPtrTy),
543 M.makeDeclRefExpr(Predicate),
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
LoopVectorizationLegality.h 80 /// Vector Predicate
81 Hint Predicate;
139 unsigned getPredicate() const { return Predicate.Value; }
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
MveEmitter.cpp 118 // Predicate is used by all the predicated intrinsics. Its C
120 // But we give more detail here, by indicating that a given predicate
122 // same number of lanes as the input vector type. So our Predicate type
125 Predicate,
346 : CRegularNamedType(TypeKind::Predicate), Lanes(Lanes) {}
362 return T->typeKind() == TypeKind::Predicate;
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/include/llvm/Analysis/
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/include/llvm/MC/
MCInstrDesc.h 50 Predicate,
106 /// Set if this is one of the operands that made up of the predicate
108 bool isPredicate() const { return Flags & (1 << MCOI::Predicate); }
143 /// MCInstrDesc class. Clients should use the predicate methods on MCInstrDesc,
325 /// Return true if this instruction has a predicate operand
328 /// control and modify the predicate in this instruction.
619 /// operand list that is used to represent the predicate. It returns -1 if
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ConstantFold.cpp 1354 CmpInst::Predicate pred = (CmpInst::Predicate)CE1->getPredicate();
1607 /// each other, we should return the corresponding FCmpInst predicate,
1614 static FCmpInst::Predicate evaluateFCmpRelation(Constant *V1, Constant *V2) {
1644 FCmpInst::Predicate SwappedRelation = evaluateFCmpRelation(V2, V1);
1667 static ICmpInst::Predicate areGlobalsPotentiallyEqual(const GlobalValue *GV1,
1695 /// each other, we should return the corresponding ICmp predicate, otherwise
1703 static ICmpInst::Predicate evaluateICmpRelation(Constant *V1, Constant *V2,
1716 ICmpInst::Predicate pred = ICmpInst::ICMP_EQ;
1734 ICmpInst::Predicate SwappedRelation
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86InstructionSelector.cpp 900 (CmpInst::Predicate)I.getOperand(1).getPredicate());
950 CmpInst::Predicate Predicate =
951 (CmpInst::Predicate)I.getOperand(1).getPredicate();
958 switch (Predicate) {
1014 std::tie(CC, SwapArgs) = X86::getX86ConditionCode(Predicate);
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
TargetInstrInfo.h 136 /// predicate must return false if the instruction has any side effects other
254 /// not, return 0. This predicate must return 0 if the instruction has
292 /// not, return 0. This predicate must return 0 if the instruction has
619 /// Represents a predicate at the MachineFunction level. The control flow a
622 /// Reg = LHS `Predicate` RHS == ConditionDef
632 ComparePredicate Predicate = PRED_INVALID;
777 /// Return true if it's profitable to predicate
814 /// Return the increase in code size needed to predicate a contiguous run of
1448 /// Returns true if the first specified predicate
1455 /// If the specified instruction defines any predicate
    [all...]

Completed in 58 milliseconds

1 2