Home
last modified time | relevance | path

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

123456789

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
H A DStripSymbols.cpp145 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
260 while (!Declare->use_empty()) { in stripDebugDeclareImpl()
264 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in stripDebugDeclareImpl()
266 if (Arg1->use_empty()) { in stripDebugDeclareImpl()
272 if (Arg2->use_empty()) in stripDebugDeclareImpl()
H A DGlobalSplit.cpp138 if (!GV.use_empty()) in splitGlobal()
152 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
153 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in splitGlobals()
H A DArgumentPromotion.cpp152 } else if (I->use_empty()) { in doPromotion()
170 if (isa<GetElementPtrInst>(UI) && UI->use_empty()) { in doPromotion()
246 while (!F->use_empty()) { in doPromotion()
280 } else if (!I->use_empty()) { in doPromotion()
355 if (!CB.use_empty()) { in doPromotion()
420 if (I->use_empty()) in doPromotion()
428 while (!I->use_empty()) { in doPromotion()
439 assert(!GEP->use_empty() && in doPromotion()
464 while (!GEP->use_empty()) { in doPromotion()
570 if (Arg->use_empty()) in isSafeToPromoteArgument()
[all …]
H A DGlobalOpt.cpp241 if (CE->use_empty()) { in CleanupPointerRootUsers()
324 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
348 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
596 while (!GV->use_empty()) { in SRAGlobal()
778 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
825 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
863 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
921 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
1310 Dead = GV.use_empty(); in deleteIfDead()
1517 if (GV->use_empty()) { in processInternalGlobal()
[all …]
H A DThinLTOBitcodeWriter.cpp65 if (ImportGV->use_empty()) { in promoteInternals()
169 if (F.isDeclaration() && F.use_empty()) { in simplifyExternals()
194 if (GV.isDeclaration() && GV.use_empty()) { in simplifyExternals()
307 !F->arg_begin()->use_empty()) in splitAndWriteThinLTOBitcode()
425 if (!F || F->use_empty()) in splitAndWriteThinLTOBitcode()
H A DGlobalDCE.cpp413 if (!F->use_empty()) { in run()
456 if (GV.use_empty()) in RemoveUnusedGlobalValue()
459 return GV.use_empty(); in RemoveUnusedGlobalValue()
H A DDeadArgumentElimination.cpp214 if (!CB->use_empty()) in DeleteDeadVarargs()
284 if (Fn.use_empty()) in RemoveDeadArgumentsFromCallers()
292 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp25 if (I.use_empty()) { in DemoteRegToStack()
57 while (!I.use_empty()) { in DemoteRegToStack()
111 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp263 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
269 if (PN->use_empty()) in formLCSSAForInstructions()
287 if (PN->use_empty()) in formLCSSAForInstructions()
372 if (I.use_empty() || in formLCSSA()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp31 if (F.use_empty()) in lowerLoadRelative()
74 if (F.use_empty()) in lowerObjCCall()
113 if (!CI->use_empty()) in lowerObjCCall()
H A DDwarfEHPrepare.cpp118 if (SelIVI->use_empty()) in GetExceptionObject()
120 if (ExcIVI->use_empty()) in GetExceptionObject()
122 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
H A DSjLjEHPrepare.cpp157 if (EVI->use_empty()) in substituteLPadValues()
161 if (LPI->use_empty()) in substituteLPadValues()
277 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/freebsd-13.1/contrib/llvm-project/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 DLowerWidenableCondition.cpp48 if (!WCDecl || WCDecl->use_empty()) in lowerWidenableCondition()
H A DLowerGuardIntrinsic.cpp48 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
H A DMakeGuardsExplicit.cpp73 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.cpp133 if (C->use_empty()) in dropTriviallyDeadConstantArrays()
138 if (C->use_empty()) { in dropTriviallyDeadConstantArrays()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp53 if (!MR.use_empty(NVPTX::VRFrame)) { in emitPrologue()
H A DNVPTXPeephole.cpp147 if (MRI.use_empty(NVPTX::VRFrame)) { in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp80 if (!PN || PN->use_empty()) in checkIR()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegNumbering.cpp94 if (MRI.use_empty(VReg)) in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h50 if (!Tmp->use_empty()) in ~Evaluator()

123456789