/external/llvm/lib/Target/ |
D | TargetMachine.cpp | 111 bool isDeclaration = GV->isDeclaration(); in getTLSModel() local 125 if (!isDeclaration || isHidden) in getTLSModel()
|
/external/llvm/lib/Transforms/IPO/ |
D | StripDeadPrototypes.cpp | 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
|
D | GlobalDCE.cpp | 98 if (!F.isDeclaration() && !F.hasAvailableExternallyLinkage()) in runOnModule() 107 if (!GV.isDeclaration() && !GV.hasAvailableExternallyLinkage()) in runOnModule() 141 if (!F.isDeclaration()) in runOnModule()
|
D | ExtractGV.cpp | 86 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule() 106 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
|
D | Inliner.cpp | 284 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()
|
D | ElimAvailExtern.cpp | 75 if (!F.isDeclaration()) in runOnModule()
|
D | InlineAlways.cpp | 101 if (Callee && !Callee->isDeclaration() && in getInlineCost()
|
D | FunctionImport.cpp | 136 if (!cast<Function>(SrcGV)->isDeclaration()) { in findExternalCalls() 272 if (F.isDeclaration() || F.hasFnAttribute(Attribute::OptimizeNone)) in importFunctions()
|
/external/llvm/lib/Linker/ |
D | LinkModules.cpp | 188 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/ |
D | ObjCARCAPElim.cpp | 73 if (Callee->isDeclaration() || Callee->mayBeOverridden()) in MayAutorelease() 163 if (F->isDeclaration()) in runOnModule()
|
/external/llvm/lib/Target/Mips/ |
D | MipsTargetObjectFile.cpp | 67 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection() 105 if (!ExternSData && ((GV->hasExternalLinkage() && GV->isDeclaration()) || in IsGlobalInSmallSectionImpl()
|
D | MipsOs16.cpp | 120 if (F->isDeclaration()) continue; in runOnModule()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 234 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/ |
D | MCJIT.cpp | 291 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/ |
D | ExtractFunction.cpp | 71 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()
|
D | Miscompilation.cpp | 411 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/ |
D | es31fProgramInterfaceDefinitionUtil.hpp | 55 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/ |
D | AMDGPUAlwaysInlinePass.cpp | 41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 44 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/ |
D | AnalysisWrappers.cpp | 37 if (!I->isDeclaration()) continue; in runOnModule()
|
/external/llvm/include/llvm/IR/ |
D | GlobalValue.h | 334 bool isDeclaration() const; 340 return isDeclaration(); in isDeclarationForLinker()
|
D | GlobalVariable.h | 77 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer()
|
/external/clang/lib/CodeGen/ |
D | CGCXX.cpp | 140 if (Entry && !Entry->isDeclaration()) in TryEmitDefinitionAsAlias() 185 if (Ref->isDeclaration()) in TryEmitDefinitionAsAlias()
|
/external/llvm/tools/bugpoint-passes/ |
D | TestPasses.cpp | 89 if (F.isDeclaration()) in runOnModule()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonTargetObjectFile.cpp | 58 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
|