Home
last modified time | relevance | path

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

12345678910>>...70

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DEnumTables.h12 #include "llvm/ADT/ArrayRef.h"
21 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
22 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
23 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu);
24 ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames();
25 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
27 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
28 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames();
29 ArrayRef<EnumEntr
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DArrayRef.h41 class LLVM_GSL_POINTER [[nodiscard]] ArrayRef {
67 /*implicit*/ ArrayRef() = default;
70 /*implicit*/ ArrayRef(std::nullopt_t) {} in ArrayRef() function
73 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function
77 constexpr /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function
81 constexpr ArrayRef(const T *begin, const T *end) in ArrayRef() function
90 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function
96 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function
101 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) in ArrayRef() function
106 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} in ArrayRef() function
[all …]
H A Dedit_distance.h45 unsigned ComputeMappedEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
60 typename ArrayRef<T>::size_type m = FromArray.size();
61 typename ArrayRef<T>::size_type n = ToArray.size();
67 typename ArrayRef<T>::size_type AbsDiff = m > n ? m - n : n - m;
76 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
82 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
106 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
H A DCombinationGenerator.h30 #include "llvm/ADT/ArrayRef.h"
44 const ArrayRef<value_type> Range;
63 WrappingIterator(ArrayRef<value_type> Range_) : Range(Range_) { in WrappingIterator()
69 const ArrayRef<choices_storage_type> VariablesChoices;
72 const function_ref<bool(ArrayRef<choice_type>)> Callback) const { in performGeneration()
96 for (ArrayRef<choice_type> VC : VariablesChoices) in performGeneration()
117 CombinationGenerator(ArrayRef<choices_storage_type> VariablesChoices_) in CombinationGenerator()
121 llvm::for_each(VariablesChoices, [](ArrayRef<choice_type> VariableChoices) { in CombinationGenerator()
132 for (ArrayRef<choice_type> VariableChoices : VariablesChoices) in numCombinations()
141 void generate(const function_ref<bool(ArrayRef<choice_typ
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h47 using PredT = std::function<bool(ArrayRef<Value *> Cur, const Value *New)>;
52 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>;
62 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred()
77 bool matches(ArrayRef<Value *> Cur, const Value *New) { in matches()
82 std::vector<Constant *> generate(ArrayRef<Value *> Cur, in generate()
83 ArrayRef<Type *> BaseTypes) { in generate()
92 std::function<Value *(ArrayRef<Value *>, Instruction *)> BuilderFunc;
96 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType()
99 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType()
106 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType()
[all …]
H A DRandomIRBuilder.h45 RandomIRBuilder(int Seed, ArrayRef<Type *> AllowedTypes) in RandomIRBuilder()
57 findOrCreateGlobalVariable(Module *M, ArrayRef<Value *> Srcs,
70 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts);
76 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
77 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred,
80 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts,
81 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred,
95 Instruction *connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts,
98 Instruction *newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V);
99 Value *findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_array_ref.h28 class ArrayRef {
30 constexpr ArrayRef() {} in ArrayRef() function
31 constexpr ArrayRef(const T *begin, const T *end) : begin_(begin), end_(end) { in ArrayRef() function
34 constexpr ArrayRef(const T *data, uptr length) in ArrayRef() function
35 : ArrayRef(data, data + length) {} in ArrayRef()
37 constexpr ArrayRef(const T (&src)[N]) : ArrayRef(src, src + N) {} in ArrayRef() function
39 constexpr ArrayRef(const C &src) in ArrayRef() function
40 : ArrayRef(src.data(), src.data() + src.size()) {} in ArrayRef()
41 ArrayRef(const T &one_elt) : ArrayRef(&one_elt, &one_elt + 1) {} in ArrayRef() function
53 bool equals(ArrayRef rhs) const { in equals()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaOpenMP.h213 StmtResult ActOnOpenMPMetaDirective(ArrayRef<OMPClause *> Clauses,
225 ArrayRef<Expr *> VarList);
228 ArrayRef<Expr *> VarList);
231 ArrayRef<Expr *> VarList,
232 ArrayRef<OMPClause *> Clauses,
238 ArrayRef<std::string> Assumptions,
252 ArrayRef<OMPClause *> ClauseList);
255 ArrayRef<OMPClause *> Clauses);
263 ArrayRef<std::pair<QualType, SourceLocation>> ReductionTypes,
289 Expr *MapperVarRef, ArrayRef<OMPClause *> Clauses,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DEnumTables.cpp458 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames() { in getSymbolTypeNames()
459 return ArrayRef(SymbolTypeNames); in getSymbolTypeNames()
462 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames() { in getTypeLeafNames()
463 return ArrayRef(TypeLeafNames); in getTypeLeafNames()
466 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu) { in getRegisterNames()
468 return ArrayRef(RegisterNames_ARM); in getRegisterNames()
470 return ArrayRef(RegisterNames_ARM64); in getRegisterNames()
472 return ArrayRef(RegisterNames_X86); in getRegisterNames()
475 ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames() { in getPublicSymFlagNames()
476 return ArrayRef(PublicSymFlagNames); in getPublicSymFlagNames()
[all …]
H A DTypeStreamMerger.cpp83 ArrayRef<TypeIndex> TypeSourceToDest,
92 ArrayRef<GloballyHashedType> Hashes,
95 ArrayRef<TypeIndex> TypeSourceToDest,
97 ArrayRef<GloballyHashedType> Hashes);
99 ArrayRef<GloballyHashedType> Hashes,
136 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
139 inline bool remapIndex(TypeIndex &Idx, ArrayRef<TypeIndex> Map) { in remapIndex()
146 inline bool remapIndexSimple(TypeIndex &Idx, ArrayRef<TypeIndex> Map) const { in remapIndexSimple()
162 bool remapIndexFallback(TypeIndex &Idx, ArrayRef<TypeIndex> Map);
186 ArrayRef<GloballyHashedType> GlobalHashes;
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h36 ArrayRef<minidump::Directory> streams() const { return Streams; } in streams()
39 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const { in getRawStream()
45 std::optional<ArrayRef<uint8_t>>
50 Expected<ArrayRef<uint8_t>>
72 Expected<ArrayRef<minidump::Module>> getModuleList() const { in getModuleList()
81 Expected<ArrayRef<minidump::Thread>> getThreadList() const { in getThreadList()
101 Expected<ArrayRef<minidump::MemoryDescriptor>> getMemoryList() const { in getMemoryList()
111 MemoryInfoIterator(ArrayRef<uint8_t> Storage, size_t Stride) in MemoryInfoIterator()
131 ArrayRef<uint8_t> Storage;
155 static Expected<ArrayRef<uint8_t>> getDataSlice(ArrayRef<uint8_t> Data,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DARMAttributeParser.cpp95 return parseStringAttribute("CPU_arch", tag, ArrayRef(CPU_arch_strings)); in CPU_arch()
117 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in ARM_ISA_use()
122 return parseStringAttribute("THUMB_ISA_use", tag, ArrayRef(strings)); in THUMB_ISA_use()
129 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in FP_arch()
134 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in WMMX_arch()
140 return parseStringAttribute("Advanced_SIMD_arch", tag, ArrayRef(strings)); in Advanced_SIMD_arch()
146 return parseStringAttribute("MVE_arch", tag, ArrayRef(strings)); in MVE_arch()
153 return parseStringAttribute("PCS_config", tag, ArrayRef(strings)); in PCS_config()
158 return parseStringAttribute("ABI_PCS_R9_use", tag, ArrayRef(strings)); in ABI_PCS_R9_use()
164 return parseStringAttribute("ABI_PCS_RW_data", tag, ArrayRef(strings)); in ABI_PCS_RW_data()
[all …]
H A DCompression.cpp46 void compression::compress(Params P, ArrayRef<uint8_t> Input, in compress()
58 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress()
69 Error compression::decompress(compression::Format F, ArrayRef<uint8_t> Input, in decompress()
81 Error compression::decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, in decompress()
107 void zlib::compress(ArrayRef<uint8_t> Input, in compress()
123 Error zlib::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress()
135 Error zlib::decompress(ArrayRef<uint8_t> Input, in decompress()
147 void zlib::compress(ArrayRef<uint8_t> Input, in compress()
151 Error zlib::decompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, in decompress()
155 Error zlib::decompress(ArrayRef<uint8_t> Input, in decompress()
[all …]
H A DProgram.cpp26 ArrayRef<StringRef> Args,
27 std::optional<ArrayRef<StringRef>> Env,
28 ArrayRef<std::optional<StringRef>> Redirects,
32 int sys::ExecuteAndWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteAndWait()
33 std::optional<ArrayRef<StringRef>> Env, in ExecuteAndWait()
34 ArrayRef<std::optional<StringRef>> Redirects, in ExecuteAndWait()
57 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait()
58 std::optional<ArrayRef<StringRef>> Env, in ExecuteNoWait()
59 ArrayRef<std::optional<StringRef>> Redirects, in ExecuteNoWait()
76 ArrayRef<const char *> Args) { in commandLineFitsWithinSystemLimits()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutorProcessControl.h108 virtual void writeUInt8sAsync(ArrayRef<tpctypes::UInt8Write> Ws,
111 virtual void writeUInt16sAsync(ArrayRef<tpctypes::UInt16Write> Ws,
114 virtual void writeUInt32sAsync(ArrayRef<tpctypes::UInt32Write> Ws,
117 virtual void writeUInt64sAsync(ArrayRef<tpctypes::UInt64Write> Ws,
120 virtual void writeBuffersAsync(ArrayRef<tpctypes::BufferWrite> Ws,
123 virtual void writePointersAsync(ArrayRef<tpctypes::PointerWrite> Ws,
126 Error writeUInt8s(ArrayRef<tpctypes::UInt8Write> Ws) { in writeUInt8s()
134 Error writeUInt16s(ArrayRef<tpctypes::UInt16Write> Ws) { in writeUInt16s()
142 Error writeUInt32s(ArrayRef<tpctypes::UInt32Write> Ws) { in writeUInt32s()
150 Error writeUInt64s(ArrayRef<tpctypes::UInt64Write> Ws) { in writeUInt64s()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMP.cpp28 static iterator_range<ArrayRef<Directive>::iterator>
29 getFirstCompositeRange(iterator_range<ArrayRef<Directive>::iterator> Leafs) { in getFirstCompositeRange()
50 [](iterator_range<ArrayRef<Directive>::iterator> List) { in getFirstCompositeRange()
77 ArrayRef<Directive> getLeafConstructs(Directive D) { in getLeafConstructs()
82 return ArrayRef(&Row[2], static_cast<int>(Row[1])); in getLeafConstructs()
85 ArrayRef<Directive> getLeafConstructsOrSelf(Directive D) { in getLeafConstructsOrSelf()
92 return ArrayRef(&Row[0], &Row[0] + 1); in getLeafConstructsOrSelf()
95 ArrayRef<Directive>
97 using ArrayTy = ArrayRef<Directive>; in getLeafOrCompositeConstructs()
99 ArrayRef<Directive> Leafs = getLeafConstructsOrSelf(D); in getLeafOrCompositeConstructs()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenSchedule.h78 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW()
153 bool isKeyEqual(Record *IC, ArrayRef<unsigned> W, in isKeyEqual()
154 ArrayRef<unsigned> R) const { in isKeyEqual()
155 return ItinClassDef == IC && ArrayRef(Writes) == W && ArrayRef(Reads) == R; in isKeyEqual()
349 ArrayRef<PredicateInfo> getPredicates() const { return Predicates; } in getPredicates()
374 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes()
414 ArrayRef<const Record *> getDefinitions() const { return Definitions; } in getDefinitions()
415 ArrayRef<OpcodeGroup> getGroups() const { return Groups; } in getGroups()
509 ArrayRef<CodeGenProcModel> procModels() const { return ProcModels; } in procModels()
560 ArrayRef<CodeGenSchedClass> schedClasses() const { return SchedClasses; } in schedClasses()
[all …]
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h26 template <typename T> class ArrayRef; variable
52 ArrayRef<Type *> InitArgTypes,
65 ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs,
77 ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs,
86 void appendToUsed(Module &M, ArrayRef<GlobalValue *> Values);
89 void appendToCompilerUsed(Module &M, ArrayRef<GlobalValue *> Values);
144 Module &M, ArrayRef<GlobalIFunc *> IFuncsToLower = {});
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h303 void setVarRefs(ArrayRef<Expr *> VL) { in setVarRefs()
312 using varlist_const_iterator = ArrayRef<const Expr *>::iterator;
338 ArrayRef<const Expr *> getVarRefs() const { in getVarRefs()
339 return llvm::ArrayRef( in getVarRefs()
484 SourceLocation EndLoc, ArrayRef<Expr *> VL);
813 ArrayRef<Expr *> Sizes);
836 ArrayRef<Expr *> getSizesRefs() const { in getSizesRefs()
837 return ArrayRef<Expr *>(static_cast<const OMPSizesClause *>(this) in getSizesRefs()
843 void setSizesRefs(ArrayRef<Expr *> VL) { in setSizesRefs()
856 ArrayRef<Expr *> Sizes = getSizesRefs(); in children()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DHWEventListener.h17 #include "llvm/ADT/ArrayRef.h"
70 HWInstructionIssuedEvent(const InstRef &IR, ArrayRef<ResourceUse> UR) in HWInstructionIssuedEvent()
73 ArrayRef<ResourceUse> UsedResources;
78 HWInstructionDispatchedEvent(const InstRef &IR, ArrayRef<unsigned> Regs, in HWInstructionDispatchedEvent()
84 ArrayRef<unsigned> UsedPhysRegs;
99 HWInstructionRetiredEvent(const InstRef &IR, ArrayRef<unsigned> Regs) in HWInstructionRetiredEvent()
104 ArrayRef<unsigned> FreedPhysRegs;
149 HWPressureEvent(GenericReason reason, ArrayRef<InstRef> Insts,
157 ArrayRef<InstRef> AffectedInstructions;
178 ArrayRef<unsigne in onReservedBuffers()
[all...]
/freebsd/contrib/llvm-project/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 std::optional<ArrayRef<StringRef>> Env =
115 ArrayRef<std::optional<StringRef>> Redirects = {}, ///<
150 StringRef Program, ArrayRef<StringRef> Args,
151 std::optional<ArrayRef<StringRef>> Env,
152 ArrayRef<std::optional<StringRef>> Redirects = {},
163 ArrayRef<StringRef> Args);
168 ArrayRef<const char *> Args);
242 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
H A DBinaryByteStream.h13 #include "llvm/ADT/ArrayRef.h"
33 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::endianness Endian) in BinaryByteStream()
41 ArrayRef<uint8_t> &Buffer) override { in readBytes()
49 ArrayRef<uint8_t> &Buffer) override { in readLongestContiguousChunk()
58 ArrayRef<uint8_t> data() const { return Data; } in data()
67 ArrayRef<uint8_t> Data;
100 ArrayRef<uint8_t> &Buffer) override { in readBytes()
105 ArrayRef<uint8_t> &Buffer) override { in readLongestContiguousChunk()
111 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Buffer) override { in writeBytes()
147 ArrayRef<uint8_
[all...]
H A DCompression.h43 void compress(ArrayRef<uint8_t> Input,
47 Error decompress(ArrayRef<uint8_t> Input, uint8_t *Output,
50 Error decompress(ArrayRef<uint8_t> Input, SmallVectorImpl<uint8_t> &Output,
64 void compress(ArrayRef<uint8_t> Input,
68 Error decompress(ArrayRef<uint8_t> Input, uint8_t *Output,
71 Error decompress(ArrayRef<uint8_t> Input, SmallVectorImpl<uint8_t> &Output,
116 void compress(Params P, ArrayRef<uint8_t> Input,
120 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input,
122 Error decompress(Format F, ArrayRef<uint8_t> Input,
124 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input,
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp101 auto buildOp = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in selectDescriptor()
110 auto buildOp = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in fnegDescriptor()
118 auto buildOp = [Op](ArrayRef<Value *> Srcs, Instruction *Inst) { in binOpDescriptor()
151 auto buildOp = [CmpOp, Pred](ArrayRef<Value *> Srcs, Instruction *Inst) { in cmpOpDescriptor()
166 auto buildSplitBlock = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in splitBlockDescriptor()
188 SourcePred isInt1Ty{[](ArrayRef<Value *>, const Value *V) { in splitBlockDescriptor()
196 auto buildGEP = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in gepDescriptor()
200 auto Indices = ArrayRef(Srcs).drop_front(2); in gepDescriptor()
207 [](ArrayRef<Value *>, const Value *V) { return V->getType()->isSized(); }, in gepDescriptor()
220 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validExtractValueIndex()
[all …]

12345678910>>...70