Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp144 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
245 while (!Declare->use_empty()) { in StripDebugInfo()
254 while (!DbgVal->use_empty()) { in StripDebugInfo()
304 while (!Declare->use_empty()) { in runOnModule()
308 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
310 if (Arg1->use_empty()) { in runOnModule()
316 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()
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()
DArgumentPromotion.cpp313 if (Arg->use_empty()) in isSafeToPromoteArgument()
389 if (GEP->use_empty()) { in isSafeToPromoteArgument()
545 } else if (I->use_empty()) { in DoPromotion()
636 while (!F->use_empty()) { in DoPromotion()
675 } else if (!I->use_empty()) { in DoPromotion()
757 if (!Call->use_empty()) { in DoPromotion()
816 if (I->use_empty()) { in DoPromotion()
826 while (!I->use_empty()) { in DoPromotion()
866 while (!GEP->use_empty()) { in DoPromotion()
DGlobalOpt.cpp431 if (CE->use_empty()) { in CleanupPointerRootUsers()
499 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
522 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
745 while (!GV->use_empty()) { in SRAGlobal()
794 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
906 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
923 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
953 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
990 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
1051 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DPartialInlining.cpp154 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule()
162 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.cpp266 while (!Fn.use_empty()) { in DeleteDeadVarargs()
302 if (!Call->use_empty()) in DeleteDeadVarargs()
350 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
358 if (Arg->use_empty() && !Arg->hasByValAttr()) in RemoveDeadArgumentsFromCallers()
834 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
906 if (!Call->use_empty()) { in RemoveDeadStuffFromFunction()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp25 if (I.use_empty()) { in DemoteRegToStack()
42 while (!I.use_empty()) { in DemoteRegToStack()
110 if (P->use_empty()) { in DemotePHIToStack()
DLocal.cpp271 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
322 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
337 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
381 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
675 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
997 if (!Inst.use_empty()) in removeUnreachableBlocks()
DLCSSA.cpp155 if (I->use_empty() || in runOnLoop()
286 if (AddedPHIs[i]->use_empty()) in ProcessInstruction()
DInlineFunction.cpp631 if (AI->use_empty()) { in InlineFunction()
756 if (!TheCall->use_empty()) { in InlineFunction()
822 if (!TheCall->use_empty()) { in InlineFunction()
851 if (!TheCall->use_empty()) { in InlineFunction()
870 } else if (!TheCall->use_empty()) { in InlineFunction()
DSimplifyInstructions.cpp65 if (!I->use_empty()) in runOnFunction()
DSimplifyLibCalls.cpp1346 return CI->use_empty() ? (Value*)CI : in optimizeFixedFormatString()
1352 if (!CI->use_empty()) in optimizeFixedFormatString()
1358 if (CI->use_empty() || !Res) return Res; in optimizeFixedFormatString()
1370 return (CI->use_empty() || !NewCI) ? in optimizeFixedFormatString()
1381 if (CI->use_empty() || !Res) return Res; in optimizeFixedFormatString()
1554 if (!CI->getArgOperand(2)->getType()->isPointerTy() || !CI->use_empty()) in optimizeFixedFormatString()
1611 if (Bytes == 1 && CI->use_empty()) { // fwrite(S,1,1,F) -> fputc(S[0],F) in callOptimizer()
1630 !CI->use_empty()) in callOptimizer()
1657 if (Str.empty() && CI->use_empty()) { in callOptimizer()
1660 if (CI->use_empty() || !Res) return Res; in callOptimizer()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp500 if (!I.use_empty()) in sink()
522 if (!I.use_empty()) in sink()
533 if (!I.use_empty()) in sink()
566 if (!I.use_empty()) in sink()
573 if (!I.use_empty()) in sink()
873 if (PreheaderLoad->use_empty()) in PromoteAliasSet()
DConstantProp.cpp77 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
DSimplifyCFGPass.cpp92 if (!BBI->use_empty()) in changeToUnreachable()
171 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
/external/llvm/tools/bugpoint-passes/
DTestPasses.cpp62 if (!CI->use_empty()) in runOnBasicBlock()
/external/llvm/lib/IR/
DBasicBlock.cpp69 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock()
72 while (!use_empty()) { in ~BasicBlock()
DValue.cpp72 if (!use_empty()) { in ~Value()
79 assert(use_empty() && "Uses remain when a value is destroyed!"); in ~Value()
314 while (!use_empty()) { in replaceAllUsesWith()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp181 if (!L->use_empty()) in unify()
212 if (!LeftI->use_empty()) in diff()
612 if (!LCall->use_empty()) in runBlockDiff()
625 if (!LInvoke->use_empty()) in runBlockDiff()
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp286 if (!SDValue(Node, 0).use_empty()) in selectNode()
289 if (!SDValue(Node, 1).use_empty()) in selectNode()
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h247 if (GEPI.use_empty()) in visitGetElementPtrInst()
/external/llvm/lib/CodeGen/
DIntrinsicLowering.cpp82 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/
DExtractFunction.cpp232 !GV->use_empty()) return; in SplitStaticCtorDtor()
274 assert(GV->use_empty() && "llvm.ctors shouldn't have uses!"); in SplitStaticCtorDtor()

12345