/external/llvm/lib/Transforms/IPO/ |
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 | StripDeadPrototypes.cpp | 36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes() 48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
|
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 | ArgumentPromotion.cpp | 437 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()
|
D | GlobalOpt.cpp | 236 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 …]
|
D | PartialInlining.cpp | 155 if (!FI->use_empty() && !FI->isDeclaration()) in runOnModule() 163 if (currFunc->use_empty()) continue; in runOnModule()
|
D | GlobalDCE.cpp | 252 if (GV.use_empty()) in RemoveUnusedGlobalValue() 255 return GV.use_empty(); in RemoveUnusedGlobalValue()
|
D | DeadArgumentElimination.cpp | 277 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/ |
D | DemoteRegToStack.cpp | 26 if (I.use_empty()) { in DemoteRegToStack() 56 while (!I.use_empty()) { in DemoteRegToStack() 108 if (P->use_empty()) { in DemotePHIToStack()
|
D | LCSSA.cpp | 181 if (I->use_empty()) in processInstruction() 199 if (PN->use_empty()) in processInstruction() 244 if (I.use_empty() || in formLCSSA()
|
D | Local.cpp | 289 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()
|
D | SimplifyInstructions.cpp | 74 if (!I->use_empty()) in runOnFunction()
|
/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()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARC.h | 56 bool Unused = CI->use_empty(); in EraseInstruction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUAlwaysInlinePass.cpp | 41 if (!F.hasLocalLinkage() && !F.isDeclaration() && !F.use_empty() && in runOnModule()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFrameLowering.cpp | 55 if (!MR.use_empty(NVPTX::VRFrame)) { in emitPrologue()
|
D | NVPTXPeephole.cpp | 145 if (MRI.use_empty(NVPTX::VRFrame)) { in runOnMachineFunction()
|
/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/Target/WebAssembly/ |
D | WebAssemblyRegNumbering.cpp | 98 if (MRI.use_empty(VReg)) in runOnMachineFunction()
|
/external/llvm/tools/bugpoint-passes/ |
D | TestPasses.cpp | 62 if (!CI->use_empty()) in runOnBasicBlock()
|
/external/llvm/lib/IR/ |
D | DebugInfo.cpp | 324 while (!Declare->use_empty()) { in StripDebugInfo() 333 while (!DbgVal->use_empty()) { in StripDebugInfo()
|
D | BasicBlock.cpp | 72 assert(!use_empty() && "There should be at least one blockaddress!"); in ~BasicBlock() 75 while (!use_empty()) { in ~BasicBlock()
|
D | Value.cpp | 76 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/ |
D | AArch64AddressTypePromotion.cpp | 267 if (SExt->use_empty() && ToRemove.count(SExt)) { in propagateSignExtension() 289 while (!Inst->use_empty()) { in propagateSignExtension()
|