/external/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 | 330 if (CE->use_empty()) { in CleanupConstantGlobalUsers() 353 if (GEP->use_empty()) { in CleanupConstantGlobalUsers() 576 while (!GV->use_empty()) { in SRAGlobal() 625 if (NewGlobals[i]->use_empty()) { in SRAGlobal() 737 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue() 754 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue() 784 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads() 815 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()
|
D | ConstantMerge.cpp | 131 if (GV->use_empty() && GV->hasLocalLinkage()) { in runOnModule()
|
/external/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 24 if (I.use_empty()) { in DemoteRegToStack() 41 while (!I.use_empty()) { in DemoteRegToStack() 100 if (P->use_empty()) { in DemotePHIToStack()
|
D | Local.cpp | 229 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead() 278 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I)) in RecursivelyDeleteTriviallyDeadInstructions() 293 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions() 336 if (I->use_empty()) in RecursivelyDeleteDeadPHINode() 629 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
|
D | InlineFunction.cpp | 631 if (AI->use_empty()) { in InlineFunction() 737 if (!TheCall->use_empty()) { in InlineFunction() 803 if (!TheCall->use_empty()) { in InlineFunction() 832 if (!TheCall->use_empty()) { in InlineFunction() 851 } else if (!TheCall->use_empty()) { in InlineFunction()
|
D | LCSSA.cpp | 151 if (I->use_empty() || in runOnLoop() 273 if (AddedPHIs[i]->use_empty()) in ProcessInstruction()
|
D | SimplifyInstructions.cpp | 65 if (!I->use_empty()) in runOnFunction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 476 if (!I.use_empty()) in sink() 498 if (!I.use_empty()) in sink() 509 if (!I.use_empty()) in sink() 542 if (!I.use_empty()) in sink() 549 if (!I.use_empty()) in sink() 815 if (PreheaderLoad->use_empty()) in PromoteAliasSet()
|
D | ConstantProp.cpp | 77 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
|
D | SimplifyLibCalls.cpp | 1127 return CI->use_empty() ? (Value*)CI : in OptimizeFixedFormatString() 1133 if (!CI->use_empty()) in OptimizeFixedFormatString() 1139 if (CI->use_empty()) return CI; in OptimizeFixedFormatString() 1151 return CI->use_empty() ? (Value*)CI : in OptimizeFixedFormatString() 1161 if (CI->use_empty()) return CI; in OptimizeFixedFormatString() 1321 if (Bytes == 1 && CI->use_empty()) { // fwrite(S,1,1,F) -> fputc(S[0],F) in CallOptimizer() 1343 !CI->use_empty()) in CallOptimizer() 1399 if (!CI->getArgOperand(2)->getType()->isPointerTy() || !CI->use_empty()) in OptimizeFixedFormatString() 1451 if (Str.empty() && CI->use_empty()) { in CallOptimizer() 1454 if (CI->use_empty()) return CI; in CallOptimizer() [all …]
|
D | LoopInstSimplify.cpp | 110 if (!I->use_empty()) { in runOnLoop()
|
D | ScalarReplAggregates.cpp | 527 while (!Ptr->use_empty()) { in ConvertUsesToScalar() 568 if (Old->use_empty()) in ConvertUsesToScalar() 598 if (Old->use_empty()) in ConvertUsesToScalar() 1165 if (PN->use_empty()) { // Dead PHIs can be stripped. in tryToMakeAllocaBePromotable() 1212 while (!SI->use_empty()) { in tryToMakeAllocaBePromotable() 1243 if (PN->use_empty()) { in tryToMakeAllocaBePromotable() 1259 while (!PN->use_empty()) { in tryToMakeAllocaBePromotable() 1371 if (AI->use_empty()) { in performScalarRepl() 2538 (CS.getInstruction()->use_empty() || CS.doesNotCapture(ArgNo))) in isOnlyCopiedFromConstantGlobal() 2551 assert(II->use_empty() && "Lifetime markers have no result to use!"); in isOnlyCopiedFromConstantGlobal()
|
/external/llvm/tools/bugpoint-passes/ |
D | TestPasses.cpp | 62 if (!CI->use_empty()) in runOnBasicBlock()
|
/external/llvm/lib/VMCore/ |
D | BasicBlock.cpp | 69 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock() 72 while (!use_empty()) { in ~BasicBlock()
|
D | Value.cpp | 68 if (!use_empty()) { in ~Value() 75 assert(use_empty() && "Uses remain when a value is destroyed!"); in ~Value() 307 while (!use_empty()) { in replaceAllUsesWith()
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 183 if (!L->use_empty()) in unify() 214 if (!LeftI->use_empty()) in diff() 614 if (!LCall->use_empty()) in runBlockDiff() 627 if (!LInvoke->use_empty()) in runBlockDiff()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 82 if (!CI->use_empty()) in ReplaceCallWith() 98 if (I->isDeclaration() && !I->use_empty()) in AddPrototypes() 539 assert(CI->use_empty() && in LowerIntrinsicCall()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 232 !GV->use_empty()) return; in SplitStaticCtorDtor() 274 assert(GV->use_empty() && "llvm.ctors shouldn't have uses!"); in SplitStaticCtorDtor()
|