Home
last modified time | relevance | path

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

123456

/freebsd-10-stable/sys/contrib/dev/acpica/compiler/
Dasltransform.c440 ACPI_PARSE_OBJECT *Predicate; in TrDoSwitch() local
511 Predicate = CaseOp->Asl.Child; in TrDoSwitch()
513 if ((Predicate->Asl.ParseOpcode == PARSEOP_PACKAGE) || in TrDoSwitch()
514 (Predicate->Asl.ParseOpcode == PARSEOP_VAR_PACKAGE)) in TrDoSwitch()
523 Predicate->Asl.Next = NewOp2; in TrDoSwitch()
530 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
535 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
540 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
545 TrAmlInitLineNumbers (NewOp2, Predicate); in TrDoSwitch()
548 NewOp2->Asl.Child = Predicate; /* PARSEOP_PACKAGE */ in TrDoSwitch()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h27 enum Predicate { enum
55 Predicate InvertPredicate(Predicate Opcode);
59 Predicate getSwappedPredicate(Predicate Opcode);
DPPCPredicates.cpp19 PPC::Predicate PPC::InvertPredicate(PPC::Predicate Opcode) { in InvertPredicate()
49 PPC::Predicate PPC::getSwappedPredicate(PPC::Predicate Opcode) { in getSwappedPredicate()
/freebsd-10-stable/contrib/llvm/lib/Target/Hexagon/
DHexagon.td35 // Hexagon Instruction Predicate Definitions.
37 def HasV2T : Predicate<"Subtarget.hasV2TOps()">;
38 def HasV2TOnly : Predicate<"Subtarget.hasV2TOpsOnly()">;
39 def NoV2T : Predicate<"!Subtarget.hasV2TOps()">;
40 def HasV3T : Predicate<"Subtarget.hasV3TOps()">;
41 def HasV3TOnly : Predicate<"Subtarget.hasV3TOpsOnly()">;
42 def NoV3T : Predicate<"!Subtarget.hasV3TOps()">;
43 def HasV4T : Predicate<"Subtarget.hasV4TOps()">;
44 def NoV4T : Predicate<"!Subtarget.hasV4TOps()">;
45 def HasV5T : Predicate<"Subtarget.hasV5TOps()">;
[all …]
/freebsd-10-stable/contrib/libc++/include/
Dcondition_variable35 template <class Predicate>
36 void wait(unique_lock<mutex>& lock, Predicate pred);
43 template <class Clock, class Duration, class Predicate>
47 Predicate pred);
54 template <class Rep, class Period, class Predicate>
58 Predicate pred);
80 template <class Lock, class Predicate>
81 void wait(Lock& lock, Predicate pred);
88 template <class Lock, class Clock, class Duration, class Predicate>
92 Predicate pred);
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp45 ICmpInst::Predicate Pred = InvertPred ? ICI->getInversePredicate() in getICmpCode()
73 CmpInst::Predicate &NewICmpPred) { in getICmpValue()
92 bool llvm::PredicatesFoldable(ICmpInst::Predicate p1, ICmpInst::Predicate p2) { in PredicatesFoldable()
DFlattenCFG.cpp242 CmpInst::Predicate Predicate = CI->getPredicate(); in FlattenParallelAndOr() local
244 if ((Predicate == CmpInst::ICMP_NE) || (Predicate == CmpInst::FCMP_ONE)) { in FlattenParallelAndOr()
245 CI->setPredicate(ICmpInst::getInversePredicate(Predicate)); in FlattenParallelAndOr()
/freebsd-10-stable/contrib/llvm/include/llvm/Transforms/Utils/
DCmpInstAnalysis.h57 CmpInst::Predicate &NewICmpPred);
61 bool PredicatesFoldable(CmpInst::Predicate p1, CmpInst::Predicate p2);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
DPredicate.h45 class Predicate
55 Predicate () : in Predicate() function
71 Predicate (T initial_value) : in Predicate() function
83 ~Predicate () in ~Predicate()
503 DISALLOW_COPY_AND_ASSIGN(Predicate);
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
DPatternMatch.h211 template<typename Predicate>
212 struct cst_pred_ty : public Predicate {
228 template<typename Predicate>
229 struct api_pred_ty : public Predicate {
572 PredicateTy &Predicate; member
577 : Predicate(Pred), L(LHS), R(RHS) {} in CmpClass_match()
583 Predicate = I->getPredicate(); in match()
591 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
592 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) { in m_ICmp()
594 ICmpInst, ICmpInst::Predicate>(Pred, L, R); in m_ICmp()
[all …]
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DInstrTypes.h651 enum Predicate {
714 Predicate getPredicate() const {
715 return Predicate(getSubclassDataFromInstruction());
719 void setPredicate(Predicate P) { setInstructionSubclassData(P); }
721 static bool isFPPredicate(Predicate P) {
725 static bool isIntPredicate(Predicate P) {
737 Predicate getInversePredicate() const {
745 static Predicate getInversePredicate(Predicate pred);
753 Predicate getSwappedPredicate() const {
760 static Predicate getSwappedPredicate(Predicate pred);
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
DScalarEvolution.h467 ICmpInst::Predicate p);
506 bool isImpliedCond(ICmpInst::Predicate Pred,
514 bool isImpliedCondOperands(ICmpInst::Predicate Pred,
521 bool isImpliedCondOperandsHelper(ICmpInst::Predicate Pred,
537 bool isKnownPredicateWithRanges(ICmpInst::Predicate Pred,
724 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
730 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
828 bool isKnownPredicate(ICmpInst::Predicate Pred,
836 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred,
DInstructionSimplify.h167 Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS,
174 Value *SimplifyFCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
211 Value *SimplifyCmpInst(unsigned Predicate, Value *LHS, Value *RHS,
/freebsd-10-stable/contrib/llvm/lib/Target/X86/
DX86InstrInfo.td637 // X86 Instruction Predicate Definitions.
638 def HasCMov : Predicate<"Subtarget->hasCMov()">;
639 def NoCMov : Predicate<"!Subtarget->hasCMov()">;
641 def HasMMX : Predicate<"Subtarget->hasMMX()">;
642 def Has3DNow : Predicate<"Subtarget->has3DNow()">;
643 def Has3DNowA : Predicate<"Subtarget->has3DNowA()">;
644 def HasSSE1 : Predicate<"Subtarget->hasSSE1()">;
645 def UseSSE1 : Predicate<"Subtarget->hasSSE1() && !Subtarget->hasAVX()">;
646 def HasSSE2 : Predicate<"Subtarget->hasSSE2()">;
647 def UseSSE2 : Predicate<"Subtarget->hasSSE2() && !Subtarget->hasAVX()">;
[all …]
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
DAnalysis.h73 ISD::CondCode getFCmpCondCode(FCmpInst::Predicate Pred);
82 ISD::CondCode getICmpCondCode(ICmpInst::Predicate Pred);
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
DIfConversion.cpp125 SmallVector<MachineOperand, 4> Predicate; member
642 bool AlreadyPredicated = !BBI.Predicate.empty(); in ScanInstructions()
730 if (BBI.Predicate.size() && !TII->SubsumesPredicate(Pred, BBI.Predicate)) in FeasibilityAnalysis()
803 bool TNeedSub = !TrueBBI.Predicate.empty(); in AnalyzeBlock()
804 bool FNeedSub = !FalseBBI.Predicate.empty(); in AnalyzeBlock()
1512 std::copy(Cond.begin(), Cond.end(), std::back_inserter(BBI.Predicate)); in PredicateBlock()
1577 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in CopyAndPredicateBlock()
1578 std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1579 std::copy(Cond.begin(), Cond.end(), std::back_inserter(ToBBI.Predicate)); in CopyAndPredicateBlock()
1618 std::copy(FromBBI.Predicate.begin(), FromBBI.Predicate.end(), in MergeBlocks()
[all …]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Analysis/
DBodyFarm.cpp167 const ParmVarDecl *Predicate = D->getParamDecl(0); in create_dispatch_once() local
168 QualType PredicateQPtrTy = Predicate->getType(); in create_dispatch_once()
208 M.makeDeclRefExpr(Predicate), PredicateQPtrTy), in create_dispatch_once()
224 M.makeDeclRefExpr(Predicate), in create_dispatch_once()
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
DARMInstrFormats.td148 // ARM Predicate operand. Default to 14 = always (AL). Second part is CC
370 list<Predicate> Predicates = [IsARM];
378 list<Predicate> Predicates = [IsThumb];
386 list<Predicate> Predicates = [IsThumb2];
419 list<Predicate> Predicates = [IsARM];
433 list<Predicate> Predicates = [IsARM];
444 bits<4> p; // Predicate operand
453 list<Predicate> Predicates = [IsARM];
465 list<Predicate> Predicates = [IsARM];
957 list<Predicate> Predicates = [IsARM];
[all …]
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DInstructionSimplify.cpp79 static bool isSameCompare(Value *V, CmpInst::Predicate Pred, Value *LHS, in isSameCompare()
84 CmpInst::Predicate CPred = Cmp->getPredicate(); in isSameCompare()
430 static Value *ThreadCmpOverSelect(CmpInst::Predicate Pred, Value *LHS, in ThreadCmpOverSelect()
555 static Value *ThreadCmpOverPHI(CmpInst::Predicate Pred, Value *LHS, Value *RHS, in ThreadCmpOverPHI()
1688 static Value *ExtractEquivalentCondition(Value *V, CmpInst::Predicate Pred, in ExtractEquivalentCondition()
1735 CmpInst::Predicate Pred, in computePointerICmp()
1861 static Value *SimplifyICmpInst(unsigned Predicate, Value *LHS, Value *RHS, in SimplifyICmpInst() argument
1863 CmpInst::Predicate Pred = (CmpInst::Predicate)Predicate; in SimplifyICmpInst()
2362 CmpInst::Predicate P = CmpInst::BAD_ICMP_PREDICATE; in SimplifyICmpInst()
2363 CmpInst::Predicate EqP; // Chosen so that "A == max/min(A,B)" iff "A EqP B". in SimplifyICmpInst()
[all …]
DConstantFolding.cpp1053 Constant *llvm::ConstantFoldCompareInstOperands(unsigned Predicate, in ConstantFoldCompareInstOperands() argument
1073 return ConstantFoldCompareInstOperands(Predicate, C, Null, TD, TLI); in ConstantFoldCompareInstOperands()
1083 return ConstantFoldCompareInstOperands(Predicate, C, Null, TD, TLI); in ConstantFoldCompareInstOperands()
1099 return ConstantFoldCompareInstOperands(Predicate, C0, C1, TD, TLI); in ConstantFoldCompareInstOperands()
1108 return ConstantFoldCompareInstOperands(Predicate, in ConstantFoldCompareInstOperands()
1120 if ((Predicate == ICmpInst::ICMP_EQ || Predicate == ICmpInst::ICMP_NE) && in ConstantFoldCompareInstOperands()
1123 ConstantFoldCompareInstOperands(Predicate, CE0->getOperand(0), Ops1, in ConstantFoldCompareInstOperands()
1126 ConstantFoldCompareInstOperands(Predicate, CE0->getOperand(1), Ops1, in ConstantFoldCompareInstOperands()
1129 Predicate == ICmpInst::ICMP_EQ ? Instruction::And : Instruction::Or; in ConstantFoldCompareInstOperands()
1135 return ConstantExpr::getCompare(Predicate, Ops0, Ops1); in ConstantFoldCompareInstOperands()
/freebsd-10-stable/contrib/llvm/lib/Target/Mips/
DMipsInstrInfo.td147 // Mips Instruction Predicate Definitions.
149 def HasSEInReg : Predicate<"Subtarget.hasSEInReg()">,
151 def HasBitCount : Predicate<"Subtarget.hasBitCount()">,
153 def HasSwap : Predicate<"Subtarget.hasSwap()">,
155 def HasCondMov : Predicate<"Subtarget.hasCondMov()">,
157 def HasFPIdx : Predicate<"Subtarget.hasFPIdx()">,
159 def HasMips32 : Predicate<"Subtarget.hasMips32()">,
161 def HasMips32r2 : Predicate<"Subtarget.hasMips32r2()">,
163 def HasMips64 : Predicate<"Subtarget.hasMips64()">,
165 def NotMips64 : Predicate<"!Subtarget.hasMips64()">,
[all …]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.h264 lldb_private::Predicate<bool> m_public_is_running;
265 lldb_private::Predicate<bool> m_private_is_running;
/freebsd-10-stable/contrib/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp163 PPC::Predicate Pred = (PPC::Predicate)I->getOperand(0).getImm(); in runOnMachineFunction()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DGVN.cpp116 CmpInst::Predicate Predicate,
124 uint32_t lookup_or_add_cmp(unsigned Opcode, CmpInst::Predicate Pred,
182 CmpInst::Predicate Predicate = C->getPredicate(); in create_expression() local
185 Predicate = CmpInst::getSwappedPredicate(Predicate); in create_expression()
187 e.opcode = (C->getOpcode() << 8) | Predicate; in create_expression()
198 CmpInst::Predicate Predicate, in create_cmp_expression() argument
210 Predicate = CmpInst::getSwappedPredicate(Predicate); in create_cmp_expression()
212 e.opcode = (Opcode << 8) | Predicate; in create_cmp_expression()
470 CmpInst::Predicate Predicate, in lookup_or_add_cmp() argument
472 Expression exp = create_cmp_expression(Opcode, Predicate, LHS, RHS); in lookup_or_add_cmp()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp69 static unsigned getFCmpCode(FCmpInst::Predicate CC, bool &isOrdered) { in getFCmpCode()
99 ICmpInst::Predicate NewPred; in getNewICmpValue()
111 CmpInst::Predicate Pred; in getFCmpValue()
283 ICmpInst::Predicate pred = (isSigned ? in InsertRangeTest()
301 ICmpInst::Predicate pred = (isSigned ? in InsertRangeTest()
425 ICmpInst::Predicate SCC) in getTypeOfMaskedICmp()
514 static bool decomposeBitTestICmp(const ICmpInst *I, ICmpInst::Predicate &Pred, in decomposeBitTestICmp()
551 ICmpInst::Predicate &LHSCC, in foldLogOpOfMaskedICmpsHelper()
552 ICmpInst::Predicate &RHSCC) { in foldLogOpOfMaskedICmpsHelper()
664 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
[all …]

123456