Home
last modified time | relevance | path

Searched refs:use_empty (Results 1 – 25 of 242) sorted by relevance

12345678910

/external/swiftshader/third_party/LLVM/lib/VMCore/
DAutoUpgrade.cpp196 if (!CI->use_empty()) in UpgradeIntrinsicCall()
236 if (!CI->use_empty()) in UpgradeIntrinsicCall()
275 if (!CI->use_empty()) in UpgradeIntrinsicCall()
321 if (!CI->use_empty()) in UpgradeIntrinsicCall()
351 if (!CI->use_empty()) in UpgradeIntrinsicCall()
386 while (!FuncStart->use_empty()) in CheckDebugInfoIntrinsics()
392 while (!StopPoint->use_empty()) in CheckDebugInfoIntrinsics()
398 while (!RegionStart->use_empty()) in CheckDebugInfoIntrinsics()
404 while (!RegionEnd->use_empty()) in CheckDebugInfoIntrinsics()
410 if (!Declare->use_empty()) { in CheckDebugInfoIntrinsics()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DStripSymbols.cpp143 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
244 while (!Declare->use_empty()) { in StripDebugInfo()
253 while (!DbgVal->use_empty()) { in StripDebugInfo()
303 while (!Declare->use_empty()) { in runOnModule()
307 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
309 if (Arg1->use_empty()) { in runOnModule()
315 if (Arg2->use_empty()) in runOnModule()
DStripDeadPrototypes.cpp51 if (F->isDeclaration() && F->use_empty()) { in runOnModule()
63 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
DArgumentPromotion.cpp315 if (Arg->use_empty()) in isSafeToPromoteArgument()
391 if (GEP->use_empty()) { in isSafeToPromoteArgument()
542 } else if (I->use_empty()) { in DoPromotion()
641 while (!F->use_empty()) { in DoPromotion()
677 } else if (!I->use_empty()) { in DoPromotion()
758 if (!Call->use_empty()) { in DoPromotion()
817 if (I->use_empty()) { in DoPromotion()
827 while (!I->use_empty()) { in DoPromotion()
867 while (!GEP->use_empty()) { in DoPromotion()
DIPConstantPropagation.cpp81 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
137 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
233 if (Call->use_empty()) in PropagateConstantReturn()
DGlobalOpt.cpp338 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
355 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
580 while (!GV->use_empty()) { in SRAGlobal()
629 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
741 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
758 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
786 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
817 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
875 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
906 while (!GV->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DPartialInlining.cpp153 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule()
161 if (currFunc->use_empty()) continue; in runOnModule()
DGlobalDCE.cpp208 if (GV.use_empty()) return false; in RemoveUnusedGlobalValue()
210 return GV.use_empty(); in RemoveUnusedGlobalValue()
DDeadArgumentElimination.cpp226 while (!Fn.use_empty()) { in DeleteDeadVarargs()
261 if (!Call->use_empty()) in DeleteDeadVarargs()
304 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
312 if (Arg->use_empty() && !Arg->hasByValAttr()) in RemoveDeadArgumentsFromCallers()
779 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
839 if (!Call->use_empty()) { in RemoveDeadStuffFromFunction()
/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp142 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
257 while (!Declare->use_empty()) { in runOnModule()
261 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
263 if (Arg1->use_empty()) { in runOnModule()
269 if (Arg2->use_empty()) in runOnModule()
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DIPConstantPropagation.cpp52 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
108 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
205 if (Call->use_empty()) in PropagateConstantReturn()
DGlobalOpt.cpp195 if (CE->use_empty()) { in CleanupPointerRootUsers()
273 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
296 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
519 while (!GV->use_empty()) { in SRAGlobal()
570 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
675 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
692 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
722 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
759 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
815 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DArgumentPromotion.cpp463 if (Arg->use_empty()) in isSafeToPromoteArgument()
540 if (GEP->use_empty()) { in isSafeToPromoteArgument()
690 } else if (I->use_empty()) { in DoPromotion()
780 while (!F->use_empty()) { in DoPromotion()
818 } else if (!I->use_empty()) { in DoPromotion()
900 if (!Call->use_empty()) { in DoPromotion()
965 if (I->use_empty()) in DoPromotion()
973 while (!I->use_empty()) { in DoPromotion()
1012 while (!GEP->use_empty()) { in DoPromotion()
DPartialInlining.cpp159 if (!F.use_empty() && !F.isDeclaration()) in run()
167 if (currFunc->use_empty()) continue; in run()
DWholeProgramDevirt.cpp514 !Target.Fn->arg_begin()->use_empty() || in tryVirtualConstProp()
698 if (CI->use_empty()) in scanTypeTestUsers()
756 if (!CI->use_empty()) { in scanTypeCheckedLoadUsers()
789 if ((!TypeTestFunc || TypeTestFunc->use_empty() || !AssumeFunc || in run()
790 AssumeFunc->use_empty()) && in run()
791 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in run()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DDemoteRegToStack.cpp34 if (I.use_empty()) { in DemoteRegToStack()
52 while (!I.use_empty()) { in DemoteRegToStack()
112 if (P->use_empty()) { in DemotePHIToStack()
DLocal.cpp227 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
269 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I)) in RecursivelyDeleteTriviallyDeadInstructions()
284 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
327 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
635 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
/external/spirv-llvm/lib/SPIRV/
DSPIRVLowerOCLBlocks.cpp156 if (CE->use_empty()) { in eraseUselessFunctions()
162 if (F->use_empty()) { in eraseUselessFunctions()
331 if (Inst && Inst->use_empty()) { in lowerReturnBlock()
401 if (I->use_empty()) { in erase()
412 if (I->use_empty()) { in erase()
422 if (!F->use_empty()) { in erase()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp26 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
108 if (P->use_empty()) { in DemotePHIToStack()
DLCSSA.cpp180 if (I->use_empty()) in processInstruction()
198 if (PN->use_empty()) in processInstruction()
241 if (I.use_empty() || in formLCSSA()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLICM.cpp463 if (!I.use_empty()) in sink()
485 if (!I.use_empty()) in sink()
496 if (!I.use_empty()) in sink()
529 if (!I.use_empty()) in sink()
536 if (!I.use_empty()) in sink()
802 if (PreheaderLoad->use_empty()) in PromoteAliasSet()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp126 if (SelIVI->use_empty()) in GetExceptionObject()
128 if (ExcIVI->use_empty()) in GetExceptionObject()
130 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h55 bool Unused = CI->use_empty(); in EraseInstruction()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()

12345678910