reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/GlobalValue.h
  531   bool isDeclaration() const;

References

include/llvm/Analysis/LazyCallGraph.h
 1082         if (!F->isDeclaration())
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  399         if (F.isDeclaration())
  455       if (!GV.isDeclaration() && !VMap.count(&GV))
  474           if (F->isDeclaration())
  501       if (!GV.isDeclaration())
  586     if (F.isDeclaration())
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
  143       if (GV.isDeclaration() || GV.hasCommonLinkage())
include/llvm/IR/GlobalValue.h
  422     return !isDeclaration() && isDefinitionExact();
  537     return isDeclaration();
include/llvm/IR/GlobalVariable.h
   92   inline bool hasInitializer() const { return !isDeclaration(); }
include/llvm/IR/PassManager.h
 1300       if (F.isDeclaration())
include/llvm/Transforms/IPO/Attributor.h
  347       if (!Arg->getParent()->isDeclaration())
  350       if (!F->isDeclaration())
lib/Analysis/CGSCCPassManager.cpp
  453         if (Visited.insert(Callee).second && !Callee->isDeclaration()) {
lib/Analysis/CallGraph.cpp
   69   if (F->isDeclaration() && !F->isIntrinsic())
lib/Analysis/CallGraphSCCPass.cpp
  219     if (!F || F->isDeclaration()) continue;
  652           if (!F->isDeclaration() && isFunctionInPrintList(F->getName())) {
lib/Analysis/GlobalsModRef.cpp
  517       if (F->isDeclaration() || F->hasOptNone()) {
  736           !GVar->isDeclaration() && !InputGVar->isDeclaration() &&
  736           !GVar->isDeclaration() && !InputGVar->isDeclaration() &&
lib/Analysis/LazyCallGraph.cpp
  104           if (!Callee->isDeclaration())
  158     if (F.isDeclaration())
lib/Analysis/Lint.cpp
  741   assert(!F.isDeclaration() && "Cannot lint external functions");
lib/Analysis/ModuleSummaryAnalysis.cpp
  689           assert(GV->isDeclaration() && "Def in module asm already has definition");
  733     if (F.isDeclaration())
  757     if (G.isDeclaration())
lib/Analysis/RegionPrinter.cpp
  242   assert(!F->isDeclaration() && "Function must have an implementation");
lib/Analysis/StackSafetyAnalysis.cpp
  368   assert(!F.isDeclaration() &&
  435     if (!F.isDeclaration())
  552     if (!F.isDeclaration()) {
lib/AsmParser/LLParser.cpp
 3261       if (F->isDeclaration())
 7434   if (F->isDeclaration())
lib/Bitcode/Writer/BitcodeWriter.cpp
 1272     Vals.push_back(GV.isDeclaration() ? 0 :
 1317     Vals.push_back(F.isDeclaration());
 2122     if (F.isDeclaration() && F.hasMetadata())
 3068     if (F.isDeclaration())
 3687     assert(V.isDeclaration());
 3844       assert(F.isDeclaration());
 4267     if (!F->isDeclaration())
lib/Bitcode/Writer/ValueEnumerator.cpp
  148     if (F.isDeclaration())
  275     if (F.isDeclaration())
  399       EnumerateMetadata(F.isDeclaration() ? nullptr : &F, I.second);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  484   EmitVisibility(EmittedSym, GV->getVisibility(), !GV->isDeclaration());
lib/CodeGen/GCMetadata.cpp
   67   assert(!F.isDeclaration() && "Can only get GCFunctionInfo for a definition!");
lib/CodeGen/GCRootLowering.cpp
  109     if (!I->isDeclaration() && I->hasGC())
lib/CodeGen/GlobalMerge.cpp
  612     if (GV.isDeclaration() || GV.isThreadLocal() || GV.hasImplicitSection())
lib/CodeGen/SafeStack.cpp
  727   if (!Callee || Callee->isDeclaration())
  740   assert(!F.isDeclaration() && "Can't run SafeStack on a function declaration");
  862     if (F.isDeclaration()) {
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 7542     if (F->isDeclaration()) {
lib/CodeGen/ShadowStackGCLowering.cpp
  213   } else if (Head->hasExternalLinkage() && Head->isDeclaration()) {
lib/ExecutionEngine/ExecutionEngine.cpp
  159     if (F && !F->isDeclaration())
  168     if (GV && !GV->isDeclaration())
  379   if (!GV || GV->isDeclaration() || GV->hasLocalLinkage()) return;
 1199         if (GV.hasLocalLinkage() || GV.isDeclaration() ||
 1241       if (!GV.isDeclaration()) {
 1272       if (!GV.isDeclaration()) {
lib/ExecutionEngine/Interpreter/Execution.cpp
 1121   if (F && F->isDeclaration())
 2133   if (F->isDeclaration()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  303     if (F && !F->isDeclaration())
  307       if (G && !G->isDeclaration())
  414   if (F->isDeclaration() || F->hasAvailableExternallyLinkage()) {
  464     if (F && !F->isDeclaration())
  476     if (GV && !GV->isDeclaration())
lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp
  142       if (GV.isDeclaration() || GV.hasLocalLinkage() ||
  195     if (F.isDeclaration())
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  108     if (CtorDtor.Data && cast<GlobalValue>(CtorDtor.Data)->isDeclaration()) {
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  238   assert(F.isDeclaration() && "Can't turn a definition into a stub.");
  307   assert(!OrigF.isDeclaration() && "Nothing to move");
lib/ExecutionEngine/Orc/Layer.cpp
   35       if (G.hasName() && !G.isDeclaration() && !G.hasLocalLinkage() &&
   68   assert(!I->second->isDeclaration() &&
lib/ExecutionEngine/Orc/Speculation.cpp
   87       if (!Fn.isDeclaration()) {
lib/FuzzMutate/IRMutator.cpp
   41     if (!F.isDeclaration())
lib/IR/AsmWriter.cpp
  162     if (F.isDeclaration())
  279     if (F.isDeclaration())
 3425   if (F->isDeclaration()) {
 3454   if (F->isDeclaration() && !IsForDebug) {
 3523   if (F->isDeclaration()) {
lib/IR/Core.cpp
 1825   return unwrap<GlobalValue>(Global)->isDeclaration();
lib/IR/Function.cpp
  315   assert(isDeclaration() && "Expected no references to current arguments");
lib/IR/LegacyPassManager.cpp
 1377   if (F.isDeclaration())
 1615   if (F.isDeclaration())
lib/IR/Mangler.cpp
  186   if (!GV->hasDLLExportStorageClass() || GV->isDeclaration())
lib/IR/Verifier.cpp
  565   Assert(!GV.isDeclaration() || GV.hasValidDeclarationLinkage(),
  586     Assert((GV.isDeclaration() && GV.hasExternalLinkage()) ||
 2248   } else if (F.isDeclaration()) {
 4234   Assert(IF->isDeclaration(), "Intrinsic functions should never be defined!",
 4455     Assert(Fn && !Fn->isDeclaration(),
 4482     Assert(StatepointFn && StatepointFn->isDeclaration() &&
 5171       if (F.isDeclaration())
lib/LTO/LTO.cpp
  794     if (CombinedGV && !CombinedGV->isDeclaration())
  999       if (!GV || GV->hasLocalLinkage() || GV->isDeclaration())
lib/LTO/LTOCodeGenerator.cpp
  390     if (!GV.isDiscardableIfUnused() || GV.isDeclaration() ||
lib/LTO/UpdateCompilerUsed.cpp
   90     if (GV.isDeclaration())
lib/Linker/IRMover.cpp
  592     if (!F->isDeclaration())
  715     if (isa<GlobalVariable>(SGV) || SGV->isDeclaration())
  949   if (SGV.isDeclaration() || DoneLinkingBodies)
 1057   assert(Dst.isDeclaration() && !Src.isDeclaration());
 1057   assert(Dst.isDeclaration() && !Src.isDeclaration());
 1439     assert(!GV->isDeclaration());
lib/Linker/LinkModules.cpp
  273     LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration();
  273     LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration();
  339       if (!DGV->isDeclaration())
  348       if (DGVar->isDeclaration() && SGVar->isDeclaration() &&
  348       if (DGVar->isDeclaration() && SGVar->isDeclaration() &&
  377   if (GV.isDeclaration())
lib/Passes/StandardInstrumentations.cpp
   50       if (!F.isDeclaration() && isFunctionInPrintList(F.getName())) {
   88     if (!F.isDeclaration() && llvm::isFunctionInPrintList(F.getName())) {
lib/ProfileData/InstrProf.cpp
 1073   if (!IRInstrVar || IRInstrVar->isDeclaration() ||
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  133       if (!F.isDeclaration() && !F.use_empty() &&
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  357     if (!F || F->isDeclaration())
lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h
  181       assert(F.isDeclaration());
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  315     EmitVisibility(GVSym, GV->getVisibility(), !GV->isDeclaration());
  860         if (Callee->isDeclaration()) {
lib/Target/AMDGPU/AMDGPUInline.cpp
  116   bool InlineHint = Callee && !Callee->isDeclaration() &&
  181   if (!Callee || Callee->isDeclaration())
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  581   if (!Callee->isDeclaration())
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  948   if (F && !F->isDeclaration()
  963   if (F && !F->isDeclaration()
lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp
  135     if (!F.isDeclaration())
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  226         if (!Callee || Callee->isDeclaration()) {
  377     if (!F || F->isDeclaration())
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  195       if (F.isDeclaration() || Roots.count(&F) || Roots.count(&F))
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  388     return F->isDeclaration() || AMDGPU::isEntryFunctionCC(F->getCallingConv());
lib/Target/Lanai/LanaiTargetObjectFile.cpp
   57   if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage())
   93   if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) ||
lib/Target/Mips/Mips16HardFloat.cpp
  270   if (FStub && !FStub->isDeclaration()) return;
  522     if (F->isDeclaration() || F->hasFnAttribute("mips16_fp_stub") ||
lib/Target/Mips/MipsOs16.cpp
  122     if (F.isDeclaration())
lib/Target/Mips/MipsTargetObjectFile.cpp
   75   if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage())
  130   if (!ExternSData && ((GVA->hasExternalLinkage() && GVA->isDeclaration()) ||
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  711     if (F->isDeclaration()) {
  976       } else if (V->isDeclaration())
 1036   if (GVar->isDeclaration()) {
lib/Target/NVPTX/NVPTXGenericToNVVM.cpp
  103     if (I->isDeclaration()) {
lib/Target/NVPTX/NVVMReflect.cpp
   80     assert(F.isDeclaration() && "_reflect function should not have a body");
lib/Target/RISCV/RISCVTargetObjectFile.cpp
   60   if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) ||
lib/Target/TargetLoweringObjectFile.cpp
  145   assert(!GO->isDeclaration() && !GO->hasAvailableExternallyLinkage() &&
lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp
   68     if (!F.isDeclaration() || !F.hasFnAttribute("no-prototype"))
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
  309     if (Main->isDeclaration()) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  667       if (F.isDeclaration())
lib/Transforms/IPO/AlwaysInliner.cpp
   49     if (!F.isDeclaration() && F.hasFnAttribute(Attribute::AlwaysInline) &&
  162   if (Callee->isDeclaration())
lib/Transforms/IPO/Attributor.cpp
 2103     if (F && !F->isDeclaration())
lib/Transforms/IPO/CalledValuePropagation.cpp
  378     if (!F.isDeclaration() && !canTrackArgumentsInterprocedurally(&F))
lib/Transforms/IPO/DeadArgumentElimination.cpp
  124   if (Fn.isDeclaration() || !Fn.hasLocalLinkage()) return false;
lib/Transforms/IPO/ElimAvailExtern.cpp
   55     if (!F.isDeclaration())
lib/Transforms/IPO/ExtractGV.cpp
   86             deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration();
  106             deleteStuff == (bool)Named.count(&F) && !F.isDeclaration();
lib/Transforms/IPO/FunctionAttrs.cpp
 1169       return F->isDeclaration() ||
 1559   assert(!F.isDeclaration() && "Cannot deduce norecurse without a definition!");
 1598     if (F && !F->isDeclaration() && !F->doesNotRecurse() &&
lib/Transforms/IPO/FunctionImport.cpp
  960         GV.isDeclaration())
 1068     if (!GV.isDeclaration() && GV.hasAttribute("thinlto-internalize")) {
lib/Transforms/IPO/GlobalDCE.cpp
  171     if (GV.isDeclaration() || Types.empty())
  313     if (!GO.isDeclaration())
  372       if (!F.isDeclaration())
lib/Transforms/IPO/GlobalOpt.cpp
 1764   if (!GV.isDiscardableIfUnused() && !GV.isDeclaration())
 1773     Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead();
 2272     if (!F->hasName() && !F->isDeclaration() && !F->hasLocalLinkage())
 2288     if (!F->isDeclaration()) {
 2361     if (!GV->hasName() && !GV->isDeclaration() && !GV->hasLocalLinkage())
 2765     if (!J->hasName() && !J->isDeclaration() && !J->hasLocalLinkage())
 2855   if (Fn.isDeclaration())
lib/Transforms/IPO/HotColdSplitting.cpp
  643     if (F.isDeclaration())
lib/Transforms/IPO/IPConstantPropagation.cpp
  298       if (!F.isDeclaration()) {
lib/Transforms/IPO/InferFunctionAttrs.cpp
   28     if (F.isDeclaration() && !F.hasOptNone())
lib/Transforms/IPO/Inliner.cpp
  558     if (!F || F->isDeclaration())
  574           if (Callee->isDeclaration()) {
  625       if (!Callee || Callee->isDeclaration())
  807     if (!F || F->isDeclaration())
  933           if (!Callee->isDeclaration())
 1101             if (!NewCallee->isDeclaration())
lib/Transforms/IPO/Internalize.cpp
   90   if (GV.isDeclaration())
lib/Transforms/IPO/LowerTypeTests.cpp
 1928         if (F->isDeclaration()) {
lib/Transforms/IPO/MergeFunctions.cpp
  385   return !F.isDeclaration() && !F.hasAvailableExternallyLinkage();
  430       if (!F->isDeclaration() && !F->hasAvailableExternallyLinkage()) {
lib/Transforms/IPO/PartialInlining.cpp
 1457     if (!F.use_empty() && !F.isDeclaration())
lib/Transforms/IPO/SampleProfile.cpp
  965               !R->getValue()->isDeclaration() &&
  986                  !CalledFunction->isDeclaration()) {
 1007     if (!Callee || Callee->isDeclaration())
 1749     if (!F.isDeclaration()) {
lib/Transforms/IPO/StripDeadPrototypes.cpp
   35     if (F->isDeclaration() && F->use_empty()) {
   47     if (GV->isDeclaration() && GV->use_empty())
lib/Transforms/IPO/SyntheticCountsPropagation.cpp
   77     if (F.isDeclaration())
  133         if (!F || F->isDeclaration())
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  146     if (F.isDeclaration() && F.use_empty()) {
  151     if (!F.isDeclaration() || F.getFunctionType() == EmptyFT ||
  167     if (GV.isDeclaration() && GV.use_empty()) {
  267         if (!F->isDeclaration() &&
  289     if (!F.isDeclaration()) {
lib/Transforms/IPO/WholeProgramDevirt.cpp
  787     if (GV.isDeclaration() || Types.empty())
 1412     if (Target.Fn->isDeclaration() ||
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4319         !CalleeF->isDeclaration()) {
 4443       if (Callee->isDeclaration())
 4519   if (Callee->isDeclaration()) {
lib/Transforms/Instrumentation/CGProfile.cpp
   41     if (F.isDeclaration())
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  685   if (F && F->isDeclaration()) {
  901       if (!F.isDeclaration()) {
  926     if (!i || i->isDeclaration())
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
 1444     if (F.isDeclaration() || !F.hasFnAttribute(Attribute::SanitizeHWAddress))
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
  396     if (F.isDeclaration() || F.hasOptNone())
lib/Transforms/Instrumentation/InstrOrderFile.cpp
   71       if (!F.isDeclaration())
  164       if (F.isDeclaration())
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1472     if (F.isDeclaration())
 1565     if (F.isDeclaration())
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  439   if (Options.StackDepth && !SanCovLowestStack->isDeclaration())
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
  167     if (F->isDeclaration())
lib/Transforms/Scalar/CallSiteSplitting.cpp
  528       if (!Callee || Callee->isDeclaration())
lib/Transforms/Scalar/PlaceSafepoints.cpp
  464   if (F.isDeclaration() || F.empty()) {
lib/Transforms/Scalar/Reg2Mem.cpp
   71   if (F.isDeclaration() || skipFunction(F))
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  133     if (F.isDeclaration() || F.empty())
  177       if (F.isDeclaration() || F.empty())
 2519   assert(!F.isDeclaration() && !F.empty() &&
lib/Transforms/Scalar/SCCP.cpp
 1264   if (!F || F->isDeclaration()) {
 1271     if (F && F->isDeclaration() && !I->getType()->isStructTy() &&
 2013     if (F.isDeclaration())
 2068     if (F.isDeclaration())
lib/Transforms/Utils/CloneModule.cpp
  120     if (I->isDeclaration())
  144     if (I.isDeclaration())
lib/Transforms/Utils/Evaluator.cpp
  568       if (Callee->isDeclaration()) {
lib/Transforms/Utils/FunctionImportUtils.cpp
  211         if (!F->isDeclaration()) {
  241   if (!GV.isDeclaration() && VI && ImportIndex.withGlobalValueDeadStripping()) {
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
   64     if (F.isDeclaration())
lib/Transforms/Utils/InlineFunction.cpp
 1554       CalledFunc->isDeclaration()) // call!
lib/Transforms/Utils/ModuleUtils.cpp
  256     if (GV.isDeclaration() || GV.getName().startswith("llvm.") ||
lib/Transforms/Utils/NameAnonGlobals.cpp
   41       if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName())
   47       if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName())
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2305   if (!Callee || !Callee->isDeclaration())
 2320   if (!GV || !GV->isDeclaration())
lib/Transforms/Utils/SplitModule.cpp
  109     if (GV.isDeclaration())
lib/Transforms/Utils/StripGCRelocates.cpp
   43   if (F.isDeclaration())
tools/bugpoint-passes/TestPasses.cpp
   88       if (F.isDeclaration())
tools/bugpoint/CrashDebugger.cpp
  261       if (!I.isDeclaration() && !Functions.count(&I))
  288       if (!I.isDeclaration() && !Functions.count(&I)) {
 1047       if (!FI->isDeclaration())
 1101     if (!F.isDeclaration())
tools/bugpoint/ExtractFunction.cpp
   69       if (F->isDeclaration())
  223   assert(F->isDeclaration() && "This didn't make the function external!");
  250   if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || !GV->use_empty())
  275         if (!F->isDeclaration())
tools/bugpoint/Miscompilation.cpp
  417       if (!I->isDeclaration())
  588     if (!I->isDeclaration())
  623     if (!F.isDeclaration())
  792     if (!oldMain->isDeclaration()) {
  835     if (F->isDeclaration() && !F->use_empty() &&
  841       if (TestFn && !TestFn->isDeclaration()) {
tools/clang/lib/CodeGen/BackendUtil.cpp
  902       if (!F.isDeclaration())
tools/clang/lib/CodeGen/CGBlocks.cpp
 2966     if (GV->isDeclaration() && (!ND || !ND->hasAttr<DLLExportAttr>())) {
 2975   if (CGM.getLangOpts().BlocksRuntimeOptional && GV->isDeclaration() &&
tools/clang/lib/CodeGen/CGCXX.cpp
  128   if (Entry && !Entry->isDeclaration())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1277   if (Addr && !Addr->isDeclaration()) {
 1291       assert(OrigAddr->isDeclaration() && "Expected declaration");
 1322     if (!GV->isDeclaration() || GV->getNumUses() > 0)
 9845         return !F->isDeclaration();
11130   if (Orig && !Orig->isDeclaration())
tools/clang/lib/CodeGen/CGVTables.cpp
  176   assert(!BaseFn->isDeclaration() && "cannot clone undefined variadic method");
  524     assert(OldThunkFn->isDeclaration() && "Shouldn't replace non-declaration");
  546   if (!ThunkFn->isDeclaration()) {
  808   assert(!VTable->isDeclaration() && "Shouldn't set properties on declaration");
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  659   assert(CurFn->isDeclaration() && "Function already has body?");
tools/clang/lib/CodeGen/CodeGenModule.cpp
  315     } else if (GV->isDeclaration()) {
 1826   if (!IsIncompleteFunction && F->isDeclaration())
 1886   assert(!GV->isDeclaration() &&
 1892   assert(!GV->isDeclaration() &&
 2122     if (!GV->isDeclaration())
 3134     if (IsForDefinition && !Entry->isDeclaration()) {
 3431     if (IsForDefinition && !Entry->isDeclaration()) {
 3585   if (GV->isDeclaration())
 3627     assert(GV->isDeclaration() && "Declaration has wrong type!");
 3702   if (GV && !GV->isDeclaration())
 4403   if (!GV->isDeclaration())
 4449   if (Entry && !Entry->isDeclaration())
 4482     assert(Entry->isDeclaration());
 4529   if (Entry && !Entry->isDeclaration()) {
 4555     assert(Entry->isDeclaration());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  429        if (!Entry || Entry->isDeclaration())
 3338   if (OldGV && !OldGV->isDeclaration()) {
 3928   if (Entry && !Entry->isDeclaration())
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2042     if (GV->isDeclaration())
tools/clang/lib/CodeGen/TargetInfo.cpp
 1982   if (GV->isDeclaration())
 2354     if (GV->isDeclaration())
 2421   if (GV->isDeclaration())
 2465   if (GV->isDeclaration())
 5101   if (GV->isDeclaration())
 5709     if (GV->isDeclaration())
 5768   if (GV->isDeclaration())
 6464   if (GV->isDeclaration())
 6908   if (GV->isDeclaration())
 6977     if (GV->isDeclaration())
 7348     if (GV->isDeclaration())
 7382   if (GV->isDeclaration())
 7949   if (GV->isDeclaration())
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   81       if (!FuncPtr->isDeclaration())
   87       if (!FuncPtr->isDeclaration())
tools/lldb/source/Expression/IRExecutionUnit.cpp
  330     if (function.isDeclaration() || function.hasPrivateLinkage())
  365     if (val.hasExternalLinkage() && !val.isDeclaration()) {
tools/lli/lli.cpp
  708         if (F.isDeclaration())
tools/llvm-extract/llvm-extract.cpp
  309           if (CF->isDeclaration() || GVs.count(CF))
tools/llvm-reduce/deltas/ReduceArguments.cpp
   50     if (!F.isDeclaration()) {
  110     if (!F.isDeclaration() && F.arg_size()) {
tools/opt/AnalysisWrappers.cpp
   36         if (!I->isDeclaration()) continue;
tools/opt/Debugify.cpp
   47   return F.isDeclaration() || !F.hasExactDefinition();
tools/polly/lib/Transform/ScopInliner.cpp
   61     if (F->isDeclaration()) {