/external/mesa3d/src/intel/compiler/ |
D | brw_inst.h | 459 #define MD(x) ((x) + 96) macro 486 F(gateway_notify, MD(16), MD(15)) 495 /* 4: */ MD(1), MD(0), 496 /* 4.5: */ MD(1), MD(0), 497 /* 5: */ MD(1), MD(0), /* 2:0, but bit 2 is reserved MBZ */ 498 /* 6: */ MD(2), MD(0), 499 /* 7: */ MD(2), MD(0), 500 /* 8: */ MD(2), MD(0)) 517 /* 7: */ MD(16), MD(16), 518 /* 8: */ MD(17), MD(17)) [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | TrackingMDRef.h | 25 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 …]
|
D | Metadata.h | 143 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 …]
|
/external/llvm/include/llvm/IR/ |
D | TrackingMDRef.h | 25 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 …]
|
D | Metadata.h | 131 static inline bool doit(const Metadata &MD) { \ 132 return MD.getMetadataID() == Metadata::CLASS##Kind; \ 137 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) { 138 MD.print(OS); 153 Metadata *MD; variable 155 MetadataAsValue(Type *Ty, Metadata *MD); 159 void dropUse() { MD = nullptr; } in dropUse() 162 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD); 163 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD); 164 Metadata *getMetadata() const { return MD; } in getMetadata() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | TrackingMDRef.h | 27 Metadata *MD = nullptr; variable 31 explicit TrackingMDRef(Metadata *MD) : MD(MD) { track(); } in TrackingMDRef() argument 33 TrackingMDRef(TrackingMDRef &&X) : MD(X.MD) { retrack(X); } in TrackingMDRef() 34 TrackingMDRef(const TrackingMDRef &X) : MD(X.MD) { track(); } in TrackingMDRef() 41 MD = X.MD; 51 MD = X.MD; 58 Metadata *get() const { return MD; } in get() 65 MD = nullptr; in reset() 67 void reset(Metadata *MD) { in reset() argument 69 this->MD = MD; in reset() [all …]
|
D | Metadata.h | 154 static inline bool doit(const Metadata &MD) { \ 155 return MD.getMetadataID() == Metadata::CLASS##Kind; \ 160 inline raw_ostream &operator<<(raw_ostream &OS, const Metadata &MD) { 161 MD.print(OS); 176 Metadata *MD; variable 178 MetadataAsValue(Type *Ty, Metadata *MD); 181 void dropUse() { MD = nullptr; } in dropUse() 186 static MetadataAsValue *get(LLVMContext &Context, Metadata *MD); 187 static MetadataAsValue *getIfExists(LLVMContext &Context, Metadata *MD); 189 Metadata *getMetadata() const { return MD; } in getMetadata() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | AMDGPUMetadata.cpp | 92 static void mapping(IO &YIO, Kernel::Attrs::Metadata &MD) { in mapping() 94 MD.mReqdWorkGroupSize, std::vector<uint32_t>()); in mapping() 96 MD.mWorkGroupSizeHint, std::vector<uint32_t>()); in mapping() 98 MD.mVecTypeHint, std::string()); in mapping() 99 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping() 106 static void mapping(IO &YIO, Kernel::Arg::Metadata &MD) { in mapping() 107 YIO.mapOptional(Kernel::Arg::Key::Name, MD.mName, std::string()); in mapping() 108 YIO.mapOptional(Kernel::Arg::Key::TypeName, MD.mTypeName, std::string()); in mapping() 109 YIO.mapRequired(Kernel::Arg::Key::Size, MD.mSize); in mapping() 110 YIO.mapRequired(Kernel::Arg::Key::Align, MD.mAlign); in mapping() [all …]
|
/external/syzkaller/vendor/google.golang.org/grpc/metadata/ |
D | metadata.go | 40 type MD map[string][]string type 53 func New(m map[string]string) MD { 54 md := MD{} 74 func Pairs(kv ...string) MD { 78 md := MD{} 91 func (md MD) Len() int { 96 func (md MD) Copy() MD { 101 func (md MD) Get(k string) []string { 107 func (md MD) Set(k string, vals ...string) { 116 func (md MD) Append(k string, vals ...string) { [all …]
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 30 MetadataAsValue::MetadataAsValue(Type *Ty, Metadata *MD) in MetadataAsValue() argument 31 : Value(Ty, MetadataAsValueVal), MD(MD) { in MetadataAsValue() 36 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue() 52 Metadata *MD) { in canonicalizeMetadataForValue() argument 53 if (!MD) in canonicalizeMetadataForValue() 58 auto *N = dyn_cast<MDNode>(MD); in canonicalizeMetadataForValue() 60 return MD; in canonicalizeMetadataForValue() 70 return MD; in canonicalizeMetadataForValue() 73 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) { in get() argument 74 MD = canonicalizeMetadataForValue(Context, MD); in get() [all …]
|
D | ProfileSummary.cpp | 88 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() argument 89 if (!MD) in getVal() 91 if (MD->getNumOperands() != 2) in getVal() 93 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in getVal() 94 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal() 104 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair() argument 105 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair() 107 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in isKeyValuePair() 108 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair() 117 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Metadata.cpp | 63 MetadataAsValue::MetadataAsValue(Type *Ty, Metadata *MD) in MetadataAsValue() argument 64 : Value(Ty, MetadataAsValueVal), MD(MD) { in MetadataAsValue() 69 getType()->getContext().pImpl->MetadataAsValues.erase(MD); in ~MetadataAsValue() 85 Metadata *MD) { in canonicalizeMetadataForValue() argument 86 if (!MD) in canonicalizeMetadataForValue() 91 auto *N = dyn_cast<MDNode>(MD); in canonicalizeMetadataForValue() 93 return MD; in canonicalizeMetadataForValue() 103 return MD; in canonicalizeMetadataForValue() 106 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) { in get() argument 107 MD = canonicalizeMetadataForValue(Context, MD); in get() [all …]
|
D | ProfileSummary.cpp | 86 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() argument 87 if (!MD) in getVal() 89 if (MD->getNumOperands() != 2) in getVal() 91 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in getVal() 92 ConstantAsMetadata *ValMD = dyn_cast<ConstantAsMetadata>(MD->getOperand(1)); in getVal() 102 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair() argument 103 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair() 105 MDString *KeyMD = dyn_cast<MDString>(MD->getOperand(0)); in isKeyValuePair() 106 MDString *ValMD = dyn_cast<MDString>(MD->getOperand(1)); in isKeyValuePair() 115 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() argument [all …]
|
D | IntrinsicInst.cpp | 43 auto *MD = cast<MetadataAsValue>(Op)->getMetadata(); in getVariableLocation() local 44 if (auto *V = dyn_cast<ValueAsMetadata>(MD)) in getVariableLocation() 49 || !cast<MDNode>(MD)->getNumOperands()) in getVariableLocation() 111 Metadata *MD = in getRoundingMode() local 113 if (!MD || !isa<MDString>(MD)) in getRoundingMode() 115 StringRef RoundingArg = cast<MDString>(MD)->getString(); in getRoundingMode() 131 Metadata *MD = in getExceptionBehavior() local 133 if (!MD || !isa<MDString>(MD)) in getExceptionBehavior() 135 StringRef ExceptionArg = cast<MDString>(MD)->getString(); in getExceptionBehavior()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/ |
D | ErlangGCPrinter.cpp | 59 GCFunctionInfo &MD = **FI; in finishAssembly() local 60 if (MD.getStrategy().getName() != getStrategy().getName()) in finishAssembly() 80 AP.emitInt16(MD.size()); in finishAssembly() 83 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() 93 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() 97 AP.emitInt16(MD.getFrameSize() / IntPtrSize); in finishAssembly() 101 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs in finishAssembly() 102 ? MD.getFunction().arg_size() - RegisteredArgs in finishAssembly() 109 AP.emitInt16(MD.live_size(PI)); in finishAssembly() 112 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | ErlangGCPrinter.cpp | 62 GCFunctionInfo &MD = **FI; in finishAssembly() local 63 if (MD.getStrategy().getName() != getStrategy().getName()) in finishAssembly() 83 AP.EmitInt16(MD.size()); in finishAssembly() 86 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() 96 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() 100 AP.EmitInt16(MD.getFrameSize() / IntPtrSize); in finishAssembly() 104 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs in finishAssembly() 105 ? MD.getFunction().arg_size() - RegisteredArgs in finishAssembly() 112 AP.EmitInt16(MD.live_size(PI)); in finishAssembly() 115 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly() [all …]
|
/external/clang/lib/AST/ |
D | VTableBuilder.cpp | 141 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider() argument 143 assert(OverridersMap.count(std::make_pair(MD, BaseOffset)) && in getOverrider() 146 return OverridersMap.lookup(std::make_pair(MD, BaseOffset)); in getOverrider() 181 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders() local 186 assert(SubobjectOffsets.count(std::make_pair(MD->getParent(), in FinalOverriders() 190 CharUnits BaseOffset = SubobjectOffsets[std::make_pair(MD->getParent(), in FinalOverriders() 204 OverriderInfo& Overrider = OverridersMap[std::make_pair(MD, BaseOffset)]; in FinalOverriders() 411 for (const auto *MD : RD->methods()) { in dump() local 412 if (!MD->isVirtual()) in dump() 414 MD = MD->getCanonicalDecl(); in dump() [all …]
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 243 const MacroDefinition &MD, SourceRange Range, in MacroExpands() argument 248 const MacroDirective *MD) { in MacroDefined() argument 255 const MacroDefinition &MD) { in MacroUndefined() argument 260 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() argument 299 const MacroDefinition &MD) { in Ifdef() argument 307 const MacroDefinition &MD) { in Ifndef() argument 438 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() argument 440 First->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 441 Second->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 444 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | TBAATest.cpp | 27 TBAATest() : M("TBAATest", C), MD(C) {} in TBAATest() 31 MDBuilder MD; member in llvm::__anon8879725a0111::TBAATest 53 auto *RootMD = MD.createTBAARoot("Simple C/C++ TBAA"); in TEST_F() 54 auto *MD1 = MD.createTBAANode("omnipotent char", RootMD); in TEST_F() 55 auto *MD2 = MD.createTBAANode("int", MD1); in TEST_F() 73 auto *RootMD = MD.createTBAARoot("tbaa-root"); in TEST_F() 74 auto *MD1 = MD.createTBAANode("scalar-a", RootMD); in TEST_F() 75 auto *StructTag1 = MD.createTBAAStructTagNode(MD1, MD1, 0); in TEST_F() 76 auto *MD2 = MD.createTBAANode("scalar-b", RootMD); in TEST_F() 77 auto *StructTag2 = MD.createTBAAStructTagNode(MD2, MD2, 0); in TEST_F()
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 371 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local 372 if (!MD) { in ValueEnumerator() 378 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator() 381 EnumerateMetadata(&F, MD->getMetadata()); in ValueEnumerator() 427 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local 428 return getMetadataID(MD->getMetadata()); in getValueID() 477 const Metadata *MD = I->first; in print() local 480 MD->print(OS); in print() 531 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument 532 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 405 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local 406 if (!MD) { in ValueEnumerator() 412 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator() 415 EnumerateMetadata(&F, MD->getMetadata()); in ValueEnumerator() 461 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local 462 return getMetadataID(MD->getMetadata()); in getValueID() 511 const Metadata *MD = I->first; in print() local 514 MD->print(OS); in print() 564 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument 565 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode() [all …]
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 27 MixedTBAATest() : M("MixedTBAATest", C), MD(C) {} in MixedTBAATest() 31 MDBuilder MD; member in llvm::__anond0f3aa990111::MixedTBAATest 52 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA"); in TEST_F() 53 auto MD1 = MD.createTBAAScalarTypeNode("omnipotent char", RootMD); in TEST_F() 54 auto MD2 = MD.createTBAAScalarTypeNode("int", MD1); in TEST_F() 55 auto MD3 = MD.createTBAAStructTagNode(MD2, MD2, 0); in TEST_F() 61 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA"); in TEST_F() 62 auto MD1 = MD.createTBAANode("omnipotent char", RootMD); in TEST_F() 63 auto MD2 = MD.createTBAANode("int", MD1); in TEST_F()
|
/external/clang/include/clang/AST/ |
D | ASTLambda.h | 28 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { in isLambdaCallOperator() argument 29 const CXXRecordDecl *LambdaClass = MD->getParent(); in isLambdaCallOperator() 31 return MD->getOverloadedOperator() == OO_Call; in isLambdaCallOperator() 39 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { in isGenericLambdaCallOperatorSpecialization() argument 40 if (!MD) return false; in isGenericLambdaCallOperatorSpecialization() 41 const CXXRecordDecl *LambdaClass = MD->getParent(); in isGenericLambdaCallOperatorSpecialization() 43 return isLambdaCallOperator(MD) && in isGenericLambdaCallOperatorSpecialization() 44 MD->isFunctionTemplateSpecialization(); in isGenericLambdaCallOperatorSpecialization()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 217 llvm::Function *CodeGenModule::codegenCXXStructor(const CXXMethodDecl *MD, in codegenCXXStructor() argument 220 getTypes().arrangeCXXStructorDeclaration(MD, Type); in codegenCXXStructor() 222 getAddrOfCXXStructor(MD, Type, &FnInfo, /*FnType=*/nullptr, in codegenCXXStructor() 226 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in codegenCXXStructor() 229 const auto *CD = cast<CXXConstructorDecl>(MD); in codegenCXXStructor() 237 setFunctionDefinitionAttributes(MD, Fn); in codegenCXXStructor() 238 SetLLVMFunctionAttributesForDefinition(MD, Fn); in codegenCXXStructor() 243 const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, in getAddrOfCXXStructor() argument 246 if (auto *CD = dyn_cast<CXXConstructorDecl>(MD)) { in getAddrOfCXXStructor() 249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() [all …]
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 43 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() local 45 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined() 62 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) { in handleDeclarator() local 63 if (MD->isThisDeclarationADefinition()) in handleDeclarator() 300 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl() local 301 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 302 handleObjCMethod(MD); in VisitObjCPropertyDecl() 303 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl() local 304 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 305 handleObjCMethod(MD); in VisitObjCPropertyDecl() [all …]
|