Home
last modified time | relevance | path

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

12345678910>>...18

/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp294 return makeArrayRef(SymbolTypeNames); in getSymbolTypeNames()
298 return makeArrayRef(TypeLeafNames); in getTypeLeafNames()
302 return makeArrayRef(RegisterNames); in getRegisterNames()
306 return makeArrayRef(PublicSymFlagNames); in getPublicSymFlagNames()
310 return makeArrayRef(ProcSymFlagNames); in getProcSymFlagNames()
314 return makeArrayRef(LocalFlags); in getLocalFlagNames()
318 return makeArrayRef(FrameCookieKinds); in getFrameCookieKindNames()
322 return makeArrayRef(SourceLanguages); in getSourceLanguageNames()
326 return makeArrayRef(CompileSym2FlagNames); in getCompileSym2FlagNames()
330 return makeArrayRef(CompileSym3FlagNames); in getCompileSym3FlagNames()
[all …]
DTypeDumpVisitor.cpp180 makeArrayRef(LeafTypeNames)); in visitTypeBegin()
198 makeArrayRef(LeafTypeNames)); in visitMemberBegin()
250 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
264 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
277 makeArrayRef(ClassOptionNames)); in visitKnownRecord()
314 makeArrayRef(CallingConventions)); in visitKnownRecord()
316 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
327 makeArrayRef(CallingConventions)); in visitKnownRecord()
329 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
366 makeArrayRef(PtrKindNames)); in visitKnownRecord()
[all …]
/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()
/external/swiftshader/third_party/llvm-7.0/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()
DBinaryStreamTest.cpp50 Buffer = makeArrayRef<uint8_t>(Ptr, Size); in readBytes()
207 EXPECT_EQ(makeArrayRef(InputData).slice(2, 1), Buffer); in TEST_F()
209 EXPECT_EQ(makeArrayRef(InputData).slice(0, 4), Buffer); in TEST_F()
227 EXPECT_EQ(makeArrayRef(InputData).slice(2, 1), Buffer); in TEST_F()
232 EXPECT_EQ(makeArrayRef(InputData).slice(2), Buffer); in TEST_F()
245 EXPECT_EQ(makeArrayRef(InputData).slice(3, 1), Buffer); in TEST_F()
252 EXPECT_EQ(makeArrayRef(InputData).slice(3), Buffer); in TEST_F()
264 EXPECT_EQ(makeArrayRef(InputData).take_back(), Buffer); in TEST_F()
320 auto RefData = makeArrayRef(InputData); in TEST_F()
387 EXPECT_EQ(makeArrayRef(InputData).drop_front(Offset), Data2); in TEST_F()
[all …]
/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()
150 TEST(ArrayRefTest, makeArrayRef) { in TEST() argument
155 ArrayRef<int> &AR1Ref = makeArrayRef(AR1); in TEST()
160 const ArrayRef<int> &AR2Ref = makeArrayRef(AR2); in TEST()
/external/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp324 return makeArrayRef(SymbolTypeNames); in getSymbolTypeNames()
328 return makeArrayRef(RegisterNames); in getRegisterNames()
332 return makeArrayRef(ProcSymFlagNames); in getProcSymFlagNames()
335 return makeArrayRef(LocalFlags); in getLocalFlagNames()
338 return makeArrayRef(FrameCookieKinds); in getFrameCookieKindNames()
341 return makeArrayRef(SourceLanguages); in getSourceLanguageNames()
344 return makeArrayRef(CompileSym2FlagNames); in getCompileSym2FlagNames()
347 return makeArrayRef(CompileSym3FlagNames); in getCompileSym3FlagNames()
350 return makeArrayRef(FileChecksumNames); in getFileChecksumNames()
353 return makeArrayRef(CPUTypeNames); in getCPUTypeNames()
[all …]
DTypeDumper.cpp214 makeArrayRef(LeafTypeNames)); in visitTypeBegin()
263 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitClass()
278 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitUnion()
292 makeArrayRef(ClassOptionNames)); in visitEnum()
333 makeArrayRef(CallingConventions)); in visitProcedure()
335 makeArrayRef(FunctionOptionEnum)); in visitProcedure()
353 makeArrayRef(CallingConventions)); in visitMemberFunction()
355 makeArrayRef(FunctionOptionEnum)); in visitMemberFunction()
404 makeArrayRef(PtrKindNames)); in visitPointer()
405 W->printEnum("PtrMode", unsigned(Ptr.getMode()), makeArrayRef(PtrModeNames)); in visitPointer()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DArrayRef.h156 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
162 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
168 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
174 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
180 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
186 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
192 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DArrayRefTest.cpp60 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST()
62 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST()
79 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc); in TEST()
80 EXPECT_EQ(makeArrayRef(Array3Src), Array3Copy); in TEST()
81 EXPECT_NE(makeArrayRef(Array3Src).data(), Array3Copy.data()); in TEST()
237 TEST(ArrayRefTest, makeArrayRef) { in TEST() argument
242 ArrayRef<int> &AR1Ref = makeArrayRef(AR1); in TEST()
247 const ArrayRef<int> &AR2Ref = makeArrayRef(AR2); in TEST()
/external/llvm/include/llvm/ADT/
DArrayRef.h319 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
325 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
331 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
337 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
343 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
349 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
354 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
359 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
365 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-7.0/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DArrayRef.h451 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
457 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
463 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
469 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
475 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
481 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
486 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
491 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
497 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DArrayRef.h440 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
446 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
452 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
458 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
464 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
470 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
475 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
480 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
486 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitstreamWriter.h404 emitBlob(makeArrayRef((const uint8_t *)Bytes.data(), Bytes.size()),
415 auto Count = static_cast<uint32_t>(makeArrayRef(Vals).size());
424 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
432 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None); in EmitRecordWithAbbrev()
443 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None); in EmitRecordWithBlob()
448 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithBlob()
457 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Array, None); in EmitRecordWithArray()
462 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithArray()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h408 emitBlob(makeArrayRef((const uint8_t *)Bytes.data(), Bytes.size()),
419 auto Count = static_cast<uint32_t>(makeArrayRef(Vals).size());
428 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
436 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None); in EmitRecordWithAbbrev()
447 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None); in EmitRecordWithBlob()
452 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithBlob()
461 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Array, None); in EmitRecordWithArray()
466 return EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), in EmitRecordWithArray()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DMachODumper.cpp399 W.printEnum("Magic", Header.magic, makeArrayRef(MachOMagics)); in printFileHeaders()
400 W.printEnum("CpuType", Header.cputype, makeArrayRef(MachOHeaderCpuTypes)); in printFileHeaders()
404 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesX86)); in printFileHeaders()
407 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesX64)); in printFileHeaders()
410 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesARM)); in printFileHeaders()
413 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesPPC)); in printFileHeaders()
416 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesSPARC)); in printFileHeaders()
419 W.printEnum("CpuSubType", subtype, makeArrayRef(MachOHeaderCpuSubtypesARM64)); in printFileHeaders()
425 W.printEnum("FileType", Header.filetype, makeArrayRef(MachOHeaderFileTypes)); in printFileHeaders()
428 W.printFlags("Flags", Header.flags, makeArrayRef(MachOHeaderFlags)); in printFileHeaders()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTUtils.cpp35 return makeArrayRef(Table); in get_amd_kernel_code_t_FldNames()
45 return makeArrayRef(Table); in get_amd_kernel_code_t_FldAltNames()
96 return makeArrayRef(Table); in getPrinterTable()
166 return makeArrayRef(Table); in getParserTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CallingConv.cpp65 return makeArrayRef(std::begin(RegListZMM), std::end(RegListZMM)); in CC_X86_VectorCallGetSSEs()
71 return makeArrayRef(std::begin(RegListYMM), std::end(RegListYMM)); in CC_X86_VectorCallGetSSEs()
76 return makeArrayRef(std::begin(RegListXMM), std::end(RegListXMM)); in CC_X86_VectorCallGetSSEs()
81 return makeArrayRef(std::begin(RegListGPR), std::end(RegListGPR)); in CC_X86_64_VectorCallGetGPRs()
/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()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTUtils.cpp31 return makeArrayRef(Table); in get_amd_kernel_code_t_FldNames()
80 return makeArrayRef(Table); in getPrinterTable()
152 return makeArrayRef(Table); in getParserTable()
/external/llvm/include/llvm/Object/
DELF.h115 return makeArrayRef(section_begin(), section_end()); in sections()
134 return makeArrayRef(symbol_begin(Sec), symbol_end(Sec)); in symbols()
151 return makeArrayRef(rela_begin(Sec), rela_end(Sec)); in relas()
168 return makeArrayRef(rel_begin(Sec), rel_end(Sec)); in rels()
183 return makeArrayRef(program_header_begin(), program_header_end()); in program_headers()
259 return makeArrayRef(Start, Size / sizeof(T)); in getSectionContentsAsArray()
470 return makeArrayRef(ShndxTableBegin, ShndxTableEnd); in getSHNDXTable()
/external/swiftshader/third_party/llvm-7.0/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()

12345678910>>...18