/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Metadata.h | 180 Metadata *MD; variable 223 static bool track(Metadata *&MD) { in track() 232 static bool track(void *Ref, Metadata &MD, Metadata &Owner) { in track() 241 static bool track(void *Ref, Metadata &MD, MetadataAsValue &Owner) { in track() 248 static void untrack(Metadata *&MD) { untrack(&MD, *MD); } in untrack() 259 static bool retrack(Metadata *&MD, Metadata *&New) { in retrack() 401 void replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() 406 static bool classof(const Metadata *MD) { in classof() 431 static bool classof(const Metadata *MD) { in classof() 453 static bool classof(const Metadata *MD) { in classof() [all …]
|
H A D | TrackingMDRef.h | 26 Metadata *MD = nullptr; variable 30 explicit TrackingMDRef(Metadata *MD) : MD(MD) { track(); } in TrackingMDRef() 66 void reset(Metadata *MD) { in reset() 111 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef() 135 void reset(T *MD) { Ref.reset(static_cast<Metadata *>(MD)); } in reset()
|
H A D | DebugInfoMetadata.h | 186 static bool classof(const Metadata *MD) { in classof() 287 static bool classof(const Metadata *MD) { in classof() 357 static bool classof(const Metadata *MD) { in classof() 403 static bool classof(const Metadata *MD) { in classof() 465 static bool classof(const Metadata *MD) { in classof() 504 static bool classof(const Metadata *MD) { in classof() 634 static bool classof(const Metadata *MD) { in classof() 751 static bool classof(const Metadata *MD) { in classof() 831 static bool classof(const Metadata *MD) { in classof() 892 static bool classof(const Metadata *MD) { in classof() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | ASTLambda.h | 27 inline bool isLambdaCallOperator(const CXXMethodDecl *MD) { in isLambdaCallOperator() 38 inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) { in isGenericLambdaCallOperatorSpecialization() 69 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC); in isGenericLambdaCallOperatorOrStaticInvokerSpecialization() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ProfileSummary.cpp | 105 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD() 120 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() 128 static bool getVal(MDTuple *MD, const char *Key, double &Val) { in getVal() 137 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair() 150 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() 195 ProfileSummary *ProfileSummary::getFromMD(Metadata *MD) { in getFromMD()
|
H A D | Metadata.cpp | 63 MetadataAsValue::MetadataAsValue(Type *Ty, Metadata *MD) in MetadataAsValue() 85 Metadata *MD) { in canonicalizeMetadataForValue() 106 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) { in get() 115 Metadata *MD) { in getIfExists() 121 void MetadataAsValue::handleChangedMetadata(Metadata *MD) { in handleChangedMetadata() 154 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() 171 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() 179 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() 194 bool MetadataTracking::isReplaceable(const Metadata &MD) { in isReplaceable() 229 const Metadata &MD) { in moveRef() [all …]
|
H A D | DebugInfoMetadata.cpp | 378 if (auto *MD = dyn_cast<ConstantAsMetadata>(CB)) in getCount() local 381 if (auto *MD = dyn_cast<DIVariable>(CB)) in getCount() local 384 if (auto *MD = dyn_cast<DIExpression>(CB)) in getCount() local 399 if (auto *MD = dyn_cast<ConstantAsMetadata>(LB)) in getLowerBound() local 402 if (auto *MD = dyn_cast<DIVariable>(LB)) in getLowerBound() local 405 if (auto *MD = dyn_cast<DIExpression>(LB)) in getLowerBound() local 420 if (auto *MD = dyn_cast<ConstantAsMetadata>(UB)) in getUpperBound() local 423 if (auto *MD = dyn_cast<DIVariable>(UB)) in getUpperBound() local 426 if (auto *MD = dyn_cast<DIExpression>(UB)) in getUpperBound() local 441 if (auto *MD = dyn_cast<ConstantAsMetadata>(ST)) in getStride() local [all …]
|
H A D | IntrinsicInst.cpp | 44 auto *MD = getRawLocation(); in location_ops() local 61 auto *MD = getRawLocation(); in getVariableLocationOp() local 192 Metadata *MD = nullptr; in getRoundingMode() local 204 Metadata *MD = nullptr; in getExceptionBehavior() local 230 Metadata *MD = cast<MetadataAsValue>(getArgOperand(2))->getMetadata(); in getPredicate() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexingAction.cpp | 33 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() 40 const MacroDirective *MD) override { in MacroDefined() 46 void MacroUndefined(const Token &MacroNameTok, const MacroDefinition &MD, in MacroUndefined() 55 void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() 65 const MacroDefinition &MD) override { in Ifdef() 73 const MacroDefinition &MD) override { in Ifndef() 216 for (auto *MD = M.second.getLatest(); MD; MD = MD->getPrevious()) { in indexPreprocessorMacros() local
|
H A D | IndexBody.cpp | 132 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() local 228 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() local 326 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 336 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() local 343 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() local 350 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) { in VisitObjCArrayLiteral() local
|
H A D | IndexSymbol.cpp | 218 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(D); in getSymbolInfo() local 274 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D); in getSymbolInfo() local 291 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>( in getSymbolInfo() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 444 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local 508 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local 558 const Metadata *MD = I->first; in print() local 611 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() 620 void ValueEnumerator::EnumerateMetadata(const Function *F, const Metadata *MD) { in EnumerateMetadata() 637 auto push = [&Worklist](MetadataMapType::value_type &MD) { in dropFunctionFromMetadata() 658 auto MD = MetadataMap.find(Op); in dropFunctionFromMetadata() local 664 void ValueEnumerator::EnumerateMetadata(unsigned F, const Metadata *MD) { in EnumerateMetadata() 684 [&](const Metadata *MD) { return enumerateMetadataImpl(F, MD); }); in EnumerateMetadata() 712 const MDNode *ValueEnumerator::enumerateMetadataImpl(unsigned F, const Metadata *MD) { in enumerateMetadataImpl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 143 void push_back(Metadata *MD) { MetadataPtrs.emplace_back(MD); } in push_back() 199 void BitcodeReaderMetadataList::assignValue(Metadata *MD, unsigned Idx) { in assignValue() 232 if (Metadata *MD = MetadataPtrs[Idx]) in getMetadataFwdRef() local 240 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getMetadataFwdRef() local 246 Metadata *MD = lookup(Idx); in getMetadataIfResolved() local 290 auto &MD = MetadataPtrs[I]; in tryToResolveCycles() local 378 auto *MD = MetadataList.lookup(ID); in getTemporaries() local 399 auto *MD = MetadataList.lookup(PHs.front().getID()); in flush() local 528 for (auto *MD : MDs) in upgradeCUVariables() local 661 if (auto *MD = MetadataList.lookup(ID)) in getMetadataFwdRefOrLoad() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceMetadata.cpp | 29 for (auto &MD : MDs) { in getChunkMetadataNodes() local 81 for (auto &MD : Program->named_metadata()) in extractMetadataFromModule() local 98 for (auto &MD : MDs) in addMetadataToSet() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 140 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider() 180 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders() local 410 for (const auto *MD : RD->methods()) { in dump() local 508 bool VCallOffsetMap::AddVCallOffset(const CXXMethodDecl *MD, in AddVCallOffset() 521 CharUnits VCallOffsetMap::getVCallOffsetOffset(const CXXMethodDecl *MD) { in getVCallOffsetOffset() 699 for (const auto *MD : RD->methods()) { in AddVCallOffsets() local 1065 void ItaniumVTableBuilder::AddThunk(const CXXMethodDecl *MD, in AddThunk() 1087 visitAllOverriddenMethods(const CXXMethodDecl *MD, VisitorTy &Visitor) { in visitAllOverriddenMethods() 1100 ComputeAllOverriddenMethods(const CXXMethodDecl *MD, in ComputeAllOverriddenMethods() 1102 auto OverriddenMethodsCollector = [&](const CXXMethodDecl *MD) { in ComputeAllOverriddenMethods() [all …]
|
H A D | Mangle.cpp | 225 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) in mangleName() local 321 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName() 378 void MangleContext::mangleObjCMethodNameAsSourceName(const ObjCMethodDecl *MD, in mangleObjCMethodNameAsSourceName() 409 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in writeName() local 482 auto hasDefaultCXXMethodCC = [](ASTContext &C, const CXXMethodDecl *MD) { in getAllManglings() 507 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) { in getAllManglings() local 565 std::string getMangledThunk(const CXXMethodDecl *MD, const ThunkInfo &T) { in getMangledThunk()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | RetainSummaryManager.cpp | 204 static bool isOSObjectRelated(const CXXMethodDecl *MD) { in isOSObjectRelated() 264 if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) { in getSummaryForOSObject() local 515 if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) in generateSummary() local 770 if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) { in canEval() local 876 if (const auto *MD = dyn_cast<CXXMethodDecl>(D)) in getRetEffectFromAnnotations() local 900 } else if (const auto *MD = dyn_cast<ObjCMethodDecl>(ND)) { in getCallableReturnType() local 959 if (const auto *MD = dyn_cast<CXXMethodDecl>(FD)) { in applyParamAnnotationEffect() local 995 const ObjCMethodDecl *MD) { in updateSummaryFromAnnotations() 1018 RetainSummaryManager::getStandardMethodSummary(const ObjCMethodDecl *MD, in getStandardMethodSummary() 1154 const ObjCMethodDecl *MD, QualType RetTy, in getMethodSummary() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
H A D | PPCallbacks.h | 282 const MacroDefinition &MD, SourceRange Range, in MacroExpands() 287 const MacroDirective *MD) { in MacroDefined() 297 const MacroDefinition &MD, in MacroUndefined() 303 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() 351 const MacroDefinition &MD) { in Ifdef() 359 const MacroDefinition &MD) { in Ifndef() 538 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() 545 const MacroDirective *MD) override { in MacroDefined() 551 const MacroDefinition &MD, in MacroUndefined() 557 void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() [all …]
|
H A D | MacroInfo.h | 421 static bool classof(const MacroDirective *MD) { in classof() 436 static bool classof(const MacroDirective *MD) { in classof() 455 static bool classof(const MacroDirective *MD) { in classof() 570 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() 583 if (auto *MD = getLocalDirective()) in getMacroInfo() local 601 if (auto *MD = getLocalDirective()) in forAllDefinitions() local
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 91 Metadata *MD = in promoteTypeIds() local 127 for (auto MD : MDs) { in promoteTypeIds() local 255 if (MDNode *MD = GO->getMetadata(LLVMContext::MD_associated)) in splitAndWriteThinLTOBitcode() local 372 for (auto MD : CfiFunctionMDs) in splitAndWriteThinLTOBitcode() local 397 for (auto MD : FunctionAliases) in splitAndWriteThinLTOBitcode() local 413 for (auto MD : Symvers) in splitAndWriteThinLTOBitcode() local 462 if (auto *MD = mdconst::extract_or_null<ConstantInt>( in enableSplitLTOUnit() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 407 const MacroDefinition &MD) { in Ifdef() 415 const MacroDefinition &MD) { in Ifndef() 423 const MacroDefinition &MD, in Defined() 438 const MacroDefinition &MD, in MacroExpands() 445 const MacroDirective *MD) { in MacroDefined() 455 const MacroDefinition &MD, in MacroUndefined()
|
H A D | PPConditionalDirectiveRecord.cpp | 84 const MacroDefinition &MD) { in Ifdef() 91 const MacroDefinition &MD) { in Ifndef()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningTool.cpp | 60 void handleModuleDependency(ModuleDeps MD) override { in getDependencyFile() 128 void handleModuleDependency(ModuleDeps MD) override { in getFullDependencies() 144 auto &MD = M.second; in getFullDependencies() local
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VirtualCallChecker.cpp | 79 const CXXMethodDecl *MD = in REGISTER_MAP_WITH_PROGRAMSTATE() local 104 const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>(Call.getDecl()); in checkPreCall() local 168 const auto *MD = dyn_cast_or_null<CXXMethodDecl>(LCtx->getDecl()); in registerCtorDtorCallInState() local
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/ |
H A D | FuzzerUnittest.cpp | 50 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TEST() local 138 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestEraseBytes() local 174 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestInsertByte() local 210 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestInsertRepeatedBytes() local 254 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestChangeByte() local 290 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestChangeBit() local 326 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestShuffleBytes() local 356 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestCopyPart() local 406 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TEST() local 419 std::unique_ptr<MutationDispatcher> MD(new MutationDispatcher(Rand, {})); in TestAddWordFromDictionary() local [all …]
|