Home
last modified time | relevance | path

Searched refs:makeArrayRef (Results 1 – 25 of 181) sorted by relevance

12345678

/external/llvm/unittests/Support/
DMD5Test.cpp44 TestMD5Sum(makeArrayRef((const uint8_t *)"", (size_t) 0), in TEST()
46 TestMD5Sum(makeArrayRef((const uint8_t *)"a", (size_t) 1), in TEST()
48 TestMD5Sum(makeArrayRef((const uint8_t *)"abcdefghijklmnopqrstuvwxyz", in TEST()
51 TestMD5Sum(makeArrayRef((const uint8_t *)"\0", (size_t) 1), in TEST()
53 TestMD5Sum(makeArrayRef((const uint8_t *)"a\0", (size_t) 2), in TEST()
55 TestMD5Sum(makeArrayRef((const uint8_t *)"abcdefghijklmnopqrstuvwxyz\0", in TEST()
DSourceMgrTest.cpp155 makeArrayRef(SMFixIt(getRange(4, 3), "zzz"))); in TEST_F()
167 makeArrayRef(SMFixIt(getRange(3, 1), "zzz"))); in TEST_F()
/external/llvm/unittests/ADT/
DArrayRefTest.cpp39 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST()
41 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST()
58 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc); in TEST()
59 EXPECT_EQ(makeArrayRef(Array3Src), Array3Copy); in TEST()
60 EXPECT_NE(makeArrayRef(Array3Src).data(), Array3Copy.data()); in TEST()
128 TEST(ArrayRefTest, makeArrayRef) { in TEST() argument
133 ArrayRef<int> &AR1Ref = makeArrayRef(AR1); in TEST()
138 const ArrayRef<int> &AR2Ref = makeArrayRef(AR2); in TEST()
DSmallVectorTest.cpp911 EXPECT_TRUE(makeArrayRef(V1).equals({0, 0})); in TEST()
913 EXPECT_TRUE(makeArrayRef(V1).equals({-1, -1})); in TEST()
916 EXPECT_TRUE(makeArrayRef(V2).equals({1, 2, 3, 4})); in TEST()
918 EXPECT_TRUE(makeArrayRef(V2).equals({4})); in TEST()
920 EXPECT_TRUE(makeArrayRef(V2).equals({4, 3, 2})); in TEST()
922 EXPECT_TRUE(makeArrayRef(V2).equals({4, 5, 3, 2})); in TEST()
/external/llvm/include/llvm/ADT/
DArrayRef.h307 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
313 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
319 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
325 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
331 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
337 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
342 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
347 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
353 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
DVariadicFunction.h114 return Func(makeArrayRef(Args)); \
161 return Func(P0, makeArrayRef(Args)); \
209 return Func(P0, P1, makeArrayRef(Args)); \
258 return Func(P0, P1, P2, makeArrayRef(Args)); \
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIInfo.cpp28 return makeArrayRef(O32IntRegs); in GetByValArgRegs()
30 return makeArrayRef(Mips64IntRegs); in GetByValArgRegs()
36 return makeArrayRef(O32IntRegs); in GetVarArgRegs()
38 return makeArrayRef(Mips64IntRegs); in GetVarArgRegs()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp397 W.printEnum("Magic", Header.magic, makeArrayRef(MachOMagics)); in printFileHeaders()
398 W.printEnum("CpuType", Header.cputype, makeArrayRef(MachOHeaderCpuTypes)); in printFileHeaders()
402 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesX86)); in printFileHeaders()
405 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesX64)); in printFileHeaders()
408 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesARM)); in printFileHeaders()
411 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesPPC)); in printFileHeaders()
414 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesSPARC)); in printFileHeaders()
417 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesARM64)); in printFileHeaders()
423 W.printEnum("FileType", Header.filetype, makeArrayRef(MachOHeaderFileTypes)); in printFileHeaders()
426 W.printFlags("Flags", Header.flags, makeArrayRef(MachOHeaderFlags)); in printFileHeaders()
[all …]
DStreamWriter.h241 auto V = makeArrayRef(reinterpret_cast<const uint8_t*>(Value.data()), in printBinary()
251 auto V = makeArrayRef(reinterpret_cast<const uint8_t*>(Value.data()), in printBinary()
257 auto V = makeArrayRef(reinterpret_cast<const uint8_t*>(Value.data()), in printBinary()
263 auto V = makeArrayRef(reinterpret_cast<const uint8_t*>(Value.data()), in printBinaryBlock()
DELFDumper.cpp1042 W.printBinary("Magic", makeArrayRef(Header->e_ident).slice(ELF::EI_MAG0, in printFileHeaders()
1045 makeArrayRef(ElfClass)); in printFileHeaders()
1047 makeArrayRef(ElfDataEncoding)); in printFileHeaders()
1056 makeArrayRef(ElfOSABI)); in printFileHeaders()
1058 W.printBinary("Unused", makeArrayRef(Header->e_ident).slice(ELF::EI_PAD)); in printFileHeaders()
1061 W.printEnum ("Type", Header->e_type, makeArrayRef(ElfObjectFileType)); in printFileHeaders()
1062 W.printEnum ("Machine", Header->e_machine, makeArrayRef(ElfMachineType)); in printFileHeaders()
1068 W.printFlags("Flags", Header->e_flags, makeArrayRef(ElfHeaderMipsFlags), in printFileHeaders()
1098 W.printFlags("Flags", Sec.sh_flags, makeArrayRef(ElfSectionFlags)); in printSections()
1284 makeArrayRef(ElfSymbolBindings)); in printSymbol()
[all …]
DCOFFDumper.cpp377 makeArrayRef(ImageFileMachineType)); in printFileHeaders()
384 makeArrayRef(ImageFileCharacteristics)); in printFileHeaders()
448 W.printEnum ("Subsystem", Hdr->Subsystem, makeArrayRef(PEWindowsSubsystem)); in printPEHeader()
450 makeArrayRef(PEDLLCharacteristics)); in printPEHeader()
770 makeArrayRef(ImageSectionCharacteristics), in printSections()
905 W.printEnum ("BaseType", Symbol.getBaseType(), makeArrayRef(ImageSymType)); in printSymbol()
907 makeArrayRef(ImageSymDType)); in printSymbol()
909 makeArrayRef(ImageSymClass)); in printSymbol()
938 makeArrayRef(WeakExternalCharacteristics)); in printSymbol()
962 W.printEnum("Selection", Aux->Selection, makeArrayRef(ImageCOMDATSelect)); in printSymbol()
[all …]
DWin64EHDumper.cpp235 SW.printFlags("Flags", UI.getFlags(), makeArrayRef(UnwindFlags)); in printUnwindInfo()
239 makeArrayRef(UnwindOpInfo)); in printUnwindInfo()
257 printUnwindCode(UI, makeArrayRef(UCI, UCE)); in printUnwindInfo()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h414 auto Count = static_cast<uint32_t>(makeArrayRef(Vals).size());
423 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
431 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None); in EmitRecordWithAbbrev()
442 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None); in EmitRecordWithBlob()
447 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithBlob()
456 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Array, None); in EmitRecordWithArray()
461 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithArray()
/external/clang/lib/AST/
DCommentParser.cpp249 P.putBack(llvm::makeArrayRef(Toks.begin() + Pos.CurToken, Toks.end())); in putBackLeftoverTokens()
308 S.actOnBlockCommandArgs(BC, llvm::makeArrayRef(Args, ParsedArgs)); in parseBlockCommandArgs()
477 S.copyArray(llvm::makeArrayRef(Attrs)), in parseHTMLStartTag()
485 S.copyArray(llvm::makeArrayRef(Attrs)), in parseHTMLStartTag()
504 S.copyArray(llvm::makeArrayRef(Attrs)), in parseHTMLStartTag()
512 S.copyArray(llvm::makeArrayRef(Attrs)), in parseHTMLStartTag()
652 return S.actOnParagraphComment(S.copyArray(llvm::makeArrayRef(Content))); in parseParagraphOrBlockCommand()
691 S.copyArray(llvm::makeArrayRef(Lines))); in parseVerbatimBlock()
696 S.copyArray(llvm::makeArrayRef(Lines))); in parseVerbatimBlock()
772 return S.actOnFullComment(S.copyArray(llvm::makeArrayRef(Blocks))); in parseFullComment()
DComment.cpp160 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams()); in fill()
180 ParamVars = llvm::makeArrayRef(MD->param_begin(), MD->param_size()); in fill()
192 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams()); in fill()
/external/clang/tools/diagtool/
DDiagnosticNames.cpp24 return llvm::makeArrayRef(BuiltinDiagnosticsByName); in getBuiltinDiagnosticsByName()
96 return llvm::makeArrayRef(OptionTable); in getDiagnosticGroups()
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocStream.h110 return makeArrayRef(Entries) in getEntries()
116 return makeArrayRef(DWARFBytes.begin(), DWARFBytes.end()) in getBytes()
121 return makeArrayRef(Comments) in getComments()
/external/clang/include/clang/AST/
DOpenMPClause.h144 return llvm::makeArrayRef( in getVarRefs()
1124 return llvm::makeArrayRef(varlist_end(), varlist_size()); in getPrivateCopies()
1216 return llvm::makeArrayRef(varlist_end(), varlist_size()); in getPrivateCopies()
1230 return llvm::makeArrayRef(getPrivateCopies().end(), varlist_size()); in getInits()
1349 return llvm::makeArrayRef(varlist_end(), varlist_size()); in getPrivateCopies()
1363 return llvm::makeArrayRef(getPrivateCopies().end(), varlist_size()); in getSourceExprs()
1377 return llvm::makeArrayRef(getSourceExprs().end(), varlist_size()); in getDestinationExprs()
1390 return llvm::makeArrayRef(getDestinationExprs().end(), varlist_size()); in getAssignmentOps()
1601 return llvm::makeArrayRef(varlist_end(), varlist_size()); in getPrivates()
1614 return llvm::makeArrayRef(getPrivates().end(), varlist_size()); in getLHSExprs()
[all …]
/external/llvm/lib/Support/
DMD5.cpp211 body(makeArrayRef(buffer, 64)); in update()
215 Ptr = body(makeArrayRef(Ptr, Size & ~(unsigned long) 0x3f)); in update()
243 body(makeArrayRef(buffer, 64)); in final()
260 body(makeArrayRef(buffer, 64)); in final()
/external/llvm/include/llvm/Support/
DARMWinEH.h353 return makeArrayRef(&Data[Offset], EpilogueCount()); in EpilogueScopes()
361 return makeArrayRef(ByteCode, CodeWords() * sizeof(uint32_t)); in UnwindByteCode()
/external/llvm/include/llvm/IR/
DPredIteratorCache.h66 return makeArrayRef(GetPreds(BB), GetNumPreds(BB)); in get()
/external/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp40 return makeArrayRef(AMDGPU::SReg_128RegClass.begin(), in getAllSGPR128()
45 return makeArrayRef(AMDGPU::SGPR_32RegClass.begin(), in getAllSGPRs()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp282 Builder.CreateInsertValue(NewValue, NewOperands[i], makeArrayRef(i)); in remapConstantVectorOrConstantAggregate()
345 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr()
349 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr()
/external/llvm/unittests/IR/
DWaymarkTest.cpp34 const CallInst *A = CallInst::Create(F.get(), makeArrayRef(values)); in TEST()
/external/clang/lib/Basic/
DTargets.cpp888 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins()
1397 return llvm::makeArrayRef(GCCRegNames); in getGCCRegNames()
1471 return llvm::makeArrayRef(GCCRegAliases); in getGCCRegAliases()
1648 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins()
1707 return llvm::makeArrayRef(GCCRegNames); in getGCCRegNames()
1841 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins()
2009 return llvm::makeArrayRef(GCCRegNames); in getGCCRegNames()
2352 return llvm::makeArrayRef(BuiltinInfo, in getTargetBuiltins()
2356 return llvm::makeArrayRef(GCCRegNames); in getGCCRegNames()
2362 return llvm::makeArrayRef(AddlRegNames); in getGCCAddlRegNames()
[all …]

12345678