Home
last modified time | relevance | path

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

12345678910>>...13

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMPredicates.td9 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 …]
DMVETailPredication.cpp93 bool isTailPredicate(Instruction *Predicate, Value *NumElements);
96 void InsertVCTPIntrinsic(Instruction *Predicate,
214 CmpInst::Predicate Pred; in isTailPredicate()
460 void MVETailPredication::InsertVCTPIntrinsic(Instruction *Predicate, in InsertVCTPIntrinsic() argument
472 Builder.SetInsertPoint(cast<Instruction>(Predicate)); in InsertVCTPIntrinsic()
492 Predicate->replaceAllUsesWith(TailPredicate); in InsertVCTPIntrinsic()
493 NewPredicates[Predicate] = cast<Instruction>(TailPredicate); in InsertVCTPIntrinsic()
520 auto *Predicate = dyn_cast<Instruction>(I->getArgOperand(PredOp)); in TryConvert() local
521 if (!Predicate || Predicates.count(Predicate)) in TryConvert()
529 if (!isTailPredicate(Predicate, NumElements)) { in TryConvert()
[all …]
/third_party/gn/src/base/
Dstl_util.h31 template <typename Container, typename Predicate>
32 void IterateAndEraseIf(Container& container, Predicate pred) { in IterateAndEraseIf()
148 template <typename CharT, typename Traits, typename Allocator, class Predicate>
150 Predicate pred) { in EraseIf()
161 template <class T, class Allocator, class Predicate>
162 void EraseIf(std::deque<T, Allocator>& container, Predicate pred) { in EraseIf()
173 template <class T, class Allocator, class Predicate>
174 void EraseIf(std::vector<T, Allocator>& container, Predicate pred) { in EraseIf()
187 template <class T, class Allocator, class Predicate>
188 void EraseIf(std::forward_list<T, Allocator>& container, Predicate pred) { in EraseIf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/
Dmutex.h45 template <typename Predicate>
47 Predicate&& p) REQUIRES(this) { in wait_locked()
49 cv.wait(lock, std::forward<Predicate>(p)); in wait_locked()
54 template <typename Predicate, typename Time>
57 Predicate&& p) REQUIRES(this) { in wait_until_locked()
60 std::forward<Predicate>(p)); in wait_until_locked()
79 template <typename Predicate>
80 inline void wait(std::condition_variable& cv, Predicate&& p) { in wait()
81 cv.wait(_, std::forward<Predicate>(p)); in wait()
85 template <typename Predicate, typename Time>
[all …]
Dconditionvariable.h50 template <typename Predicate>
51 MARL_NO_EXPORT inline void wait(marl::lock& lock, Predicate&& pred);
57 template <typename Rep, typename Period, typename Predicate>
61 Predicate&& pred);
67 template <typename Clock, typename Duration, typename Predicate>
71 Predicate&& pred);
121 template <typename Predicate>
122 void ConditionVariable::wait(marl::lock& lock, Predicate&& pred) { in wait()
149 template <typename Rep, typename Period, typename Predicate>
153 Predicate&& pred) { in wait_for()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h26 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()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.h34 struct Predicate struct
56 Predicate::Func splitMatrixColumns = Predicate::False; argument
59 Predicate::Func inlineArray = Predicate::False;
62 Predicate::Func inlineStruct = Predicate::False;
65 Predicate::Func recurseStruct = Predicate::False;
68 Predicate::Func promoteBoolToUint = Predicate::False;
/third_party/typescript/tests/baselines/reference/
DnonInferrableTypePropagation2.types2 export interface Predicate<A> {
32 …=> readonly B[]; <A>(predicate: Predicate<A>): <B extends A>(bs: readonly B[]) => readonly B[]; <A…
38 <A>(predicate: Predicate<A>): <B extends A>(bs: ReadonlyArray<B>) => ReadonlyArray<B>
39 >predicate : Predicate<A>
42 <A>(predicate: Predicate<A>): (as: ReadonlyArray<A>) => ReadonlyArray<A>
43 >predicate : Predicate<A>
54 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean;
55 >exists : <A>(predicate: Predicate<A>) => <E>(ma: Either<E, A>) => boolean
56 >predicate : Predicate<A>
68 …=> readonly B[]; <A>(predicate: Predicate<A>): <B extends A>(bs: readonly B[]) => readonly B[]; <A…
[all …]
DnonInferrableTypePropagation2.symbols2 export interface Predicate<A> {
3 >Predicate : Symbol(Predicate, Decl(nonInferrableTypePropagation2.ts, 0, 0))
74 <A>(predicate: Predicate<A>): <B extends A>(bs: ReadonlyArray<B>) => ReadonlyArray<B>
77 >Predicate : Symbol(Predicate, Decl(nonInferrableTypePropagation2.ts, 0, 0))
87 <A>(predicate: Predicate<A>): (as: ReadonlyArray<A>) => ReadonlyArray<A>
90 >Predicate : Symbol(Predicate, Decl(nonInferrableTypePropagation2.ts, 0, 0))
112 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean;
116 >Predicate : Symbol(Predicate, Decl(nonInferrableTypePropagation2.ts, 0, 0))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPU.td971 // Predicate helper class
975 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS">,
979 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
984 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
990 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS">,
994 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
999 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SEA_ISLANDS ||"
1005 Predicate<"Subtarget->getGeneration() == AMDGPUSubtarget::SOUTHERN_ISLANDS ||"
1012 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::SEA_ISLANDS">,
1016 Predicate<"Subtarget->getGeneration() >= AMDGPUSubtarget::VOLCANIC_ISLANDS">,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceInstARM32.h515 CondARM32::Cond Predicate) in InstARM32Pred() argument
516 : InstARM32(Func, Kind, Maxsrcs, Dest), Predicate(Predicate) {} in InstARM32Pred()
518 CondARM32::Cond getPredicate() const { return Predicate; } in getPredicate()
519 void setPredicate(CondARM32::Cond Pred) { Predicate = Pred; } in setPredicate()
521 static const char *predString(CondARM32::Cond Predicate);
539 CondARM32::Cond Predicate;
543 inline StreamType &operator<<(StreamType &Stream, CondARM32::Cond Predicate) {
544 Stream << InstARM32Pred::predString(Predicate);
557 CondARM32::Cond Predicate) { in create() argument
559 InstARM32UnaryopGPR(Func, Dest, Src, Predicate); in create()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h192 template<typename Predicate>
193 Predicate all(Predicate P0, Predicate P1) { in all()
199 template<typename Predicate, typename... Args>
200 Predicate all(Predicate P0, Predicate P1, Args... args) { in all()
294 LegalityPredicate Predicate; variable
299 LegalizeRule(LegalityPredicate Predicate, LegalizeAction Action,
301 : Predicate(Predicate), Action(Action), Mutation(Mutation) {} in Predicate() argument
305 return Predicate(Query); in match()
377 LegalityPredicate Predicate) { in actionIf() argument
378 add({Predicate, Action}); in actionIf()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Diterator.h172 template <typename SubIterator, typename Predicate>
185 Predicate predicate) in FilterIterator()
194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator()
238 Predicate predicate_;
241 template <typename SubIterator, typename Predicate>
242 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator()
244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator()
247 template <typename SubIterator, typename Predicate>
248 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
[all …]
/third_party/spirv-tools/source/opt/
Diterator.h172 template <typename SubIterator, typename Predicate>
185 Predicate predicate) in FilterIterator()
194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator()
238 Predicate predicate_;
241 template <typename SubIterator, typename Predicate>
242 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator()
244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator()
247 template <typename SubIterator, typename Predicate>
248 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Diterator.h172 template <typename SubIterator, typename Predicate>
185 Predicate predicate) in FilterIterator()
194 FilterIterator(const SubIterator& end, Predicate predicate) in FilterIterator()
238 Predicate predicate_;
241 template <typename SubIterator, typename Predicate>
242 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
243 const IteratorRange<SubIterator>& sub_iterator_range, Predicate predicate) { in MakeFilterIterator()
244 return FilterIterator<SubIterator, Predicate>(sub_iterator_range, predicate); in MakeFilterIterator()
247 template <typename SubIterator, typename Predicate>
248 FilterIterator<SubIterator, Predicate> MakeFilterIterator( in MakeFilterIterator()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCV.td18 def HasStdExtM : Predicate<"Subtarget->hasStdExtM()">,
25 def HasStdExtA : Predicate<"Subtarget->hasStdExtA()">,
32 def HasStdExtF : Predicate<"Subtarget->hasStdExtF()">,
40 def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
47 def HasStdExtC : Predicate<"Subtarget->hasStdExtC()">,
54 def HasRVCHints : Predicate<"Subtarget->enableRVCHintInstrs()">,
60 def IsRV64 : Predicate<"Subtarget->is64Bit()">,
63 def IsRV32 : Predicate<"!Subtarget->is64Bit()">,
73 def IsRV32E : Predicate<"Subtarget->isRV32E()">,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScalarizeMaskedMemIntrin.cpp193 Value *Predicate; in scalarizeMaskedLoad() local
196 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedLoad()
199 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedLoad()
221 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr); in scalarizeMaskedLoad()
324 Value *Predicate; in scalarizeMaskedStore() local
327 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedStore()
330 Predicate = Builder.CreateExtractElement(Mask, Idx); in scalarizeMaskedStore()
352 BranchInst::Create(CondBlock, NewIfBlock, Predicate, OldBr); in scalarizeMaskedStore()
443 Value *Predicate; in scalarizeMaskedGather() local
446 Predicate = Builder.CreateICmpNE(Builder.CreateAnd(SclrMask, Mask), in scalarizeMaskedGather()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonDepArch.td12 def HasV66 : Predicate<"HST->hasV66Ops()">, AssemblerPredicate<"ArchV66">;
14 def HasV65 : Predicate<"HST->hasV65Ops()">, AssemblerPredicate<"ArchV65">;
16 def HasV62 : Predicate<"HST->hasV62Ops()">, AssemblerPredicate<"ArchV62">;
18 def HasV60 : Predicate<"HST->hasV60Ops()">, AssemblerPredicate<"ArchV60">;
20 def HasV55 : Predicate<"HST->hasV55Ops()">, AssemblerPredicate<"ArchV55">;
22 def HasV5 : Predicate<"HST->hasV5Ops()">, AssemblerPredicate<"ArchV5">;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCmpInstAnalysis.h55 CmpInst::Predicate &Pred);
59 bool predicatesFoldable(CmpInst::Predicate P1, CmpInst::Predicate P2);
64 bool decomposeBitTestICmp(Value *LHS, Value *RHS, CmpInst::Predicate &Pred,
DScalarEvolution.h676 bool isLoopEntryGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
681 bool isLoopBackedgeGuardedByCond(const Loop *L, ICmpInst::Predicate Pred,
899 bool isKnownViaInduction(ICmpInst::Predicate Pred, const SCEV *LHS,
904 bool isKnownPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
909 bool isKnownOnEveryIteration(ICmpInst::Predicate Pred,
921 bool isMonotonicPredicate(const SCEVAddRecExpr *LHS, ICmpInst::Predicate Pred,
928 bool isLoopInvariantPredicate(ICmpInst::Predicate Pred, const SCEV *LHS,
930 ICmpInst::Predicate &InvariantPred,
938 bool SimplifyICmpOperands(ICmpInst::Predicate &Pred, const SCEV *&LHS,
1251 std::unique_ptr<SCEVUnionPredicate> Predicate;
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_split.h520 template <typename Delimiter, typename Predicate>
522 typename strings_internal::SelectDelimiter<Delimiter>::type, Predicate,
525 Predicate p) {
528 return strings_internal::Splitter<DelimiterType, Predicate,
533 template <typename Delimiter, typename Predicate, typename StringType,
536 typename strings_internal::SelectDelimiter<Delimiter>::type, Predicate,
538 StrSplit(StringType&& text, Delimiter d, Predicate p) {
541 return strings_internal::Splitter<DelimiterType, Predicate, std::string>(
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsInstrInfo.td156 // Mips Instruction Predicate Definitions.
158 def HasMips2 : Predicate<"Subtarget->hasMips2()">,
160 def HasMips3_32 : Predicate<"Subtarget->hasMips3_32()">,
162 def HasMips3_32r2 : Predicate<"Subtarget->hasMips3_32r2()">,
164 def HasMips3 : Predicate<"Subtarget->hasMips3()">,
166 def NotMips3 : Predicate<"!Subtarget->hasMips3()">,
168 def HasMips4_32 : Predicate<"Subtarget->hasMips4_32()">,
170 def NotMips4_32 : Predicate<"!Subtarget->hasMips4_32()">,
172 def HasMips4_32r2 : Predicate<"Subtarget->hasMips4_32r2()">,
174 def HasMips5_32r2 : Predicate<"Subtarget->hasMips5_32r2()">,
[all …]
DMips.td23 list<Predicate> EncodingPredicates = [];
25 list<Predicate> GPRPredicates = [];
27 list<Predicate> PTRPredicates = [];
29 list<Predicate> SYMPredicates = [];
31 list<Predicate> FGRPredicates = [];
33 list<Predicate> InsnPredicates = [];
34 // Predicate for the ASE that an instruction belongs to.
35 list<Predicate> ASEPredicate = [];
36 // Predicate for marking the instruction as usable in hard-float mode only.
37 list<Predicate> HardFloatPredicate = [];
[all …]
/third_party/typescript/tests/cases/compiler/
DnonInferrableTypePropagation2.ts3 export interface Predicate<A> { interface
25 <A>(predicate: Predicate<A>): <B extends A>(bs: ReadonlyArray<B>) => ReadonlyArray<B>
26 <A>(predicate: Predicate<A>): (as: ReadonlyArray<A>) => ReadonlyArray<A>
30 declare function exists<A>(predicate: Predicate<A>): <E>(ma: Either<E, A>) => boolean;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h224 template <typename Predicate> struct cst_pred_ty : public Predicate {
257 template <typename Predicate> struct api_pred_ty : public Predicate {
283 template <typename Predicate> struct cstfp_pred_ty : public Predicate {
485 ICmpInst::Predicate Pred;
489 case ICmpInst::Predicate::ICMP_EQ: in isValue()
491 case ICmpInst::Predicate::ICMP_NE: in isValue()
493 case ICmpInst::Predicate::ICMP_UGT: in isValue()
495 case ICmpInst::Predicate::ICMP_UGE: in isValue()
497 case ICmpInst::Predicate::ICMP_ULT: in isValue()
499 case ICmpInst::Predicate::ICMP_ULE: in isValue()
[all …]

12345678910>>...13