Home
last modified time | relevance | path

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

1234

/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.cpp312 if (Arg->use_empty()) in isSafeToPromoteArgument()
388 if (GEP->use_empty()) { in isSafeToPromoteArgument()
539 } else if (I->use_empty()) { in DoPromotion()
637 while (!F->use_empty()) { in DoPromotion()
673 } else if (!I->use_empty()) { in DoPromotion()
752 if (!Call->use_empty()) { in DoPromotion()
811 if (I->use_empty()) { in DoPromotion()
821 while (!I->use_empty()) { in DoPromotion()
861 while (!GEP->use_empty()) { in DoPromotion()
DGlobalOpt.cpp427 if (CE->use_empty()) { in CleanupPointerRootUsers()
495 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
518 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
741 while (!GV->use_empty()) { in SRAGlobal()
790 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
902 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
919 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
949 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
984 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
1045 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.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()
778 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
837 if (!Call->use_empty()) { in RemoveDeadStuffFromFunction()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp24 if (I.use_empty()) { in DemoteRegToStack()
41 while (!I.use_empty()) { in DemoteRegToStack()
100 if (P->use_empty()) { in DemotePHIToStack()
DInlineFunction.cpp631 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()
DLocal.cpp236 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
287 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
302 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
346 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
640 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
DLCSSA.cpp151 if (I->use_empty() || in runOnLoop()
273 if (AddedPHIs[i]->use_empty()) in ProcessInstruction()
DSimplifyInstructions.cpp65 if (!I->use_empty()) in runOnFunction()
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp498 if (!I.use_empty()) in sink()
520 if (!I.use_empty()) in sink()
531 if (!I.use_empty()) in sink()
564 if (!I.use_empty()) in sink()
571 if (!I.use_empty()) in sink()
858 if (PreheaderLoad->use_empty()) in PromoteAliasSet()
DConstantProp.cpp77 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
DSimplifyCFGPass.cpp84 if (!BBI->use_empty()) in changeToUnreachable()
165 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
DSimplifyLibCalls.cpp1214 return CI->use_empty() ? (Value*)CI : in OptimizeFixedFormatString()
1220 if (!CI->use_empty()) in OptimizeFixedFormatString()
1226 if (CI->use_empty() || !Res) return Res; in OptimizeFixedFormatString()
1238 return (CI->use_empty() || !NewCI) ? in OptimizeFixedFormatString()
1249 if (CI->use_empty() || !Res) return Res; in OptimizeFixedFormatString()
1410 if (Bytes == 1 && CI->use_empty()) { // fwrite(S,1,1,F) -> fputc(S[0],F) in CallOptimizer()
1432 !CI->use_empty()) in CallOptimizer()
1489 if (!CI->getArgOperand(2)->getType()->isPointerTy() || !CI->use_empty()) in OptimizeFixedFormatString()
1540 if (Str.empty() && CI->use_empty()) { in CallOptimizer()
1543 if (CI->use_empty() || !Res) return Res; in CallOptimizer()
[all …]
DLoopInstSimplify.cpp110 if (!I->use_empty()) { in runOnLoop()
/external/llvm/tools/bugpoint-passes/
DTestPasses.cpp62 if (!CI->use_empty()) in runOnBasicBlock()
/external/llvm/lib/VMCore/
DBasicBlock.cpp69 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock()
72 while (!use_empty()) { in ~BasicBlock()
DValue.cpp68 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/
DDifferenceEngine.cpp183 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/
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()
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp2261 !SDValue(Node, 1).use_empty()) { in Select()
2267 if (!SDValue(Node, 0).use_empty()) in Select()
2280 if (!SDValue(Node, 0).use_empty()) { in Select()
2288 if (!SDValue(Node, 1).use_empty()) { in Select()
2407 !SDValue(Node, 1).use_empty()) { in Select()
2415 if (!SDValue(Node, 0).use_empty()) in Select()
2428 if (!SDValue(Node, 0).use_empty()) { in Select()
2436 if (!SDValue(Node, 1).use_empty()) { in Select()
2641 if (!SDValue(Node, 0).use_empty()) { in Select()
2647 if (!SDValue(Node, 1).use_empty()) { in Select()
[all …]

1234