/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 379 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() local 381 MDs.clear(); in ValueEnumerator() 382 GV.getAllMetadata(MDs); in ValueEnumerator() 383 for (const auto &I : MDs) in ValueEnumerator() 396 MDs.clear(); in ValueEnumerator() 397 F.getAllMetadata(MDs); in ValueEnumerator() 398 for (const auto &I : MDs) in ValueEnumerator() 421 MDs.clear(); in ValueEnumerator() 422 I.getAllMetadataOtherThanDebugLoc(MDs); in ValueEnumerator() 423 for (unsigned i = 0, e = MDs.size(); i != e; ++i) in ValueEnumerator() [all …]
|
D | ValueEnumerator.h | 69 std::vector<const Metadata *> MDs; variable 84 const Metadata *get(ArrayRef<const Metadata *> MDs) const { in get() 86 assert(ID <= MDs.size() && "Expected valid ID"); in get() 87 return MDs[ID - 1]; in get() 163 unsigned numMDs() const { return MDs.size(); } in numMDs() 201 bool hasMDs() const { return NumModuleMDs < MDs.size(); } in hasMDs() 205 return makeArrayRef(MDs).slice(NumModuleMDs, NumMDStrings); in getMDStrings() 210 return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings); in getNonMDStrings()
|
D | BitcodeWriter.cpp | 360 void writeMetadataRecords(ArrayRef<const Metadata *> MDs, 2007 ArrayRef<const Metadata *> MDs, SmallVectorImpl<uint64_t> &Record, in writeMetadataRecords() argument 2009 if (MDs.empty()) in writeMetadataRecords() 2016 for (const Metadata *MD : MDs) { in writeMetadataRecords() 2149 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in pushGlobalMetadataAttachment() local 2150 GO.getAllMetadata(MDs); in pushGlobalMetadataAttachment() 2151 for (const auto &I : MDs) { in pushGlobalMetadataAttachment() 2170 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in writeFunctionMetadataAttachment() local 2173 MDs.clear(); in writeFunctionMetadataAttachment() 2174 I.getAllMetadataOtherThanDebugLoc(MDs); in writeFunctionMetadataAttachment() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Metadata.h | 145 inline Metadata **unwrap(LLVMMetadataRef *MDs) { in DEFINE_ISA_CONVERSION_FUNCTIONS() 146 return reinterpret_cast<Metadata**>(MDs); in DEFINE_ISA_CONVERSION_FUNCTIONS() 915 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 917 ArrayRef<Metadata *> MDs); 919 ArrayRef<Metadata *> MDs); 921 ArrayRef<Metadata *> MDs); 1129 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 1141 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1142 return getImpl(Context, MDs, Uniqued); 1145 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { [all …]
|
D | GlobalObject.h | 148 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 149 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 170 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
D | Instruction.h | 260 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 262 getAllMetadataImpl(MDs); 268 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 270 getAllMetadataOtherThanDebugLocImpl(MDs);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 71 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in hasMetadataOtherThanDebugLoc() local 72 GV->getAllMetadata(MDs); in hasMetadataOtherThanDebugLoc() 73 for (const auto &V : MDs) in hasMetadataOtherThanDebugLoc() 81 SmallVector<DIGlobalVariableExpression *, 1> MDs; in copyDebugLocMetadata() local 82 From->getDebugInfo(MDs); in copyDebugLocMetadata() 83 for (auto MD : MDs) in copyDebugLocMetadata()
|
D | DeadArgumentElimination.cpp | 243 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; in DeleteDeadVarargs() local 244 Fn.getAllMetadata(MDs); in DeleteDeadVarargs() 245 for (auto MD : MDs) in DeleteDeadVarargs() 1074 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; in RemoveDeadStuffFromFunction() local 1075 F->getAllMetadata(MDs); in RemoveDeadStuffFromFunction() 1076 for (auto MD : MDs) in RemoveDeadStuffFromFunction()
|
D | ThinLTOBitcodeWriter.cpp | 122 SmallVector<MDNode *, 1> MDs; in promoteTypeIds() local 123 GO.getMetadata(LLVMContext::MD_type, MDs); in promoteTypeIds() 126 for (auto MD : MDs) { in promoteTypeIds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Metadata.h | 872 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 874 ArrayRef<Metadata *> MDs); 876 ArrayRef<Metadata *> MDs); 878 ArrayRef<Metadata *> MDs); 1087 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 1099 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1100 return getImpl(Context, MDs, Uniqued); 1103 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1104 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false); 1110 static MDTuple *getDistinct(LLVMContext &Context, ArrayRef<Metadata *> MDs) { [all …]
|
D | GlobalObject.h | 94 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 95 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 116 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
D | Instruction.h | 191 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { in getAllMetadata() argument 193 getAllMetadataImpl(MDs); in getAllMetadata() 199 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { in getAllMetadataOtherThanDebugLoc() argument 201 getAllMetadataOtherThanDebugLocImpl(MDs); in getAllMetadataOtherThanDebugLoc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Metadata.cpp | 814 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, in getImpl() argument 818 MDTupleInfo::KeyTy Key(MDs); in getImpl() 828 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), in getImpl() 903 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in concatenate() local 904 MDs.insert(B->op_begin(), B->op_end()); in concatenate() 908 return getOrSelfReference(A->getContext(), MDs.getArrayRef()); in concatenate() 915 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); in intersect() local 917 MDs.remove_if([&](Metadata *MD) { return !is_contained(BSet, MD); }); in intersect() 921 return getOrSelfReference(A->getContext(), MDs.getArrayRef()); in intersect() 1044 SmallVector<Metadata *, 4> MDs; in getMostGenericRange() local [all …]
|
D | LLVMContextImpl.cpp | 186 SmallVector<Metadata *, 8> MDs(N->op_begin() + Offset, N->op_end()); in calculateHash() local 187 unsigned RawHash = calculateHash(MDs); in calculateHash()
|
D | AsmWriter.cpp | 1055 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in processGlobalObjectMetadata() local 1056 GO.getAllMetadata(MDs); in processGlobalObjectMetadata() 1057 for (auto &MD : MDs) in processGlobalObjectMetadata() 1080 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in processInstructionMetadata() local 1081 I.getAllMetadata(MDs); in processInstructionMetadata() 1082 for (auto &MD : MDs) in processInstructionMetadata() 2442 const SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs, 3317 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in printGlobal() local 3318 GV->getAllMetadata(MDs); in printGlobal() 3319 printMetadataAttachments(MDs, ", "); in printGlobal() [all …]
|
D | Verifier.cpp | 509 void verifyFunctionMetadata(ArrayRef<std::pair<unsigned, MDNode *>> MDs); 690 SmallVector<MDNode *, 1> MDs; in visitGlobalVariable() local 691 GV.getMetadata(LLVMContext::MD_dbg, MDs); in visitGlobalVariable() 692 for (auto *MD : MDs) { in visitGlobalVariable() 1878 ArrayRef<std::pair<unsigned, MDNode *>> MDs) { in verifyFunctionMetadata() argument 1879 for (const auto &Pair : MDs) { in verifyFunctionMetadata() 2260 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in visitFunction() local 2261 F.getAllMetadata(MDs); in visitFunction() 2262 assert(F.hasMetadata() != MDs.empty() && "Bit out-of-sync"); in visitFunction() 2263 verifyFunctionMetadata(MDs); in visitFunction() [all …]
|
D | DebugInfoMetadata.cpp | 30 unsigned Column, ArrayRef<Metadata *> MDs, in DILocation() argument 32 : MDNode(C, DILocationKind, Storage, MDs) { in DILocation() 33 assert((MDs.size() == 1 || MDs.size() == 2) && in DILocation()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 202 Metadata *MDs[] = { in createStringMetadata() local 205 return MDNode::get(Context, MDs); in createStringMetadata() 213 SmallVector<Metadata *, 4> MDs(1); in addStringMetadataToLoop() local 233 MDs.push_back(Node); in addStringMetadataToLoop() 237 MDs.push_back(createStringMetadata(TheLoop, StringMD, V)); in addStringMetadataToLoop() 240 MDNode *NewLoopID = MDNode::get(Context, MDs); in addStringMetadataToLoop() 316 SmallVector<Metadata *, 8> MDs; in makeFollowupLoopID() local 317 MDs.push_back(nullptr); in makeFollowupLoopID() 342 MDs.push_back(Op); in makeFollowupLoopID() 359 MDs.push_back(Option.get()); in makeFollowupLoopID() [all …]
|
D | CloneModule.cpp | 132 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; in CloneModule() local 133 I->getAllMetadata(MDs); in CloneModule() 134 for (auto MD : MDs) in CloneModule()
|
D | ValueMapper.cpp | 878 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in remapInstruction() local 879 I->getAllMetadata(MDs); in remapInstruction() 880 for (const auto &MI : MDs) { in remapInstruction() 928 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in remapGlobalObjectMetadata() local 929 GO.getAllMetadata(MDs); in remapGlobalObjectMetadata() 931 for (const auto &I : MDs) in remapGlobalObjectMetadata()
|
D | CloneFunction.cpp | 143 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; in CloneFunctionInto() local 144 OldFunc->getAllMetadata(MDs); in CloneFunctionInto() 145 for (auto MD : MDs) { in CloneFunctionInto()
|
D | InlineFunction.cpp | 1370 SmallVector<Metadata *, 4> MDs = {nullptr}; in inlineLoopID() local 1376 MDs.push_back(inlineDebugLoc(DL, InlinedAt, Ctx, IANodes)); in inlineLoopID() 1378 MDs.push_back(MD); in inlineLoopID() 1381 MDNode *NewLoopID = MDNode::getDistinct(Ctx, MDs); in inlineLoopID()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 1016 SmallVector<Metadata *, 4> MDs; in makePostTransformationMetadata() local 1020 MDs.push_back(TempNode.get()); in makePostTransformationMetadata() 1037 MDs.push_back(Op); in makePostTransformationMetadata() 1043 MDs.append(AddAttrs.begin(), AddAttrs.end()); in makePostTransformationMetadata() 1045 MDNode *NewLoopID = MDNode::getDistinct(Context, MDs); in makePostTransformationMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | IRMover.cpp | 1356 SmallVector<Metadata *, 8> MDs; in linkModuleFlagsMetadata() local 1357 MDs.reserve(DstValue->getNumOperands() + SrcValue->getNumOperands()); in linkModuleFlagsMetadata() 1358 MDs.append(DstValue->op_begin(), DstValue->op_end()); in linkModuleFlagsMetadata() 1359 MDs.append(SrcValue->op_begin(), SrcValue->op_end()); in linkModuleFlagsMetadata() 1361 replaceDstValue(MDNode::get(DstM.getContext(), MDs)); in linkModuleFlagsMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Scalarizer.cpp | 422 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in transferMetadataAndIRFlags() local 423 Op->getAllMetadataOtherThanDebugLoc(MDs); in transferMetadataAndIRFlags() 426 for (const auto &MD : MDs) in transferMetadataAndIRFlags()
|