/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | EnumTables.h | 21 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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | ArrayRef.h | 126 ArrayRef(const ArrayRef<U *> &A, 474 template <typename T> ArrayRef(const T &OneElt) -> ArrayRef<T>; 487 ArrayRef(const SmallVector<T, N> &Vec) -> ArrayRef<T>; 494 ArrayRef(const std::array<T, N> &Vec) -> ArrayRef<T>; 497 template <typename T> ArrayRef(const ArrayRef<T> &Vec) -> ArrayRef<T>; 500 template <typename T> ArrayRef(ArrayRef<T> &Vec) -> ArrayRef<T>; 561 ArrayRef<T> makeArrayRef(const ArrayRef<T> &Vec) { in makeArrayRef() 568 ArrayRef<T> &makeArrayRef(ArrayRef<T> &Vec) { in makeArrayRef() 670 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { 680 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { [all …]
|
H A D | edit_distance.h | 45 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 D | CombinationGenerator.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_type>)> Callback) { in generate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeLayout.h | 51 double calcExtTspScore(ArrayRef<uint64_t> Order, ArrayRef<uint64_t> NodeSizes, 52 ArrayRef<uint64_t> NodeCounts, 53 ArrayRef<EdgeCount> EdgeCounts); 56 double calcExtTspScore(ArrayRef<uint64_t> NodeSizes, 57 ArrayRef<uint64_t> NodeCounts, 58 ArrayRef<EdgeCount> EdgeCounts); 85 ArrayRef<uint64_t> FuncSizes, ArrayRef<uint64_t> FuncCounts, 86 ArrayRef<EdgeCount> CallCounts, ArrayRef<uint64_t> CallOffsets); 90 const CDSortConfig &Config, ArrayRef<uint64_t> FuncSizes, 91 ArrayRef<uint64_t> FuncCounts, ArrayRef<EdgeCount> CallCounts, [all …]
|
H A D | ModuleUtils.h | 26 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/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_array_ref.h | 28 class ArrayRef { 30 constexpr ArrayRef() {} 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 41 ArrayRef(const T &one_elt) : ArrayRef(&one_elt, &one_elt + 1) {} in ArrayRef() function 53 bool equals(ArrayRef rhs) const { in equals() 67 ArrayRef<T> slice(uptr N, uptr M) const { in slice() 69 return ArrayRef<T>(data() + N, M); in slice() 112 inline bool operator==(ArrayRef<T> lhs, ArrayRef<T> rhs) { [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
H A D | OpDescriptor.h | 52 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>; 62 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred() 99 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType() 106 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType() 114 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyIntType() 154 auto Make = [](ArrayRef<Value *>, ArrayRef<Type *> Ts) { in anyPtrType() 171 auto Make = [](ArrayRef<Value *>, ArrayRef<Type *> Ts) { in sizedPtrType() 196 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in matchFirstLengthWAnyType() 226 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchSecondType() 268 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchFirstType() [all …]
|
H A D | RandomIRBuilder.h | 45 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/llvm/lib/DebugInfo/CodeView/ |
H A D | EnumTables.cpp | 455 return ArrayRef(SymbolTypeNames); in getSymbolTypeNames() 459 return ArrayRef(TypeLeafNames); in getTypeLeafNames() 476 return ArrayRef(ProcSymFlagNames); in getProcSymFlagNames() 480 return ArrayRef(LocalFlags); in getLocalFlagNames() 488 return ArrayRef(SourceLanguages); in getSourceLanguageNames() 504 return ArrayRef(CPUTypeNames); in getCPUTypeNames() 524 return ArrayRef(TrampolineNames); in getTrampolineNames() 545 return ArrayRef(MemberKindNames); in getMemberKindNames() 549 return ArrayRef(PtrKindNames); in getPtrKindNames() 553 return ArrayRef(PtrModeNames); in getPtrModeNames() [all …]
|
H A D | TypeStreamMerger.cpp | 83 ArrayRef<TypeIndex> TypeSourceToDest, 92 ArrayRef<GloballyHashedType> Hashes, 95 ArrayRef<TypeIndex> TypeSourceToDest, 97 ArrayRef<GloballyHashedType> Hashes); 136 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType, 186 ArrayRef<GloballyHashedType> GlobalHashes; 190 ArrayRef<TypeIndex> TypeLookup; 274 ArrayRef<GloballyHashedType> Hashes, in mergeTypeRecords() 344 ArrayRef<uint8_t> Buffer; in remapAllTypes() 387 ArrayRef<uint8_t> [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | Minidump.h | 45 std::optional<ArrayRef<uint8_t>> 50 Expected<ArrayRef<uint8_t>> 72 Expected<ArrayRef<minidump::Module>> getModuleList() const { in getModuleList() 131 ArrayRef<uint8_t> Storage; 155 static Expected<ArrayRef<uint8_t>> getDataSlice(ArrayRef<uint8_t> Data, 162 static Expected<ArrayRef<T>> getDataSliceAs(ArrayRef<uint8_t> Data, 166 ArrayRef<minidump::Directory> Streams, in MinidumpFile() 171 ArrayRef<uint8_t> getData() const { in getData() 186 ArrayRef<minidump::Directory> Streams; 201 Expected<ArrayRef<T>> MinidumpFile::getDataSliceAs(ArrayRef<uint8_t> Data, in getDataSliceAs() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMAttributeParser.cpp | 117 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in ARM_ISA_use() 129 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in FP_arch() 134 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in WMMX_arch() 146 return parseStringAttribute("MVE_arch", tag, ArrayRef(strings)); in MVE_arch() 153 return parseStringAttribute("PCS_config", tag, ArrayRef(strings)); in PCS_config() 282 ArrayRef(strings)); in ABI_FP_optimization_goals() 333 return parseStringAttribute("DIV_use", tag, ArrayRef(strings)); in DIV_use() 343 return parseStringAttribute("T2EE_use", tag, ArrayRef(strings)); in T2EE_use() 367 return parseStringAttribute("PACRET_use", tag, ArrayRef(strings)); in PACRET_use() 372 return parseStringAttribute("BTI_use", tag, ArrayRef(strings)); in BTI_use() [all …]
|
H A D | Compression.cpp | 46 void compression::compress(Params P, ArrayRef<uint8_t> Input, in compress() 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() 155 Error zlib::decompress(ArrayRef<uint8_t> Input, in decompress() 166 void zstd::compress(ArrayRef<uint8_t> Input, in compress() 182 Error zstd::decompress(ArrayRef<uint8_t> Input, uint8_t *Output, in decompress() 195 Error zstd::decompress(ArrayRef<uint8_t> Input, in decompress() 207 void zstd::compress(ArrayRef<uint8_t> Input, in compress() [all …]
|
H A D | Program.cpp | 26 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() 75 ArrayRef<const char *> Args) { in commandLineFitsWithinSystemLimits()
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | DXContainer.cpp | 39 ArrayRef<EnumEntry<SigMinPrecision>> dxbc::getSigMinPrecisions() { in getSigMinPrecisions() 40 return ArrayRef(SigMinPrecisionNames); in getSigMinPrecisions() 49 ArrayRef<EnumEntry<D3DSystemValue>> dxbc::getD3DSystemValues() { in getD3DSystemValues() 50 return ArrayRef(D3DSystemValueNames); in getD3DSystemValues() 59 ArrayRef<EnumEntry<SigComponentType>> dxbc::getSigComponentTypes() { in getSigComponentTypes() 60 return ArrayRef(SigComponentTypes); in getSigComponentTypes() 69 ArrayRef<EnumEntry<PSV::SemanticKind>> PSV::getSemanticKinds() { in getSemanticKinds() 70 return ArrayRef(SemanticKindNames); in getSemanticKinds() 79 ArrayRef<EnumEntry<PSV::ComponentType>> PSV::getComponentTypes() { in getComponentTypes() 80 return ArrayRef(ComponentTypeNames); in getComponentTypes() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | ExecutorProcessControl.h | 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() 158 Error writeBuffers(ArrayRef<tpctypes::BufferWrite> Ws) { in writeBuffers() 294 lookupSymbols(ArrayRef<LookupRequest> Request) = 0; 334 ArrayRef<char> ArgBuffer) { in callWrapperAsync() 420 void writeUInt8sAsync(ArrayRef<tpctypes::UInt8Write> Ws, 466 lookupSymbols(ArrayRef<LookupRequest> Request) override { in lookupSymbols() 514 lookupSymbols(ArrayRef<LookupRequest> Request) override; [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenSchedule.h | 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() 571 ArrayRef<unsigned> OperReads, 572 ArrayRef<unsigned> ProcIndices); 577 ArrayRef<SMLoc> Loc) const; 625 void inferFromRW(ArrayRef<unsigned> OperWrites, ArrayRef<unsigned> OperReads, 638 ArrayRef<unsigned> ProcIndices); 640 void collectRWResources(ArrayRef<unsigned> Writes, ArrayRef<unsigned> Reads, 641 ArrayRef<unsigned> ProcIndices); [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpParser.h | 40 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/Support/ |
H A D | Compression.h | 43 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, 113 void compress(Params P, ArrayRef<uint8_t> Input, 117 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input, 119 Error decompress(Format F, ArrayRef<uint8_t> Input, 121 Error decompress(DebugCompressionType T, ArrayRef<uint8_t> Input,
|
H A D | Program.h | 79 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 = {}, ///< 149 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, 150 std::optional<ArrayRef<StringRef>> Env, 151 ArrayRef<std::optional<StringRef>> Redirects = {}, 160 ArrayRef<StringRef> Args); 165 ArrayRef<const char *> Args); 239 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
|
H A D | BinaryByteStream.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() 147 ArrayRef<uint8_t> &Buffer) override { in readBytes() 151 Buffer = ArrayRef(Data).slice(Offset, Size); in readBytes() 155 void insert(uint64_t Offset, ArrayRef<uint8_t> Bytes) { in insert() 164 Buffer = ArrayRef(Data).slice(Offset); in readLongestContiguousChunk() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/ |
H A D | HWEventListener.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<unsigned> Buffers) {} in onReservedBuffers() 180 ArrayRef<unsigned> Buffers) {} in onReleasedBuffers()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | OpenMPClause.h | 2996 ArrayRef<Expr *> DstExprs, ArrayRef<Expr *> AssignmentOps, 3369 ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, 3370 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 3644 ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, 3888 ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, 5738 ArrayRef<ValueDecl *>(), ArrayRef<unsigned>(), ArrayRef<unsigned>(), in component_lists_end() 5987 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, 7161 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, 7331 ArrayRef<Expr *> Vars, ArrayRef<Expr *> PrivateVars, 7465 ArrayRef<Expr *> Vars, ArrayRef<ValueDecl *> Declarations, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | Operations.cpp | 101 auto buildOp = [](ArrayRef<Value *> Srcs, Instruction *Inst) { in selectDescriptor() 188 SourcePred isInt1Ty{[](ArrayRef<Value *>, const Value *V) { in splitBlockDescriptor() 200 auto Indices = ArrayRef(Srcs).drop_front(2); in gepDescriptor() 220 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validExtractValueIndex() 226 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) { in validExtractValueIndex() 252 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in matchScalarInAggregate() 262 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchScalarInAggregate() 276 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validInsertValueIndex() 285 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) { in validInsertValueIndex() 331 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validShuffleVectorIndex() [all …]
|