Home
last modified time | relevance | path

Searched refs:isUsed (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSymbol.h225 bool isUsed() const { return IsUsed; } in isUsed() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h202 bool isUsed() const { return (Flags >> S::FB_used) & 1; } in isUsed() function
/freebsd/contrib/llvm-project/llvm/include/llvm/LTO/
H A DLTO.h160 using irsymtab::Symbol::isUsed;
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h224 bool isUsed() const { return IsUsed; } in isUsed() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp552 bool Decl::isUsed(bool CheckUsedAttr) const { in isUsed() function in Decl
568 if (isUsed(false)) in markUsed()
H A DJSONNodeDumper.cpp128 if (D->isUsed()) in Visit()
H A DTextNodeDumper.cpp297 if (D->isUsed()) in Visit()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTO.cpp666 if (Res.LinkerRedefined || Res.VisibleToRegularObj || Sym.isUsed() || in addModuleToGlobalRes()
677 (Res.VisibleToRegularObj || Sym.isUsed() || !InSummary); in addModuleToGlobalRes()
H A DThinLTOCodeGenerator.cpp300 if (Sym.isUsed()) in addUsedSymbolToPreservedGUID()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DPrintPreprocessedOutput.cpp570 if (DirectivesOnly && !MI->isUsed()) { in MacroDefined()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPDirectives.cpp3235 if (!OtherMI->isUsed() && OtherMI->isWarnIfUnused()) in HandleDefineDirective()
3258 assert(!MI->isUsed()); in HandleDefineDirective()
3317 if (!MI->isUsed() && MI->isWarnIfUnused()) in HandleUndefDirective()
H A DPPMacroExpansion.cpp2099 if (MI->isWarnIfUnused() && !MI->isUsed()) in markMacroAsUsed()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp375 DeclBits.addBit(D->isUsed(false)); in VisitDecl()
915 !D->isUsed(false) && in VisitObjCIvarDecl()
1047 !D->isUsed(false) && in VisitFieldDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp795 if (D->getMostRecentDecl()->isUsed()) in ShouldRemoveFromUnused()
1392 if (!D || D->isInvalidDecl() || D->getPreviousDecl() || !D->isUsed()) in ActOnEndOfTranslationUnit()
H A DSemaAttr.cpp857 if (VD->isUsed()) in ActOnPragmaUnused()
H A DSemaDecl.cpp1831 if (D->isInvalidDecl() || D->isUsed() || D->hasAttr<UnusedAttr>()) in ShouldWarnIfUnusedFileScopedDecl()
1930 } else if (D->isReferenced() || D->isUsed()) { in ShouldDiagnoseUnusedDecl()
3138 } else if (Old->isUsed()) { in mergeDeclAttributes()
3794 Old->isUsed(false) && in MergeFunctionDecl()
4278 if (Old->getMostRecentDecl()->isUsed(false)) in MergeCompatibleFunctionDecls()
4636 if (!Old->isInline() && New->isInline() && Old->isUsed(false) && in MergeVarDecl()
4681 if (Old->getMostRecentDecl()->isUsed(false)) in MergeVarDecl()
7002 if (OldDecl->isUsed()) in checkDLLAttributeRedeclaration()
11221 if (OldFD && CausesMV && OldFD->isUsed(false)) in CheckMultiVersionAdditionalRules()
11745 if (OldFD->isUsed(false)) { in CheckMultiVersionFunction()
H A DSemaTemplateInstantiateDecl.cpp2429 if (isFriend && D->isThisDeclarationADefinition() && Function->isUsed(false)) { in VisitFunctionDecl()
5331 if (OldVar->isUsed(false)) in BuildVariableInstantiation()
/freebsd/contrib/llvm-project/lld/COFF/
H A DInputFiles.cpp1130 if (objSym.isUsed()) in parse()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp2775 if (!LangOpts.OpenMP || (!LangOpts.EmitAllDecls && !D->isUsed())) in EmitOMPDeclareReduction()
2783 (!LangOpts.EmitAllDecls && !D->isUsed())) in EmitOMPDeclareMapper()
H A DCGCUDANV.cpp1196 Info.D->isUsed() && !Info.D->hasAttr<UsedAttr>()) { in finalizeModule()
H A DCGClass.cpp2548 assert(D && D->isUsed() && "destructor not marked as used!"); in PushDestructorCleanup()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h608 bool isUsed(bool CheckUsedAttr = true) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1618 bool isUsed() const { return IsUsed; } in isUsed() function
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp6435 else if (Sym->isUndefined(/*SetUsed*/ false) && !Sym->isUsed() && in parseAssignmentExpression()
6438 else if (Sym->isVariable() && !Sym->isUsed() && allow_redef) in parseAssignmentExpression()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp3151 if (!Arg->isUsed()) in checkUnusedTemplateArgs()

12