Searched defs:MD (Results 1 - 25 of 116) sorted by relevance

12345

/external/clang/include/clang/AST/
H A DASTLambda.h28 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { argument
29 const CXXRecordDecl *LambdaClass = MD->getParent();
31 return MD->getOverloadedOperator() == OO_Call;
39 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { argument
40 if (!MD) return false;
41 const CXXRecordDecl *LambdaClass = MD->getParent();
43 return isLambdaCallOperator(MD) &&
44 MD->isFunctionTemplateSpecialization();
/external/clang/test/Layout/
H A Dms-x86-member-pointers.cpp9 struct MD { char a; int M::*mp; }; struct
25 // CHECK-NEXT: 0 | struct MD
74 sizeof(MD) +
/external/llvm/lib/CodeGen/AsmPrinter/
H A DErlangGCPrinter.cpp62 GCFunctionInfo &MD = **FI; local
81 AP.EmitInt16(MD.size());
84 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE;
94 GCFunctionInfo::iterator PI = MD.begin();
98 AP.EmitInt16(MD.getFrameSize() / IntPtrSize);
102 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs ?
103 MD.getFunction().arg_size() - RegisteredArgs : 0;
109 AP.EmitInt16(MD.live_size(PI));
112 for (GCFunctionInfo::live_iterator LI = MD
[all...]
/external/openssl/crypto/rand/
H A Drand_lcl.h139 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md5(), NULL) macro
144 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_sha1(), NULL) macro
149 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_mdc2(), NULL) macro
154 #define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_md2(), NULL) macro
/external/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp41 CodeGenABITypes::arrangeObjCMessageSendSignature(const ObjCMethodDecl *MD, argument
43 return CGM->getTypes().arrangeObjCMessageSendSignature(MD, receiverType);
H A DCGCXXABI.h163 virtual llvm::Constant *EmitMemberPointer(const CXXMethodDecl *MD);
289 getThisArgumentTypeForMethod(const CXXMethodDecl *MD) { argument
290 return MD->getParent();
H A DCGCXX.cpp332 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD, argument
344 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD))
347 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD);
357 const auto *MD = cast<CXXMethodDecl>(DD); local
361 if (MD->isVirtual() && Type != Dtor_Base) {
/external/clang/include/clang/Serialization/
H A DASTDeserializationListener.h52 MacroDefinition *MD) { }
51 MacroDefinitionRead(serialization::PreprocessedEntityID, MacroDefinition *MD) argument
/external/clang/lib/Lex/
H A DMacroInfo.cpp130 MacroDirective *MD = this; local
133 for (; MD; MD = MD->getPrevious()) {
134 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD))
138 if (UndefMacroDirective *UndefMD = dyn_cast<UndefMacroDirective>(MD)) {
143 VisibilityMacroDirective *VisMD = cast<VisibilityMacroDirective>(MD);
H A DPPConditionalDirectiveRecord.cpp87 const MacroDirective *MD) {
94 const MacroDirective *MD) {
85 Ifdef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
92 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
H A DPPExpressions.cpp147 MacroDirective *MD = Macro; local
149 if (!MD && Result.Val != 0)
150 MD = PP.getMacroDirective(II);
151 Callbacks->Defined(macroToken, MD,
/external/llvm/unittests/Analysis/
H A DMixedTBAATest.cpp25 MixedTBAATest() : M("MixedTBAATest", C), MD(C) {}
29 MDBuilder MD; member in class:llvm::__anon26470::MixedTBAATest
50 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA");
51 auto MD1 = MD.createTBAAScalarTypeNode("omnipotent char", RootMD);
52 auto MD2 = MD.createTBAAScalarTypeNode("int", MD1);
53 auto MD3 = MD.createTBAAStructTagNode(MD2, MD2, 0);
59 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA");
60 auto MD1 = MD.createTBAANode("omnipotent char", RootMD);
61 auto MD2 = MD.createTBAANode("int", MD1);
/external/clang/lib/AST/
H A DComment.cpp172 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CommentDecl); local
173 IsInstanceMethod = MD->isInstance();
179 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(CommentDecl); local
181 ParamVars = ArrayRef<const ParmVarDecl *>(MD->param_begin(),
182 MD->param_size());
183 ReturnType = MD->getReturnType();
185 IsInstanceMethod = MD->isInstanceMethod();
H A DMangle.cpp163 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD))
164 if (!MD->isStatic())
234 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, argument
240 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
242 OS << (MD->isInstanceMethod() ? '-' : '+') << '[' << CD->getName();
246 MD->getSelector().print(OS);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp156 const ObjCMethodDecl *MD = nullptr; local
161 MD = I;
169 if (!MD) { // No dealloc found.
185 if (MD->getBody() && !scan_dealloc(MD->getBody(), S)) {
197 BR.EmitBasicReport(MD, Checker, name, categories::CoreFoundationObjectiveC,
234 if (scan_ivar_release(MD->getBody(), ID, PD, RS, SelfII, Ctx)
261 BR.EmitBasicReport(MD, Checker, name,
H A DDirectIvarAssignment.cpp63 const ObjCMethodDecl *MD; member in class:__anon18187::DirectIvarAssignment::MethodCrawler
73 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR),
194 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD)
197 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD)
201 MD, Checker, "Property access", categories::CoreFoundationObjectiveC,
H A DDynamicTypePropagation.cpp46 static void recordFixedType(const MemRegion *Region, const CXXMethodDecl *MD, argument
49 assert(MD);
52 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent()));
234 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl()))
236 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl()))
H A DObjCSelfInitChecker.cpp53 static bool isInitializationMethod(const ObjCMethodDecl *MD);
391 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND); local
392 if (!MD)
394 if (!isInitializationMethod(MD))
399 ASTContext &Ctx = MD->getASTContext();
401 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass();
429 static bool isInitializationMethod(const ObjCMethodDecl *MD) { argument
430 return MD->getMethodFamily() == OMF_init;
H A DVirtualCallChecker.cpp156 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee()); local
157 if (MD && MD->isVirtual() && !callIsNonVirtual)
158 ReportVirtualCall(CE, MD->isPure());
/external/llvm/lib/Target/R600/
H A DSITypeRewriter.cpp90 SmallVector <std::pair<unsigned, MDNode*>, 8> MD; local
91 I.getAllMetadataOtherThanDebugLoc(MD);
92 for (unsigned i = 0, e = MD.size(); i != e; ++i) {
93 Load->setMetadata(MD[i].first, MD[i].second);
/external/clang/include/clang/Analysis/
H A DCallGraph.h112 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) { argument
113 if (includeInGraph(MD)) {
114 addNodesForBlocks(MD);
115 addNodeForDecl(MD, true);
/external/clang/tools/libclang/
H A DIndexDecl.cpp29 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), local
31 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition();
210 if (ObjCMethodDecl *MD = D->getGetterMethodDecl())
211 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext())
212 handleObjCMethod(MD);
213 if (ObjCMethodDecl *MD = D->getSetterMethodDecl())
214 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext())
215 handleObjCMethod(MD);
[all...]
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp262 const MacroDirective *MD) {
263 Macros.push_back(MacroAction(MD->getLocation(),
267 virtual void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, argument
261 MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) argument
/external/llvm/include/llvm/CodeGen/
H A DGCMetadata.h79 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {} argument
/external/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp331 static bool isStructPathTBAA(const MDNode *MD) { argument
334 return isa<MDNode>(MD->getOperand(0)) && MD->getNumOperands() >= 3;

Completed in 2087 milliseconds

12345