Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp52 if (F->isDeclaration() && F->use_empty()) { in runOnModule()
64 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
DInliner.cpp261 bool OptSize = Caller && !Caller->isDeclaration() && in getInlineThreshold()
270 bool InlineHint = Callee && !Callee->isDeclaration() && in getInlineThreshold()
277 bool ColdCallee = Callee && !Callee->isDeclaration() && in getInlineThreshold()
466 if (CS.getCalledFunction() && CS.getCalledFunction()->isDeclaration()) in runOnSCC()
518 if (!Callee || Callee->isDeclaration()) continue; in runOnSCC()
634 if (!F || F->isDeclaration()) in removeDeadFunctions()
DExtractGV.cpp86 deleteStuff == (bool)Named.count(I) && !I->isDeclaration(); in runOnModule()
103 deleteStuff == (bool)Named.count(I) && !I->isDeclaration(); in runOnModule()
DGlobalDCE.cpp98 if (!I->isDeclaration() && !I->hasAvailableExternallyLinkage()) { in runOnModule()
109 if (!I->isDeclaration() && !I->hasAvailableExternallyLinkage()) { in runOnModule()
147 if (!I->isDeclaration()) in runOnModule()
DInlineAlways.cpp101 if (Callee && !Callee->isDeclaration() && in getInlineCost()
/external/llvm/lib/Target/
DTargetMachine.cpp111 bool isDeclaration = GV->isDeclaration(); in getTLSModel() local
125 if (!isDeclaration || isHidden) in getTLSModel()
/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/lib/Transforms/ObjCARC/
DObjCARCAPElim.cpp73 if (Callee->isDeclaration() || Callee->mayBeOverridden()) in MayAutorelease()
166 if (F->isDeclaration()) in runOnModule()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp71 if (F->isDeclaration()) in globalInitUsesExternalBA()
189 assert(F->isDeclaration() && "This didn't make the function external!"); in DeleteFunctionBody()
220 if (!GV || GV->isDeclaration() || GV->hasLocalLinkage() || in SplitStaticCtorDtor()
242 if (!F->isDeclaration()) in SplitStaticCtorDtor()
DMiscompilation.cpp416 if (!I->isDeclaration()) in ExtractLoops()
598 if (!I->isDeclaration()) in ExtractBlocks()
636 if (!I->isDeclaration()) in DebugAMiscompilation()
791 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()
835 if (F->isDeclaration() && !F->use_empty() && &*F != resolverFunc && in CleanupAndPrepareModules()
840 if (TestFn && !TestFn->isDeclaration()) { in CleanupAndPrepareModules()
DCrashDebugger.cpp225 if (!I->isDeclaration() && !Functions.count(I)) in TestFuncs()
492 if (!I->isDeclaration()) in DebugACrash()
564 if (!FI->isDeclaration()) in DebugACrash()
/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/ExecutionEngine/Orc/
DIndirectionUtils.cpp41 assert(F.isDeclaration() && "Can't turn a definition into a stub."); in makeStub()
132 if (F.isDeclaration()) in fullyPartition()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp283 if (F && !F->isDeclaration()) in findModuleForSymbol()
287 if (G && !G->isDeclaration()) in findModuleForSymbol()
376 if (F->isDeclaration() || F->hasAvailableExternallyLinkage()) { in getPointerToFunction()
426 if (F && !F->isDeclaration()) in FindFunctionNamedInModulePtrSet()
/external/llvm/include/llvm/IR/
DGlobalValue.h329 bool isDeclaration() const;
335 return isDeclaration(); in isDeclarationForLinker()
DGlobalVariable.h78 inline bool hasInitializer() const { return !isDeclaration(); } in hasInitializer()
/external/llvm/lib/Target/R600/
DAMDGPUAlwaysInlinePass.cpp43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty()) in runOnModule()
/external/llvm/tools/opt/
DAnalysisWrappers.cpp37 if (!I->isDeclaration()) continue; in runOnModule()
/external/clang/lib/CodeGen/
DCGCXX.cpp138 if (Entry && !Entry->isDeclaration()) in TryEmitDefinitionAsAlias()
173 if (Ref->isDeclaration()) in TryEmitDefinitionAsAlias()
/external/llvm/lib/Target/Hexagon/
DHexagonTargetObjectFile.cpp58 if (GV->isDeclaration() || GV->hasAvailableExternallyLinkage()) in IsGlobalInSmallSection()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp71 if (F.isDeclaration()) in createDebugDumper()
/external/llvm/lib/Transforms/Scalar/
DReg2Mem.cpp71 if (F.isDeclaration()) in INITIALIZE_PASS_DEPENDENCY()
/external/llvm/lib/Target/PowerPC/
DPPCAsmPrinter.cpp200 (GV->isDeclaration() || GV->isWeakForLinker())) { in printOperand()
209 } else if (GV->isDeclaration() || GV->hasCommonLinkage() || in printOperand()
624 IsExternal = GV->isDeclaration(); in EmitInstruction()
627 (GV->isDeclaration() || GV->isWeakForLinker()); in EmitInstruction()
677 GValue->isDeclaration() || GValue->hasCommonLinkage() || in EmitInstruction()
707 IsExternal = GV->isDeclaration(); in EmitInstruction()
709 (GV->isDeclaration() || GV->isWeakForLinker()); in EmitInstruction()
/external/llvm/lib/Analysis/
DAliasDebugger.cpp60 if(!I->isDeclaration()) { in runOnModule()

12345