/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MLInlineAdvisor.cpp | 59 if (!Callee->isDeclaration()) { in getInlinableCS() 85 if (!F || F->isDeclaration()) in MLInlineAdvisor() 102 if (F && !F->isDeclaration()) in MLInlineAdvisor() 114 if (!F.isDeclaration()) { in onPassEntry() 170 if (!F.isDeclaration()) in getModuleIRSize()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceFunctionBodies.cpp | 30 if (!F.isDeclaration() && !O.shouldKeep()) { in extractFunctionBodiesFromModule() 44 if (!F.isDeclaration()) in countFunctionDefinitions()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | StripDeadPrototypes.cpp | 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
|
H A D | ThinLTOBitcodeWriter.cpp | 148 if (F.isDeclaration() && F.use_empty()) { in simplifyExternals() 153 if (!F.isDeclaration() || F.getFunctionType() == EmptyFT || in simplifyExternals() 173 if (GV.isDeclaration() && GV.use_empty()) { in simplifyExternals() 212 if (GV && !GV->isDeclaration()) in cloneUsedGlobalVariables() 293 if (!F->isDeclaration() && in splitAndWriteThinLTOBitcode() 320 if (!F.isDeclaration()) { in splitAndWriteThinLTOBitcode()
|
H A D | SyntheticCountsPropagation.cpp | 77 if (F.isDeclaration()) in initializeCounts() 132 if (!F || F->isDeclaration()) in run()
|
H A D | ExtractGV.cpp | 87 !GV.isDeclaration() && in runOnModule() 108 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration(); in runOnModule()
|
H A D | Inliner.cpp | 328 if (!F || F->isDeclaration()) in inlineCallsImpl() 344 if (Callee->isDeclaration()) { in inlineCallsImpl() 397 if (!Callee || Callee->isDeclaration()) in inlineCallsImpl() 582 if (!F || F->isDeclaration()) in removeDeadFunctions() 731 if (!Callee->isDeclaration()) in run() 861 if (!NewCallee->isDeclaration()) in run()
|
H A D | AlwaysInliner.cpp | 57 if (!F.isDeclaration() && F.hasFnAttribute(Attribute::AlwaysInline) && in run() 201 if (Callee->isDeclaration()) in getInlineCost()
|
H A D | SampleProfile.cpp | 877 if (!R->getValue()->isDeclaration() && R->getValue()->getSubprogram() && in tryPromoteAndInlineCandidate() 987 if (!Func || Func->isDeclaration()) in findExternalInlineCandidate() 997 if (!Callee || Callee->isDeclaration()) in findExternalInlineCandidate() 1098 !CalledFunction->isDeclaration()) { in inlineHotFunctions() 1121 if (!Callee || Callee->isDeclaration()) in inlineHotFunctions() 1394 !CalledFunction->isDeclaration()) { in inlineHotFunctionsWithPriority() 1638 if (!F || F->isDeclaration() || !F->hasFnAttribute("use-sample-profile")) in INITIALIZE_PASS_DEPENDENCY() 1666 if (!F.isDeclaration() && F.hasFnAttribute("use-sample-profile")) in buildFunctionOrder() 1728 if (F && !F->isDeclaration() && F->hasFnAttribute("use-sample-profile")) in buildFunctionOrder() 1738 if (F && !F->isDeclaration() && F->hasFnAttribute("use-sample-profile")) in buildFunctionOrder() [all …]
|
H A D | GlobalDCE.cpp | 173 if (GV.isDeclaration() || Types.empty()) in ScanVTables() 324 if (!GO.isDeclaration()) in run() 383 if (!F.isDeclaration()) in run()
|
H A D | SampleProfileProbe.cpp | 76 if (F->isDeclaration()) in shouldVerifyFunction() 405 if (F.isDeclaration()) in run() 462 if (F.isDeclaration()) in run()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | NameAnonGlobals.cpp | 41 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get() 47 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
|
H A D | FunctionImportUtils.cpp | 203 if (!F->isDeclaration()) { in processGlobalForThinLTO() 219 assert(VI || GV.isDeclaration() || in processGlobalForThinLTO() 231 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
|
H A D | CloneModule.cpp | 126 if (G.isDeclaration()) in CloneModule() 143 if (I.isDeclaration()) in CloneModule()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 273 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource() 339 if (!DGV->isDeclaration()) in linkIfNeeded() 348 if (DGVar->isDeclaration() && SGVar->isDeclaration() && in linkIfNeeded() 377 if (GV.isDeclaration()) in linkIfNeeded()
|
H A D | IRMover.cpp | 602 if (!F->isDeclaration()) in materialize() 728 if (isa<GlobalVariable>(SGV) || SGV->isDeclaration()) in copyGlobalValueProto() 856 if (DstGV && !DstGV->isDeclaration() && !SrcGV->isDeclaration()) { in linkAppendingVarProto() 884 if (SrcGV->isDeclaration()) in linkAppendingVarProto() 912 if (DstGV && !DstGV->isDeclaration()) { in linkAppendingVarProto() 950 (DstGV && !DstGV->isDeclaration()) ? DstGV->getInitializer() : nullptr, in linkAppendingVarProto() 970 if (SGV.isDeclaration() || DoneLinkingBodies) in shouldLink() 1084 assert(Dst.isDeclaration() && !Src.isDeclaration()); in linkFunctionBody() 1478 assert(!GV->isDeclaration()); in run()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
H A D | LanaiTargetObjectFile.cpp | 56 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in isGlobalInSmallSection() 92 if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in isGlobalInSmallSectionImpl()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/bugpoint/ |
H A D | ExtractFunction.cpp | 69 if (F->isDeclaration()) in globalInitUsesExternalBA() 223 assert(F->isDeclaration() && "This didn't make the function external!"); in DeleteFunctionBody() 250 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || !GV->use_empty()) in SplitStaticCtorDtor() 275 if (!F->isDeclaration()) in SplitStaticCtorDtor()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 74 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 129 if (!ExternSData && ((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in IsGlobalInSmallSectionImpl()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 309 if (F && !F->isDeclaration()) in findModuleForSymbol() 313 if (G && !G->isDeclaration()) in findModuleForSymbol() 420 if (F->isDeclaration() || F->hasAvailableExternallyLinkage()) { in getPointerToFunction() 470 if (F && !F->isDeclaration()) in FindFunctionNamedInModulePtrSet() 482 if (GV && !GV->isDeclaration()) in FindGlobalVariableNamedInModulePtrSet()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | GlobalValue.h | 421 return !isDeclaration() && isDefinitionExact(); in hasExactDefinition() 532 bool isDeclaration() const; 538 return isDeclaration(); in isDeclarationForLinker()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | InstrOrderFile.cpp | 71 if (!F.isDeclaration()) in createOrderFileData() 164 if (F.isDeclaration()) in run()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
H A D | Layer.cpp | 45 if (!G.hasName() || G.isDeclaration() || G.hasLocalLinkage() || in IRMaterializationUnit() 123 assert(!I->second->isDeclaration() && in discard()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/opt/ |
H A D | AnalysisWrappers.cpp | 35 if (!I->isDeclaration()) continue; in runOnModule()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGCUDANV.cpp | 576 assert((!Var->isDeclaration() || Info.Flags.isManaged()) && in makeRegisterGlobalsFn() 588 /*Init=*/Var->isDeclaration() in makeRegisterGlobalsFn() 606 if (!Var->isDeclaration()) in makeRegisterGlobalsFn() 1069 /*Init=*/Var->isDeclaration() in transformManagedVars() 1083 if (!Var->isDeclaration()) { in transformManagedVars() 1084 assert(!ManagedVar->isDeclaration()); in transformManagedVars() 1109 if (!Info.Var->isDeclaration() && in finalizeModule()
|