Home
last modified time | relevance | path

Searched refs:MD (Results 1 – 25 of 1019) sorted by relevance

12345678910>>...41

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DTrackingMDRef.h25 Metadata *MD; variable
28 TrackingMDRef() : MD(nullptr) {} in TrackingMDRef()
29 explicit TrackingMDRef(Metadata *MD) : MD(MD) { track(); } in TrackingMDRef() argument
31 TrackingMDRef(TrackingMDRef &&X) : MD(X.MD) { retrack(X); } in TrackingMDRef()
32 TrackingMDRef(const TrackingMDRef &X) : MD(X.MD) { track(); } in TrackingMDRef()
38 MD = X.MD;
47 MD = X.MD;
53 Metadata *get() const { return MD; } in get()
60 MD = nullptr; in reset()
62 void reset(Metadata *MD) { in reset() argument
[all …]
DMetadata.h143 static inline bool doit(const Metadata &MD) { \
144 return MD.getMetadataID() == Metadata::CLASS##Kind; \
149 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) {
150 MD.print(OS);
165 Metadata *MD; variable
167 MetadataAsValue(Type *Ty, Metadata *MD);
171 void dropUse() { MD = nullptr; } in dropUse()
174 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
175 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
176 Metadata *getMetadata() const { return MD; } in getMetadata()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_inst.h626 #define MD(x) ((x) + 96) macro
810 F(gateway_notify, /* 4+ */ MD(16), MD(15), /* 12+ */ -1, -1)
820 /* 4: */ MD(1), MD(0),
821 /* 4.5: */ MD(1), MD(0),
822 /* 5: */ MD(1), MD(0), /* 2:0, but bit 2 is reserved MBZ */
823 /* 6: */ MD(2), MD(0),
824 /* 7: */ MD(2), MD(0),
825 /* 8: */ MD(2), MD(0),
856 /* 7: */ MD(16), MD(16),
857 /* 8: */ MD(17), MD(17),
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DTrackingMDRef.h26 Metadata *MD = nullptr; variable
30 explicit TrackingMDRef(Metadata *MD) : MD(MD) { track(); } in TrackingMDRef() argument
32 TrackingMDRef(TrackingMDRef &&X) : MD(X.MD) { retrack(X); } in TrackingMDRef()
33 TrackingMDRef(const TrackingMDRef &X) : MD(X.MD) { track(); } in TrackingMDRef()
40 MD = X.MD;
50 MD = X.MD;
57 Metadata *get() const { return MD; } in get()
64 MD = nullptr; in reset()
66 void reset(Metadata *MD) { in reset() argument
68 this->MD = MD; in reset()
[all …]
DMetadata.h156 static inline bool doit(const Metadata &MD) { \
157 return MD.getMetadataID() == Metadata::CLASS##Kind; \
162 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) {
163 MD.print(OS);
178 Metadata *MD; variable
180 MetadataAsValue(Type *Ty, Metadata *MD);
183 void dropUse() { MD = nullptr; } in dropUse()
188 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD);
189 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD);
191 Metadata *getMetadata() const { return MD; } in getMetadata()
[all …]
DDebugInfoMetadata.h177 static bool classof(const Metadata *MD) { in classof() argument
178 switch (MD->getMetadataID()) { in classof()
277 static bool classof(const Metadata *MD) { in classof() argument
278 return MD->getMetadataID() == GenericDINodeKind; in classof()
329 if (auto *MD = dyn_cast<ConstantAsMetadata>(getRawCountNode())) in getCount() local
330 return CountType(cast<ConstantInt>(MD->getValue())); in getCount()
338 static bool classof(const Metadata *MD) { in classof() argument
339 return MD->getMetadataID() == DISubrangeKind; in classof()
388 static bool classof(const Metadata *MD) { in classof() argument
389 return MD->getMetadataID() == DIEnumeratorKind; in classof()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DAMDGPUMetadata.cpp94 static void mapping(IO &YIO, Kernel::Attrs::Metadata &MD) { in mapping()
96 MD.mReqdWorkGroupSize, std::vector<uint32_t>()); in mapping()
98 MD.mWorkGroupSizeHint, std::vector<uint32_t>()); in mapping()
100 MD.mVecTypeHint, std::string()); in mapping()
101 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping()
108 static void mapping(IO &YIO, Kernel::Arg::Metadata &MD) { in mapping()
109 YIO.mapOptional(Kernel::Arg::Key::Name, MD.mName, std::string()); in mapping()
110 YIO.mapOptional(Kernel::Arg::Key::TypeName, MD.mTypeName, std::string()); in mapping()
111 YIO.mapRequired(Kernel::Arg::Key::Size, MD.mSize); in mapping()
112 YIO.mapRequired(Kernel::Arg::Key::Align, MD.mAlign); in mapping()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp62 MetadataAsValue::MetadataAsValue(Type *Ty, Metadata *MD) in MetadataAsValue() argument
63 : Value(Ty, MetadataAsValueVal), MD(MD) { in MetadataAsValue()
68 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue()
84 Metadata *MD) { in canonicalizeMetadataForValue() argument
85 if (!MD) in canonicalizeMetadataForValue()
90 auto *N = dyn_cast<MDNode>(MD); in canonicalizeMetadataForValue()
92 return MD; in canonicalizeMetadataForValue()
102 return MD; in canonicalizeMetadataForValue()
105 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) { in get() argument
106 MD = canonicalizeMetadataForValue(Context, MD); in get()
[all …]
DProfileSummary.cpp84 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() argument
85 if (!MD) in getVal()
87 if (MD->getNumOperands() != 2) in getVal()
89 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in getVal()
90 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal()
100 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair() argument
101 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair()
103 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in isKeyValuePair()
104 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair()
113 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() argument
[all …]
DIntrinsicInst.cpp44 auto *MD = cast<MetadataAsValue>(Op)->getMetadata(); in getVariableLocation() local
45 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getVariableLocation()
49 assert(!cast<MDNode>(MD)->getNumOperands() && "Expected an empty MDNode"); in getVariableLocation()
107 Metadata *MD = in getRoundingMode() local
109 if (!MD || !isa<MDString>(MD)) in getRoundingMode()
111 return StrToRoundingMode(cast<MDString>(MD)->getString()); in getRoundingMode()
117 Metadata *MD = in getExceptionBehavior() local
119 if (!MD || !isa<MDString>(MD)) in getExceptionBehavior()
121 return StrToExceptionBehavior(cast<MDString>(MD)->getString()); in getExceptionBehavior()
126 Metadata *MD = in getPredicate() local
[all …]
DVerifier.cpp159 void Write(const Metadata *MD) { in Write()
160 if (!MD) in Write()
162 MD->print(*OS, MST, &M); in Write()
166 template <class T> void Write(const MDTupleTypedArrayWrapper<T> &MD) { in Write()
167 Write(MD.get()); in Write()
408 void visitMDNode(const MDNode &MD);
409 void visitMetadataAsValue(const MetadataAsValue &MD, Function *F);
410 void visitValueAsMetadata(const ValueAsMetadata &MD, Function *F);
422 void visitDereferenceableMetadata(Instruction &I, MDNode *MD);
423 void visitProfMetadata(Instruction &I, MDNode *MD);
[all …]
DDebugLoc.cpp107 for (const DILocation *MD : reverse(InlinedAtLocations)) in appendInlinedAt() local
108 Cache[MD] = Last = DILocation::getDistinct( in appendInlinedAt()
109 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
/third_party/openssl/test/recipes/30-test_evp_data/
Devppbe.txt60 MD = SHA1
68 MD = SHA1
76 MD = SHA1
84 MD = SHA1
92 MD = SHA1
100 MD = SHA1
111 MD = sha1
118 MD = sha256
125 MD = sha512
132 MD = sha1
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DErlangGCPrinter.cpp58 GCFunctionInfo &MD = **FI; in finishAssembly() local
59 if (MD.getStrategy().getName() != getStrategy().getName()) in finishAssembly()
79 AP.emitInt16(MD.size()); in finishAssembly()
82 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly()
92 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly()
96 AP.emitInt16(MD.getFrameSize() / IntPtrSize); in finishAssembly()
100 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs in finishAssembly()
101 ? MD.getFunction().arg_size() - RegisteredArgs in finishAssembly()
108 AP.emitInt16(MD.live_size(PI)); in finishAssembly()
111 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly()
[all …]
/third_party/boost/boost/functional/
Dlightweight_forward_adapter.hpp165 template< class MD, class F, class FC, class Enable = void>
174 template< class MD, class F, class FC>
175 struct lightweight_forward_adapter_impl_zero<MD, F, FC,
182 return static_cast<MD const*>(this)->target_function()(); in operator ()()
188 return static_cast<MD*>(this)->target_function()(); in operator ()()
192 template< class MD, class F, class FC >
193 struct lightweight_forward_adapter_impl<MD,F,FC,0,0>
194 : lightweight_forward_adapter_impl_zero<MD,F,FC>
241 template< class MD, class F, class FC >
242 struct lightweight_forward_adapter_impl<MD,F,FC,BOOST_PP_DEC(N),N>
[all …]
Dforward_adapter.hpp160 template< class MD, class F, class FC, class Enable = void>
168 template< class MD, class F, class FC>
169 struct forward_adapter_impl_zero<MD, F, FC,
175 return static_cast<MD const*>(this)->target_function()(); in operator ()()
181 return static_cast<MD*>(this)->target_function()(); in operator ()()
185 template< class MD, class F, class FC >
186 struct forward_adapter_impl<MD,F,FC,0,0>
187 : forward_adapter_impl_zero<MD,F,FC>
189 using forward_adapter_impl_zero<MD,F,FC>::operator();
198 return static_cast<MD const*>(this)->target_function()(args); \
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp404 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local
405 if (!MD) { in ValueEnumerator()
411 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
414 EnumerateMetadata(&F, MD->getMetadata()); in ValueEnumerator()
458 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local
459 return getMetadataID(MD->getMetadata()); in getValueID()
508 const Metadata *MD = I->first; in print() local
511 MD->print(OS); in print()
561 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument
562 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode()
[all …]
DValueEnumerator.h153 unsigned getMetadataID(const Metadata *MD) const { in getMetadataID() argument
154 auto ID = getMetadataOrNullID(MD); in getMetadataID()
159 unsigned getMetadataOrNullID(const Metadata *MD) const { in getMetadataOrNullID() argument
160 return MetadataMap.lookup(MD).ID; in getMetadataOrNullID()
265 const MDNode *enumerateMetadataImpl(unsigned F, const Metadata *MD);
284 void EnumerateMetadata(const Function *F, const Metadata *MD);
285 void EnumerateMetadata(unsigned F, const Metadata *MD);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp146 void push_back(Metadata *MD) { MetadataPtrs.emplace_back(MD); } in push_back() argument
181 void assignValue(Metadata *MD, unsigned Idx);
202 void BitcodeReaderMetadataList::assignValue(Metadata *MD, unsigned Idx) { in assignValue() argument
203 if (auto *MDN = dyn_cast<MDNode>(MD)) in assignValue()
208 push_back(MD); in assignValue()
217 OldMD.reset(MD); in assignValue()
223 PrevMD->replaceAllUsesWith(MD); in assignValue()
235 if (Metadata *MD = MetadataPtrs[Idx]) in getMetadataFwdRef() local
236 return MD; in getMetadataFwdRef()
243 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getMetadataFwdRef() local
[all …]
/third_party/json/test/thirdparty/Fuzzer/test/
DFuzzerUnittest.cpp30 MutationDispatcher MD(Rand, {}); in TEST() local
73 size_t NewSize = MD.CrossOver(A.data(), A.size(), B.data(), B.size(), in TEST()
118 MutationDispatcher MD(Rand, {}); in TestEraseBytes() local
122 size_t NewSize = (MD.*M)(T, sizeof(T), sizeof(T)); in TestEraseBytes()
154 MutationDispatcher MD(Rand, {}); in TestInsertByte() local
166 size_t NewSize = (MD.*M)(T, 7, 8); in TestInsertByte()
190 MutationDispatcher MD(Rand, {}); in TestInsertRepeatedBytes() local
206 size_t NewSize = (MD.*M)(T, 4, 8); in TestInsertRepeatedBytes()
234 MutationDispatcher MD(Rand, {}); in TestChangeByte() local
246 size_t NewSize = (MD.*M)(T, 8, 9); in TestChangeByte()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp90 Metadata *MD = in promoteTypeIds() local
93 if (isa<MDNode>(MD) && cast<MDNode>(MD)->isDistinct()) { in promoteTypeIds()
94 Metadata *&GlobalMD = LocalToGlobal[MD]; in promoteTypeIds()
126 for (auto MD : MDs) { in promoteTypeIds() local
127 auto I = LocalToGlobal.find(MD->getOperand(1)); in promoteTypeIds()
129 GO.addMetadata(LLVMContext::MD_type, *MD); in promoteTypeIds()
134 *MDNode::get(M.getContext(), {MD->getOperand(0), I->second})); in promoteTypeIds()
230 if (MDNode *MD = GO->getMetadata(LLVMContext::MD_associated)) in splitAndWriteThinLTOBitcode() local
231 if (auto *AssocVM = dyn_cast_or_null<ValueAsMetadata>(MD->getOperand(0))) in splitAndWriteThinLTOBitcode()
343 for (auto MD : CfiFunctionMDs) in splitAndWriteThinLTOBitcode() local
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c245 mbedtls_md5_context MD; in snmpv3_password_to_key_md5() local
251 mbedtls_md5_init(&MD); /* initialize MD5 */ in snmpv3_password_to_key_md5()
252 mbedtls_md5_starts(&MD); in snmpv3_password_to_key_md5()
266 mbedtls_md5_update(&MD, password_buf, 64); in snmpv3_password_to_key_md5()
269 mbedtls_md5_finish(&MD, key); /* tell MD5 we're done */ in snmpv3_password_to_key_md5()
281 mbedtls_md5_starts(&MD); in snmpv3_password_to_key_md5()
282 mbedtls_md5_update(&MD, password_buf, 32 + engineLength); in snmpv3_password_to_key_md5()
283 mbedtls_md5_finish(&MD, key); in snmpv3_password_to_key_md5()
285 mbedtls_md5_free(&MD); in snmpv3_password_to_key_md5()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp407 MD->removeInstruction(SI); in INITIALIZE_PASS_DEPENDENCY()
598 MD->removeInstruction(SI); in processStore()
600 MD->removeInstruction(LI); in processStore()
613 MemDepResult ldep = MD->getDependency(LI); in processStore()
647 MD->removeInstruction(SI); in processStore()
649 MD->removeInstruction(LI); in processStore()
686 MD->removeInstruction(SI); in processStore()
899 MD->removeInstruction(C); in performCallSlotOptzn()
911 MD->removeInstruction(cpy); in performCallSlotOptzn()
956 MD->getPointerDependencyFrom(MemoryLocation::getForSource(MDep), false, in processMemCpyMemCpyDependence()
[all …]
DDeadStoreElimination.cpp102 MemoryDependenceResults &MD, const TargetLibraryInfo &TLI, in deleteDeadInstruction() argument
130 MD.removeInstruction(DeadInst); in deleteDeadInstruction()
670 MemoryDependenceResults *MD, DominatorTree *DT, in handleFree() argument
687 MD->getPointerDependencyFrom(Loc, false, InstPt->getIterator(), BB); in handleFree()
707 deleteDeadInstruction(Dependency, &BBI, *MD, *TLI, IOL, OBB, in handleFree()
717 Dep = MD->getPointerDependencyFrom(Loc, false, BBI, BB); in handleFree()
763 MemoryDependenceResults *MD, in handleEndBlock() argument
827 deleteDeadInstruction(Dead, &BBI, *MD, *TLI, IOL, OBB, ThrowableInst, in handleEndBlock()
839 deleteDeadInstruction(&*BBI, &BBI, *MD, *TLI, IOL, OBB, ThrowableInst, in handleEndBlock()
1042 AliasAnalysis *AA, MemoryDependenceResults *MD, in eliminateNoopStore() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp156 Metadata *mapMetadata(const Metadata *MD);
184 Optional<Metadata *> mapSimpleMetadata(const Metadata *MD);
187 Metadata *mapToSelf(const Metadata *MD);
379 const Metadata *MD = MDV->getMetadata(); in mapValue() local
381 if (auto *LAM = dyn_cast<LocalAsMetadata>(MD)) { in mapValue()
403 auto *MappedMD = mapMetadata(MD); in mapValue()
404 if (MD == MappedMD) in mapValue()
508 getVM().MD()[Key].reset(Val); in mapToMetadata()
512 Metadata *Mapper::mapToSelf(const Metadata *MD) { in mapToSelf() argument
513 return mapToMetadata(MD, const_cast<Metadata *>(MD)); in mapToSelf()
[all …]

12345678910>>...41