Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp166 if (!GV.use_empty()) in splitGlobal()
182 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
183 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty()) && in splitGlobals()
185 TypeCheckedLoadRelativeFunc->use_empty())) in splitGlobals()
H A DStripSymbols.cpp55 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
151 while (!Declare->use_empty()) { in stripDebugDeclareImpl()
155 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in stripDebugDeclareImpl()
157 if (Arg1->use_empty()) { in stripDebugDeclareImpl()
163 if (Arg2->use_empty()) in stripDebugDeclareImpl()
H A DStripDeadPrototypes.cpp33 if (F.isDeclaration() && F.use_empty()) { in stripDeadPrototypes()
43 if (GV.isDeclaration() && GV.use_empty()) in stripDeadPrototypes()
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()
338 !F->arg_begin()->use_empty()) in splitAndWriteThinLTOBitcode()
458 if (!F || F->use_empty()) in splitAndWriteThinLTOBitcode()
H A DArgumentPromotion.cpp139 } else if (I->use_empty()) { in doPromotion()
210 while (!F->use_empty()) { in doPromotion()
225 } else if (!I->use_empty()) { in doPromotion()
253 assert(ArgsToPromote.count(&*I) && I->use_empty()); in doPromotion()
288 if (!CB.use_empty()) { in doPromotion()
327 if (Arg.use_empty()) in doPromotion()
479 if (Arg->use_empty()) in findArgParts()
H A DGlobalOpt.cpp793 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
811 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
839 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
878 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
970 while (!LI->use_empty()) { in OptimizeGlobalAddressOfAllocation()
1008 while (!InitBool->use_empty()) // Delete initializations in OptimizeGlobalAddressOfAllocation()
1250 while (!GV->use_empty()) { in TryToShrinkGlobalToBoolean()
1330 Dead = (F->isDeclaration() && F->use_empty()) || F->isDefTriviallyDead(); in deleteIfDead()
1332 Dead = GV.use_empty(); in deleteIfDead()
1507 if (GV->use_empty()) { in processInternalGlobal()
[all …]
H A DDeadArgumentElimination.cpp219 if (!CB->use_empty()) in deleteDeadVarargs()
292 if (F.use_empty()) in removeDeadArgumentsFromCallers()
301 if (!Arg.hasSwiftErrorAttr() && Arg.use_empty() && in removeDeadArgumentsFromCallers()
884 while (!F->use_empty()) { in removeDeadStuffFromFunction()
957 if (!CB.use_empty() || CB.isUsedByMetadata()) { in removeDeadStuffFromFunction()
/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.cpp56 if (!MR.use_empty(NRI->getFrameRegister(MF))) { in emitPrologue()
63 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.cpp290 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
296 if (PN->use_empty()) in formLCSSAForInstructions()
314 if (PN->use_empty()) in formLCSSAForInstructions()
401 if (I.use_empty() || in formLCSSA()
/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.cpp92 if (!PN || PN->use_empty()) in checkIR()
309 if (I && I->use_empty()) in sinkMinMaxInBB()
478 if (!OldGEP->use_empty()) in aspaceWrapOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp85 if (I.use_empty()) { in simplifyLoopInst()
139 assert(I.use_empty() && "Should always have replaced all uses!"); in simplifyLoopInst()
H A DMakeGuardsExplicit.cpp61 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
H A DLowerWidenableCondition.cpp31 if (!WCDecl || WCDecl->use_empty()) in LowerWidenableConditionLegacyPass()
H A DLowerGuardIntrinsic.cpp32 if (!GuardDecl || GuardDecl->use_empty())
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDwarfEHPrepare.cpp120 if (SelIVI->use_empty()) in GetExceptionObject()
122 if (ExcIVI->use_empty()) in GetExceptionObject()
124 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
H A DPreISelIntrinsicLowering.cpp70 if (F.use_empty()) in lowerLoadRelative()
111 if (F.use_empty()) in lowerObjCCall()
174 if (!CI->use_empty()) in lowerObjCCall()
H A DSjLjEHPrepare.cpp173 if (EVI->use_empty()) in substituteLPadValues()
177 if (LPI->use_empty()) in substituteLPadValues()
292 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp161 if (C->use_empty()) in dropTriviallyDeadConstantArrays()
166 if (C->use_empty()) { in dropTriviallyDeadConstantArrays()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelDAGToDAG.cpp200 if (!SDValue(Node, 0).use_empty()) in trySelect()
203 if (!SDValue(Node, 1).use_empty()) in trySelect()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegNumbering.cpp94 if (MRI.use_empty(VReg)) in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp93 if (!I.use_empty()) in validateDeleteBB()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp90 if (CI.use_empty()) in createScalarMASSCall()

12345678910