/external/llvm/lib/CodeGen/AsmPrinter/ |
D | ErlangGCPrinter.cpp | 62 GCFunctionInfo &MD = **FI; in finishAssembly() local 81 AP.EmitInt16(MD.size()); in finishAssembly() 84 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() 94 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() 98 AP.EmitInt16(MD.getFrameSize() / IntPtrSize); in finishAssembly() 102 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs ? in finishAssembly() 103 MD.getFunction().arg_size() - RegisteredArgs : 0; in finishAssembly() 109 AP.EmitInt16(MD.live_size(PI)); in finishAssembly() 112 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly() 113 LE = MD.live_end(PI); in finishAssembly()
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 25 MixedTBAATest() : M("MixedTBAATest", C), MD(C) {} in MixedTBAATest() 29 MDBuilder MD; member in llvm::__anoncc1712a70111::MixedTBAATest 50 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA"); in TEST_F() 51 auto MD1 = MD.createTBAAScalarTypeNode("omnipotent char", RootMD); in TEST_F() 52 auto MD2 = MD.createTBAAScalarTypeNode("int", MD1); in TEST_F() 53 auto MD3 = MD.createTBAAStructTagNode(MD2, MD2, 0); in TEST_F() 59 auto RootMD = MD.createTBAARoot("Simple C/C++ TBAA"); in TEST_F() 60 auto MD1 = MD.createTBAANode("omnipotent char", RootMD); in TEST_F() 61 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/AST/ |
D | VTableBuilder.cpp | 139 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider() argument 141 assert(OverridersMap.count(std::make_pair(MD, BaseOffset)) && in getOverrider() 144 return OverridersMap.lookup(std::make_pair(MD, BaseOffset)); in getOverrider() 180 const CXXMethodDecl *MD = I->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() 415 OverriderInfo Overrider = getOverrider(MD, Base.getBaseOffset()); in dump() [all …]
|
D | DeclObjC.cpp | 89 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in getMethod() local 90 if (MD && MD->isInstanceMethod() == isInstance) in getMethod() 91 return MD; in getMethod() 107 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(*Meth); in HasUserDeclaredSetterMethod() local 108 if (MD && MD->isInstanceMethod() && !MD->isImplicit()) in HasUserDeclaredSetterMethod() 116 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel)) in HasUserDeclaredSetterMethod() local 117 if (!MD->isImplicit()) in HasUserDeclaredSetterMethod() 357 for (const auto *MD : D->instance_methods()) { in isIntroducingInitializers() local 358 if (MD->getMethodFamily() == OMF_init && !MD->isOverriding()) in isIntroducingInitializers() 362 for (const auto *MD : Ext->instance_methods()) { in isIntroducingInitializers() local [all …]
|
D | MicrosoftMangle.cpp | 100 void mangleVirtualMemPtrThunk(const CXXMethodDecl *MD, 102 void mangleThunk(const CXXMethodDecl *MD, const ThunkInfo &Thunk, 228 const CXXMethodDecl *MD); 230 const CXXMethodDecl *MD, 257 void mangleObjCMethodName(const ObjCMethodDecl *MD); 493 const CXXMethodDecl *MD) { in mangleMemberFunctionPointer() argument 514 if (MD) { in mangleMemberFunctionPointer() 516 if (MD->isVirtual()) { in mangleMemberFunctionPointer() 520 VTContext->getMethodVFTableLocation(GlobalDecl(MD)); in mangleMemberFunctionPointer() 521 mangleVirtualMemPtrThunk(MD, ML); in mangleMemberFunctionPointer() [all …]
|
/external/clang/include/clang/Lex/ |
D | PPCallbacks.h | 241 virtual void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, in MacroExpands() argument 247 const MacroDirective *MD) { in MacroDefined() argument 254 const MacroDirective *MD) { in MacroUndefined() argument 259 virtual void Defined(const Token &MacroNameTok, const MacroDirective *MD, in Defined() argument 298 const MacroDirective *MD) { in Ifdef() argument 306 const MacroDirective *MD) { in Ifndef() argument 440 void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, in MacroExpands() argument 442 First->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 443 Second->MacroExpands(MacroNameTok, MD, Range, Args); in MacroExpands() 446 void MacroDefined(const Token &MacroNameTok, const MacroDirective *MD) override { in MacroDefined() argument [all …]
|
/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 29 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(), in hasUserDefined() local 31 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition(); in hasUserDefined() 210 if (ObjCMethodDecl *MD = D->getGetterMethodDecl()) in VisitObjCPropertyDecl() local 211 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 212 handleObjCMethod(MD); in VisitObjCPropertyDecl() 213 if (ObjCMethodDecl *MD = D->getSetterMethodDecl()) in VisitObjCPropertyDecl() local 214 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 215 handleObjCMethod(MD); in VisitObjCPropertyDecl() 235 if (ObjCMethodDecl *MD = PD->getGetterMethodDecl()) { in VisitObjCPropertyImplDecl() local 236 if (MD->isPropertyAccessor() && in VisitObjCPropertyImplDecl() [all …]
|
D | IndexBody.cpp | 71 if (ObjCMethodDecl *MD = E->getMethodDecl()) in VisitObjCMessageExpr() local 72 IndexCtx.handleReference(MD, E->getSelectorStartLoc(), in VisitObjCMessageExpr() 102 if (ObjCMethodDecl *MD = E->getBoxingMethod()) in VisitObjCBoxedExpr() local 103 IndexCtx.handleReference(MD, E->getLocStart(), in VisitObjCBoxedExpr() 109 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) in VisitObjCDictionaryLiteral() local 110 IndexCtx.handleReference(MD, E->getLocStart(), in VisitObjCDictionaryLiteral() 116 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) in VisitObjCArrayLiteral() local 117 IndexCtx.handleReference(MD, E->getLocStart(), in VisitObjCArrayLiteral()
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GetAddrOfThunk() local 42 if (const CXXDestructorDecl* DD = dyn_cast<CXXDestructorDecl>(MD)) in GetAddrOfThunk() 46 getCXXABI().getMangleContext().mangleThunk(MD, Thunk, Out); in GetAddrOfThunk() 54 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD, in setThunkVisibility() argument 56 CGM.setGlobalVisibility(Fn, MD); in setThunkVisibility() 130 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in GenerateVarArgsThunk() local 131 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in GenerateVarArgsThunk() 199 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); in StartThunk() local 200 QualType ThisType = MD->getThisType(getContext()); in StartThunk() 201 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in StartThunk() [all …]
|
D | CGExprCXX.cpp | 27 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD, in EmitCXXMemberCall() argument 36 assert(MD->isInstance() && in EmitCXXMemberCall() 42 EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall in EmitCXXMemberCall() 44 CallLoc, This, getContext().getRecordType(MD->getParent())); in EmitCXXMemberCall() 49 Args.add(RValue::get(This), MD->getThisType(getContext())); in EmitCXXMemberCall() 56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitCXXMemberCall() 63 Callee, ReturnValue, Args, MD); in EmitCXXMemberCall() 84 const CXXMethodDecl *MD = cast<CXXMethodDecl>(ME->getMemberDecl()); in EmitCXXMemberCallExpr() local 86 if (MD->isStatic()) { in EmitCXXMemberCallExpr() 88 llvm::Value *Callee = CGM.GetAddrOfFunction(MD); in EmitCXXMemberCallExpr() [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IvarInvalidationChecker.cpp | 76 void addInvalidationMethod(const ObjCMethodDecl *MD) { in addInvalidationMethod() 77 InvalidationMethods.insert(MD); in addInvalidationMethod() 84 bool hasMethod(const ObjCMethodDecl *MD) { in hasMethod() 89 if (*I == MD) { in hasMethod() 610 const ObjCMethodDecl *MD = ME->getMethodDecl(); in checkObjCMessageExpr() local 611 if (MD) { in checkObjCMessageExpr() 612 MD = cast<ObjCMethodDecl>(MD->getCanonicalDecl()); in checkObjCMessageExpr() 613 MethToIvarMapTy::const_iterator IvI = PropertyGetterToIvarMap.find(MD); in checkObjCMessageExpr() 634 const ObjCMethodDecl *MD = PA->getImplicitPropertySetter(); in checkObjCPropertyRefExpr() local 635 if (MD) { in checkObjCPropertyRefExpr() [all …]
|
D | ObjCMissingSuperCallChecker.cpp | 184 for (auto *MD : D->instance_methods()) { in checkASTDecl() local 185 Selector S = MD->getSelector(); in checkASTDecl() 191 if (MD->getBody()) in checkASTDecl() 194 Visitor.TraverseDecl(MD); in checkASTDecl() 199 PathDiagnosticLocation::createEnd(MD->getBody(), in checkASTDecl() 211 BR.EmitBasicReport(MD, this, Name, categories::CoreFoundationObjectiveC, in checkASTDecl()
|
D | CheckObjCDealloc.cpp | 156 const ObjCMethodDecl *MD = nullptr; in checkObjCDealloc() local 161 MD = I; in checkObjCDealloc() 169 if (!MD) { // No dealloc found. in checkObjCDealloc() 185 if (MD->getBody() && !scan_dealloc(MD->getBody(), S)) { in checkObjCDealloc() 197 BR.EmitBasicReport(MD, Checker, name, categories::CoreFoundationObjectiveC, in checkObjCDealloc() 234 if (scan_ivar_release(MD->getBody(), ID, PD, RS, SelfII, Ctx) in checkObjCDealloc() 261 BR.EmitBasicReport(MD, Checker, name, in checkObjCDealloc()
|
D | NoReturnFunctionChecker.cpp | 90 if (const ObjCMethodDecl *MD = Msg.getDecl()) { in checkPostObjCMessage() local 91 MD = MD->getCanonicalDecl(); in checkPostObjCMessage() 92 if (MD->hasAttr<AnalyzerNoReturnAttr>()) { in checkPostObjCMessage()
|
/external/clang/lib/Lex/ |
D | PreprocessingRecord.cpp | 385 const MacroDirective *MD) { in Ifdef() argument 387 if (MD) in Ifdef() 388 addMacroExpansion(MacroNameTok, MD->getMacroInfo(), in Ifdef() 393 const MacroDirective *MD) { in Ifndef() argument 395 if (MD) in Ifndef() 396 addMacroExpansion(MacroNameTok, MD->getMacroInfo(), in Ifndef() 401 const MacroDirective *MD, in Defined() argument 404 if (MD) in Defined() 405 addMacroExpansion(MacroNameTok, MD->getMacroInfo(), in Defined() 413 void PreprocessingRecord::MacroExpands(const Token &Id,const MacroDirective *MD, in MacroExpands() argument [all …]
|
D | MacroInfo.cpp | 130 MacroDirective *MD = this; in getDefinition() local 133 for (; MD; MD = MD->getPrevious()) { in getDefinition() 134 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD)) in getDefinition() 138 if (UndefMacroDirective *UndefMD = dyn_cast<UndefMacroDirective>(MD)) { in getDefinition() 143 VisibilityMacroDirective *VisMD = cast<VisibilityMacroDirective>(MD); in getDefinition()
|
/external/libpng/projects/vstudio/ |
D | WARNING | 15 DLL /MD /MDd 18 NOTICE that libpng 1.5 erroneously used /MD for Debug DLL builds; if you used 19 the debug builds in your app and you changed your app to use /MD you will need 26 DLL /MD /MDd 27 Static Library /MD /MDd
|
/external/llvm/lib/Bitcode/Writer/ |
D | ValueEnumerator.cpp | 83 if (MDNode *MD = dyn_cast<MDNode>(&Op)) in ValueEnumerator() local 84 if (MD->isFunctionLocal() && MD->getFunction()) in ValueEnumerator() 220 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument 221 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode() 222 EnumerateMetadata(MD->getOperand(i)); in EnumerateNamedMDNode() 239 void ValueEnumerator::EnumerateMetadata(const Value *MD) { in EnumerateMetadata() argument 240 assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind"); in EnumerateMetadata() 243 EnumerateType(MD->getType()); in EnumerateMetadata() 245 const MDNode *N = dyn_cast<MDNode>(MD); in EnumerateMetadata() 255 unsigned &MDValueID = MDValueMap[MD]; in EnumerateMetadata() [all …]
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
D | RegAllocSolver.h | 100 void handleAddEdge(const MatrixMetadata& MD, bool Transpose) { in handleAddEdge() argument 101 DeniedOpts += Transpose ? MD.getWorstCol() : MD.getWorstRow(); in handleAddEdge() 103 Transpose ? MD.getUnsafeCols() : MD.getUnsafeRows(); in handleAddEdge() 108 void handleRemoveEdge(const MatrixMetadata& MD, bool Transpose) { in handleRemoveEdge() argument 109 DeniedOpts -= Transpose ? MD.getWorstCol() : MD.getWorstRow(); in handleRemoveEdge() 111 Transpose ? MD.getUnsafeCols() : MD.getUnsafeRows(); in handleRemoveEdge()
|
/external/openssl/crypto/rand/ |
D | rand_lcl.h | 139 #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/ARCMigrate/ |
D | TransEmptyStatementsAndDealloc.cpp | 210 for (auto *MD : I->instance_methods()) { in cleanupDeallocOrFinalize() local 211 if (!MD->hasBody()) in cleanupDeallocOrFinalize() 214 if (MD->getMethodFamily() == OMF_dealloc) { in cleanupDeallocOrFinalize() 215 DeallocM = MD; in cleanupDeallocOrFinalize() 216 } else if (MD->isInstanceMethod() && MD->getSelector() == FinalizeSel) { in cleanupDeallocOrFinalize() 217 FinalizeM = MD; in cleanupDeallocOrFinalize()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 314 MemoryDependenceAnalysis *MD; member in __anon31f1277a0311::MemCpyOpt 321 MD = nullptr; in MemCpyOpt() 482 MD->removeInstruction(*SI); in INITIALIZE_PASS_DEPENDENCY() 503 MemDepResult ldep = MD->getDependency(LI); in processStore() 536 MD->removeInstruction(SI); in processStore() 538 MD->removeInstruction(LI); in processStore() 732 MD->removeInstruction(C); in performCallSlotOptzn() 735 MD->removeInstruction(cpy); in performCallSlotOptzn() 782 MD->getPointerDependencyFrom(AA.getLocationForSource(MDep), in processMemCpyMemCpyDependence() 812 MD->removeInstruction(M); in processMemCpyMemCpyDependence() [all …]
|
/external/clang/test/CodeGenOpenCL/ |
D | fpmath.cl | 7 // CHECK: fdiv{{.*}}, !fpmath ![[MD:[0-9]+]] 13 // CHECK: fdiv{{.*}}, !fpmath ![[MD]] 25 // CHECK: ![[MD]] = metadata !{float 2.500000e+00}
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 470 CXXMethodDecl* MD = dyn_cast<CXXMethodDecl>(New); in MergeCXXFunctionDecl() local 471 if (MD && MD->getParent()->getDescribedClassTemplate()) { in MergeCXXFunctionDecl() 758 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD); in CheckConstexprFunctionDecl() local 759 if (MD && MD->isInstance()) { in CheckConstexprFunctionDecl() 764 const CXXRecordDecl *RD = MD->getParent(); in CheckConstexprFunctionDecl() 1830 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D); in CheckOverrideControl() local 1833 if (MD && MD->isInstance() && in CheckOverrideControl() 1834 (MD->getParent()->hasAnyDependentBases() || in CheckOverrideControl() 1835 MD->getType()->isDependentType())) in CheckOverrideControl() 1838 if (MD && !MD->isVirtual()) { in CheckOverrideControl() [all …]
|