Home
last modified time | relevance | path

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

12345678910>>...37

/external/llvm-project/llvm/lib/Support/
DARMAttributeParser.cpp90 return parseStringAttribute("CPU_arch", tag, makeArrayRef(strings)); in CPU_arch()
112 return parseStringAttribute("ARM_ISA_use", tag, makeArrayRef(strings)); in ARM_ISA_use()
117 return parseStringAttribute("THUMB_ISA_use", tag, makeArrayRef(strings)); in THUMB_ISA_use()
124 return parseStringAttribute("FP_arch", tag, makeArrayRef(strings)); in FP_arch()
129 return parseStringAttribute("WMMX_arch", tag, makeArrayRef(strings)); in WMMX_arch()
135 return parseStringAttribute("Advanced_SIMD_arch", tag, makeArrayRef(strings)); in Advanced_SIMD_arch()
141 return parseStringAttribute("MVE_arch", tag, makeArrayRef(strings)); in MVE_arch()
148 return parseStringAttribute("PCS_config", tag, makeArrayRef(strings)); in PCS_config()
153 return parseStringAttribute("ABI_PCS_R9_use", tag, makeArrayRef(strings)); in ABI_PCS_R9_use()
159 return parseStringAttribute("ABI_PCS_RW_data", tag, makeArrayRef(strings)); in ABI_PCS_RW_data()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DVectorUtilsTest.cpp108 EXPECT_EQ(makeArrayRef(ScaledMask), makeArrayRef({3,2,0,-2})); in TEST_F()
110 EXPECT_EQ(makeArrayRef(ScaledMask), makeArrayRef({12,13,14,15,8,9,10,11,0,1,2,3,-1,-1,-1,-1})); in TEST_F()
119 EXPECT_EQ(makeArrayRef(WideMask), makeArrayRef({3,2,0,-1})); in TEST_F()
122 narrowShuffleMaskElts(1, makeArrayRef(WideMask), NarrowMask); in TEST_F()
123 EXPECT_EQ(makeArrayRef(NarrowMask), makeArrayRef({3,2,0,-1})); in TEST_F()
133 EXPECT_EQ(makeArrayRef(WideMask), makeArrayRef({0})); in TEST_F()
136 narrowShuffleMaskElts(3, makeArrayRef(WideMask), NarrowMask); in TEST_F()
137 EXPECT_EQ(makeArrayRef(NarrowMask), makeArrayRef({0,1,2})); in TEST_F()
141 EXPECT_EQ(makeArrayRef(WideMask), makeArrayRef({3,2,0,-1})); in TEST_F()
144 narrowShuffleMaskElts(4, makeArrayRef(WideMask), NarrowMask); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp437 return makeArrayRef(SymbolTypeNames); in getSymbolTypeNames()
441 return makeArrayRef(TypeLeafNames); in getTypeLeafNames()
446 return makeArrayRef(RegisterNames_ARM); in getRegisterNames()
448 return makeArrayRef(RegisterNames_ARM64); in getRegisterNames()
450 return makeArrayRef(RegisterNames_X86); in getRegisterNames()
454 return makeArrayRef(PublicSymFlagNames); in getPublicSymFlagNames()
458 return makeArrayRef(ProcSymFlagNames); in getProcSymFlagNames()
462 return makeArrayRef(LocalFlags); in getLocalFlagNames()
466 return makeArrayRef(FrameCookieKinds); in getFrameCookieKindNames()
470 return makeArrayRef(SourceLanguages); in getSourceLanguageNames()
[all …]
DTypeDumpVisitor.cpp179 makeArrayRef(LeafTypeNames)); in visitTypeBegin()
197 makeArrayRef(LeafTypeNames)); in visitMemberBegin()
249 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
263 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
276 makeArrayRef(ClassOptionNames)); in visitKnownRecord()
313 makeArrayRef(CallingConventions)); in visitKnownRecord()
315 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
326 makeArrayRef(CallingConventions)); in visitKnownRecord()
328 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
364 makeArrayRef(PtrKindNames)); in visitKnownRecord()
[all …]
DTypeRecordMapping.cpp103 getEnumName(IO, uint8_t(Access), makeArrayRef(getMemberAccessNames()))); in getMemberAttributes()
107 getEnumName(IO, unsigned(Kind), makeArrayRef(getMemberKindNames()))); in getMemberAttributes()
112 IO, unsigned(Options), makeArrayRef(getMethodOptionNames())); in getMemberAttributes()
205 getEnumName(IO, unsigned(RecordKind), makeArrayRef(LeafTypeNames))); in visitTypeBegin()
247 (getEnumName(IO, unsigned(Record.Kind), makeArrayRef(LeafTypeNames))) in visitMemberBegin()
272 makeArrayRef(getTypeModifierNames())); in visitKnownRecord()
281 IO, uint8_t(Record.CallConv), makeArrayRef(getCallingConventions()))); in visitKnownRecord()
284 makeArrayRef(getFunctionOptionEnum())); in visitKnownRecord()
297 IO, uint8_t(Record.CallConv), makeArrayRef(getCallingConventions()))); in visitKnownRecord()
300 makeArrayRef(getFunctionOptionEnum())); in visitKnownRecord()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DEnumTables.cpp429 return makeArrayRef(SymbolTypeNames); in getSymbolTypeNames()
433 return makeArrayRef(TypeLeafNames); in getTypeLeafNames()
438 return makeArrayRef(RegisterNames_ARM64); in getRegisterNames()
440 return makeArrayRef(RegisterNames_X86); in getRegisterNames()
444 return makeArrayRef(PublicSymFlagNames); in getPublicSymFlagNames()
448 return makeArrayRef(ProcSymFlagNames); in getProcSymFlagNames()
452 return makeArrayRef(LocalFlags); in getLocalFlagNames()
456 return makeArrayRef(FrameCookieKinds); in getFrameCookieKindNames()
460 return makeArrayRef(SourceLanguages); in getSourceLanguageNames()
464 return makeArrayRef(CompileSym2FlagNames); in getCompileSym2FlagNames()
[all …]
DTypeDumpVisitor.cpp179 makeArrayRef(LeafTypeNames)); in visitTypeBegin()
197 makeArrayRef(LeafTypeNames)); in visitMemberBegin()
249 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
263 W->printFlags("Properties", Props, makeArrayRef(ClassOptionNames)); in visitKnownRecord()
276 makeArrayRef(ClassOptionNames)); in visitKnownRecord()
313 makeArrayRef(CallingConventions)); in visitKnownRecord()
315 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
326 makeArrayRef(CallingConventions)); in visitKnownRecord()
328 makeArrayRef(FunctionOptionEnum)); in visitKnownRecord()
364 makeArrayRef(PtrKindNames)); in visitKnownRecord()
[all …]
DTypeRecordMapping.cpp103 getEnumName(IO, uint8_t(Access), makeArrayRef(getMemberAccessNames())); in getMemberAttributes()
107 getEnumName(IO, unsigned(Kind), makeArrayRef(getMemberKindNames())); in getMemberAttributes()
112 IO, unsigned(Options), makeArrayRef(getMethodOptionNames())); in getMemberAttributes()
205 getEnumName(IO, unsigned(RecordKind), makeArrayRef(LeafTypeNames)); in visitTypeBegin()
247 (getEnumName(IO, unsigned(Record.Kind), makeArrayRef(LeafTypeNames))) in visitMemberBegin()
272 makeArrayRef(getTypeModifierNames())); in visitKnownRecord()
281 IO, uint8_t(Record.CallConv), makeArrayRef(getCallingConventions())); in visitKnownRecord()
284 makeArrayRef(getFunctionOptionEnum())); in visitKnownRecord()
297 IO, uint8_t(Record.CallConv), makeArrayRef(getCallingConventions())); in visitKnownRecord()
300 makeArrayRef(getFunctionOptionEnum())); 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/llvm-project/llvm/unittests/Support/
DMD5Test.cpp43 TestMD5Sum(makeArrayRef((const uint8_t *)"", (size_t) 0), in TEST()
45 TestMD5Sum(makeArrayRef((const uint8_t *)"a", (size_t) 1), in TEST()
47 TestMD5Sum(makeArrayRef((const uint8_t *)"abcdefghijklmnopqrstuvwxyz", in TEST()
50 TestMD5Sum(makeArrayRef((const uint8_t *)"\0", (size_t) 1), in TEST()
52 TestMD5Sum(makeArrayRef((const uint8_t *)"a\0", (size_t) 2), in TEST()
54 TestMD5Sum(makeArrayRef((const uint8_t *)"abcdefghijklmnopqrstuvwxyz\0", in TEST()
/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/llvm-project/llvm/unittests/TableGen/
DAutomataTest.cpp33 Automaton<SymKind> A(makeArrayRef(SimpleAutomatonTransitions)); in TEST()
44 Automaton<SymKind> A(makeArrayRef(SimpleAutomatonTransitions)); in TEST()
62 Automaton<TupleAutomatonAction> A(makeArrayRef(TupleAutomatonTransitions)); in TEST()
78 Automaton<SymKind> A(makeArrayRef(NfaAutomatonTransitions)); in TEST()
102 Automaton<BinPackerAutomatonAction> A(makeArrayRef(BinPackerAutomatonTransitions)); in TEST()
132 Automaton<BinPackerAutomatonAction> A(makeArrayRef(BinPackerAutomatonTransitions), in TEST()
133 makeArrayRef(BinPackerAutomatonTransitionInfo)); in TEST()
/external/llvm-project/llvm/unittests/ADT/
DArrayRefTest.cpp54 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST()
56 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST()
73 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc); in TEST()
74 EXPECT_EQ(makeArrayRef(Array3Src), Array3Copy); in TEST()
75 EXPECT_NE(makeArrayRef(Array3Src).data(), Array3Copy.data()); in TEST()
233 TEST(ArrayRefTest, makeArrayRef) { in TEST() argument
238 ArrayRef<int> &AR1Ref = makeArrayRef(AR1); in TEST()
243 const ArrayRef<int> &AR2Ref = makeArrayRef(AR2); in TEST()
250 OwningArrayRef<int> A(makeArrayRef(A1)); in TEST()
257 ArrayRef<int> A2 = makeArrayRef(A1); in TEST()
/external/llvm-project/clang/lib/Tooling/Syntax/
DComputeReplacements.cpp29 Callback(llvm::makeArrayRef(SpanBegin, SpanEnd), SpanIsOriginal); in enumerateTokenSpans()
49 Callback(llvm::makeArrayRef(SpanBegin, SpanEnd), SpanIsOriginal); in enumerateTokenSpans()
114 emitReplacement(llvm::makeArrayRef(NextOriginal, Tokens.begin())); in computeReplacements()
117 emitReplacement(llvm::makeArrayRef(NextOriginal, /*Length=*/0)); in computeReplacements()
123 emitReplacement(llvm::makeArrayRef( in computeReplacements()
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIInfo.cpp35 return makeArrayRef(O32IntRegs); in GetByValArgRegs()
37 return makeArrayRef(Mips64IntRegs); in GetByValArgRegs()
43 return makeArrayRef(O32IntRegs); in GetVarArgRegs()
45 return makeArrayRef(Mips64IntRegs); in GetVarArgRegs()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsABIInfo.cpp35 return makeArrayRef(O32IntRegs); in GetByValArgRegs()
37 return makeArrayRef(Mips64IntRegs); in GetByValArgRegs()
43 return makeArrayRef(O32IntRegs); in GetVarArgRegs()
45 return makeArrayRef(Mips64IntRegs); in GetVarArgRegs()
/external/llvm-project/llvm/include/llvm/ADT/
DArrayRef.h458 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
464 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
470 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
476 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
482 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
488 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
494 ArrayRef<T> makeArrayRef(const std::array<T, N> &Arr) { in makeArrayRef() function
499 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
504 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
510 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DArrayRef.h460 ArrayRef<T> makeArrayRef(const T &OneElt) { in makeArrayRef() function
466 ArrayRef<T> makeArrayRef(const T *data, size_t length) { in makeArrayRef() function
472 ArrayRef<T> makeArrayRef(const T *begin, const T *end) { in makeArrayRef() function
478 ArrayRef<T> makeArrayRef(const SmallVectorImpl<T> &Vec) { in makeArrayRef() function
484 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { in makeArrayRef() function
490 ArrayRef<T> makeArrayRef(const std::vector<T> &Vec) { in makeArrayRef() function
496 ArrayRef<T> makeArrayRef(const std::array<T, N> &Arr) { in makeArrayRef() function
501 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() function
506 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() function
512 ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { in makeArrayRef() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTUtils.cpp34 return makeArrayRef(Table); in get_amd_kernel_code_t_FldNames()
44 return makeArrayRef(Table); in get_amd_kernel_code_t_FldAltNames()
95 return makeArrayRef(Table); in getPrinterTable()
165 return makeArrayRef(Table); in getParserTable()
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTUtils.cpp34 return makeArrayRef(Table); in get_amd_kernel_code_t_FldNames()
44 return makeArrayRef(Table); in get_amd_kernel_code_t_FldAltNames()
95 return makeArrayRef(Table); in getPrinterTable()
165 return makeArrayRef(Table); in getParserTable()
/external/llvm-project/mlir/lib/CAPI/IR/
DBuiltinTypes.cpp168 VectorType::get(llvm::makeArrayRef(shape, static_cast<size_t>(rank)), in mlirVectorTypeGet()
175 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), unwrap(elementType), in mlirVectorTypeGetChecked()
196 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), in mlirRankedTensorTypeGet()
204 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), unwrap(elementType), in mlirRankedTensorTypeGetChecked()
230 MemRefType::get(llvm::makeArrayRef(shape, static_cast<size_t>(rank)), in mlirMemRefTypeGet()
238 MemRefType::get(llvm::makeArrayRef(shape, static_cast<size_t>(rank)), in mlirMemRefTypeContiguousGet()
247 llvm::makeArrayRef(shape, static_cast<size_t>(rank)), unwrap(elementType), in mlirMemRefTypeContiguousGetChecked()

12345678910>>...37