Home
last modified time | relevance | path

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

12345678

/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DStripSymbols.cpp142 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
258 while (!Declare->use_empty()) { in runOnModule()
262 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
264 if (Arg1->use_empty()) { in runOnModule()
270 if (Arg2->use_empty()) in runOnModule()
H A DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
H A DGlobalSplit.cpp135 if (!GV.use_empty()) in splitGlobal()
149 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
150 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in splitGlobals()
H A DIPConstantPropagation.cpp52 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
108 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
211 if (Call->use_empty()) in PropagateConstantReturn()
H A DGlobalOpt.cpp236 if (CE->use_empty()) { in CleanupPointerRootUsers()
314 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
337 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
551 while (!GV->use_empty()) { in SRAGlobal()
717 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
763 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
801 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
1264 if (Load->use_empty()) { in RewriteUsesOfLoadForHeapSRoA()
1759 Dead = GV.use_empty(); in deleteIfDead()
1963 if (GV->use_empty()) { in processInternalGlobal()
[all …]
H A DArgumentPromotion.cpp152 } else if (I->use_empty()) { in doPromotion()
241 while (!F->use_empty()) { in doPromotion()
270 } else if (!I->use_empty()) { in doPromotion()
348 if (!Call->use_empty()) { in doPromotion()
416 if (I->use_empty()) in doPromotion()
424 while (!I->use_empty()) { in doPromotion()
463 while (!GEP->use_empty()) { in doPromotion()
571 if (Arg->use_empty()) in isSafeToPromoteArgument()
649 if (GEP->use_empty()) { in isSafeToPromoteArgument()
H A DThinLTOBitcodeWriter.cpp50 if (ImportGV->use_empty()) { in promoteInternals()
146 if (F.isDeclaration() && F.use_empty()) { in simplifyExternals()
167 if (GV.isDeclaration() && GV.use_empty()) { in simplifyExternals()
252 !F->arg_begin()->use_empty()) in splitAndWriteThinLTOBitcode()
366 if (!F || F->use_empty()) in splitAndWriteThinLTOBitcode()
H A DGlobalDCE.cpp294 if (GV.use_empty()) in RemoveUnusedGlobalValue()
297 return GV.use_empty(); in RemoveUnusedGlobalValue()
H A DDeadArgumentElimination.cpp217 if (!Call->use_empty()) in DeleteDeadVarargs()
287 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
294 if (!Arg.hasSwiftErrorAttr() && Arg.use_empty() && !Arg.hasByValOrInAllocaAttr()) { in RemoveDeadArgumentsFromCallers()
878 while (!F->use_empty()) { in RemoveDeadStuffFromFunction()
956 if (!Call->use_empty() || Call->isUsedByMetadata()) { in RemoveDeadStuffFromFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp26 if (I.use_empty()) { in DemoteRegToStack()
58 while (!I.use_empty()) { in DemoteRegToStack()
110 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp231 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
239 if (PN->use_empty()) in formLCSSAForInstructions()
254 if (PN->use_empty()) in formLCSSAForInstructions()
331 if (I.use_empty() || in formLCSSA()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp30 if (F.use_empty()) in lowerLoadRelative()
62 if (F.use_empty()) in lowerObjCCall()
89 if (!CI->use_empty()) in lowerObjCCall()
H A DDwarfEHPrepare.cpp129 if (SelIVI->use_empty()) in GetExceptionObject()
131 if (ExcIVI->use_empty()) in GetExceptionObject()
133 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
H A DSjLjEHPrepare.cpp150 if (EVI->use_empty()) in substituteLPadValues()
154 if (LPI->use_empty()) in substituteLPadValues()
266 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp91 if (I.use_empty()) { in simplifyLoopInst()
143 assert(I.use_empty() && "Should always have replaced all uses!"); in simplifyLoopInst()
H A DLowerGuardIntrinsic.cpp48 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
H A DConstantProp.cpp93 if (!I->use_empty()) // Don't muck with dead instructions... in runOnFunction()
H A DMakeGuardsExplicit.cpp85 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp201 if (!SDValue(Node, 0).use_empty()) in trySelect()
204 if (!SDValue(Node, 1).use_empty()) in trySelect()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.cpp200 if (N->use_empty() || !N->isMachineOpcode()) in doPeepholeLoadStoreADDI()
273 if (Base.getNode()->use_empty()) in doPeepholeLoadStoreADDI()
/freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h55 bool Unused = CI->use_empty(); in EraseInstruction()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp196 if (CurOrigArg->use_empty() && !Info->isPSInputAllocated(PSInputNum)) { in lowerFormalArguments()
203 if (!CurOrigArg->use_empty()) in lowerFormalArguments()
/freebsd-12.1/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp180 if (!L->use_empty()) in unify()
209 if (!LeftI->use_empty()) in diff()
644 if (!LCall->use_empty()) in runBlockDiff()
657 if (!LInvoke->use_empty()) in runBlockDiff()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp54 if (!MR.use_empty(NVPTX::VRFrame)) { in emitPrologue()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegNumbering.cpp95 if (MRI.use_empty(VReg)) in runOnMachineFunction()

12345678