Home
last modified time | relevance | path

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

123456

/external/llvm/lib/Transforms/IPO/
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()
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
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()
DArgumentPromotion.cpp437 if (Arg->use_empty()) in isSafeToPromoteArgument()
514 if (GEP->use_empty()) { in isSafeToPromoteArgument()
664 } else if (I->use_empty()) { in DoPromotion()
759 while (!F->use_empty()) { in DoPromotion()
797 } else if (!I->use_empty()) { in DoPromotion()
878 if (!Call->use_empty()) { in DoPromotion()
943 if (I->use_empty()) in DoPromotion()
951 while (!I->use_empty()) { in DoPromotion()
990 while (!GEP->use_empty()) { in DoPromotion()
DGlobalOpt.cpp236 if (CE->use_empty()) { in CleanupPointerRootUsers()
314 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
337 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
558 while (!GV->use_empty()) { in SRAGlobal()
609 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
714 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
731 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
761 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
798 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
857 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DPartialInlining.cpp155 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule()
163 if (currFunc->use_empty()) continue; in runOnModule()
DGlobalDCE.cpp252 if (GV.use_empty()) in RemoveUnusedGlobalValue()
255 return GV.use_empty(); in RemoveUnusedGlobalValue()
DDeadArgumentElimination.cpp277 if (!Call->use_empty()) in DeleteDeadVarargs()
346 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
351 if (Arg.use_empty() && !Arg.hasByValOrInAllocaAttr()) in RemoveDeadArgumentsFromCallers()
891 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
966 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()
108 if (P->use_empty()) { in DemotePHIToStack()
DLCSSA.cpp181 if (I->use_empty()) in processInstruction()
199 if (PN->use_empty()) in processInstruction()
244 if (I.use_empty() || in formLCSSA()
DLocal.cpp289 if (!I->use_empty() || isa<TerminatorInst>(I)) return false; in isInstructionTriviallyDead()
349 if (!I || !I->use_empty() || !isInstructionTriviallyDead(I, TLI)) in RecursivelyDeleteTriviallyDeadInstructions()
364 if (!OpV->use_empty()) continue; in RecursivelyDeleteTriviallyDeadInstructions()
408 if (I->use_empty()) in RecursivelyDeleteDeadPHINode()
435 if (!OpV->use_empty() || I == OpV) in simplifyAndDCEInstruction()
869 assert(PN->use_empty() && "There shouldn't be any uses here!"); in TryToSimplifyUncondBranchFromEmptyBlock()
1212 if (!BBI->use_empty()) in changeToUnreachable()
1315 if (II->use_empty() && II->onlyReadsMemory()) { in markAliveBlocks()
DSimplifyInstructions.cpp74 if (!I->use_empty()) in runOnFunction()
/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()
/external/llvm/lib/Transforms/ObjCARC/
DObjCARC.h56 bool Unused = CI->use_empty(); in EraseInstruction()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAlwaysInlinePass.cpp41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
/external/llvm/lib/Target/NVPTX/
DNVPTXFrameLowering.cpp55 if (!MR.use_empty(NVPTX::VRFrame)) { in emitPrologue()
DNVPTXPeephole.cpp145 if (MRI.use_empty(NVPTX::VRFrame)) { in runOnMachineFunction()
/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/Target/WebAssembly/
DWebAssemblyRegNumbering.cpp98 if (MRI.use_empty(VReg)) in runOnMachineFunction()
/external/llvm/tools/bugpoint-passes/
DTestPasses.cpp62 if (!CI->use_empty()) in runOnBasicBlock()
/external/llvm/lib/IR/
DDebugInfo.cpp324 while (!Declare->use_empty()) { in StripDebugInfo()
333 while (!DbgVal->use_empty()) { in StripDebugInfo()
DBasicBlock.cpp72 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock()
75 while (!use_empty()) { in ~BasicBlock()
DValue.cpp76 if (!use_empty()) { in ~Value()
82 assert(use_empty() && "Uses remain when a value is destroyed!"); in ~Value()
374 while (!use_empty()) { in replaceAllUsesWith()
/external/llvm/lib/Target/AArch64/
DAArch64AddressTypePromotion.cpp267 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension()
289 while (!Inst->use_empty()) { in propagateSignExtension()

123456