Home
last modified time | relevance | path

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

12345678910>>...23

/minix3/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DArrayRefTest.cpp19 std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value,
22 std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value,
24 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value,
27 !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value,
30 !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value,
38 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST()
40 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST()
41 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc); in TEST()
42 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc);; in TEST()
51 ArrayRef<int> AR1(TheNumbers); in TEST()
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DArrayRef.h32 class ArrayRef {
65 /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} in ArrayRef() function
68 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() function
71 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function
75 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function
79 ArrayRef(const T *begin, const T *end) in ArrayRef() function
86 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function
92 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function
97 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N]) in ArrayRef() function
102 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() function
[all …]
H A Dedit_distance.h43 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
55 typename ArrayRef<T>::size_type m = FromArray.size();
56 typename ArrayRef<T>::size_type n = ToArray.size();
71 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
75 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ProfileData/
H A DCoverageMappingWriter.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()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DSelectorLocationsKind.h47 ArrayRef<SourceLocation> SelLocs,
48 ArrayRef<Expr *> Args,
60 ArrayRef<Expr *> Args,
65 ArrayRef<SourceLocation> SelLocs,
66 ArrayRef<ParmVarDecl *> Args,
78 ArrayRef<ParmVarDecl *> Args,
H A DCommentSema.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);
H A DDeclOpenMP.h45 ArrayRef<const Expr *> getVars() const { in getVars()
56 void setVars(ArrayRef<Expr *> VL);
61 ArrayRef<Expr *> VL);
66 typedef ArrayRef<const Expr *>::iterator varlist_const_iterator;
/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DSelectorLocationsKind.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()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DRegisterPressure.h305 void addLiveRegs(ArrayRef<unsigned> Regs);
335 void initLiveThru(ArrayRef<unsigned> PressureSet) {
339 ArrayRef<unsigned> getLiveThru() const { return LiveThruPressure; }
367 ArrayRef<PressureChange> CriticalPSets,
368 ArrayRef<unsigned> MaxPressureLimit);
373 ArrayRef<PressureChange> CriticalPSets,
374 ArrayRef<unsigned> MaxPressureLimit) const;
382 ArrayRef<PressureChange> CriticalPSets,
383 ArrayRef<unsigned> MaxPressureLimit);
390 ArrayRef<PressureChange> CriticalPSets,
[all …]
H A DMachineTraceMetrics.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;
/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DDiagnosticRenderer.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,
H A DTextDiagnostic.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);
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DConstantFolding.h32 class ArrayRef; variable
57 ArrayRef<Constant *> Ops,
74 ArrayRef<unsigned> Idxs);
92 ArrayRef<Constant*> Indices);
100 Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h346 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
349 static Constant *get(ArrayType *T, ArrayRef<Constant*> V);
352 static Constant *getImpl(ArrayType *T, ArrayRef<Constant *> V);
388 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
391 static Constant *get(StructType *T, ArrayRef<Constant*> V);
397 static Constant *getAnon(ArrayRef<Constant*> V, bool Packed = false) {
401 ArrayRef<Constant*> V, bool Packed = false) {
407 static StructType *getTypeForElements(ArrayRef<Constant*> V,
411 ArrayRef<Constant*> V,
447 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
[all …]
H A DDerivedTypes.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()
215 static StructType *create(ArrayRef<Type*> Elements,
218 static StructType *create(ArrayRef<Type*> Elements);
220 ArrayRef<Type*> Elements,
223 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
228 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
268 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.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()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DConstantFold.h43 ArrayRef<unsigned> Idxs);
45 ArrayRef<unsigned> Idxs);
51 ArrayRef<Constant *> Idxs);
53 ArrayRef<Value *> Idxs);
/minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.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);
H A DRegistry.h79 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context);
91 getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes);
110 ArrayRef<ParserValue> Args,
122 ArrayRef<ParserValue> Args,
/minix3/external/bsd/llvm/dist/llvm/lib/MC/
H A DSubtargetFeature.cpp93 ArrayRef<SubtargetFeatureKV> A) { in Find()
104 static size_t getLongestEntryLength(ArrayRef<SubtargetFeatureKV> Table) { in getLongestEntryLength()
113 static void Help(ArrayRef<SubtargetFeatureKV> CPUTable, in Help()
114 ArrayRef<SubtargetFeatureKV> FeatTable) { in Help()
154 ArrayRef<SubtargetFeatureKV> FeatureTable) { in SetImpliedBits()
170 ArrayRef<SubtargetFeatureKV> FeatureTable) { in ClearImpliedBits()
185 ArrayRef<SubtargetFeatureKV> FeatureTable) { in ToggleFeature()
217 ArrayRef<SubtargetFeatureKV> CPUTable, in getFeatureBits()
218 ArrayRef<SubtargetFeatureKV> FeatureTable) { in getFeatureBits()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DSpillPlacement.h110 void addConstraints(ArrayRef<BlockConstraint> LiveBlocks);
118 void addPrefSpill(ArrayRef<unsigned> Blocks, bool Strong);
121 void addLinks(ArrayRef<unsigned> Links);
136 ArrayRef<unsigned> getRecentPositive() { return RecentPositive; } in getRecentPositive()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Object/
H A DMachO.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;
280 static iterator_range<export_iterator> exports(ArrayRef<uint8_t> Trie);
286 static iterator_range<rebase_iterator> rebaseTable(ArrayRef<uint8_t> Opcodes,
299 static iterator_range<bind_iterator> bindTable(ArrayRef<uint8_t> Opcodes,
311 ArrayRef<char> getSectionRawName(DataRefImpl Sec) const;
[all …]
/minix3/external/bsd/llvm/dist/llvm/include/llvm/TableGen/
H A DError.h22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg);
26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg);
31 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
/minix3/external/bsd/llvm/dist/llvm/lib/TableGen/
H A DError.cpp25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
41 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning()
53 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError()
70 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintFatalError()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/
H A DCheckerRegistration.cpp42 ClangCheckerRegistry(ArrayRef<std::string> plugins,
48 ClangCheckerRegistry::ClangCheckerRegistry(ArrayRef<std::string> plugins, in ClangCheckerRegistry()
52 for (ArrayRef<std::string>::iterator i = plugins.begin(), e = plugins.end(); in ClangCheckerRegistry()
104 ArrayRef<std::string> plugins, in createCheckerManager()
131 void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins) { in printCheckerHelp()

12345678910>>...23