Home
last modified time | relevance | path

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

123456

/external/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp52 if (F->isDeclaration() && F->use_empty()) { in runOnModule()
64 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
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()
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()
DGlobalOpt.cpp231 if (CE->use_empty()) { in CleanupPointerRootUsers()
310 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
333 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
554 while (!GV->use_empty()) { in SRAGlobal()
607 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
712 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
729 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
759 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
796 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
855 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DArgumentPromotion.cpp404 if (Arg->use_empty()) in isSafeToPromoteArgument()
482 if (GEP->use_empty()) { in isSafeToPromoteArgument()
636 } else if (I->use_empty()) { in DoPromotion()
742 while (!F->use_empty()) { in DoPromotion()
780 } else if (!I->use_empty()) { in DoPromotion()
867 if (!Call->use_empty()) { in DoPromotion()
934 if (I->use_empty()) { in DoPromotion()
944 while (!I->use_empty()) { in DoPromotion()
984 while (!GEP->use_empty()) { in DoPromotion()
DPartialInlining.cpp155 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule()
163 if (currFunc->use_empty()) continue; in runOnModule()
DGlobalDCE.cpp262 if (GV.use_empty()) return false; in RemoveUnusedGlobalValue()
264 return GV.use_empty(); in RemoveUnusedGlobalValue()
DDeadArgumentElimination.cpp277 if (!Call->use_empty()) in DeleteDeadVarargs()
350 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
358 if (Arg->use_empty() && !Arg->hasByValOrInAllocaAttr()) in RemoveDeadArgumentsFromCallers()
895 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
974 if (!Call->use_empty()) { in RemoveDeadStuffFromFunction()
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp26 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
109 if (P->use_empty()) { in DemotePHIToStack()
DLCSSA.cpp176 if (I->use_empty()) in processInstruction()
194 if (AddedPHIs[i]->use_empty()) in processInstruction()
243 if (I->use_empty() || in formLCSSA()
DLocal.cpp282 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
341 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
356 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
400 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
813 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
1155 if (!BBI->use_empty()) in changeToUnreachable()
1254 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
DSimplifyInstructions.cpp74 if (!I->use_empty()) in runOnFunction()
DInlineFunction.cpp1079 if (AI->use_empty()) { in InlineFunction()
1227 bool NeedBitCast = !TheCall->use_empty() && TheCall->getType() != NewRetTy; in InlineFunction()
1276 if (!TheCall->use_empty()) { in InlineFunction()
1343 if (!TheCall->use_empty()) { in InlineFunction()
1381 if (!TheCall->use_empty()) { in InlineFunction()
1403 } else if (!TheCall->use_empty()) { in InlineFunction()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp126 if (SelIVI->use_empty()) in GetExceptionObject()
128 if (ExcIVI->use_empty()) in GetExceptionObject()
130 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
DIntrinsicLowering.cpp82 if (!CI->use_empty()) in ReplaceCallWith()
98 if (I->isDeclaration() && !I->use_empty()) in AddPrototypes()
575 assert(CI->use_empty() && in LowerIntrinsicCall()
/external/llvm/tools/bugpoint-passes/
DTestPasses.cpp62 if (!CI->use_empty()) in runOnBasicBlock()
/external/llvm/lib/Target/R600/
DAMDGPUAlwaysInlinePass.cpp43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty()) in runOnModule()
/external/llvm/lib/Transforms/Scalar/
DConstantProp.cpp78 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
/external/llvm/tools/llvm-diff/
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()
/external/llvm/lib/IR/
DBasicBlock.cpp72 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock()
75 while (!use_empty()) { in ~BasicBlock()
DDebugInfo.cpp329 while (!Declare->use_empty()) { in StripDebugInfo()
338 while (!DbgVal->use_empty()) { in StripDebugInfo()
DValue.cpp76 if (!use_empty()) { in ~Value()
82 assert(use_empty() && "Uses remain when a value is destroyed!"); in ~Value()
333 while (!use_empty()) { in replaceAllUsesWith()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp265 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension()
287 while (!Inst->use_empty()) { in propagateSignExtension()
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp299 if (!SDValue(Node, 0).use_empty()) in selectNode()
302 if (!SDValue(Node, 1).use_empty()) in selectNode()
/external/mesa3d/src/gallium/drivers/radeon/
DSIAssignInterpRegs.cpp97 !MRI.use_empty(InterpUse[interp_idx].regs[reg_idx]); in runOnMachineFunction()

123456