Home
last modified time | relevance | path

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

12345

/minix/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DStripDeadPrototypes.cpp52 if (F->isDeclaration() && F->use_empty()) { in runOnModule()
64 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
H A DStripSymbols.cpp143 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
250 while (!Declare->use_empty()) { in runOnModule()
254 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
256 if (Arg1->use_empty()) { in runOnModule()
262 if (Arg2->use_empty()) in runOnModule()
H A DIPConstantPropagation.cpp82 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
138 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
234 if (Call->use_empty()) in PropagateConstantReturn()
H A DGlobalOpt.cpp232 if (CE->use_empty()) { in CleanupPointerRootUsers()
311 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
334 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
555 while (!GV->use_empty()) { in SRAGlobal()
709 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
756 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
793 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
1265 if (Load->use_empty()) { in RewriteUsesOfLoadForHeapSRoA()
1705 if (GV->use_empty()) { in ProcessGlobal()
1782 if (GV->use_empty()) { in ProcessInternalGlobal()
[all …]
H A DArgumentPromotion.cpp405 if (Arg->use_empty()) in isSafeToPromoteArgument()
483 if (GEP->use_empty()) { in isSafeToPromoteArgument()
639 } else if (I->use_empty()) { in DoPromotion()
739 while (!F->use_empty()) { in DoPromotion()
778 } else if (!I->use_empty()) { in DoPromotion()
863 if (!Call->use_empty()) { in DoPromotion()
931 if (I->use_empty()) { in DoPromotion()
941 while (!I->use_empty()) { in DoPromotion()
981 while (!GEP->use_empty()) { in DoPromotion()
H A DPartialInlining.cpp155 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule()
163 if (currFunc->use_empty()) continue; in runOnModule()
H A DGlobalDCE.cpp256 if (GV.use_empty()) return false; in RemoveUnusedGlobalValue()
258 return GV.use_empty(); in RemoveUnusedGlobalValue()
H A DDeadArgumentElimination.cpp277 if (!Call->use_empty()) in DeleteDeadVarargs()
350 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
358 if (Arg->use_empty() && !Arg->hasByValOrInAllocaAttr()) in RemoveDeadArgumentsFromCallers()
872 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
951 if (!Call->use_empty()) { in RemoveDeadStuffFromFunction()
H A DConstantMerge.cpp137 if (GV->use_empty() && GV->hasLocalLinkage()) { in runOnModule()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp26 if (I.use_empty()) { in DemoteRegToStack()
43 while (!I.use_empty()) { in DemoteRegToStack()
111 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp176 if (I->use_empty()) in processInstruction()
194 if (AddedPHIs[i]->use_empty()) in processInstruction()
243 if (I->use_empty() || in formLCSSA()
H A DSimplifyInstructions.cpp74 if (!I->use_empty()) in runOnFunction()
H A DLocal.cpp275 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
334 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
349 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
393 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
811 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
1159 if (!BBI->use_empty()) in changeToUnreachable()
1258 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
H A DCtorUtils.cpp56 if (!GCL->use_empty()) { in removeGlobalCtors()
H A DInlineFunction.cpp1056 if (AI->use_empty()) { in InlineFunction()
1201 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
1250 if (!TheCall->use_empty()) { in InlineFunction()
1317 if (!TheCall->use_empty()) { in InlineFunction()
1355 if (!TheCall->use_empty()) { in InlineFunction()
1377 } else if (!TheCall->use_empty()) { in InlineFunction()
/minix/external/bsd/llvm/dist/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp62 if (!CI->use_empty()) in runOnBasicBlock()
/minix/external/bsd/llvm/dist/llvm/lib/Target/R600/
H A DAMDGPUAlwaysInlinePass.cpp43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DConstantProp.cpp79 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
H A DLoopInstSimplify.cpp124 if (!I->use_empty()) { in runOnLoop()
/minix/external/bsd/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp181 if (!L->use_empty()) in unify()
210 if (!LeftI->use_empty()) in diff()
610 if (!LCall->use_empty()) in runBlockDiff()
623 if (!LInvoke->use_empty()) in runBlockDiff()
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DBasicBlock.cpp76 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock()
79 while (!use_empty()) { in ~BasicBlock()
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64AddressTypePromotion.cpp264 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension()
286 while (!Inst->use_empty()) { in propagateSignExtension()
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp299 if (!SDValue(Node, 0).use_empty()) in selectNode()
302 if (!SDValue(Node, 1).use_empty()) in selectNode()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h247 if (GEPI.use_empty()) in visitGetElementPtrInst()
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/
H A DFastISel.h103 IsReturnValueUsed = !Call.getInstruction()->use_empty(); in setCallee()
127 IsReturnValueUsed = !Call.getInstruction()->use_empty();

12345