Home
last modified time | relevance | path

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

12345678910>>...15

/external/llvm/include/llvm/ADT/
DArrayRef.h30 class ArrayRef {
50 /*implicit*/ ArrayRef() : Data(0), Length(0) {} in ArrayRef() function
53 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function
57 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function
61 ArrayRef(const T *begin, const T *end) in ArrayRef() function
68 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function
74 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function
79 /*implicit*/ ArrayRef(const T (&Arr)[N]) in ArrayRef() function
113 bool equals(ArrayRef RHS) const { in equals()
123 ArrayRef<T> slice(unsigned N) const { in slice()
[all …]
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) {
/external/llvm/include/llvm/Support/
DSourceMgr.h148 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>(),
149 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>(),
159 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>(),
160 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>()) const;
229 ArrayRef<std::pair<unsigned,unsigned> > Ranges,
230 ArrayRef<SMFixIt> FixIts = ArrayRef<SMFixIt>());
240 ArrayRef<std::pair<unsigned, unsigned> > getRanges() const { in getRanges()
248 ArrayRef<SMFixIt> getFixIts() const { in getFixIts()
/external/clang/include/clang/AST/
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,
DCommentSema.h84 ArrayRef<T> copyArray(ArrayRef<T> Source) { in copyArray()
95 ArrayRef<InlineContentComment *> Content);
103 ArrayRef<BlockCommandComment::Argument> Args);
171 ArrayRef<VerbatimBlockLineComment *> Lines);
182 ArrayRef<HTMLStartTagComment::Attribute> Attrs,
190 FullComment *actOnFullComment(ArrayRef<BlockContentComment *> Blocks);
224 ArrayRef<const ParmVarDecl *> getParamVars();
232 ArrayRef<const ParmVarDecl *> ParamVars);
237 ArrayRef<const ParmVarDecl *> ParamVars);
/external/clang/lib/AST/
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()
/external/clang/include/clang/Frontend/
DDiagnosticRenderer.h78 ArrayRef<CharSourceRange> Ranges,
84 ArrayRef<CharSourceRange> Ranges,
92 ArrayRef<FixItHint> Hints,
119 ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints,
123 ArrayRef<CharSourceRange> Ranges,
124 ArrayRef<FixItHint> Hints,
144 StringRef Message, ArrayRef<CharSourceRange> Ranges,
145 ArrayRef<FixItHint> FixItHints,
DTextDiagnostic.h82 ArrayRef<CharSourceRange> Ranges,
88 ArrayRef<CharSourceRange> Ranges,
94 ArrayRef<FixItHint> Hints, in emitCodeContext()
115 ArrayRef<FixItHint> Hints,
120 void emitParseableFixits(ArrayRef<FixItHint> Hints, const SourceManager &SM);
/external/llvm/include/llvm/IR/
DIntrinsics.h48 std::string getName(ID id, ArrayRef<Type*> Tys = ArrayRef<Type*>());
53 ArrayRef<Type*> Tys = ArrayRef<Type*>());
72 ArrayRef<Type*> Tys = ArrayRef<Type*>());
DConstants.h345 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
348 static Constant *get(ArrayType *T, ArrayRef<Constant*> V);
383 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
386 static Constant *get(StructType *T, ArrayRef<Constant*> V);
392 static Constant *getAnon(ArrayRef<Constant*> V, bool Packed = false) {
396 ArrayRef<Constant*> V, bool Packed = false) {
402 static StructType *getTypeForElements(ArrayRef<Constant*> V,
406 ArrayRef<Constant*> V,
442 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
445 static Constant *get(ArrayRef<Constant*> V);
[all …]
DMetadata.h114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
116 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
120 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
124 ArrayRef<Value*> Vals,
127 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
132 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
DDerivedTypes.h30 template<typename T> class ArrayRef; variable
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 ArrayRef<Type*> Params, bool isVarArg);
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);
/external/llvm/include/llvm/CodeGen/
DRegisterPressure.h211 void addLiveRegs(ArrayRef<unsigned> Regs);
260 ArrayRef<PressureElement> CriticalPSets,
261 ArrayRef<unsigned> MaxPressureLimit);
269 ArrayRef<PressureElement> CriticalPSets,
270 ArrayRef<unsigned> MaxPressureLimit);
276 ArrayRef<PressureElement> CriticalPSets, in getMaxPressureDelta()
277 ArrayRef<unsigned> MaxPressureLimit) { in getMaxPressureDelta()
312 void increaseRegPressure(ArrayRef<unsigned> Regs);
313 void decreaseRegPressure(ArrayRef<unsigned> Regs);
/external/llvm/include/llvm/Analysis/
DConstantFolding.h32 class ArrayRef; variable
56 ArrayRef<Constant *> Ops,
73 ArrayRef<unsigned> Idxs);
90 ArrayRef<Constant*> Indices);
98 Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
DTargetTransformInfo.h120 ArrayRef<const Value *> Operands) const;
143 ArrayRef<const Value *> Arguments) const;
149 ArrayRef<Type *> ParamTys) const;
155 ArrayRef<const Value *> Arguments) const;
313 ArrayRef<Type *> Tys) const;
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h109 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>()) = 0;
116 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>()) = 0;
127 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>());
/external/llvm/lib/IR/
DConstantFold.h43 ArrayRef<unsigned> Idxs);
45 ArrayRef<unsigned> Idxs);
51 ArrayRef<Constant *> Idxs);
53 ArrayRef<Value *> Idxs);
/external/llvm/lib/CodeGen/
DSpillPlacement.h103 void addConstraints(ArrayRef<BlockConstraint> LiveBlocks);
111 void addPrefSpill(ArrayRef<unsigned> Blocks, bool Strong);
114 void addLinks(ArrayRef<unsigned> Links);
129 ArrayRef<unsigned> getRecentPositive() { return RecentPositive; } in getRecentPositive()
/external/llvm/utils/TableGen/
DSetTheory.cpp30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply()
37 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply()
52 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply()
69 RecSet &Elts, ArrayRef<SMLoc> Loc) =0;
71 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply()
89 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2()
102 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2()
120 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2()
139 RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply2()
150 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts, ArrayRef<SMLoc> Loc) { in apply()
[all …]
/external/clang/lib/StaticAnalyzer/Frontend/
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()
105 ArrayRef<std::string> plugins, in createCheckerManager()
128 void ento::printCheckerHelp(raw_ostream &out, ArrayRef<std::string> plugins) { in printCheckerHelp()
/external/llvm/lib/TableGen/
DError.cpp24 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, in PrintMessage()
35 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { in PrintWarning()
47 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { in PrintError()
64 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const std::string &Msg) { in PrintFatalError()
/external/llvm/include/llvm/TableGen/
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,
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp92 static void mergeFixits(ArrayRef<FixItHint> FixItHints, in mergeFixits()
96 for (ArrayRef<FixItHint>::const_iterator in mergeFixits()
126 ArrayRef<CharSourceRange> Ranges, in emitDiagnostic()
127 ArrayRef<FixItHint> FixItHints, in emitDiagnostic()
148 for (ArrayRef<FixItHint>::const_iterator I = FixItHints.begin(), in emitDiagnostic()
319 ArrayRef<CharSourceRange> Ranges, in mapDiagnosticRanges()
324 for (ArrayRef<CharSourceRange>::const_iterator I = Ranges.begin(), in mapDiagnosticRanges()
383 ArrayRef<CharSourceRange> Ranges, in emitCaret()
384 ArrayRef<FixItHint> Hints, in emitCaret()
405 ArrayRef<CharSourceRange> Ranges, in emitMacroExpansions()
[all …]
/external/llvm/unittests/ADT/
DVariadicFunctionTest.cpp19 std::string StringCatImpl(ArrayRef<const std::string *> Args) { in StringCatImpl()
42 long SumImpl(ArrayRef<const int *> Args) { in SumImpl()
59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) { in StringAppendImpl()
89 ArrayRef<const int *> Args) { in CountInRangeImpl()
/external/llvm/tools/llvm-objdump/
DCOFFDump.cpp95 static void printUnwindCode(ArrayRef<UnwindCode> UCs) { in printUnwindCode()
143 static void printAllUnwindCodes(ArrayRef<UnwindCode> UCs) { in printAllUnwindCodes()
154 printUnwindCode(ArrayRef<UnwindCode>(I, E)); in printAllUnwindCodes()
195 ArrayRef<uint8_t> &Contents, in getSectionContents()
265 ArrayRef<uint8_t> Contents; in printCOFFUnwindInfo()
269 ArrayRef<RuntimeFunction> RFs( in printCOFFUnwindInfo()
296 ArrayRef<uint8_t> XContents; in printCOFFUnwindInfo()
348 printAllUnwindCodes(ArrayRef<UnwindCode>(&UI->UnwindCodes[0], in printCOFFUnwindInfo()

12345678910>>...15