/external/llvm/lib/Transforms/IPO/ |
D | StripDeadPrototypes.cpp | 52 if (F->isDeclaration() && F->use_empty()) { in runOnModule() 64 if (GV->isDeclaration() && GV->use_empty()) in runOnModule()
|
D | StripSymbols.cpp | 143 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()
|
D | IPConstantPropagation.cpp | 82 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()
|
D | GlobalOpt.cpp | 231 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 …]
|
D | ArgumentPromotion.cpp | 404 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()
|
D | PartialInlining.cpp | 155 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule() 163 if (currFunc->use_empty()) continue; in runOnModule()
|
D | GlobalDCE.cpp | 262 if (GV.use_empty()) return false; in RemoveUnusedGlobalValue() 264 return GV.use_empty(); in RemoveUnusedGlobalValue()
|
D | DeadArgumentElimination.cpp | 277 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/ |
D | DemoteRegToStack.cpp | 26 if (I.use_empty()) { in DemoteRegToStack() 56 while (!I.use_empty()) { in DemoteRegToStack() 109 if (P->use_empty()) { in DemotePHIToStack()
|
D | LCSSA.cpp | 176 if (I->use_empty()) in processInstruction() 194 if (AddedPHIs[i]->use_empty()) in processInstruction() 243 if (I->use_empty() || in formLCSSA()
|
D | Local.cpp | 282 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()
|
D | SimplifyInstructions.cpp | 74 if (!I->use_empty()) in runOnFunction()
|
D | InlineFunction.cpp | 1079 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/ |
D | DwarfEHPrepare.cpp | 126 if (SelIVI->use_empty()) in GetExceptionObject() 128 if (ExcIVI->use_empty()) in GetExceptionObject() 130 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
|
D | IntrinsicLowering.cpp | 82 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/ |
D | TestPasses.cpp | 62 if (!CI->use_empty()) in runOnBasicBlock()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUAlwaysInlinePass.cpp | 43 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty()) in runOnModule()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantProp.cpp | 78 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
|
/external/llvm/tools/llvm-diff/ |
D | DifferenceEngine.cpp | 181 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/ |
D | BasicBlock.cpp | 72 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock() 75 while (!use_empty()) { in ~BasicBlock()
|
D | DebugInfo.cpp | 329 while (!Declare->use_empty()) { in StripDebugInfo() 338 while (!DbgVal->use_empty()) { in StripDebugInfo()
|
D | Value.cpp | 76 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/ |
D | AArch64AddressTypePromotion.cpp | 265 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension() 287 while (!Inst->use_empty()) { in propagateSignExtension()
|
/external/llvm/lib/Target/Mips/ |
D | Mips16ISelDAGToDAG.cpp | 299 if (!SDValue(Node, 0).use_empty()) in selectNode() 302 if (!SDValue(Node, 1).use_empty()) in selectNode()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIAssignInterpRegs.cpp | 97 !MRI.use_empty(InterpUse[interp_idx].regs[reg_idx]); in runOnMachineFunction()
|