HomeSort by relevance Sort by last modified time
    Searched refs:MD (Results 26 - 50 of 191) sorted by null

12 3 4 5 6 7 8

  /external/clang/lib/CodeGen/
CGVTables.cpp 36 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
41 if (const CXXDestructorDecl* DD = dyn_cast<CXXDestructorDecl>(MD))
45 getCXXABI().getMangleContext().mangleThunk(MD, Thunk, Out);
99 static void setThunkVisibility(CodeGenModule &CGM, const CXXMethodDecl *MD,
101 CGM.setGlobalVisibility(Fn, MD);
119 if (MD->getExplicitVisibility(ValueDecl::VisibilityForValue))
122 switch (MD->getTemplateSpecializationKind()) {
140 if (MD->hasBody(Def) && Def->isOutOfLine())
219 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
220 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>()
    [all...]
CodeGenTypes.h 183 const CGFunctionInfo &arrangeObjCMethodDeclaration(const ObjCMethodDecl *MD);
184 const CGFunctionInfo &arrangeObjCMessageSendSignature(const ObjCMethodDecl *MD,
187 const CGFunctionInfo &arrangeCXXMethodDeclaration(const CXXMethodDecl *MD);
CGCXXABI.cpp 101 llvm::Constant *CGCXXABI::EmitMemberPointer(const CXXMethodDecl *MD) {
103 CGM.getContext().getMemberPointerType(MD->getType(),
104 MD->getParent()->getTypeForDecl()));
122 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl());
127 = ImplicitParamDecl::Create(CGM.getContext(), 0, MD->getLocation(),
129 MD->getThisType(CGM.getContext()));
CGExprCXX.cpp 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD,
35 assert(MD->isInstance() &&
41 EmitTypeCheck(isa<CXXConstructorDecl>(MD) ? TCK_ConstructorCall
43 CallLoc, This, getContext().getRecordType(MD->getParent()));
48 Args.add(RValue::get(This), MD->getThisType(getContext()));
55 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>();
62 Callee, ReturnValue, Args, MD);
94 const CXXMethodDecl *MD) {
117 if (MD->hasAttr<FinalAttr>())
122 if (MD->getParent()->hasAttr<FinalAttr>()
    [all...]
ItaniumCXXABI.cpp 78 llvm::Constant *EmitMemberPointer(const CXXMethodDecl *MD);
82 llvm::Constant *BuildMemberPointer(const CXXMethodDecl *MD,
184 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl());
185 return ((isa<CXXDestructorDecl>(MD) && GD.getDtorType() != Dtor_Deleting) ||
186 (isa<CXXConstructorDecl>(MD)));
500 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const CXXMethodDecl *MD) {
501 return BuildMemberPointer(MD, CharUnits::Zero());
504 llvm::Constant *ItaniumCXXABI::BuildMemberPointer(const CXXMethodDecl *MD,
506 assert(MD->isInstance() && "Member function must not be static!");
507 MD = MD->getCanonicalDecl()
    [all...]
  /external/clang/lib/AST/
Mangle.cpp 133 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD,
139 dyn_cast<ObjCContainerDecl>(MD->getDeclContext());
141 OS << (MD->isInstanceMethod() ? '-' : '+') << '[' << CD->getName();
144 OS << ' ' << MD->getSelector().getAsString() << ']';
  /external/clang/lib/StaticAnalyzer/Checkers/
VirtualCallChecker.cpp 156 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(CE->getDirectCallee());
157 if (MD && MD->isVirtual() && !callIsNonVirtual)
158 ReportVirtualCall(CE, MD->isPure());
ObjCSelfInitChecker.cpp 53 static bool isInitializationMethod(const ObjCMethodDecl *MD);
393 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND);
394 if (!MD)
396 if (!isInitializationMethod(MD))
401 ASTContext &Ctx = MD->getASTContext();
403 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass();
431 static bool isInitializationMethod(const ObjCMethodDecl *MD) {
432 return MD->getMethodFamily() == OMF_init;
DirectIvarAssignment.cpp 69 const ObjCMethodDecl *MD;
78 : IvarToPropMap(InMap), MD(InMD), InterfD(InID), BR(InBR), DCtx(InDCtx) {}
207 if (SetterMethod && SetterMethod->getCanonicalDecl() == MD)
210 if (GetterMethod && GetterMethod->getCanonicalDecl() == MD)
213 BR.EmitBasicReport(MD,
DynamicTypePropagation.cpp 44 static void recordFixedType(const MemRegion *Region, const CXXMethodDecl *MD,
47 assert(MD);
50 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(MD->getParent()));
218 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(SFCtx->getDecl()))
220 dyn_cast<ObjCObjectType>(MD->getClassInterface()->getTypeForDecl()))
  /external/qemu/memcheck/
memcheck_logging.h 28 #define MD(...) VERBOSE_PRINT(memcheck, __VA_ARGS__)
  /external/clang/include/clang/Lex/
PPConditionalDirectiveRecord.h 93 const MacroDirective *MD);
95 const MacroDirective *MD);
PreprocessingRecord.h 561 virtual void MacroExpands(const Token &Id, const MacroDirective *MD,
563 virtual void MacroDefined(const Token &Id, const MacroDirective *MD);
564 virtual void MacroUndefined(const Token &Id, const MacroDirective *MD);
575 const MacroDirective *MD);
577 const MacroDirective *MD);
579 virtual void Defined(const Token &MacroNameTok, const MacroDirective *MD);
  /external/clang/lib/Lex/
PPMacroExpansion.cpp 50 MacroDirective *MD = AllocateMacroDirective(MI, Loc, isImported);
52 MD->setPrevious(StoredMD);
53 StoredMD = MD;
58 return MD;
61 void Preprocessor::addLoadedMacroInfo(IdentifierInfo *II, MacroDirective *MD,
63 assert(MD && "Missing macro?");
64 assert(MD->isImported() && "Macro is not from an AST?");
65 assert(!MD->getPrevious() && "Macro already in chain?");
71 StoredMD = MD;
73 if (MD->isDefined()
    [all...]
PPConditionalDirectiveRecord.cpp 86 const MacroDirective *MD) {
93 const MacroDirective *MD) {
PPDirectives.cpp 63 MacroDirective *MD = BP.Allocate<MacroDirective>();
64 new (MD) MacroDirective(MI, Loc, isImported);
65 return MD;
    [all...]
  /external/llvm/lib/Transforms/Utils/
ValueMapper.cpp 53 if (const MDNode *MD = dyn_cast<MDNode>(V)) {
56 if (!MD->isFunctionLocal() && (Flags & RF_NoModuleLevelChanges))
64 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) {
65 Value *OP = MD->getOperand(i);
76 Elts.reserve(MD->getNumOperands());
78 Value *Op = MD->getOperand(i);
  /external/llvm/lib/Transforms/Scalar/
DeadStoreElimination.cpp 47 MemoryDependenceAnalysis *MD;
52 DSE() : FunctionPass(ID), AA(0), MD(0), DT(0) {
58 MD = &getAnalysis<MemoryDependenceAnalysis>();
69 AA = 0; MD = 0; DT = 0;
111 MemoryDependenceAnalysis &MD,
127 MD.removeInstruction(DeadInst);
508 MemDepResult InstDep = MD->getDependency(Inst);
528 DeleteDeadInstruction(SI, *MD, TLI);
575 DeleteDeadInstruction(DepWrite, *MD, TLI);
627 InstDep = MD->getPointerDependencyFrom(Loc, false, DepWrite, &BB)
    [all...]
MemCpyOptimizer.cpp 303 MemoryDependenceAnalysis *MD;
310 MD = 0;
471 MD->removeInstruction(*SI);
492 MemDepResult ldep = MD->getDependency(LI);
525 MD->removeInstruction(SI);
527 MD->removeInstruction(LI);
717 MD->removeInstruction(C);
720 MD->removeInstruction(cpy);
767 MD->getPointerDependencyFrom(AA.getLocationForSource(MDep),
797 MD->removeInstruction(M)
    [all...]
  /external/clang/lib/Sema/
SemaDeclCXX.cpp 436 CXXMethodDecl* MD = dyn_cast<CXXMethodDecl>(New);
437 if (MD && MD->getParent()->getDescribedClassTemplate()) {
718 const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(NewFD);
719 if (MD && MD->isInstance()) {
724 const CXXRecordDecl *RD = MD->getParent();
    [all...]
  /external/clang/include/clang/AST/
Mangle.h 101 virtual void mangleThunk(const CXXMethodDecl *MD,
136 void mangleObjCMethodName(const ObjCMethodDecl *MD,
  /external/llvm/include/llvm/CodeGen/
GCMetadata.h 77 GCRoot(int N, const Constant *MD) : Num(N), StackOffset(-1), Metadata(MD) {}
  /external/clang/lib/StaticAnalyzer/Core/
CallEvent.cpp 278 else if (const ObjCMethodDecl* MD = dyn_cast<ObjCMethodDecl>(D))
279 return MD->getResultType();
434 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
435 if (!MD->isVirtual())
457 const CXXMethodDecl *Result = MD->getCorrespondingMethodInClass(RD, true);
463 assert(!RD->isDerivedFrom(MD->getParent()) && "Couldn't find known method");
470 //assert(!MD->getParent()->isDerivedFrom(RD) && "Bad DynamicTypeInfo");
499 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
500 Loc ThisLoc = SVB.getCXXThis(MD, CalleeCtx);
504 if (MD->getCanonicalDecl() != getDecl()->getCanonicalDecl())
    [all...]
PathDiagnostic.cpp 719 if (const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(D))
720 return MD->getSourceRange();
799 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(D)) {
801 if (ExtendedDescription && !MD->isUserProvided()) {
802 if (MD->isExplicitlyDefaulted())
808 if (const CXXConstructorDecl *CD = dyn_cast<CXXConstructorDecl>(MD)) {
817 describeClass(Out, MD->getParent(), " for ");
819 } else if (isa<CXXDestructorDecl>(MD)) {
820 if (!MD->isUserProvided()) {
822 describeClass(Out, MD->getParent(), " for ")
    [all...]
  /external/clang/include/clang/Analysis/
CallGraph.h 112 bool VisitObjCMethodDecl(ObjCMethodDecl *MD) {
113 if (includeInGraph(MD)) {
114 addNodesForBlocks(MD);
115 addNodeForDecl(MD, true);

Completed in 1893 milliseconds

12 3 4 5 6 7 8