Home
last modified time | relevance | path

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

12345678910>>...125

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DEnumTables.h21 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
22 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
25 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
32 ArrayRef<EnumEntry<unsigned>> getCPUTypeNames();
37 ArrayRef<EnumEntry<uint16_t>> getTrampolineNames();
38 ArrayRef<EnumEntry<COFF::SectionCharacteristics>>
43 ArrayRef<EnumEntry<uint16_t>> getMemberKindNames();
44 ArrayRef<EnumEntry<uint8_t>> getPtrKindNames();
45 ArrayRef<EnumEntry<uint8_t>> getPtrModeNames();
[all …]
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DArrayRefTest.cpp20 std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value,
23 std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value,
25 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value,
28 !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value,
31 !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value,
168 ArrayRef<int> AR1(A1); in TEST()
190 EXPECT_TRUE(ArrayRef<unsigned>() == ArrayRef<unsigned>()); in TEST()
199 ArrayRef<const int *> a((ArrayRef<int *>(A))); in TEST()
200 a = ArrayRef<int *>(A); in TEST()
225 ArrayRef<int> A = {}; in TEST()
[all …]
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DDataEncoderTest.cpp47 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({0x11})); in TEST()
65 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({0x11})); in TEST()
131 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({})); in TEST()
134 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({})); in TEST()
146 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({})); in TEST()
150 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({0x00})); in TEST()
154 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>({0x00, 0x00})); in TEST()
324 ArrayRef<uint8_t>({0x88, 2, 3, 4, 5, 6, 7, 8})); in TEST()
357 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>(init)); in TEST()
361 ASSERT_EQ(encoder.GetData(), ArrayRef<uint8_t>(init)); in TEST()
[all …]
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.h148 LogicalResult processExtension(ArrayRef<uint32_t> words);
162 LogicalResult processName(ArrayRef<uint32_t> operands);
165 LogicalResult processDecoration(ArrayRef<uint32_t> words);
171 LogicalResult processMemberName(ArrayRef<uint32_t> words);
180 LogicalResult processFunction(ArrayRef<uint32_t> operands);
378 LogicalResult processBranch(ArrayRef<uint32_t> operands);
383 LogicalResult processLabel(ArrayRef<uint32_t> operands);
392 LogicalResult processPhi(ArrayRef<uint32_t> operands);
444 LogicalResult processUndef(ArrayRef<uint32_t> operands);
471 LogicalResult processOp(ArrayRef<uint32_t> words) { in processOp()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DArrayRef.h125 ArrayRef(const ArrayRef<U *> &A,
134 /*implicit*/ ArrayRef(
338 : ArrayRef<T>(Vec) {} in MutableArrayRef()
342 : ArrayRef<T>(Vec) {} in MutableArrayRef()
516 template <typename T> ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef()
521 template <typename T> ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef()
584 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) {
594 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) {
612 return ArrayRef<T>(
617 return ArrayRef<T>(
[all …]
/llvm-project-15.0.7/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h51 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>;
61 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred()
98 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType()
105 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType()
113 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntType()
121 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyFloatType()
129 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyPtrType()
132 auto Make = [](ArrayRef<Value *>, ArrayRef<Type *> Ts) { in anyPtrType()
152 auto Make = [](ArrayRef<Value *>, ArrayRef<Type *> Ts) { in sizedPtrType()
199 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchFirstType()
[all …]
H A DRandomIRBuilder.h36 RandomIRBuilder(int Seed, ArrayRef<Type *> AllowedTypes) in RandomIRBuilder()
44 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts);
50 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
51 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
53 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
54 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
57 void connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V);
59 void newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V);
60 Value *findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts,
61 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred);
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMinidump.h49 Expected<ArrayRef<uint8_t>>
71 Expected<ArrayRef<minidump::Module>> getModuleList() const { in getModuleList()
80 Expected<ArrayRef<minidump::Thread>> getThreadList() const { in getThreadList()
130 ArrayRef<uint8_t> Storage;
154 static Expected<ArrayRef<uint8_t>> getDataSlice(ArrayRef<uint8_t> Data,
161 static Expected<ArrayRef<T>> getDataSliceAs(ArrayRef<uint8_t> Data,
165 ArrayRef<minidump::Directory> Streams, in MinidumpFile()
170 ArrayRef<uint8_t> getData() const { in getData()
185 ArrayRef<minidump::Directory> Streams;
200 Expected<ArrayRef<T>> MinidumpFile::getDataSliceAs(ArrayRef<uint8_t> Data, in getDataSliceAs()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Linalg/Utils/
H A DUtils.h46 bool isPermutation(ArrayRef<int64_t> permutation);
111 ArrayRef<OpFoldResult> sizes, ArrayRef<OpFoldResult> strides);
139 ArrayRef<int64_t> transposeVector);
183 ArrayRef<OpFoldResult> offsets, ArrayRef<OpFoldResult> sizes,
184 ArrayRef<OpFoldResult> strides);
197 ArrayRef<Value> sizeBounds);
256 findAllFusableDependences(ArrayRef<LinalgOp> ops,
388 tileRootOp(OpBuilder &b, ArrayRef<int64_t> tileSizes,
389 ArrayRef<int64_t> tileInterchange,
406 ArrayRef<scf::ForOp> getLoopOps() { return tileLoopOps; } in getLoopOps()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DFunctionImplementation.h41 ArrayRef<DictionaryAttr> argAttrs,
42 ArrayRef<DictionaryAttr> resultAttrs);
44 ArrayRef<OpAsmParser::Argument> argAttrs,
45 ArrayRef<DictionaryAttr> resultAttrs);
53 Builder &, ArrayRef<Type>, ArrayRef<Type>, VariadicFlag, std::string &)>;
67 Type getFunctionType(Builder &builder, ArrayRef<OpAsmParser::Argument> argAttrs,
68 ArrayRef<Type> resultTypes);
87 ArrayRef<Type> argTypes, bool isVariadic,
88 ArrayRef<Type> resultTypes);
97 ArrayRef<StringRef> elided = {});
H A DAffineMap.h85 static AffineMap getPermutationMap(ArrayRef<unsigned> permutation,
92 inferFromExprList(ArrayRef<ArrayRef<AffineExpr>> exprsList);
94 inferFromExprList(ArrayRef<SmallVector<AffineExpr, 4>> exprsList);
162 ArrayRef<AffineExpr> getResults() const;
262 LogicalResult constantFold(ArrayRef<Attribute> operandConstants,
272 partialConstantFold(ArrayRef<Attribute> operandConstants,
293 SmallVector<int64_t, 4> compose(ArrayRef<int64_t> values) const;
306 AffineMap getSubMap(ArrayRef<unsigned> resultPos) const;
349 ArrayRef<AffineExpr> getResults() const { return results; } in getResults()
392 SmallVector<AffineMap> compressUnusedDims(ArrayRef<AffineMap> maps);
[all …]
/llvm-project-15.0.7/flang/include/flang/Optimizer/Support/
H A DInternalNames.h51 DeconstructedName(llvm::ArrayRef<std::string> modules, in DeconstructedName()
53 llvm::ArrayRef<std::int64_t> kinds) in DeconstructedName()
70 static std::string doConstant(llvm::ArrayRef<llvm::StringRef> modules,
78 llvm::ArrayRef<std::int64_t> kinds);
85 doIntrinsicTypeDescriptor(llvm::ArrayRef<llvm::StringRef> modules,
90 static std::string doProcedure(llvm::ArrayRef<llvm::StringRef> modules,
95 static std::string doType(llvm::ArrayRef<llvm::StringRef> modules,
98 llvm::ArrayRef<std::int64_t> kinds);
104 llvm::ArrayRef<std::int64_t> kinds);
112 static std::string doVariable(llvm::ArrayRef<llvm::StringRef> modules,
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMTypes.h119 Type replaceImmediateSubElements(ArrayRef<Attribute> replAttrs,
153 ArrayRef<Type> arguments, bool isVarArg = false);
164 ArrayRef<Type> getReturnTypes() const;
173 ArrayRef<Type> getParams() const;
174 ArrayRef<Type> params() { return getParams(); } in params()
182 Type replaceImmediateSubElements(ArrayRef<Attribute> replAttrs,
251 Type replaceImmediateSubElements(ArrayRef<Attribute> replAttrs,
319 MLIRContext *context, ArrayRef<Type> types,
339 LogicalResult setBody(ArrayRef<Type> types, bool isPacked);
357 ArrayRef<Type> getBody() const;
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Affine/
H A DLoopUtils.h58 bool LLVM_ATTRIBUTE_UNUSED isPerfectlyNested(ArrayRef<AffineForOp> loops);
92 LogicalResult affineForOpBodySkew(AffineForOp forOp, ArrayRef<uint64_t> shifts,
105 ArrayRef<unsigned> tileSizes,
112 MutableArrayRef<AffineForOp> input, ArrayRef<Value> tileSizes,
122 bool isValidLoopInterchangePermutation(ArrayRef<AffineForOp> loops,
123 ArrayRef<unsigned> loopPermMap);
133 ArrayRef<unsigned> permMap);
147 ArrayRef<uint64_t> sizes,
154 SmallVector<AffineForOp, 8> tile(ArrayRef<AffineForOp> forOps,
262 void mapLoopToProcessorIds(scf::ForOp forOp, ArrayRef<Value> processorId,
[all …]
H A DUtils.h47 ArrayRef<LoopReduction> parallelReductions = {});
115 ArrayRef<int64_t> vectorSizes, ArrayRef<int64_t> fastestVaryingPattern,
220 Value oldMemRef, Value newMemRef, ArrayRef<Value> extraIndices = {},
221 AffineMap indexRemap = AffineMap(), ArrayRef<Value> extraOperands = {},
222 ArrayRef<Value> symbolOperands = {}, Operation *domOpFilter = nullptr,
232 ArrayRef<Value> extraIndices = {},
234 ArrayRef<Value> extraOperands = {},
235 ArrayRef<Value> symbolOperands = {},
259 ArrayRef<Value> operands,
260 ArrayRef<Operation *> affineApplyOps,
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h123 Error writeUInt8s(ArrayRef<tpctypes::UInt8Write> Ws) { in writeUInt8s()
131 Error writeUInt16s(ArrayRef<tpctypes::UInt16Write> Ws) { in writeUInt16s()
139 Error writeUInt32s(ArrayRef<tpctypes::UInt32Write> Ws) { in writeUInt32s()
147 Error writeUInt64s(ArrayRef<tpctypes::UInt64Write> Ws) { in writeUInt64s()
155 Error writeBuffers(ArrayRef<tpctypes::BufferWrite> Ws) { in writeBuffers()
256 lookupSymbols(ArrayRef<LookupRequest> Request) = 0;
287 ArrayRef<char> ArgBuffer) { in callWrapperAsync()
391 lookupSymbols(ArrayRef<LookupRequest> Request) override { in lookupSymbols()
432 lookupSymbols(ArrayRef<LookupRequest> Request) override;
439 ArrayRef<char> ArgBuffer) override;
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Vector/Utils/
H A DVectorUtils.h40 int64_t computeMaxLinearIndex(ArrayRef<int64_t> basis);
45 SmallVector<int64_t, 4> computeStrides(ArrayRef<int64_t> shape,
46 ArrayRef<int64_t> sizes);
51 computeElementOffsetsFromVectorSliceOffsets(ArrayRef<int64_t> sizes,
52 ArrayRef<int64_t> vectorOffsets);
66 Optional<SmallVector<int64_t, 4>> shapeRatio(ArrayRef<int64_t> superShape,
67 ArrayRef<int64_t> subShape);
144 makePermutationMap(Block *insertPoint, ArrayRef<Value> indices,
147 makePermutationMap(Operation *insertPoint, ArrayRef<Value> indices,
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp82 ArrayRef<TypeIndex> TypeSourceToDest,
91 ArrayRef<GloballyHashedType> Hashes,
94 ArrayRef<TypeIndex> TypeSourceToDest,
96 ArrayRef<GloballyHashedType> Hashes);
98 ArrayRef<GloballyHashedType> Hashes,
135 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
185 ArrayRef<GloballyHashedType> GlobalHashes;
189 ArrayRef<TypeIndex> TypeLookup;
345 ArrayRef<uint8_t> Buffer; in remapAllTypes()
375 ArrayRef<uint8_t> Result = DoSerialize(RemapStorage); in remapType()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.h40 llvm::ArrayRef<uint8_t> range_ref;
42 Range(lldb::addr_t start, llvm::ArrayRef<uint8_t> range_ref) in Range()
55 llvm::ArrayRef<uint8_t> GetData();
57 llvm::ArrayRef<uint8_t> GetStream(StreamType stream_type);
61 llvm::ArrayRef<minidump::Thread> GetThreads();
63 llvm::ArrayRef<uint8_t> GetThreadContext(const LocationDescriptor &location);
65 llvm::ArrayRef<uint8_t> GetThreadContext(const minidump::Thread &td);
67 llvm::ArrayRef<uint8_t> GetThreadContextWow64(const minidump::Thread &td);
77 llvm::ArrayRef<minidump::Module> GetModuleList();
89 llvm::ArrayRef<uint8_t> GetMemory(lldb::addr_t addr, size_t size);
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DProgram.h79 findProgramByName(StringRef Name, ArrayRef<StringRef> Paths = {});
107 ArrayRef<StringRef> Args, ///< An array of strings that are passed to the
110 Optional<ArrayRef<StringRef>> Env = None, ///< An optional vector of
114 ArrayRef<Optional<StringRef>> Redirects = {}, ///<
148 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args,
149 Optional<ArrayRef<StringRef>> Env,
150 ArrayRef<Optional<StringRef>> Redirects = {},
159 ArrayRef<StringRef> Args);
164 ArrayRef<const char *> Args);
232 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
/llvm-project-15.0.7/llvm/lib/Support/
H A DProgram.cpp26 ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env,
27 ArrayRef<Optional<StringRef>> Redirects,
31 int sys::ExecuteAndWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteAndWait()
32 Optional<ArrayRef<StringRef>> Env, in ExecuteAndWait()
33 ArrayRef<Optional<StringRef>> Redirects, in ExecuteAndWait()
56 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait()
57 Optional<ArrayRef<StringRef>> Env, in ExecuteNoWait()
58 ArrayRef<Optional<StringRef>> Redirects, in ExecuteNoWait()
74 ArrayRef<const char *> Args) { in commandLineFitsWithinSystemLimits()
H A DCompression.cpp50 void zlib::compress(ArrayRef<uint8_t> Input, in compress()
66 Error zlib::uncompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, in uncompress()
79 Error zlib::uncompress(ArrayRef<uint8_t> Input, in uncompress()
92 void zlib::compress(ArrayRef<uint8_t> Input, in compress()
96 Error zlib::uncompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, in uncompress()
100 Error zlib::uncompress(ArrayRef<uint8_t> Input, in uncompress()
111 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
127 Error zstd::uncompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, in uncompress()
141 Error zstd::uncompress(ArrayRef<uint8_t> Input, in uncompress()
154 void zstd::compress(ArrayRef<uint8_t> Input, in compress()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MCA/
H A DHWEventListener.h67 HWInstructionIssuedEvent(const InstRef &IR, ArrayRef<ResourceUse> UR) in HWInstructionIssuedEvent()
70 ArrayRef<ResourceUse> UsedResources;
75 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent()
81 ArrayRef<unsigned> UsedPhysRegs;
96 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent()
101 ArrayRef<unsigned> FreedPhysRegs;
146 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
154 ArrayRef<InstRef> AffectedInstructions;
175 ArrayRef<unsigned> Buffers) {} in onReservedBuffers()
177 ArrayRef<unsigned> Buffers) {} in onReleasedBuffers()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h24 template <typename T> class ArrayRef; variable
45 ArrayRef<Type *> InitArgTypes);
57 ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs,
69 ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs,
78 void appendToUsed(Module &M, ArrayRef<GlobalValue *> Values);
81 void appendToCompilerUsed(Module &M, ArrayRef<GlobalValue *> Values);
121 void setVectorVariantNames(CallInst *CI, ArrayRef<std::string> VariantMappings);
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCodeGenSchedule.h146 bool isKeyEqual(Record *IC, ArrayRef<unsigned> W, in isKeyEqual()
147 ArrayRef<unsigned> R) const { in isKeyEqual()
565 ArrayRef<unsigned> OperReads,
566 ArrayRef<unsigned> ProcIndices);
571 ArrayRef<SMLoc> Loc) const;
573 ArrayRef<STIPredicateFunction> getSTIPredicates() const { in getSTIPredicates()
619 void inferFromRW(ArrayRef<unsigned> OperWrites, ArrayRef<unsigned> OperReads,
632 ArrayRef<unsigned> ProcIndices);
634 void collectRWResources(ArrayRef<unsigned> Writes, ArrayRef<unsigned> Reads,
635 ArrayRef<unsigned> ProcIndices);
[all …]

12345678910>>...125