/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | ArrayRefTest.cpp | 21 std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value, 24 std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value, 26 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value, 29 !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value, 32 !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value, 42 !std::is_assignable<ArrayRef<int *>&, int *>::value, 45 !std::is_assignable<ArrayRef<int *>&, int * &&>::value, 48 std::is_assignable<ArrayRef<int *>&, int * &>::value, 51 !std::is_assignable<ArrayRef<int *>&, std::initializer_list<int *>>::value, 60 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | ArrayRefTest.cpp | 20 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, 39 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST() 41 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST() 42 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc); in TEST() 43 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc); in TEST() 58 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc); in TEST() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 31 class ArrayRef { 51 /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} in ArrayRef() function 54 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() function 57 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function 61 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function 65 ArrayRef(const T *begin, const T *end) in ArrayRef() function 72 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function 78 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function 83 /*implicit*/ LLVM_CONSTEXPR ArrayRef(const T (&Arr)[N]) in ArrayRef() function 87 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec) in ArrayRef() function [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | ArrayRef.h | 33 class LLVM_NODISCARD ArrayRef { 53 /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {} in ArrayRef() function 56 /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {} in ArrayRef() function 59 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function 63 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function 67 ArrayRef(const T *begin, const T *end) in ArrayRef() function 74 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function 80 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function 85 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) in ArrayRef() function 90 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} in ArrayRef() function [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | ArrayRef.h | 42 class LLVM_NODISCARD ArrayRef { 61 /*implicit*/ ArrayRef() = default; 64 /*implicit*/ ArrayRef(NoneType) {} in ArrayRef() function 67 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function 71 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function 75 ArrayRef(const T *begin, const T *end) in ArrayRef() function 82 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec) in ArrayRef() function 88 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec) in ArrayRef() function 93 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr) in ArrayRef() function 98 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {} in ArrayRef() function [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | EnumTables.h | 22 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames(); 23 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames(); 24 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(); 25 ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames(); 26 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames(); 27 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames(); 28 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames(); 29 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames(); 30 ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames(); 31 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames(); [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | ArrayRef.h | 31 class ArrayRef { 49 /*implicit*/ ArrayRef() : Data(0), Length(0) {} in ArrayRef() function 52 /*implicit*/ ArrayRef(const T &OneElt) in ArrayRef() function 56 /*implicit*/ ArrayRef(const T *data, size_t length) in ArrayRef() function 60 ArrayRef(const T *begin, const T *end) in ArrayRef() function 64 /*implicit*/ ArrayRef(const SmallVectorImpl<T> &Vec) in ArrayRef() function 68 /*implicit*/ ArrayRef(const std::vector<T> &Vec) in ArrayRef() function 73 /*implicit*/ ArrayRef(const T (&Arr)[N]) in ArrayRef() function 104 bool equals(ArrayRef RHS) const { in equals() 114 ArrayRef<T> slice(unsigned N) { in slice() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/ |
D | OpDescriptor.h | 48 using PredT = std::function<bool(ArrayRef<Value *> Cur, const Value *New)>; 53 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>; 63 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred() 78 bool matches(ArrayRef<Value *> Cur, const Value *New) { in matches() 83 std::vector<Constant *> generate(ArrayRef<Value *> Cur, in generate() 84 ArrayRef<Type *> BaseTypes) { in generate() 93 std::function<Value *(ArrayRef<Value *>, Instruction *)> BuilderFunc; 97 auto Pred = [Only](ArrayRef<Value *>, const Value *V) { in onlyType() 100 auto Make = [Only](ArrayRef<Value *>, ArrayRef<Type *>) { in onlyType() 107 auto Pred = [](ArrayRef<Value *>, const Value *V) { in anyType() [all …]
|
D | RandomIRBuilder.h | 30 RandomIRBuilder(int Seed, ArrayRef<Type *> AllowedTypes) in RandomIRBuilder() 38 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts); 44 Value *findOrCreateSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, 45 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); 47 Value *newSource(BasicBlock &BB, ArrayRef<Instruction *> Insts, 48 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); 51 void connectToSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V); 53 void newSink(BasicBlock &BB, ArrayRef<Instruction *> Insts, Value *V); 54 Value *findPointer(BasicBlock &BB, ArrayRef<Instruction *> Insts, 55 ArrayRef<Value *> Srcs, fuzzerop::SourcePred Pred); [all …]
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | EnumTables.h | 22 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames(); 23 ArrayRef<EnumEntry<uint16_t>> getRegisterNames(); 24 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames(); 25 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames(); 26 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames(); 27 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames(); 28 ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames(); 29 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames(); 30 ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames(); 31 ArrayRef<EnumEntry<unsigned>> getCPUTypeNames(); [all …]
|
D | RecordSerialization.h | 34 StringRef getBytesAsCharacters(ArrayRef<uint8_t> LeafData); 35 StringRef getBytesAsCString(ArrayRef<uint8_t> LeafData); 49 inline std::error_code consume(ArrayRef<uint8_t> &Data) { in consume() 57 std::error_code consume(ArrayRef<uint8_t> &Data, APSInt &Num); 61 std::error_code consume_numeric(ArrayRef<uint8_t> &Data, uint64_t &Value); 64 std::error_code consume(ArrayRef<uint8_t> &Data, uint32_t &Item); 66 std::error_code consume(ArrayRef<uint8_t> &Data, int32_t &Item); 69 std::error_code consume(ArrayRef<uint8_t> &Data, StringRef &Item); 74 std::error_code consume(ArrayRef<uint8_t> &Data, T *&Item) { in consume() 81 std::error_code deserialize(ArrayRef<uint8_t> &Data) const { in deserialize() [all …]
|
D | TypeRecord.h | 84 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 86 static ErrorOr<MemberPointerInfo> deserialize(ArrayRef<uint8_t> &Data); 123 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 126 ArrayRef<uint8_t> &Data); 153 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 156 ArrayRef<uint8_t> &Data); 197 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 200 ArrayRef<uint8_t> &Data); 243 bool remapTypeIndices(ArrayRef<TypeIndex> IndexMap); 246 ArrayRef<uint8_t> &Data); [all …]
|
D | SymbolRecord.h | 67 ArrayRef<uint8_t> &Data) { in deserialize() 100 StringRef Name, ArrayRef<uint8_t> VariantData) in Thunk32Sym() 106 ArrayRef<uint8_t> &Data) { in deserialize() 109 ArrayRef<uint8_t> VariantData; in deserialize() 119 ArrayRef<uint8_t> VariantData; 139 ArrayRef<uint8_t> &Data) { in deserialize() 171 ArrayRef<uint8_t> &Data) { in deserialize() 203 ArrayRef<uint8_t> &Data) { in deserialize() 224 ArrayRef<uint8_t> &Data) { in deserialize() 237 ArrayRef<TypeIndex> Indices) in CallerSym() [all …]
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | TypeRecord.cpp | 22 MemberPointerInfo::deserialize(ArrayRef<uint8_t> &Data) { in deserialize() 35 ArrayRef<uint8_t> &Data) { in deserialize() 47 ArrayRef<uint8_t> &Data) { in deserialize() 57 ArrayRef<uint8_t> &Data) { in deserialize() 66 MemberFuncIdRecord::deserialize(TypeRecordKind Kind, ArrayRef<uint8_t> &Data) { in deserialize() 74 ArrayRef<uint8_t> &Data) { in deserialize() 79 ArrayRef<TypeIndex> Indices; in deserialize() 85 ArrayRef<uint8_t> &Data) { in deserialize() 107 NestedTypeRecord::deserialize(TypeRecordKind Kind, ArrayRef<uint8_t> &Data) { in deserialize() 115 ArrayRef<uint8_t> &Data) { in deserialize() [all …]
|
/external/clang/lib/AST/ |
D | OpenMPClause.cpp | 165 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() 174 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) { in Create() 190 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) { in setPrivateCopies() 196 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) { in setInits() 205 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL, in Create() 206 ArrayRef<Expr *> InitVL, Stmt *PreInit) { in Create() 223 void OMPLastprivateClause::setPrivateCopies(ArrayRef<Expr *> PrivateCopies) { in setPrivateCopies() 229 void OMPLastprivateClause::setSourceExprs(ArrayRef<Expr *> SrcExprs) { in setSourceExprs() 236 void OMPLastprivateClause::setDestinationExprs(ArrayRef<Expr *> DstExprs) { in setDestinationExprs() 243 void OMPLastprivateClause::setAssignmentOps(ArrayRef<Expr *> AssignmentOps) { in setAssignmentOps() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | TypeStreamMerger.cpp | 76 ArrayRef<TypeIndex> TypeSourceToDest, 85 ArrayRef<GloballyHashedType> Hashes); 87 ArrayRef<TypeIndex> TypeSourceToDest, 89 ArrayRef<GloballyHashedType> Hashes); 91 ArrayRef<GloballyHashedType> Hashes); 127 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType, 130 inline bool remapIndex(TypeIndex &Idx, ArrayRef<TypeIndex> Map) { in remapIndex() 137 inline bool remapIndexSimple(TypeIndex &Idx, ArrayRef<TypeIndex> Map) const { in remapIndexSimple() 153 bool remapIndexFallback(TypeIndex &Idx, ArrayRef<TypeIndex> Map); 175 ArrayRef<GloballyHashedType> GlobalHashes; [all …]
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 59 static CallInst *createCallHelper(Value *Callee, ArrayRef<Value *> Ops, in createCallHelper() 70 ArrayRef<Value *> Ops, in createInvokeHelper() 246 ArrayRef<Value *> Ops, in CreateMaskedIntrinsic() 247 ArrayRef<Type *> OverloadedTypes, in CreateMaskedIntrinsic() 314 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs, in getStatepointArgs() 315 ArrayRef<T1> TransitionArgs, ArrayRef<T2> DeoptArgs, in getStatepointArgs() 316 ArrayRef<T3> GCArgs) { in getStatepointArgs() 336 Value *ActualCallee, uint32_t Flags, ArrayRef<T0> CallArgs, in CreateGCStatepointCallCommon() 337 ArrayRef<T1> TransitionArgs, ArrayRef<T2> DeoptArgs, ArrayRef<T3> GCArgs, in CreateGCStatepointCallCommon() 359 ArrayRef<Value *> CallArgs, ArrayRef<Value *> DeoptArgs, in CreateGCStatepointCall() [all …]
|
/external/llvm/unittests/DebugInfo/PDB/ |
D | MappedBlockStreamTest.cpp | 49 DiscontiguousFile(ArrayRef<uint32_t> Blocks, MutableArrayRef<uint8_t> Data) in DiscontiguousFile() 58 ArrayRef<support::ulittle32_t> 61 return ArrayRef<support::ulittle32_t>(); in getStreamBlockList() 64 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex, in getBlockData() 66 return ArrayRef<uint8_t>(&Data[BlockIndex], NumBytes); in getBlockData() 70 ArrayRef<uint8_t> SrcData) const override { in setBlockData() 99 ArrayRef<uint8_t> Buffer; in TEST() 247 ArrayRef<uint8_t> Buffer; in TEST() 249 EXPECT_ERROR(S.writeBytes(0, ArrayRef<uint8_t>(LargeBuffer))); in TEST() 250 EXPECT_NO_ERROR(S.writeBytes(0, ArrayRef<uint8_t>(SmallBuffer))); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Program.cpp | 27 ArrayRef<StringRef> Args, Optional<ArrayRef<StringRef>> Env, 28 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() 52 ProcessInfo sys::ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, in ExecuteNoWait() 53 Optional<ArrayRef<StringRef>> Env, in ExecuteNoWait() 54 ArrayRef<Optional<StringRef>> Redirects, in ExecuteNoWait() 69 ArrayRef<const char *> Args) { in commandLineFitsWithinSystemLimits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Program.h | 70 findProgramByName(StringRef Name, ArrayRef<StringRef> Paths = {}); 92 ArrayRef<StringRef> Args, ///< An array of strings that are passed to the 95 Optional<ArrayRef<StringRef>> Env = None, ///< An optional vector of 99 ArrayRef<Optional<StringRef>> Redirects = {}, ///< 127 ProcessInfo ExecuteNoWait(StringRef Program, ArrayRef<StringRef> Args, 128 Optional<ArrayRef<StringRef>> Env, 129 ArrayRef<Optional<StringRef>> Redirects = {}, 137 ArrayRef<StringRef> Args); 142 ArrayRef<const char *> Args); 204 std::string flattenWindowsCommandLine(ArrayRef<StringRef> Args);
|
/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 136 void setVarRefs(ArrayRef<Expr *> VL) { in setVarRefs() 157 typedef ArrayRef<const Expr *>::iterator varlist_const_iterator; 182 ArrayRef<const Expr *> getVarRefs() const { in getVarRefs() 1211 void setPrivateCopies(ArrayRef<Expr *> VL); 1218 ArrayRef<const Expr *> getPrivateCopies() const { in getPrivateCopies() 1234 SourceLocation EndLoc, ArrayRef<Expr *> VL, 1235 ArrayRef<Expr *> PrivateVL); 1244 typedef ArrayRef<const Expr *>::iterator private_copies_const_iterator; 1310 void setPrivateCopies(ArrayRef<Expr *> VL); 1317 ArrayRef<const Expr *> getPrivateCopies() const { in getPrivateCopies() [all …]
|
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyTargetStreamer.h | 33 virtual void emitParam(ArrayRef<MVT> Types) = 0; 35 virtual void emitResult(ArrayRef<MVT> Types) = 0; 37 virtual void emitLocal(ArrayRef<MVT> Types) = 0; 55 void emitParam(ArrayRef<MVT> Types) override; 56 void emitResult(ArrayRef<MVT> Types) override; 57 void emitLocal(ArrayRef<MVT> Types) override; 69 void emitParam(ArrayRef<MVT> Types) override; 70 void emitResult(ArrayRef<MVT> Types) override; 71 void emitLocal(ArrayRef<MVT> Types) override;
|
/external/llvm/utils/TableGen/ |
D | CodeGenSchedule.h | 75 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW() 147 bool isKeyEqual(Record *IC, ArrayRef<unsigned> W, ArrayRef<unsigned> R) { in isKeyEqual() 312 ArrayRef<CodeGenProcModel> procModels() const { return ProcModels; } in procModels() 366 ArrayRef<CodeGenSchedClass> schedClasses() const { return SchedClasses; } in schedClasses() 376 unsigned addSchedClass(Record *ItinDef, ArrayRef<unsigned> OperWrites, 377 ArrayRef<unsigned> OperReads, 378 ArrayRef<unsigned> ProcIndices); 380 unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead); 382 unsigned findSchedClassIdx(Record *ItinClassDef, ArrayRef<unsigned> Writes, 383 ArrayRef<unsigned> Reads) const; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenSchedule.h | 73 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() 360 ArrayRef<CodeGenProcModel> procModels() const { return ProcModels; } in procModels() 414 ArrayRef<CodeGenSchedClass> schedClasses() const { return SchedClasses; } in schedClasses() 424 unsigned addSchedClass(Record *ItinDef, ArrayRef<unsigned> OperWrites, 425 ArrayRef<unsigned> OperReads, 426 ArrayRef<unsigned> ProcIndices); 428 unsigned findOrInsertRW(ArrayRef<unsigned> Seq, bool IsRead); 431 ArrayRef<SMLoc> Loc) const; [all …]
|
/external/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMappingWriter.h | 29 ArrayRef<StringRef> Filenames; 32 CoverageFilenamesSectionWriter(ArrayRef<StringRef> Filenames) in CoverageFilenamesSectionWriter() 41 ArrayRef<unsigned> VirtualFileMapping; 42 ArrayRef<CounterExpression> Expressions; 46 CoverageMappingWriter(ArrayRef<unsigned> VirtualFileMapping, in CoverageMappingWriter() 47 ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter() 52 CoverageMappingWriter(ArrayRef<CounterExpression> Expressions, in CoverageMappingWriter()
|