/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Metadata.h | 180 Metadata *MD; variable 315 static bool track(Metadata *&MD) { in track() 324 static bool track(void *Ref, Metadata &MD, Metadata &Owner) { in track() 333 static bool track(void *Ref, Metadata &MD, MetadataAsValue &Owner) { in track() 342 static bool track(void *Ref, Metadata &MD, DebugValueUser &Owner) { in track() 349 static void untrack(Metadata *&MD) { untrack(&MD, *MD); } in untrack() 360 static bool retrack(Metadata *&MD, Metadata *&New) { in retrack() 510 void replaceAllUsesWith(Metadata *MD) { in replaceAllUsesWith() 515 static bool classof(const Metadata *MD) { in classof() 540 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 | 194 static bool classof(const Metadata *MD) { in classof() 300 static bool classof(const Metadata *MD) { in classof() 339 static bool classof(const Metadata *MD) { in classof() 406 static bool classof(const Metadata *MD) { in classof() 450 static bool classof(const Metadata *MD) { in classof() 508 static bool classof(const Metadata *MD) { in classof() 547 static bool classof(const Metadata *MD) { in classof() 680 static bool classof(const Metadata *MD) { in classof() 797 static bool classof(const Metadata *MD) { in classof() 877 static bool classof(const Metadata *MD) { in classof() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 138 auto OrderConstantFromMetadata = [&](Metadata *MD) { in orderModule() 272 auto PredictValueOrderFromMetadata = [&](Metadata *MD) { in predictUseListOrder() 429 auto EnumerateNonLocalValuesFromMetadata = [&](Metadata *MD) { in ValueEnumerator() 462 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local 520 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local 569 const Metadata *MD = I.first; in print() local 622 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() 631 void ValueEnumerator::EnumerateMetadata(const Function *F, const Metadata *MD) { in EnumerateMetadata() 648 auto push = [&Worklist](MetadataMapType::value_type &MD) { in dropFunctionFromMetadata() 669 auto MD = MetadataMap.find(Op); in dropFunctionFromMetadata() local [all …]
|
/freebsd/contrib/llvm-project/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() 84 const MacroDefinition &MD) override { in Elifdef() 92 const MacroDefinition &MD) override { in Elifndef() 235 for (auto *MD = M.second.getLatest(); MD; MD = MD->getPrevious()) { in indexPreprocessorMacros() local
|
H A D | IndexSymbol.cpp | 219 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(D); in getSymbolInfo() local 275 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D); in getSymbolInfo() local 292 if (const CXXMethodDecl *MD = dyn_cast_or_null<CXXMethodDecl>( in getSymbolInfo() local
|
H A D | IndexBody.cpp | 136 else if (auto *MD = dyn_cast<ObjCMethodDecl>(ParentDC)) in addCallRole() local 246 if (ObjCMethodDecl *MD = E->getMethodDecl()) { in VisitObjCMessageExpr() local 341 bool passObjCLiteralMethodCall(const ObjCMethodDecl *MD, const Expr *E) { in passObjCLiteralMethodCall() 351 if (ObjCMethodDecl *MD = E->getBoxingMethod()) { in VisitObjCBoxedExpr() local 358 if (ObjCMethodDecl *MD = E->getDictWithObjectsMethod()) { in VisitObjCDictionaryLiteral() local 365 if (ObjCMethodDecl *MD = E->getArrayWithObjectsMethod()) { in VisitObjCArrayLiteral() local
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ProfileSummary.cpp | 104 static ConstantAsMetadata *getValMD(MDTuple *MD, const char *Key) { in getValMD() 119 static bool getVal(MDTuple *MD, const char *Key, uint64_t &Val) { in getVal() 127 static bool getVal(MDTuple *MD, const char *Key, double &Val) { in getVal() 136 static bool isKeyValuePair(MDTuple *MD, const char *Key, const char *Val) { in isKeyValuePair() 149 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() 194 ProfileSummary *ProfileSummary::getFromMD(Metadata *MD) { in getFromMD()
|
H A D | Metadata.cpp | 60 MetadataAsValue::MetadataAsValue(Type *Ty, Metadata *MD) in MetadataAsValue() 82 Metadata *MD) { in canonicalizeMetadataForValue() 103 MetadataAsValue *MetadataAsValue::get(LLVMContext &Context, Metadata *MD) { in get() 112 Metadata *MD) { in getIfExists() 118 void MetadataAsValue::handleChangedMetadata(Metadata *MD) { in handleChangedMetadata() 174 Metadata *&MD = DebugValues[Idx]; in trackDebugValue() local 187 Metadata *&MD = DebugValues[Idx]; in untrackDebugValue() local 206 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() 223 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() 231 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() [all …]
|
H A D | Module.cpp | 288 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior() 742 Metadata *MD = getModuleFlag("stack-protector-guard"); in getStackProtectorGuard() local 754 Metadata *MD = getModuleFlag("stack-protector-guard-reg"); in getStackProtectorGuardReg() local 766 Metadata *MD = getModuleFlag("stack-protector-guard-symbol"); in getStackProtectorGuardSymbol() local 778 Metadata *MD = getModuleFlag("stack-protector-guard-offset"); in getStackProtectorGuardOffset() local 789 Metadata *MD = getModuleFlag("override-stack-alignment"); in getOverrideStackAlignment() local 796 Metadata *MD = getModuleFlag("MaxTLSAlign"); in getMaxTLSAlignment() local 824 static VersionTuple getSDKVersionMD(Metadata *MD) { in getSDKVersionMD() 889 if (const auto *MD = getModuleFlag("darwin.target_variant.triple")) in getDarwinTargetVariantTriple() local
|
H A D | Verifier.cpp | 896 for (auto *MD : MDs) { in visitGlobalVariable() local 1021 for (const MDNode *MD : NMD.operands()) { in visitNamedMDNode() local 1032 void Verifier::visitMDNode(const MDNode &MD, AreDebugLocsAllowed AllowLocs) { in visitMDNode() 1075 void Verifier::visitValueAsMetadata(const ValueAsMetadata &MD, Function *F) { in visitValueAsMetadata() 1107 Metadata *MD = MDV.getMetadata(); in visitMetadataAsValue() local 1125 static bool isType(const Metadata *MD) { return !MD || isa<DIType>(MD); } in isType() 1126 static bool isScope(const Metadata *MD) { return !MD || isa<DIScope>(MD); } in isScope() 1127 static bool isDINode(const Metadata *MD) { return !MD || isa<DINode>(MD); } in isDINode() 2395 MDNode *MD = Pair.second; in verifyFunctionMetadata() local 2418 MDNode *MD = Pair.second; in verifyFunctionMetadata() local [all …]
|
H A D | MemoryModelRelaxationAnnotations.cpp | 23 MMRAMetadata::MMRAMetadata(MDNode *MD) { in MMRAMetadata() 50 bool MMRAMetadata::isTagMD(const Metadata *MD) { in isTagMD()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
H A D | DXILValueEnumerator.cpp | 451 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local 518 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local 566 const Metadata *MD = I.first; in print() local 589 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() 598 void ValueEnumerator::EnumerateMetadata(const Function *F, const Metadata *MD) { in EnumerateMetadata() 615 auto push = [&Worklist](MetadataMapType::value_type &MD) { in dropFunctionFromMetadata() 636 auto MD = MetadataMap.find(Op); in dropFunctionFromMetadata() local 642 void ValueEnumerator::EnumerateMetadata(unsigned F, const Metadata *MD) { in EnumerateMetadata() 662 [&](const Metadata *MD) { return enumerateMetadataImpl(F, MD); }); in EnumerateMetadata() 691 const Metadata *MD) { in enumerateMetadataImpl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 402 const MacroDefinition &MD) { in Ifdef() 410 const MacroDefinition &MD) { in Elifdef() 418 const MacroDefinition &MD) { in Ifndef() 427 const MacroDefinition &MD) { in Elifndef() 435 const MacroDefinition &MD, in Defined() 450 const MacroDefinition &MD, in MacroExpands() 457 const MacroDirective *MD) { in MacroDefined() 467 const MacroDefinition &MD, in MacroUndefined()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ThinLTOBitcodeWriter.cpp | 110 Metadata *MD = in promoteTypeIds() local 162 for (auto *MD : MDs) { in promoteTypeIds() local 265 if (auto *MD = in enableUnifiedLTO() local 307 if (MDNode *MD = GO->getMetadata(LLVMContext::MD_associated)) in splitAndWriteThinLTOBitcode() local 426 for (auto *MD : CfiFunctionMDs) in splitAndWriteThinLTOBitcode() local 451 for (auto *MD : FunctionAliases) in splitAndWriteThinLTOBitcode() local 467 for (auto *MD : Symvers) in splitAndWriteThinLTOBitcode() local 516 if (auto *MD = mdconst::extract_or_null<ConstantInt>( in enableSplitLTOUnit() local
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 299 ModuleDeps *MD = ModuleDepsByID.lookup(MID); in collectModuleMapFiles() local 315 ModuleDeps *MD = ModuleDepsByID.lookup(MID); in addModuleMapFiles() local 388 static std::string getModuleContextHash(const ModuleDeps &MD, in getModuleContextHash() 577 ModuleDeps &MD = *ModI.first->second; in handleTopLevelModule() local 670 const Module *M, ModuleDeps &MD, in addAllSubmodulePrebuiltDeps() 680 const Module *M, ModuleDeps &MD, in addModulePrebuiltDeps() 690 const Module *M, ModuleDeps &MD, in addAllSubmoduleDeps() 700 const Module *M, ModuleDeps &MD, in addModuleDep() 713 const Module *M, ModuleDeps &MD, in addAllAffectingClangModules() 722 const Module *M, ModuleDeps &MD, in addAffectingClangModule() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | VTableBuilder.cpp | 141 OverriderInfo getOverrider(const CXXMethodDecl *MD, in getOverrider() 181 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders() local 411 for (const auto *MD : RD->methods()) { in dump() local 509 bool VCallOffsetMap::AddVCallOffset(const CXXMethodDecl *MD, in AddVCallOffset() 522 CharUnits VCallOffsetMap::getVCallOffsetOffset(const CXXMethodDecl *MD) { in getVCallOffsetOffset() 705 for (const auto *MD : RD->methods()) { in AddVCallOffsets() local 1071 void ItaniumVTableBuilder::AddThunk(const CXXMethodDecl *MD, in AddThunk() 1093 visitAllOverriddenMethods(const CXXMethodDecl *MD, VisitorTy &Visitor) { in visitAllOverriddenMethods() 1106 ComputeAllOverriddenMethods(const CXXMethodDecl *MD, in ComputeAllOverriddenMethods() 1108 auto OverriddenMethodsCollector = [&](const CXXMethodDecl *MD) { in ComputeAllOverriddenMethods() [all …]
|
H A D | Mangle.cpp | 227 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(FD)) in mangleName() local 328 void MangleContext::mangleObjCMethodName(const ObjCMethodDecl *MD, in mangleObjCMethodName() 385 void MangleContext::mangleObjCMethodNameAsSourceName(const ObjCMethodDecl *MD, in mangleObjCMethodNameAsSourceName() 416 } else if (auto *MD = dyn_cast<ObjCMethodDecl>(D)) { in writeName() local 489 auto hasDefaultCXXMethodCC = [](ASTContext &C, const CXXMethodDecl *MD) { in getAllManglings() 514 } else if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(ND)) { in getAllManglings() local 582 std::string getMangledThunk(const CXXMethodDecl *MD, const ThunkInfo &T, in getMangledThunk()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | PPCallbacks.h | 340 const MacroDefinition &MD, SourceRange Range, in MacroExpands() 345 const MacroDirective *MD) { in MacroDefined() 355 const MacroDefinition &MD, in MacroUndefined() 361 virtual void Defined(const Token &MacroNameTok, const MacroDefinition &MD, in Defined() 413 const MacroDefinition &MD) { in Ifdef() 421 const MacroDefinition &MD) { in Elifdef() 437 const MacroDefinition &MD) { in Ifndef() 445 const MacroDefinition &MD) { in Elifndef() 668 void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, in MacroExpands() 675 const MacroDirective *MD) override { in MacroDefined() [all …]
|
H A D | MacroInfo.h | 447 static bool classof(const MacroDirective *MD) { in classof() 462 static bool classof(const MacroDirective *MD) { in classof() 481 static bool classof(const MacroDirective *MD) { in classof() 596 MacroDefinition(DefMacroDirective *MD, ArrayRef<ModuleMacro *> MMs, in MacroDefinition() 609 if (auto *MD = getLocalDirective()) in getMacroInfo() local 627 if (auto *MD = getLocalDirective()) in forAllDefinitions() local
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
H A D | MetadataLoader.cpp | 128 void push_back(Metadata *MD) { MetadataPtrs.emplace_back(MD); } in push_back() 184 void BitcodeReaderMetadataList::assignValue(Metadata *MD, unsigned Idx) { in assignValue() 217 if (Metadata *MD = MetadataPtrs[Idx]) in getMetadataFwdRef() local 225 Metadata *MD = MDNode::getTemporary(Context, std::nullopt).release(); in getMetadataFwdRef() local 231 Metadata *MD = lookup(Idx); in getMetadataIfResolved() local 275 auto &MD = MetadataPtrs[I]; in tryToResolveCycles() local 364 auto *MD = MetadataList.lookup(ID); in getTemporaries() local 385 auto *MD = MetadataList.lookup(PHs.front().getID()); in flush() local 518 for (auto *MD : MDs) in upgradeCUVariables() local 740 if (auto *MD = MetadataList.lookup(ID)) in getMetadataFwdRefOrLoad() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Function.h | 147 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in getParentDecl() local 155 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in isLambdaStaticInvoker() local 163 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in isLambdaCallOperator() local 200 if (const auto *MD = dyn_cast<CXXMethodDecl>(F)) in isThisPointerExplicit() local
|
H A D | ByteCodeEmitter.cpp | 42 if (const auto *MD = dyn_cast<CXXMethodDecl>(FuncDecl); in compileFunc() local 91 if (const auto *MD = dyn_cast<CXXMethodDecl>(FuncDecl)) { in compileFunc() local 172 if (const auto *MD = dyn_cast<CXXMethodDecl>(FuncDecl)) in compileFunc() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUUnifyMetadata.cpp | 94 for (auto *MD : NamedMD->operands()) in unifyExtensionMD() local 101 for (const auto &MD : All) in unifyExtensionMD() local
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CloneModule.cpp | 136 for (auto MD : MDs) in CloneModule() local 163 for (auto MD : MDs) in CloneModule() local
|