| /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| ReduceMetadata.cpp | 27 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 28 MDUser.getAllMetadata(MDs); 29 for (auto &MD : MDs) { 40 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 41 MDUser.getAllMetadata(MDs); 42 for (int I = 0, E = MDs.size(); I != E; ++I) 43 if (!NodesToKeep.count(MDs[I].second)) 96 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 97 MDUser.getAllMetadata(MDs); 98 for (auto &MD : MDs) [all...] |
| /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
| IRBindings.h | 39 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs,
|
| IRBindings.cpp | 32 LLVMMetadataRef LLVMMDNode2(LLVMContextRef C, LLVMMetadataRef *MDs, 35 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count)));
|
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
| ValueEnumerator.h | 68 std::vector<const Metadata *> MDs; 83 const Metadata *get(ArrayRef<const Metadata *> MDs) const { 85 assert(ID <= MDs.size() && "Expected valid ID"); 86 return MDs[ID - 1]; 162 unsigned numMDs() const { return MDs.size(); } 200 bool hasMDs() const { return NumModuleMDs < MDs.size(); } 204 return makeArrayRef(MDs).slice(NumModuleMDs, NumMDStrings); 209 return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings);
|
| ValueEnumerator.cpp | 419 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; 421 MDs.clear(); 422 GV.getAllMetadata(MDs); 423 for (const auto &I : MDs) 436 MDs.clear(); 437 F.getAllMetadata(MDs); 438 for (const auto &I : MDs) 471 MDs.clear(); 472 I.getAllMetadataOtherThanDebugLoc(MDs); 473 for (unsigned i = 0, e = MDs.size(); i != e; ++i [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| ConstantMerge.cpp | 71 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 72 GV->getAllMetadata(MDs); 73 for (const auto &V : MDs) 81 SmallVector<DIGlobalVariableExpression *, 1> MDs; 82 From->getDebugInfo(MDs); 83 for (auto MD : MDs)
|
| DeadArgumentElimination.cpp | 240 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 241 Fn.getAllMetadata(MDs); 242 for (auto MD : MDs) 1076 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 1077 F->getAllMetadata(MDs); 1078 for (auto MD : MDs)
|
| ThinLTOBitcodeWriter.cpp | 123 SmallVector<MDNode *, 1> MDs; 124 GO.getMetadata(LLVMContext::MD_type, MDs); 127 for (auto MD : MDs) {
|
| Attributor.cpp | 1506 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 1507 F.getAllMetadata(MDs); 1508 for (auto MDIt : MDs) 1569 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 1570 F.getAllMetadata(MDs); 1571 for (auto MDIt : MDs)
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| IntrinsicInst.cpp | 95 SmallVector<ValueAsMetadata *, 4> MDs; 98 MDs.push_back(VMD == *OldIt ? NewOperand : getAsMetadata(VMD)); 100 0, MetadataAsValue::get(getContext(), DIArgList::get(getContext(), MDs))); 112 SmallVector<ValueAsMetadata *, 4> MDs; 115 MDs.push_back(Idx == OpIdx ? NewOperand 118 0, MetadataAsValue::get(getContext(), DIArgList::get(getContext(), MDs))); 129 SmallVector<ValueAsMetadata *, 4> MDs; 131 MDs.push_back(getAsMetadata(VMD)); 133 MDs.push_back(getAsMetadata(VMD)); 135 0, MetadataAsValue::get(getContext(), DIArgList::get(getContext(), MDs))); [all...] |
| Metadata.cpp | 825 MDTuple *MDTuple::getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 829 MDTupleInfo::KeyTy Key(MDs); 839 return storeImpl(new (MDs.size()) MDTuple(Context, Storage, Hash, MDs), 914 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); 915 MDs.insert(B->op_begin(), B->op_end()); 919 return getOrSelfReference(A->getContext(), MDs.getArrayRef()); 926 SmallSetVector<Metadata *, 4> MDs(A->op_begin(), A->op_end()); 928 MDs.remove_if([&](Metadata *MD) { return !BSet.count(MD); }); 932 return getOrSelfReference(A->getContext(), MDs.getArrayRef()) [all...] |
| LLVMContextImpl.cpp | 179 SmallVector<Metadata *, 8> MDs(drop_begin(N->operands(), Offset)); 180 unsigned RawHash = calculateHash(MDs);
|
| AsmWriter.cpp | 1106 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 1107 GO.getAllMetadata(MDs); 1108 for (auto &MD : MDs) 1131 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 1132 I.getAllMetadata(MDs); 1133 for (auto &MD : MDs) 2561 if (const MDString *MDS = dyn_cast<MDString>(MD)) { 2563 printEscapedString(MDS->getString(), Out); 2666 const SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs, 3600 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; [all...] |
| Verifier.cpp | 547 void verifyFunctionMetadata(ArrayRef<std::pair<unsigned, MDNode *>> MDs); 730 SmallVector<MDNode *, 1> MDs; 731 GV.getMetadata(LLVMContext::MD_dbg, MDs); 732 for (auto *MD : MDs) { 2111 ArrayRef<std::pair<unsigned, MDNode *>> MDs) { 2112 for (const auto &Pair : MDs) { 2123 MDString *MDS = cast<MDString>(MD->getOperand(0)); 2124 StringRef ProfName = MDS->getString(); 2522 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 2523 F.getAllMetadata(MDs); [all...] |
| DebugInfo.cpp | 359 SmallVector<Metadata *, 4> MDs = {nullptr}; 365 MDs.push_back(NewDL); 367 MDs.push_back(MD); 370 MDNode *NewLoopID = MDNode::getDistinct(OrigLoopID->getContext(), MDs); 514 DISubprogram *getReplacementSubprogram(DISubprogram *MDS) { 515 auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile())); 516 StringRef LinkageName = MDS->getName().empty() ? MDS->getLinkageName() : ""; 518 auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType())); 520 cast_or_null<DIType>(map(MDS->getContainingType())) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| Metadata.h | 147 inline Metadata **unwrap(LLVMMetadataRef *MDs) { 148 return reinterpret_cast<Metadata**>(MDs); 940 static inline MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs); 942 ArrayRef<Metadata *> MDs); 944 ArrayRef<Metadata *> MDs); 946 ArrayRef<Metadata *> MDs); 1154 static MDTuple *getImpl(LLVMContext &Context, ArrayRef<Metadata *> MDs, 1165 static MDTuple *get(LLVMContext &Context, ArrayRef<Metadata *> MDs) { 1166 return getImpl(Context, MDs, Uniqued); 1169 static MDTuple *getIfExists(LLVMContext &Context, ArrayRef<Metadata *> MDs) { [all...] |
| Instruction.h | 293 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 295 getAllMetadataImpl(MDs); 301 SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const { 302 Value::getAllMetadata(MDs);
|
| Value.h | 581 /// Appends all attachments with the given ID to \c MDs in insertion order. 583 /// leaves MDs unchanged. 585 void getMetadata(unsigned KindID, SmallVectorImpl<MDNode *> &MDs) const; 586 void getMetadata(StringRef Kind, SmallVectorImpl<MDNode *> &MDs) const; 589 /// Appends all metadata attached to this value to \c MDs, sorting by 594 getAllMetadata(SmallVectorImpl<std::pair<unsigned, MDNode *>> &MDs) const;
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| CloneModule.cpp | 121 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 122 G.getAllMetadata(MDs); 123 for (auto MD : MDs)
|
| LoopUtils.cpp | 214 Metadata *MDs[] = { 217 return MDNode::get(Context, MDs); 225 SmallVector<Metadata *, 4> MDs(1); 245 MDs.push_back(Node); 249 MDs.push_back(createStringMetadata(TheLoop, StringMD, V)); 252 MDNode *NewLoopID = MDNode::get(Context, MDs); 342 SmallVector<Metadata *, 8> MDs; 343 MDs.push_back(nullptr); 368 MDs.push_back(Op); 385 MDs.push_back(Option.get()) [all...] |
| ValueMapper.cpp | 922 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 923 I->getAllMetadata(MDs); 924 for (const auto &MI : MDs) { 972 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; 973 GO.getAllMetadata(MDs); 975 for (const auto &I : MDs)
|
| CloneFunction.cpp | 230 SmallVector<std::pair<unsigned, MDNode *>, 1> MDs; 231 OldFunc->getAllMetadata(MDs); 232 for (auto MD : MDs) {
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| LoopInfo.cpp | 1058 SmallVector<Metadata *, 4> MDs; 1061 MDs.push_back(nullptr); 1078 MDs.push_back(Op); 1084 MDs.append(AddAttrs.begin(), AddAttrs.end()); 1086 MDNode *NewLoopID = MDNode::getDistinct(Context, MDs);
|
| /src/external/apache2/llvm/dist/llvm/lib/Linker/ |
| IRMover.cpp | 1381 SmallVector<Metadata *, 8> MDs; 1382 MDs.reserve(DstValue->getNumOperands() + SrcValue->getNumOperands()); 1383 MDs.append(DstValue->op_begin(), DstValue->op_end()); 1384 MDs.append(SrcValue->op_begin(), SrcValue->op_end()); 1386 replaceDstValue(MDNode::get(DstM.getContext(), MDs));
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| Scalarizer.cpp | 428 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 429 Op->getAllMetadataOtherThanDebugLoc(MDs); 432 for (const auto &MD : MDs)
|