/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | AutoUpgrade.cpp | 196 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/ |
D | StripSymbols.cpp | 143 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()
|
D | StripDeadPrototypes.cpp | 51 if (F->isDeclaration() && F->use_empty()) { in runOnModule() 63 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
|
D | ArgumentPromotion.cpp | 315 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()
|
D | IPConstantPropagation.cpp | 81 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()
|
D | GlobalOpt.cpp | 338 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 …]
|
D | PartialInlining.cpp | 153 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule() 161 if (currFunc->use_empty()) continue; in runOnModule()
|
D | GlobalDCE.cpp | 208 if (GV.use_empty()) return false; in RemoveUnusedGlobalValue() 210 return GV.use_empty(); in RemoveUnusedGlobalValue()
|
D | DeadArgumentElimination.cpp | 226 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/ |
D | StripSymbols.cpp | 142 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()
|
D | StripDeadPrototypes.cpp | 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
|
D | IPConstantPropagation.cpp | 52 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()
|
D | GlobalOpt.cpp | 195 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 …]
|
D | ArgumentPromotion.cpp | 463 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()
|
D | PartialInlining.cpp | 159 if (!F.use_empty() && !F.isDeclaration()) in run() 167 if (currFunc->use_empty()) continue; in run()
|
D | WholeProgramDevirt.cpp | 514 !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/ |
D | DemoteRegToStack.cpp | 34 if (I.use_empty()) { in DemoteRegToStack() 52 while (!I.use_empty()) { in DemoteRegToStack() 112 if (P->use_empty()) { in DemotePHIToStack()
|
D | Local.cpp | 227 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/ |
D | SPIRVLowerOCLBlocks.cpp | 156 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/ |
D | DemoteRegToStack.cpp | 26 if (I.use_empty()) { in DemoteRegToStack() 56 while (!I.use_empty()) { in DemoteRegToStack() 108 if (P->use_empty()) { in DemotePHIToStack()
|
D | LCSSA.cpp | 180 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/ |
D | LICM.cpp | 463 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/ |
D | DwarfEHPrepare.cpp | 126 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/ |
D | ObjCARC.h | 55 bool Unused = CI->use_empty(); in EraseInstruction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAlwaysInlinePass.cpp | 41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
|