Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp165 if (!GV.use_empty()) in splitGlobal()
181 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
182 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty()) && in splitGlobals()
184 TypeCheckedLoadRelativeFunc->use_empty())) in splitGlobals()
H A DStripDeadPrototypes.cpp32 if (F.isDeclaration() && F.use_empty()) { in stripDeadPrototypes()
42 if (GV.isDeclaration() && GV.use_empty()) in stripDeadPrototypes()
H A DStripSymbols.cpp56 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
152 while (!Declare->use_empty()) { in stripDebugDeclareImpl()
156 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in stripDebugDeclareImpl()
158 if (Arg1->use_empty()) { in stripDebugDeclareImpl()
164 if (Arg2->use_empty()) in stripDebugDeclareImpl()
H A DThinLTOBitcodeWriter.cpp62 if (ImportGV->use_empty()) { in promoteInternals()
182 if (F.isDeclaration() && F.use_empty()) { in simplifyExternals()
206 if (I.use_empty()) in simplifyExternals()
213 if (GV.isDeclaration() && GV.use_empty()) { in simplifyExternals()
339 !F->arg_begin()->use_empty()) in splitAndWriteThinLTOBitcode()
469 if (!F || F->use_empty()) in splitAndWriteThinLTOBitcode()
H A DArgumentPromotion.cpp143 } else if (I->use_empty()) { in doPromotion()
226 while (!F->use_empty()) { in doPromotion()
242 } else if (!I->use_empty()) { in doPromotion()
268 assert(I->use_empty()); in doPromotion()
303 if (!CB.use_empty()) { in doPromotion()
342 if (Arg.use_empty()) in doPromotion()
515 if (Arg->use_empty()) in findArgParts()
H A DGlobalOpt.cpp804 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
822 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
850 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
889 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
981 while (!LI->use_empty()) { in OptimizeGlobalAddressOfAllocation()
1025 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfAllocation()
1262 while (!GV->use_empty()) { in TryToShrinkGlobalToBoolean()
1343 Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead(); in deleteIfDead()
1345 Dead = GV.use_empty(); in deleteIfDead()
1527 if (GV->use_empty()) { in processInternalGlobal()
[all …]
H A DDeadArgumentElimination.cpp214 if (!CB->use_empty()) in deleteDeadVarargs()
287 if (F.use_empty()) in removeDeadArgumentsFromCallers()
296 if (!Arg.hasSwiftErrorAttr() && Arg.use_empty() && in removeDeadArgumentsFromCallers()
890 while (!F->use_empty()) { in removeDeadStuffFromFunction()
964 if (!CB.use_empty() || CB.isUsedByMetadata()) { in removeDeadStuffFromFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp253 if (I.use_empty()) in optimizePTrueIntrinsicCalls()
329 if (IntrI->use_empty()) in optimizePredicateStore()
331 if (BitCast->use_empty()) in optimizePredicateStore()
387 if (IntrI->use_empty()) in optimizePredicateLoad()
389 if (Load->use_empty()) in optimizePredicateLoad()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h68 if (!RelocCall.use_empty()) in scheduleRelocCall()
77 if (RelocCall.use_empty()) in relocCallVisited()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp57 if (!MR.use_empty(NRI->getFrameRegister(MF))) { in emitPrologue()
64 if (!MR.use_empty(NRI->getFrameLocalRegister(MF))) { in emitPrologue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp25 if (I.use_empty()) { in DemoteRegToStack()
66 while (!I.use_empty()) { in DemoteRegToStack()
133 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp292 if (!PostProcessPN->use_empty()) in formLCSSAForInstructionsImpl()
298 if (PN->use_empty()) in formLCSSAForInstructionsImpl()
316 if (PN->use_empty()) in formLCSSAForInstructionsImpl()
420 if (I.use_empty() || in formLCSSAImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFASpaceCastSimplifyPass.cpp63 if (GEP->use_empty()) in rewrite()
65 if (InnerCast->use_empty()) in rewrite()
H A DBPFCheckAndAdjustIR.cpp89 if (!PN || PN->use_empty()) in checkIR()
306 if (I && I->use_empty()) in sinkMinMaxInBB()
474 if (!OldGEP->use_empty()) in aspaceWrapOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpLowering.cpp208 if (GV->use_empty()) { in removeResourceGlobals()
227 if (NameGlobal && NameGlobal->use_empty()) in replaceHandleFromBindingCall()
362 if (OldResult->use_empty()) { in replaceResRetUses()
381 assert(Intrin->use_empty() && "Intrinsic still has uses?"); in replaceResRetUses()
440 if (!OldResult->use_empty()) { in replaceResRetUses()
453 assert(Intrin->use_empty() && "Intrinsic still has uses?"); in replaceResRetUses()
668 while (IEI && IEI->use_empty()) { in lowerBufferStore()
835 if (F.use_empty()) in lowerIntrinsics()
839 if (F.use_empty()) in lowerIntrinsics()
886 if (F.use_empty()) in lowerIntrinsics()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp82 if (I.use_empty()) { in simplifyLoopInst()
136 assert(I.use_empty() && "Should always have replaced all uses!"); in simplifyLoopInst()
H A DLowerWidenableCondition.cpp29 if (!WCDecl || WCDecl->use_empty()) in lowerWidenableCondition()
H A DLowerGuardIntrinsic.cpp29 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
H A DMakeGuardsExplicit.cpp59 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp119 if (SelIVI->use_empty()) in GetExceptionObject()
121 if (ExcIVI->use_empty()) in GetExceptionObject()
123 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
H A DPreISelIntrinsicLowering.cpp88 while (!Intrin.use_empty() && (!LastUse || LastUse->getNext())) { in forEachCall()
102 if (F.use_empty()) in lowerLoadRelative()
143 if (F.use_empty()) in lowerObjCCall()
208 if (!CI->use_empty()) in lowerObjCCall()
H A DSjLjEHPrepare.cpp172 if (EVI->use_empty()) in substituteLPadValues()
176 if (LPI->use_empty()) in substituteLPadValues()
291 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp191 if (!SDValue(Node, 0).use_empty()) in trySelect()
194 if (!SDValue(Node, 1).use_empty()) in trySelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegNumbering.cpp90 if (MRI.use_empty(VReg)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp96 if (!I.use_empty()) in validateDeleteBB()

12345678910