Home
last modified time | relevance | path

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

1234567891011

/external/llvm/include/llvm/ADT/
DArrayRef.h30 class ArrayRef {
48 /*implicit*/ ArrayRef() : Data(0), Length(0) {} in ArrayRef() function
51 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function
55 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function
59 ArrayRef(const T *begin, const T *end) in ArrayRef() function
63 /*implicit*/ ArrayRef(const SmallVectorImpl<T> &Vec) in ArrayRef() function
67 /*implicit*/ ArrayRef(const std::vector<T> &Vec) in ArrayRef() function
72 /*implicit*/ ArrayRef(const T (&Arr)[N]) in ArrayRef() function
103 bool equals(ArrayRef RHS) const { in equals()
113 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) {
DVariadicFunction.h105 ResultT (*Func)(ArrayRef<const ArgT *>)>
108 return Func(ArrayRef<const ArgT *>()); in operator()
152 ResultT (*Func)(Param0T, ArrayRef<const ArgT *>)>
155 return Func(P0, ArrayRef<const ArgT *>()); in operator()
199 ResultT (*Func)(Param0T, Param1T, ArrayRef<const ArgT *>)>
202 return Func(P0, P1, ArrayRef<const ArgT *>()); in operator()
248 ResultT (*Func)(Param0T, Param1T, Param2T, ArrayRef<const ArgT *>)>
251 return Func(P0, P1, P2, ArrayRef<const ArgT *>()); in operator()
/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,
/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/llvm/include/llvm/
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.h351 ConstantArray(ArrayType *T, ArrayRef<Constant *> Val);
354 static Constant *get(ArrayType *T, ArrayRef<Constant*> V);
390 ConstantStruct(StructType *T, ArrayRef<Constant *> Val);
393 static Constant *get(StructType *T, ArrayRef<Constant*> V);
399 static Constant *getAnon(ArrayRef<Constant*> V, bool Packed = false) {
403 ArrayRef<Constant*> V, bool Packed = false) {
409 static StructType *getTypeForElements(ArrayRef<Constant*> V,
413 ArrayRef<Constant*> V,
450 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
453 static Constant *get(ArrayRef<Constant*> V);
[all …]
DMetadata.h115 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
117 static MDNode *getMDNode(LLVMContext &C, ArrayRef<Value*> Vals,
121 static MDNode *get(LLVMContext &Context, ArrayRef<Value*> Vals);
125 ArrayRef<Value*> Vals,
128 static MDNode *getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals);
133 static MDNode *getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals);
DDerivedTypes.h29 template<typename T> class ArrayRef; variable
99 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
106 ArrayRef<Type*> Params, bool isVarArg);
217 static StructType *create(ArrayRef<Type*> Elements,
220 static StructType *create(ArrayRef<Type*> Elements);
222 ArrayRef<Type*> Elements,
225 static StructType *create(LLVMContext &Context, ArrayRef<Type*> Elements);
230 static StructType *get(LLVMContext &Context, ArrayRef<Type*> Elements,
270 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
DInstructions.h712 void init(Value *Ptr, ArrayRef<Value *> IdxList, const Twine &NameStr);
718 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
721 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
727 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList,
734 static GetElementPtrInst *Create(Value *Ptr, ArrayRef<Value *> IdxList,
745 ArrayRef<Value *> IdxList,
753 ArrayRef<Value *> IdxList,
775 static Type *getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList);
776 static Type *getIndexedType(Type *Ptr, ArrayRef<Constant *> IdxList);
777 static Type *getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList);
[all …]
/external/clang/include/clang/Frontend/
DTextDiagnostic.h85 ArrayRef<CharSourceRange> Ranges,
90 ArrayRef<CharSourceRange> Ranges);
95 ArrayRef<FixItHint> Hints) { in emitCodeContext()
106 ArrayRef<FixItHint> Hints);
117 ArrayRef<FixItHint> Hints);
118 void emitParseableFixits(ArrayRef<FixItHint> Hints);
DDiagnosticRenderer.h78 ArrayRef<CharSourceRange> Ranges,
83 ArrayRef<CharSourceRange> Ranges) = 0;
90 ArrayRef<FixItHint> Hints) = 0;
106 ArrayRef<FixItHint> Hints,
123 StringRef Message, ArrayRef<CharSourceRange> Ranges,
124 ArrayRef<FixItHint> FixItHints,
/external/llvm/include/llvm/MC/MCParser/
DMCAsmParser.h81 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>()) = 0;
89 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>()) = 0;
100 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>());
/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,
/external/llvm/lib/VMCore/
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()
DSpillPlacement.cpp215 void SpillPlacement::addConstraints(ArrayRef<BlockConstraint> LiveBlocks) { in addConstraints()
216 for (ArrayRef<BlockConstraint>::iterator I = LiveBlocks.begin(), in addConstraints()
244 void SpillPlacement::addPrefSpill(ArrayRef<unsigned> Blocks, bool Strong) { in addPrefSpill()
245 for (ArrayRef<unsigned>::iterator I = Blocks.begin(), E = Blocks.end(); in addPrefSpill()
259 void SpillPlacement::addLinks(ArrayRef<unsigned> Links) { in addLinks()
260 for (ArrayRef<unsigned>::iterator I = Links.begin(), E = Links.end(); I != E; in addLinks()
/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/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/include/llvm/Support/
DSourceMgr.h134 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>(),
144 ArrayRef<SMRange> Ranges = ArrayRef<SMRange>()) const;
181 ArrayRef<std::pair<unsigned,unsigned> > Ranges);
DConstantFolder.h122 ArrayRef<Constant *> IdxList) const { in CreateGetElementPtr()
132 ArrayRef<Value *> IdxList) const { in CreateGetElementPtr()
137 ArrayRef<Constant *> IdxList) const { in CreateInBoundsGetElementPtr()
147 ArrayRef<Value *> IdxList) const { in CreateInBoundsGetElementPtr()
226 ArrayRef<unsigned> IdxList) const { in CreateExtractValue()
231 ArrayRef<unsigned> IdxList) const { in CreateInsertValue()
/external/clang/lib/ARCMigrate/
DInternals.h29 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
30 bool hasDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) const;
42 ArrayRef<StoredDiagnostic> diags,
72 bool clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range);
74 return clearDiagnostic(ArrayRef<unsigned>(), range); in clearAllDiagnostics()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp151 static void mergeFixits(ArrayRef<FixItHint> FixItHints, in mergeFixits()
155 for (ArrayRef<FixItHint>::const_iterator in mergeFixits()
185 ArrayRef<CharSourceRange> Ranges, in emitDiagnostic()
186 ArrayRef<FixItHint> FixItHints, in emitDiagnostic()
212 for (ArrayRef<FixItHint>::const_iterator I = FixItHints.begin(), in emitDiagnostic()
294 ArrayRef<FixItHint> Hints, in emitMacroExpansionsAndCarets()
368 Ranges, ArrayRef<FixItHint>()); in emitMacroExpansionsAndCarets()
/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersChecker.cpp42 SVal ArrayRef = C.getState()->getSVal(E, C.getLocationContext()); in getArraySym() local
43 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in getArraySym()
79 SVal ArrayRef = State->getSVal(Array, C.getLocationContext()); in addSizeInfo() local
80 SymbolRef ArraySym = ArrayRef.getAsSymbol(); in addSizeInfo()
/external/llvm/utils/TableGen/
DCodeGenRegisters.h264 ArrayRef<CodeGenRegisterClass*> getSuperClasses() const { in getSuperClasses()
271 ArrayRef<Record*> getOrder(unsigned No = 0) const {
398 ArrayRef<CodeGenSubRegIndex*> getSubRegIndices() { return SubRegIndices; } in getSubRegIndices()
436 ArrayRef<CodeGenRegisterClass*> getRegClasses() const { in getRegClasses()
481 ArrayRef<unsigned> getRCPressureSetIDs(unsigned RCIdx) const { in getRCPressureSetIDs()
504 BitVector computeCoveredRegisters(ArrayRef<Record*> Regs);

1234567891011