Searched defs:ArrayRef (Results 1 - 11 of 11) sorted by relevance

/freebsd-head/contrib/llvm-project/llvm/include/llvm/ADT/
H A DTinyPtrVector.h12 #include "llvm/ADT/ArrayRef.h"
120 /// Constructor from an ArrayRef.
123 /// element constructor for ArrayRef.
124 explicit TinyPtrVector(ArrayRef<EltTy> Elts)
136 // implicit conversion operator to ArrayRef.
137 operator ArrayRef<EltTy>() const {
154 // Implicit conversion to ArrayRef<U> if EltTy* implicitly converts to U*.
157 std::is_convertible<ArrayRef<EltTy>, ArrayRef<U>>::value,
159 operator ArrayRef<
[all...]
H A DArrayRef.h1 //===- ArrayRef.h - Array Reference Wrapper ---------------------*- C++ -*-===//
29 /// ArrayRef - Represent a constant reference to an array (0 or more elements
35 /// extends past that of the ArrayRef. For this reason, it is not in general
36 /// safe to store an ArrayRef.
41 class LLVM_NODISCARD ArrayRef { class in namespace:llvm
59 /// Construct an empty ArrayRef.
60 /*implicit*/ ArrayRef() = default;
62 /// Construct an empty ArrayRef from None.
63 /*implicit*/ ArrayRef(NoneType) {} function in class:llvm::ArrayRef
65 /// Construct an ArrayRef fro
66 /*implicit*/ ArrayRef(const T &OneElt) function in class:llvm::ArrayRef
70 /*implicit*/ ArrayRef(const T *data, size_t length) function in class:llvm::ArrayRef
74 ArrayRef(const T *begin, const T *end) function in class:llvm::ArrayRef
81 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) function in class:llvm::ArrayRef
87 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) function in class:llvm::ArrayRef
92 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) function in class:llvm::ArrayRef
107 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) function in class:llvm::ArrayRef
117 ArrayRef( function in class:llvm::ArrayRef
127 /*implicit*/ ArrayRef( function in class:llvm::ArrayRef
137 ArrayRef(const std::vector<U *, A> &Vec, function in class:llvm::ArrayRef
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRegisterClassInfo.h19 #include "llvm/ADT/ArrayRef.h"
41 operator ArrayRef<MCPhysReg>() const {
96 ArrayRef<MCPhysReg> getOrder(const TargetRegisterClass *RC) const {
/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersChecker.cpp41 SVal ArrayRef = C.getSVal(E); local
42 SymbolRef ArraySym = ArrayRef.getAsSymbol();
76 // Get the ArrayRef symbol.
77 SVal ArrayRef = C.getSVal(Array);
78 SymbolRef ArraySym = ArrayRef.getAsSymbol();
/freebsd-head/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp561 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) {
591 Registry::getMatcherCompletions(ArrayRef<ArgKind> AcceptedTypes) {
671 ArrayRef<ParserValue> Args,
679 ArrayRef<ParserValue> Args,
560 getAcceptedCompletionTypes( ArrayRef<std::pair<MatcherCtor, unsigned>> Context) argument
H A DParser.cpp324 llvm::ArrayRef<std::pair<MatcherCtor, unsigned>> Context) {
329 Parser::Sema::getMatcherCompletions(llvm::ArrayRef<ArgKind> AcceptedTypes) {
551 ArrayRef<ArgKind> AcceptedTypes) {
641 ArrayRef<ParserValue> Args, Diagnostics *Error) {
651 ArrayRef<std::pair<MatcherCtor, unsigned>> Context) {
656 ArrayRef<ArgKind> AcceptedTypes) {
650 getAcceptedCompletionTypes( ArrayRef<std::pair<MatcherCtor, unsigned>> Context) argument
/freebsd-head/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h17 #include "llvm/ADT/ArrayRef.h"
56 ArgInfo(ArrayRef<Register> Regs, Type *Ty, argument
57 ArrayRef<ISD::ArgFlagsTy> Flags = ArrayRef<ISD::ArgFlagsTy>(),
149 ArrayRef<CCValAssign> VAs) {
194 Register packRegs(ArrayRef<Register> SrcRegs, Type *PackedTy,
202 void unpackRegs(ArrayRef<Register> DstRegs, Register SrcReg, Type *PackedTy,
265 ArrayRef<Register> VRegs,
277 ArrayRef<Register> VRegs) const {
293 ArrayRef<ArrayRe
[all...]
/freebsd-head/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp23 #include "llvm/ADT/ArrayRef.h"
176 ArrayRef<std::pair<unsigned, bool>> Regs,
177 ArrayRef<MachineInstr*> Instrs);
182 ArrayRef<std::pair<unsigned, bool>> Regs,
183 ArrayRef<MachineInstr*> Instrs) const;
612 static bool ContainsReg(const ArrayRef<std::pair<unsigned, bool>> &Regs, argument
627 ArrayRef<std::pair<unsigned, bool>> Regs,
628 ArrayRef<MachineInstr*> Instrs) {
834 ArrayRef<std::pair<unsigned, bool>> Regs,
835 ArrayRef<MachineInst
[all...]
/freebsd-head/contrib/llvm-project/llvm/include/llvm/Support/
H A DCommandLine.h22 #include "llvm/ADT/ArrayRef.h"
1611 operator ArrayRef<DataType>() { return Storage; }
2107 void HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *> Categories,
/freebsd-head/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp16 #include "llvm/ADT/ArrayRef.h"
244 ArrayRef<uint8_t> ChecksumAsBytes;
250 ChecksumAsBytes = ArrayRef<uint8_t>(
320 static std::string getQualifiedName(ArrayRef<StringRef> QualifiedNameComponents,
1868 ArrayRef<TypeIndex> ArgTypeIndices = None;
2595 ArrayRef<LocalVariable> Locals) {
2695 void CodeViewDebug::emitLexicalBlockList(ArrayRef<LexicalBlock *> Blocks,
2967 ArrayRef<std::pair<std::string, const DIType *>> UDTs) {
3069 void CodeViewDebug::emitGlobalVariableList(ArrayRef<CVGlobalVariable> Globals) {
2966 emitDebugInfoForUDTs( ArrayRef<std::pair<std::string, const DIType *>> UDTs) argument
/freebsd-head/contrib/llvm-project/llvm/lib/IR/
H A DVerifier.cpp49 #include "llvm/ADT/ArrayRef.h"
197 template <typename T> void Write(ArrayRef<T> Vs) {
509 void verifyFunctionMetadata(ArrayRef<std::pair<unsigned, MDNode *>> MDs);
1878 ArrayRef<std::pair<unsigned, MDNode *>> MDs) {
2143 ArrayRef<Instruction *>(CycleNodes));
4274 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table;
1877 verifyFunctionMetadata( ArrayRef<std::pair<unsigned, MDNode *>> MDs) argument

Completed in 212 milliseconds