| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | EnumTables.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<EnumEntry<uint32_t>> getCompileSym2FlagNames(); 30 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames(); [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | ArrayRef.h | 41 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 88 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function 94 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function 99 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) in ArrayRef() function 104 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} in ArrayRef() function [all …]
|
| 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()
|
| H A D | edit_distance.h | 46 unsigned ComputeMappedEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray, 61 typename ArrayRef<T>::size_type m = FromArray.size(); 62 typename ArrayRef<T>::size_type n = ToArray.size(); 68 typename ArrayRef<T>::size_type AbsDiff = m > n ? m - n : n - m; 85 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) { 91 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) { 115 unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/FuzzMutate/ |
| H A D | OpDescriptor.h | 46 using PredT = std::function<bool(ArrayRef<Value *> Cur, const Value *New)>; 51 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>; 61 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred() 76 bool matches(ArrayRef<Value *> Cur, const Value *New) { in matches() 81 std::vector<Constant *> generate(ArrayRef<Value *> Cur, in generate() 82 ArrayRef<Type *> BaseTypes) { in generate() 91 std::function<Value *(ArrayRef<Value *>, Instruction *)> BuilderFunc; 95 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType() 98 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType() 105 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType() [all …]
|
| H A D | RandomIRBuilder.h | 36 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, 54 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, 55 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred, 59 void connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V); 61 void newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V); 62 Value *findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts, 63 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | EnumTables.cpp | 439 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames() { in getSymbolTypeNames() 440 return ArrayRef(SymbolTypeNames); in getSymbolTypeNames() 443 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames() { in getTypeLeafNames() 444 return ArrayRef(TypeLeafNames); in getTypeLeafNames() 447 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(CPUType Cpu) { in getRegisterNames() 449 return ArrayRef(RegisterNames_ARM); in getRegisterNames() 451 return ArrayRef(RegisterNames_ARM64); in getRegisterNames() 453 return ArrayRef(RegisterNames_X86); in getRegisterNames() 456 ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames() { in getPublicSymFlagNames() 457 return ArrayRef(PublicSymFlagNames); in getPublicSymFlagNames() [all …]
|
| H A D | TypeStreamMerger.cpp | 83 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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | Minidump.h | 36 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | ARMAttributeParser.cpp | 95 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 D | Compression.cpp | 46 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 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | ExecutorProcessControl.h | 108 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 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | CodeGenSchedule.h | 71 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW() 146 bool isKeyEqual(Record *IC, ArrayRef<unsigned> W, in isKeyEqual() 147 ArrayRef<unsigned> R) const { in isKeyEqual() 148 return ItinClassDef == IC && ArrayRef(Writes) == W && ArrayRef(Reads) == R; in isKeyEqual() 339 ArrayRef<PredicateInfo> getPredicates() const { return Predicates; } in getPredicates() 364 ArrayRef<const Record *> getOpcodes() const { return Opcodes; } in getOpcodes() 404 ArrayRef<const Record *> getDefinitions() const { return Definitions; } in getDefinitions() 405 ArrayRef<OpcodeGroup> getGroups() const { return Groups; } in getGroups() 499 ArrayRef<CodeGenProcModel> procModels() const { return ProcModels; } in procModels() 553 ArrayRef<CodeGenSchedClass> schedClasses() const { return SchedClasses; } in schedClasses() [all …]
|
| /openbsd-src/gnu/llvm/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);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| 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 = {}); 150 void setVectorVariantNames(CallInst *CI, ArrayRef<std::string> VariantMappings);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| 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 | 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 | BinaryByteStream.h | 33 BinaryByteStream(ArrayRef<uint8_t> Data, llvm::support::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() 148 ArrayRef<uint8_t> &Buffer) override { in readBytes() 152 Buffer = ArrayRef(Data).slice(Offset, Size); in readBytes() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/MCA/ |
| H A D | HWEventListener.h | 67 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()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 303 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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | CallLowering.h | 55 ArrayRef<ISD::ArgFlagsTy> Flags = ArrayRef<ISD::ArgFlagsTy>(), 81 ArgInfo(ArrayRef<Register> Regs, Type *Ty, unsigned OrigIndex, 82 ArrayRef<ISD::ArgFlagsTy> Flags = ArrayRef<ISD::ArgFlagsTy>(), 94 ArgInfo(ArrayRef<Register> Regs, const Value &OrigValue, unsigned OrigIndex, 95 ArrayRef<ISD::ArgFlagsTy> Flags = ArrayRef<ISD::ArgFlagsTy>(), 295 virtual unsigned assignCustomValue(ArgInfo &Arg, ArrayRef<CCValAssign> VAs, 402 ArrayRef<Register> ThisReturnRegs = std::nullopt) const; 411 ArrayRef<Register> ThisReturnRegs = std::nullopt) const; 451 ArrayRef<Register> VRegs, Register DemoteReg, 457 ArrayRef<Register> VRegs, Register DemoteReg) const; [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Tooling/Syntax/ |
| H A D | Tokens.h | 190 llvm::ArrayRef<syntax::Token> expandedTokens() const { in expandedTokens() 201 llvm::ArrayRef<syntax::Token> expandedTokens(SourceRange R) const; 231 std::optional<llvm::ArrayRef<syntax::Token>> 232 spelledForExpanded(llvm::ArrayRef<syntax::Token> Expanded) const; 261 llvm::SmallVector<llvm::ArrayRef<syntax::Token>, 1> 262 expandedForSpelled(llvm::ArrayRef<syntax::Token> Spelled) const; 274 llvm::ArrayRef<syntax::Token> Spelled; 275 llvm::ArrayRef<syntax::Token> Expanded; 285 expansionsOverlapping(llvm::ArrayRef<syntax::Token> Spelled) const; 293 llvm::ArrayRef<syntax::Token> spelledTokens(FileID FID) const; [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Option/ |
| H A D | OptTable.h | 46 ArrayRef<StringLiteral> Prefixes; 62 ArrayRef<Info> OptionInfos; 80 virtual ArrayRef<StringLiteral> getPrefixesUnion() const = 0; 95 OptTable(ArrayRef<Info> OptionInfos, bool IgnoreCase = false); 230 InputArgList ParseArgs(ArrayRef<const char *> Args, unsigned &MissingArgIndex, 271 GenericOptTable(ArrayRef<Info> OptionInfos, bool IgnoreCase = false); 272 ArrayRef<StringLiteral> getPrefixesUnion() const final { in getPrefixesUnion() 278 ArrayRef<StringLiteral> PrefixesUnion; 281 PrecomputedOptTable(ArrayRef<Info> OptionInfos, 282 ArrayRef<StringLiteral> PrefixesTable, [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 372 ArrayRef<Expr *> OMPOrderedClause::getLoopNumIterations() const { in getLoopNumIterations() 373 return llvm::ArrayRef(getTrailingObjects<Expr *>(), NumberOfLoops); in getLoopNumIterations() 424 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() 433 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create() 449 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() 455 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) { in setInits() 464 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL, in Create() 465 ArrayRef<Expr *> InitVL, Stmt *PreInit) { in Create() 482 void OMPLastprivateClause::setPrivateCopies(ArrayRef<Expr *> PrivateCopies) { in setPrivateCopies() 488 void OMPLastprivateClause::setSourceExprs(ArrayRef<Expr *> SrcExprs) { in setSourceExprs() [all …]
|