Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/
DTargetMachine.cpp111 bool isDeclaration = GV->isDeclaration(); in getTLSModel() local
125 if (!isDeclaration || isHidden) in getTLSModel()
/external/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DGlobalDCE.cpp98 if (!F.isDeclaration() && !F.hasAvailableExternallyLinkage()) in runOnModule()
107 if (!GV.isDeclaration() && !GV.hasAvailableExternallyLinkage()) in runOnModule()
141 if (!F.isDeclaration()) in runOnModule()
DExtractGV.cpp86 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
106 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
DInliner.cpp284 bool OptSize = Caller && !Caller->isDeclaration() && in getInlineThreshold()
292 if (!Callee || Callee->isDeclaration()) in getInlineThreshold()
513 if (Callee->isDeclaration()) in runOnSCC()
566 if (!Callee || Callee->isDeclaration()) continue; in runOnSCC()
694 if (!F || F->isDeclaration()) in removeDeadFunctions()
DElimAvailExtern.cpp75 if (!F.isDeclaration()) in runOnModule()
DInlineAlways.cpp101 if (Callee && !Callee->isDeclaration() && in getInlineCost()
DFunctionImport.cpp136 if (!cast<Function>(SrcGV)->isDeclaration()) { in findExternalCalls()
272 if (F.isDeclaration() || F.hasFnAttribute(Attribute::OptimizeNone)) in importFunctions()
/external/llvm/lib/Linker/
DLinkModules.cpp188 if (isa<GlobalVariable>(SGV) && !SGV->isDeclaration() && in doImportAsDefinition()
514 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource()
572 if (shouldLinkOnlyNeeded() && !(DGV && DGV->isDeclaration())) in linkIfNeeded()
579 if (DGVar->isDeclaration() && SGVar->isDeclaration() && in linkIfNeeded()
616 if (GV.isDeclaration()) in linkIfNeeded()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp73 if (Callee->isDeclaration() || Callee->mayBeOverridden()) in MayAutorelease()
163 if (F->isDeclaration()) in runOnModule()
/external/llvm/lib/Target/Mips/
DMipsTargetObjectFile.cpp67 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
105 if (!ExternSData && ((GV->hasExternalLinkage() && GV->isDeclaration()) || in IsGlobalInSmallSectionImpl()
DMipsOs16.cpp120 if (F->isDeclaration()) continue; in runOnModule()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h234 if (F.isDeclaration()) in addLogicalModule()
263 if (!GV.isDeclaration() && !VMap.count(&GV)) in addLogicalModule()
279 if (F->isDeclaration()) in addLogicalModule()
305 if (!GV.isDeclaration()) in addLogicalModule()
354 if (F.isDeclaration()) in extractAndCompile()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp291 if (F && !F->isDeclaration()) in findModuleForSymbol()
295 if (G && !G->isDeclaration()) in findModuleForSymbol()
386 if (F->isDeclaration() || F->hasAvailableExternallyLinkage()) { in getPointerToFunction()
436 if (F && !F->isDeclaration()) in FindFunctionNamedInModulePtrSet()
448 if (GV && !GV->isDeclaration()) in FindGlobalVariableNamedInModulePtrSet()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp71 if (F->isDeclaration()) in globalInitUsesExternalBA()
221 assert(F->isDeclaration() && "This didn't make the function external!"); in DeleteFunctionBody()
252 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || in SplitStaticCtorDtor()
274 if (!F->isDeclaration()) in SplitStaticCtorDtor()
DMiscompilation.cpp411 if (!I->isDeclaration()) in ExtractLoops()
583 if (!I->isDeclaration()) in ExtractBlocks()
619 if (!F.isDeclaration()) in DebugAMiscompilation()
774 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()
818 if (F->isDeclaration() && !F->use_empty() && &*F != resolverFunc && in CleanupAndPrepareModules()
823 if (TestFn && !TestFn->isDeclaration()) { in CleanupAndPrepareModules()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.hpp55 bool isDeclaration (void) const { return m_type == TYPE_DECLARATION; } in isDeclaration() function in deqp::gles31::Functional::ProgramInterfaceDefinition::VariablePathComponent
59 …const glu::VariableDeclaration* getDeclaration (void) const { DE_ASSERT(isDeclaration()); return… in getDeclaration()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp44 assert(F.isDeclaration() && "Can't turn a definition into a stub."); in makeStub()
137 assert(!OrigF.isDeclaration() && "Nothing to move"); in moveFunctionBody()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp37 if (!I->isDeclaration()) continue; in runOnModule()
/external/llvm/include/llvm/IR/
DGlobalValue.h334 bool isDeclaration() const;
340 return isDeclaration(); in isDeclarationForLinker()
DGlobalVariable.h77 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer()
/external/clang/lib/CodeGen/
DCGCXX.cpp140 if (Entry && !Entry->isDeclaration()) in TryEmitDefinitionAsAlias()
185 if (Ref->isDeclaration()) in TryEmitDefinitionAsAlias()
/external/llvm/tools/bugpoint-passes/
DTestPasses.cpp89 if (F.isDeclaration()) in runOnModule()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp58 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()

12345