Home
last modified time | relevance | path

Searched refs:isDeclaration (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DReduceFunctionBodies.cpp30 if (!F.isDeclaration() && !O.shouldKeep()) { in extractFunctionBodiesFromModule()
44 if (!F.isDeclaration()) in countFunctionDefinitions()
/external/llvm-project/llvm/lib/Analysis/
DMLInlineAdvisor.cpp59 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()
166 if (!F.isDeclaration()) in getModuleIRSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DAlwaysInliner.cpp50 if (!F.isDeclaration() && F.hasFnAttribute(Attribute::AlwaysInline) && in run()
163 if (Callee->isDeclaration()) in getInlineCost()
DSyntheticCountsPropagation.cpp77 if (F.isDeclaration()) in initializeCounts()
133 if (!F || F->isDeclaration()) in run()
DExtractGV.cpp86 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
106 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration(); in runOnModule()
/external/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DExtractGV.cpp89 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
109 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration(); in runOnModule()
/external/llvm-project/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DExtractGV.cpp88 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration() && in runOnModule()
109 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration(); in runOnModule()
DSyntheticCountsPropagation.cpp76 if (F.isDeclaration()) in initializeCounts()
131 if (!F || F->isDeclaration()) in run()
/external/llvm/lib/Transforms/Utils/
DNameAnonFunctions.cpp39 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
45 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
/external/llvm-project/llvm/lib/Transforms/Utils/
DNameAnonGlobals.cpp41 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
47 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
DFunctionImportUtils.cpp203 if (!F->isDeclaration()) { in processGlobalForThinLTO()
219 assert(VI || GV.isDeclaration() || in processGlobalForThinLTO()
231 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DNameAnonGlobals.cpp41 if (F.isDeclaration() || F.hasLocalLinkage() || !F.hasName()) in get()
47 if (GV.isDeclaration() || GV.hasLocalLinkage() || !GV.hasName()) in get()
DFunctionImportUtils.cpp203 if (!F->isDeclaration()) { in processGlobalForThinLTO()
226 assert(VI || GV.isDeclaration() || in processGlobalForThinLTO()
238 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
/external/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp56 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in isGlobalInSmallSection()
84 if (((GV->hasExternalLinkage() && GV->isDeclaration()) || in isGlobalInSmallSectionImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp57 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in isGlobalInSmallSection()
93 if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in isGlobalInSmallSectionImpl()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiTargetObjectFile.cpp56 if (GO->isDeclaration() || GO->hasAvailableExternallyLinkage()) in isGlobalInSmallSection()
92 if (((GVA->hasExternalLinkage() && GVA->isDeclaration()) || in isGlobalInSmallSectionImpl()
/external/llvm-project/libclc/utils/
Dprepare-builtins.cpp80 if (!i->isDeclaration() && i->getLinkage() == GlobalValue::ExternalLinkage) in main()
86 if (!i->isDeclaration() && i->getLinkage() == GlobalValue::ExternalLinkage) in main()
/external/llvm-project/llvm/lib/Linker/
DLinkModules.cpp273 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()
/external/llvm/lib/Linker/
DLinkModules.cpp298 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource()
356 if (shouldLinkOnlyNeeded() && !(DGV && DGV->isDeclaration())) in linkIfNeeded()
363 if (DGVar->isDeclaration() && SGVar->isDeclaration() && in linkIfNeeded()
401 if (GV.isDeclaration()) in linkIfNeeded()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkModules.cpp273 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()
/external/llvm-project/clang/unittests/CodeGen/
DTestCompiler.h89 if (!FuncPtr->isDeclaration()) in compile()
95 if (!FuncPtr->isDeclaration()) in compile()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp69 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
107 if (!ExternSData && ((GV->hasExternalLinkage() && GV->isDeclaration()) || in IsGlobalInSmallSectionImpl()

12345678910>>...16