Home
last modified time | relevance | path

Searched refs:ArrayRef (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/NextBSD/contrib/llvm/include/llvm/ADT/
HDArrayRef.h31 class ArrayRef {
51 /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} in ArrayRef() function
54 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() function
57 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function
61 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function
65 ArrayRef(const T *begin, const T *end) in ArrayRef() function
72 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function
78 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function
83 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N]) in ArrayRef() function
87 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() function
[all …]
HDedit_distance.h43 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
58 typename ArrayRef<T>::size_type m = FromArray.size();
59 typename ArrayRef<T>::size_type n = ToArray.size();
73 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
78 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDOpenMPClause.h88 void setVarRefs(ArrayRef<Expr *> VL) { in setVarRefs()
112 typedef ArrayRef<const Expr *>::iterator varlist_const_iterator;
137 ArrayRef<const Expr *> getVarRefs() const { in getVarRefs()
982 void setPrivateCopies(ArrayRef<Expr *> VL);
989 ArrayRef<const Expr *> getPrivateCopies() const { in getPrivateCopies()
1005 SourceLocation EndLoc, ArrayRef<Expr *> VL,
1006 ArrayRef<Expr *> PrivateVL);
1015 typedef ArrayRef<const Expr *>::iterator private_copies_const_iterator;
1074 void setPrivateCopies(ArrayRef<Expr *> VL);
1081 ArrayRef<const Expr *> getPrivateCopies() const { in getPrivateCopies()
[all …]
HDSelectorLocationsKind.h47 ArrayRef<SourceLocation> SelLocs,
48 ArrayRef<Expr *> Args,
60 ArrayRef<Expr *> Args,
65 ArrayRef<SourceLocation> SelLocs,
66 ArrayRef<ParmVarDecl *> Args,
78 ArrayRef<ParmVarDecl *> Args,
HDCommentSema.h81 ArrayRef<T> copyArray(ArrayRef<T> Source) { in copyArray()
92 ArrayRef<InlineContentComment *> Content);
100 ArrayRef<BlockCommandComment::Argument> Args);
168 ArrayRef<VerbatimBlockLineComment *> Lines);
179 ArrayRef<HTMLStartTagComment::Attribute> Attrs,
187 FullComment *actOnFullComment(ArrayRef<BlockContentComment *> Blocks);
227 ArrayRef<const ParmVarDecl *> getParamVars();
235 ArrayRef<const ParmVarDecl *> ParamVars);
240 ArrayRef<const ParmVarDecl *> ParamVars);
HDStmtOpenMP.h80 void setClauses(ArrayRef<OMPClause *> Clauses);
99 ArrayRef<OMPClause *>::const_iterator Current;
100 ArrayRef<OMPClause *>::const_iterator End;
110 filtered_clause_iterator(ArrayRef<OMPClause *> Arr, FilterPredicate Pred) in filtered_clause_iterator()
203 ArrayRef<OMPClause *> clauses() { return getClauses(); } in clauses()
205 ArrayRef<OMPClause *> clauses() const { in clauses()
250 ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt);
424 void setCounters(ArrayRef<Expr *> A);
425 void setInits(ArrayRef<Expr *> A);
426 void setUpdates(ArrayRef<Expr *> A);
[all …]
/NextBSD/contrib/llvm/include/llvm/ProfileData/
HDCoverageMappingWriter.h29 ArrayRef<StringRef> Filenames;
32 CoverageFilenamesSectionWriter(ArrayRef<StringRef> Filenames) in CoverageFilenamesSectionWriter()
41 ArrayRef<unsigned> VirtualFileMapping;
42 ArrayRef<CounterExpression> Expressions;
46 CoverageMappingWriter(ArrayRef<unsigned> VirtualFileMapping, in CoverageMappingWriter()
47 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
52 CoverageMappingWriter(ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDSelectorLocationsKind.cpp65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc()
71 ArrayRef<SourceLocation> SelLocs, in hasStandardSelLocs()
72 ArrayRef<T *> Args, in hasStandardSelLocs()
98 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs()
99 ArrayRef<Expr *> Args, in hasStandardSelectorLocs()
107 ArrayRef<Expr *> Args, in getStandardSelectorLoc()
115 ArrayRef<SourceLocation> SelLocs, in hasStandardSelectorLocs()
116 ArrayRef<ParmVarDecl *> Args, in hasStandardSelectorLocs()
124 ArrayRef<ParmVarDecl *> Args, in getStandardSelectorLoc()
HDStmt.cpp281 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt()
312 ArrayRef<const Attr*> Attrs, in Create()
714 ArrayRef<Token> asmtoks, unsigned numoutputs, in MSAsmStmt()
716 ArrayRef<StringRef> constraints, ArrayRef<Expr*> exprs, in MSAsmStmt()
717 StringRef asmstr, ArrayRef<StringRef> clobbers, in MSAsmStmt()
736 ArrayRef<Token> asmtoks, in initialize()
737 ArrayRef<StringRef> constraints, in initialize()
738 ArrayRef<Expr*> exprs, in initialize()
739 ArrayRef<StringRef> clobbers) { in initialize()
825 Stmt *tryBlock, ArrayRef<Stmt*> handlers) { in Create()
[all …]
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDRegisterPressure.h292 void addLiveRegs(ArrayRef<unsigned> Regs);
322 void initLiveThru(ArrayRef<unsigned> PressureSet) {
326 ArrayRef<unsigned> getLiveThru() const { return LiveThruPressure; }
354 ArrayRef<PressureChange> CriticalPSets,
355 ArrayRef<unsigned> MaxPressureLimit);
360 ArrayRef<PressureChange> CriticalPSets,
361 ArrayRef<unsigned> MaxPressureLimit) const;
369 ArrayRef<PressureChange> CriticalPSets,
370 ArrayRef<unsigned> MaxPressureLimit);
377 ArrayRef<PressureChange> CriticalPSets,
[all …]
HDMachineTraceMetrics.h115 ArrayRef<unsigned> getProcResourceCycles(unsigned MBBNum) const;
267 ArrayRef<const MachineBasicBlock *> Extrablocks = None,
268 ArrayRef<const MCSchedClassDesc *> ExtraInstrs = None,
269 ArrayRef<const MCSchedClassDesc *> RemoveInstrs = None) const;
315 ArrayRef<const MachineBasicBlock*> Trace);
325 ArrayRef<unsigned> getProcResourceDepths(unsigned MBBNum) const;
326 ArrayRef<unsigned> getProcResourceHeights(unsigned MBBNum) const;
/NextBSD/contrib/llvm/include/llvm/IR/
HDConstants.h365 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
368 static Constant *get(ArrayType *T, ArrayRef<Constant*> V);
371 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V);
409 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
412 static Constant *get(StructType *T, ArrayRef<Constant*> V);
418 static Constant *getAnon(ArrayRef<Constant*> V, bool Packed = false) {
422 ArrayRef<Constant*> V, bool Packed = false) {
428 static StructType *getTypeForElements(ArrayRef<Constant*> V,
432 ArrayRef<Constant*> V,
470 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
[all …]
HDDerivedTypes.h30 template<typename T> class ArrayRef; variable
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 ArrayRef<Type*> Params, bool isVarArg);
126 ArrayRef<Type *> params() const { in params()
216 static StructType *create(ArrayRef<Type*> Elements,
219 static StructType *create(ArrayRef<Type*> Elements);
221 ArrayRef<Type*> Elements,
224 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
229 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
269 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGOpenMPRuntime.h440 ArrayRef<const Expr *> CopyprivateVars,
441 ArrayRef<const Expr *> DestExprs,
442 ArrayRef<const Expr *> SrcExprs,
443 ArrayRef<const Expr *> AssignmentOps);
585 virtual void emitFlush(CodeGenFunction &CGF, ArrayRef<const Expr *> Vars,
636 const Expr *IfCond, ArrayRef<const Expr *> PrivateVars,
637 ArrayRef<const Expr *> PrivateCopies,
638 ArrayRef<const Expr *> FirstprivateVars,
639 ArrayRef<const Expr *> FirstprivateCopies,
640 ArrayRef<const Expr *> FirstprivateInits,
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDDiagnosticRenderer.h78 ArrayRef<CharSourceRange> Ranges,
84 ArrayRef<CharSourceRange> Ranges,
90 ArrayRef<FixItHint> Hints,
118 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints,
122 ArrayRef<CharSourceRange> Ranges,
123 ArrayRef<FixItHint> Hints,
143 StringRef Message, ArrayRef<CharSourceRange> Ranges,
144 ArrayRef<FixItHint> FixItHints,
HDTextDiagnostic.h81 ArrayRef<CharSourceRange> Ranges,
87 ArrayRef<CharSourceRange> Ranges,
93 ArrayRef<FixItHint> Hints, in emitCodeContext()
112 ArrayRef<FixItHint> Hints,
117 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
/NextBSD/contrib/llvm/lib/IR/
HDConstantFold.h43 ArrayRef<unsigned> Idxs);
45 ArrayRef<unsigned> Idxs);
51 ArrayRef<Constant *> Idxs);
53 ArrayRef<Value *> Idxs);
55 ArrayRef<Constant *> Idxs);
57 ArrayRef<Value *> Idxs);
HDIRBuilder.cpp59 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, in createCallHelper()
70 ArrayRef<Value *> Ops, in createInvokeHelper()
241 ArrayRef<Value *> Ops, in CreateMaskedIntrinsic()
252 Value *ActualCallee, ArrayRef<Value *> CallArgs, in getStatepointArgs()
253 ArrayRef<Value *> DeoptArgs, ArrayRef<Value *> GCArgs) { in getStatepointArgs()
271 ArrayRef<Value *> CallArgs, ArrayRef<Value *> DeoptArgs, in CreateGCStatepointCall()
272 ArrayRef<Value *> GCArgs, const Twine &Name) { in CreateGCStatepointCall()
292 ArrayRef<Use> CallArgs, ArrayRef<Value *> DeoptArgs, in CreateGCStatepointCall()
293 ArrayRef<Value *> GCArgs, const Twine &Name) { in CreateGCStatepointCall()
304 ArrayRef<Value *> InvokeArgs, ArrayRef<Value *> DeoptArgs, in CreateGCStatepointInvoke()
[all …]
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDConstantFolding.h32 class ArrayRef; variable
56 ArrayRef<Constant *> Ops,
73 ArrayRef<unsigned> Idxs);
79 ArrayRef<unsigned> Idxs);
101 ArrayRef<Constant*> Indices);
109 Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
HDTargetTransformInfo.h139 unsigned getGEPCost(const Value *Ptr, ArrayRef<const Value *> Operands) const;
162 ArrayRef<const Value *> Arguments) const;
168 ArrayRef<Type *> ParamTys) const;
174 ArrayRef<const Value *> Arguments) const;
461 ArrayRef<unsigned> Indices,
483 ArrayRef<Type *> Tys) const;
487 ArrayRef<Type *> Tys) const;
507 unsigned getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) const;
547 ArrayRef<const Value *> Operands) = 0;
551 ArrayRef<const Value *> Arguments) = 0;
[all …]
/NextBSD/contrib/llvm/lib/MC/
HDSubtargetFeature.cpp74 ArrayRef<SubtargetFeatureKV> A) { in Find()
85 static size_t getLongestEntryLength(ArrayRef<SubtargetFeatureKV> Table) { in getLongestEntryLength()
94 static void Help(ArrayRef<SubtargetFeatureKV> CPUTable, in Help()
95 ArrayRef<SubtargetFeatureKV> FeatTable) { in Help()
135 ArrayRef<SubtargetFeatureKV> FeatureTable) { in SetImpliedBits()
152 ArrayRef<SubtargetFeatureKV> FeatureTable) { in ClearImpliedBits()
167 ArrayRef<SubtargetFeatureKV> FeatureTable) { in ToggleFeature()
195 ArrayRef<SubtargetFeatureKV> FeatureTable) { in ApplyFeatureFlag()
230 ArrayRef<SubtargetFeatureKV> CPUTable, in getFeatureBits()
231 ArrayRef<SubtargetFeatureKV> FeatureTable) { in getFeatureBits()
/NextBSD/contrib/llvm/include/llvm/Object/
HDMachO.h59 ExportEntry(ArrayRef<uint8_t> Trie);
95 ArrayRef<uint8_t> Trie;
110 MachORebaseEntry(ArrayRef<uint8_t> opcodes, bool is64Bit);
126 ArrayRef<uint8_t> Opcodes;
148 MachOBindEntry(ArrayRef<uint8_t> Opcodes, bool is64Bit, MachOBindEntry::Kind);
169 ArrayRef<uint8_t> Opcodes;
279 static iterator_range<export_iterator> exports(ArrayRef<uint8_t> Trie);
285 static iterator_range<rebase_iterator> rebaseTable(ArrayRef<uint8_t> Opcodes,
298 static iterator_range<bind_iterator> bindTable(ArrayRef<uint8_t> Opcodes,
310 ArrayRef<char> getSectionRawName(DataRefImpl Sec) const;
[all …]
/NextBSD/contrib/llvm/include/llvm/Support/
HDSourceMgr.h163 ArrayRef<SMRange> Ranges = None,
164 ArrayRef<SMFixIt> FixIts = None,
169 ArrayRef<SMRange> Ranges = None,
170 ArrayRef<SMFixIt> FixIts = None,
186 ArrayRef<SMRange> Ranges = None,
187 ArrayRef<SMFixIt> FixIts = None) const;
256 ArrayRef<std::pair<unsigned,unsigned> > Ranges,
257 ArrayRef<SMFixIt> FixIts = None);
267 ArrayRef<std::pair<unsigned, unsigned> > getRanges() const { in getRanges()
275 ArrayRef<SMFixIt> getFixIts() const { in getFixIts()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
HDParser.h86 ArrayRef<ParserValue> Args,
107 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
119 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes);
134 ArrayRef<ParserValue> Args,
138 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) override;
141 getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) override;
241 getNamedValueCompletions(ArrayRef<ArgKind> AcceptedTypes);
/NextBSD/contrib/llvm/lib/TableGen/
HDSetTheory.cpp31 ArrayRef<SMLoc> Loc) override { in apply()
39 ArrayRef<SMLoc> Loc) override { in apply()
55 ArrayRef<SMLoc> Loc) override { in apply()
71 RecSet &Elts, ArrayRef<SMLoc> Loc) = 0;
74 ArrayRef<SMLoc> Loc) override { in apply()
91 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
103 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
120 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
138 RecSet &Elts, ArrayRef<SMLoc> Loc) override { in apply2()
150 ArrayRef<SMLoc> Loc) override { in apply()
[all …]

12345678910>>...27