Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalSplit.cpp136 if (!GV.use_empty()) in splitGlobal()
152 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
153 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty()) && in splitGlobals()
155 TypeCheckedLoadRelativeFunc->use_empty())) in splitGlobals()
H A DStripDeadPrototypes.cpp33 if (F.isDeclaration() && F.use_empty()) { in stripDeadPrototypes()
43 if (GV.isDeclaration() && GV.use_empty()) in stripDeadPrototypes()
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 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.cpp138 } else if (I->use_empty()) { in doPromotion()
209 while (!F->use_empty()) { in doPromotion()
224 } else if (!I->use_empty()) { in doPromotion()
252 assert(ArgsToPromote.count(&*I) && I->use_empty()); in doPromotion()
286 if (!CB.use_empty()) { in doPromotion()
325 if (Arg.use_empty()) in doPromotion()
450 if (Arg->use_empty()) in findArgParts()
H A DGlobalOpt.cpp783 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
801 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
829 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
868 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
960 while (!LI->use_empty()) { in OptimizeGlobalAddressOfAllocation()
1239 while (!GV->use_empty()) { in TryToShrinkGlobalToBoolean()
1320 Dead = GV.use_empty(); in deleteIfDead()
1495 if (GV->use_empty()) { in processInternalGlobal()
1519 if (GV->use_empty()) { in processInternalGlobal()
1573 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()
886 while (!F->use_empty()) { in removeDeadStuffFromFunction()
959 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/Transforms/Utils/
H A DDemoteRegToStack.cpp24 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
118 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/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 DLowerWidenableCondition.cpp31 if (!WCDecl || WCDecl->use_empty()) in lowerWidenableCondition()
H A DLowerGuardIntrinsic.cpp32 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
H A DMakeGuardsExplicit.cpp60 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
H A DDCE.cpp71 if (!OpV->use_empty() || I == OpV) in DCEInstruction()
H A DInstSimplifyPass.cpp51 } else if (!I.use_empty()) { in runImpl()
/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.cpp70 if (F.use_empty()) in lowerLoadRelative()
111 if (F.use_empty()) in lowerObjCCall()
174 if (!CI->use_empty()) in lowerObjCCall()
H A DSjLjEHPrepare.cpp175 if (EVI->use_empty()) in substituteLPadValues()
179 if (LPI->use_empty()) in substituteLPadValues()
294 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp156 if (C->use_empty()) in dropTriviallyDeadConstantArrays()
161 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/Target/NVPTX/
H A DNVPTXFrameLowering.cpp56 if (!MR.use_empty(NRI->getFrameRegister(MF))) { in emitPrologue()
H A DNVPTXPeephole.cpp158 if (MRI.use_empty(NRI->getFrameRegister(MF))) { in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp90 if (CI.use_empty()) in createScalarMASSCall()

12345678910