HomeSort by: relevance | last modified time | path
    Searched defs:MD (Results 1 - 25 of 138) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTLambda.h 27 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) {
28 const CXXRecordDecl *LambdaClass = MD->getParent();
30 return MD->getOverloadedOperator() == OO_Call;
38 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) {
39 if (!MD) return false;
40 const CXXRecordDecl *LambdaClass = MD->getParent();
42 return isLambdaCallOperator(MD) &&
43 MD->isFunctionTemplateSpecialization();
69 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC);
70 if (!MD) return false
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
MemCpyOptimizer.h 43 MemoryDependenceResults *MD = nullptr;
57 bool runImpl(Function &F, MemoryDependenceResults *MD, TargetLibraryInfo *TLI,
GVN.h 136 MemoryDependenceResults &getMemDep() const { return *MD; }
169 MemoryDependenceResults *MD = nullptr;
206 void setMemDep(MemoryDependenceResults *M) { MD = M; }
216 MemoryDependenceResults *MD = nullptr;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
CXXSelfAssignmentChecker.cpp 42 const auto *MD = dyn_cast<CXXMethodDecl>(LCtx->getDecl());
43 if (!MD)
45 if (!MD->isCopyAssignmentOperator() && !MD->isMoveAssignmentOperator())
50 State->getSVal(SVB.getCXXThis(MD, LCtx->getStackFrame()));
51 auto Param = SVB.makeLoc(State->getRegion(MD->getParamDecl(0), LCtx));
56 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string {
59 Out << "Assuming " << MD->getParamDecl(0)->getName() << " == *this";
66 C.getNoteTag([MD](PathSensitiveBugReport &BR) -> std::string {
69 Out << "Assuming " << MD->getParamDecl(0)->getName() << " != *this"
    [all...]
DirectIvarAssignment.cpp 61 const ObjCMethodDecl *MD;
71 : 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,
TrustNonnullChecker.cpp 171 const ObjCMethodDecl *MD = MCall->getDecl();
174 if (isa<ObjCProtocolDecl>(MD->getDeclContext()))
177 QualType DeclRetType = MD->getReturnType();
VirtualCallChecker.cpp 79 const CXXMethodDecl *MD =
81 if (MD && MD->isVirtual() && !CallIsNonVirtual && !MD->hasAttr<FinalAttr>() &&
82 !MD->getParent()->hasAttr<FinalAttr>())
104 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl());
105 if (!MD)
119 bool IsPure = MD->isPure();
128 OS << "virtual method '" << MD->getParent()->getDeclName()
129 << "::" << MD->getDeclName() << "' during "
    [all...]
ObjCSelfInitChecker.cpp 52 static bool isInitializationMethod(const ObjCMethodDecl *MD);
389 const ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(ND);
390 if (!MD)
392 if (!isInitializationMethod(MD))
397 ASTContext &Ctx = MD->getASTContext();
399 ObjCInterfaceDecl *ID = MD->getClassInterface()->getSuperClass();
424 static bool isInitializationMethod(const ObjCMethodDecl *MD) {
425 return MD->getMethodFamily() == OMF_init;
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
ErlangGCPrinter.cpp 57 GCFunctionInfo &MD = **FI;
58 if (MD.getStrategy().getName() != getStrategy().getName())
78 AP.emitInt16(MD.size());
81 for (const GCPoint &P : MD) {
90 GCFunctionInfo::iterator PI = MD.begin();
94 AP.emitInt16(MD.getFrameSize() / IntPtrSize);
98 unsigned StackArity = MD.getFunction().arg_size() > RegisteredArgs
99 ? MD.getFunction().arg_size() - RegisteredArgs
106 AP.emitInt16(MD.live_size(PI));
109 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI)
    [all...]
PseudoProbePrinter.cpp 31 const auto *MD = cast<MDNode>(Operand);
33 mdconst::dyn_extract<ConstantInt>(MD->getOperand(0))->getZExtValue();
34 auto Name = cast<MDString>(MD->getOperand(2))->getString();
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexSymbol.cpp 218 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(D);
219 Info.Kind = MD->isInstanceMethod() ? SymbolKind::InstanceMethod : SymbolKind::ClassMethod;
220 if (MD->isPropertyAccessor()) {
221 if (MD->param_size())
227 if (isUnitTest(MD))
274 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
275 if (MD->isStatic())
291 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(
293 if (isa<CXXConstructorDecl>(MD))
295 else if (isa<CXXDestructorDecl>(MD))
    [all...]
IndexDecl.cpp 77 const ObjCMethodDecl *MD = Container->getMethod(D->getSelector(),
79 return MD && !MD->isImplicit() && MD->isThisDeclarationADefinition() &&
80 !MD->isSynthesizedAccessorStub();
106 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(DC)) {
107 if (MD->isThisDeclarationADefinition())
509 if (ObjCMethodDecl *MD = D->getGetterMethodDecl())
510 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext())
511 handleObjCMethod(MD, D)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Lex/
MacroInfo.cpp 179 MacroDirective *MD = this;
182 for (; MD; MD = MD->getPrevious()) {
183 if (DefMacroDirective *DefMD = dyn_cast<DefMacroDirective>(MD))
187 if (UndefMacroDirective *UndefMD = dyn_cast<UndefMacroDirective>(MD)) {
192 VisibilityMacroDirective *VisMD = cast<VisibilityMacroDirective>(MD);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
DependencyScanningTool.cpp 60 void handleModuleDependency(ModuleDeps MD) override {
128 void handleModuleDependency(ModuleDeps MD) override {
129 ClangModuleDeps[MD.ID.ContextHash + MD.ID.ModuleName] = std::move(MD);
144 auto &MD = M.second;
145 if (MD.ImportedByMainFile)
146 FD.ClangModuleDeps.push_back(MD.ID);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
TrackingMDRef.h 26 Metadata *MD = nullptr;
30 explicit TrackingMDRef(Metadata *MD) : MD(MD) { track(); }
32 TrackingMDRef(TrackingMDRef &&X) : MD(X.MD) { retrack(X); }
33 TrackingMDRef(const TrackingMDRef &X) : MD(X.MD) { track(); }
40 MD = X.MD;
    [all...]
ValueMap.h 115 MDMapT &MD() {
123 Optional<Metadata *> getMappedMD(const Metadata *MD) const {
126 auto Where = MDMap->find(MD);
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
BPFPreserveDIType.cpp 80 MDNode *MD = Call->getMetadata(LLVMContext::MD_preserve_access_index);
87 DIType *Ty = cast<DIType>(MD);
98 MD = Ty;
108 GV->setMetadata(LLVMContext::MD_preserve_access_index, MD);
  /src/external/apache2/llvm/dist/clang/lib/AST/
Comment.cpp 246 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CommentDecl);
247 IsInstanceMethod = MD->isInstance();
253 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(CommentDecl);
255 ParamVars = MD->parameters();
256 ReturnType = MD->getReturnType();
258 IsInstanceMethod = MD->isInstanceMethod();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGCXX.cpp 224 auto *MD = cast<CXXMethodDecl>(GD.getDecl());
226 if (isa<CXXDestructorDecl>(MD)) {
231 MD->getParent()->getNumVBases() == 0)
276 CodeGenFunction::BuildAppleKextVirtualCall(const CXXMethodDecl *MD,
288 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD))
291 return ::BuildAppleKextVirtualCall(*this, MD, Ty, RD);
CGCXXABI.cpp 103 llvm::Constant *CGCXXABI::EmitMemberFunctionPointer(const CXXMethodDecl *MD) {
105 MD->getType(), MD->getParent()->getTypeForDecl()));
123 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CGF.CurGD.getDecl());
128 CGM.getContext(), nullptr, MD->getLocation(),
129 &CGM.getContext().Idents.get("this"), MD->getThisType(),
136 auto &Layout = CGF.getContext().getASTRecordLayout(MD->getParent());
137 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case
138 MD->getParent()->isEffectivelyFinal() ||
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
Local.cpp 216 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
220 if (NCases > 1 && MD && MD->getNumOperands() == 2 + NCases) {
223 for (unsigned MD_i = 1, MD_e = MD->getNumOperands(); MD_i < MD_e;
225 auto *CI = mdconst::extract<ConstantInt>(MD->getOperand(MD_i));
311 MDNode *MD = SI->getMetadata(LLVMContext::MD_prof);
312 if (MD && MD->getNumOperands() == 3) {
314 mdconst::dyn_extract<ConstantInt>(MD->getOperand(2));
316 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1))
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerInternal.h 36 Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD,
82 MutationDispatcher &GetMD() { return MD; }
136 MutationDispatcher &MD;
  /src/external/apache2/llvm/dist/clang/tools/clang-scan-deps/
ClangScanDeps.cpp 279 for (const ModuleDeps &MD : FDR.DiscoveredModules) {
280 auto I = Modules.find({MD.ID, 0});
285 Modules.insert(I, {{MD.ID, InputIndex}, std::move(MD)});
319 auto &MD = Modules[ModID];
321 {"name", MD.ID.ModuleName},
322 {"context-hash", MD.ID.ContextHash},
323 {"file-deps", toJSONSorted(MD.FileDeps)},
324 {"clang-module-deps", toJSONSorted(MD.ClangModuleDeps)},
325 {"clang-modulemap-file", MD.ClangModuleMapFile}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPULowerKernelAttributes.cpp 66 auto MD = F->getMetadata("reqd_work_group_size");
67 const bool HasReqdWorkGroupSize = MD && MD->getNumOperands() == 3;
193 = mdconst::extract<ConstantInt>(MD->getOperand(I));
216 ConstantInt *KnownSize = mdconst::extract<ConstantInt>(MD->getOperand(I));
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfileProbe.cpp 176 const auto *MD = cast<MDNode>(Operand);
178 mdconst::dyn_extract<ConstantInt>(MD->getOperand(0))->getZExtValue();
180 mdconst::dyn_extract<ConstantInt>(MD->getOperand(1))->getZExtValue();
372 auto *MD = MDB.createPseudoProbeDesc(Guid, Hash, &F);
375 NMD->addOperand(MD);

Completed in 37 milliseconds

1 2 3 4 5 6