Home
last modified time | relevance | path

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

12345678910>>...12

/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DStripDeadPrototypes.cpp35 if (F.isDeclaration() && F.use_empty()) { in stripDeadPrototypes()
45 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 DGlobalOpt.cpp239 if (CE->use_empty()) { in CleanupPointerRootUsers()
738 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
756 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
784 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
822 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
887 while (!CI->use_empty()) { in OptimizeGlobalAddressOfAllocation()
1217 while (!GV->use_empty()) { in TryToShrinkGlobalToBoolean()
1298 Dead = GV.use_empty(); in deleteIfDead()
1544 if (GV->use_empty()) { in processInternalGlobal()
1568 if (GV->use_empty()) { in processInternalGlobal()
[all …]
H A DArgumentPromotion.cpp171 } else if (I->use_empty()) { in doPromotion()
223 while (!F->use_empty()) { in doPromotion()
238 } else if (!I->use_empty()) { in doPromotion()
290 if (!CB.use_empty()) { in doPromotion()
327 if (Arg.use_empty()) in doPromotion()
452 if (Arg->use_empty()) in findArgParts()
H A DThinLTOBitcodeWriter.cpp64 if (ImportGV->use_empty()) { in promoteInternals()
176 if (F.isDeclaration() && F.use_empty()) { in simplifyExternals()
200 if (GV.isDeclaration() && GV.use_empty()) { in simplifyExternals()
313 !F->arg_begin()->use_empty()) in splitAndWriteThinLTOBitcode()
433 if (!F || F->use_empty()) in splitAndWriteThinLTOBitcode()
H A DDeadArgumentElimination.cpp212 if (!CB->use_empty()) in deleteDeadVarargs()
285 if (F.use_empty()) in removeDeadArgumentsFromCallers()
294 if (!Arg.hasSwiftErrorAttr() && Arg.use_empty() && in removeDeadArgumentsFromCallers()
870 while (!F->use_empty()) { in removeDeadStuffFromFunction()
943 if (!CB.use_empty() || CB.isUsedByMetadata()) { in removeDeadStuffFromFunction()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DUseDefLists.h175 assert(use_empty() && "Cannot destroy a value that still has uses!"); in ~IRObjectWithUseList()
180 while (!use_empty()) in dropAllUses()
191 while (!use_empty()) in replaceAllUsesWith()
214 bool use_empty() const { return firstUse == nullptr; } in use_empty() function
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp24 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
110 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp262 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
268 if (PN->use_empty()) in formLCSSAForInstructions()
286 if (PN->use_empty()) in formLCSSAForInstructions()
373 if (I.use_empty() || in formLCSSA()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h68 if (!RelocCall.use_empty()) in scheduleRelocCall()
77 if (RelocCall.use_empty()) in relocCallVisited()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPreISelIntrinsicLowering.cpp31 if (F.use_empty()) in lowerLoadRelative()
75 if (F.use_empty()) in lowerObjCCall()
128 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()
/llvm-project-15.0.7/mlir/lib/IR/
H A DPatternMatch.cpp225 replacedAllUses &= std::get<0>(it).use_empty(); in replaceOpWithIf()
260 assert(op->use_empty() && "expected 'op' to have no uses"); in eraseOp()
267 assert(op.use_empty() && "expected 'op' to have no uses"); in eraseBlock()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceFunctions.cpp36 return (!F.isIntrinsic() || F.use_empty()) && !O.shouldKeep(); in extractFunctionsFromModule()
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dinline-skip-use-empty-alloca.ll5 ; The purpose of this test is to check if there is use_empty in the inner loop when scanning
6 ; blocks of allocas, if the alloca is use_empty, skip it when allocas inlining.
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp86 if (I.use_empty()) { in simplifyLoopInst()
140 assert(I.use_empty() && "Should always have replaced all uses!"); in simplifyLoopInst()
H A DLowerWidenableCondition.cpp45 if (!WCDecl || WCDecl->use_empty()) in lowerWidenableCondition()
H A DLowerGuardIntrinsic.cpp47 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
H A DMakeGuardsExplicit.cpp71 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
/llvm-project-15.0.7/mlir/test/lib/Transforms/
H A DTestInlining.cpp64 if (callee.use_empty()) in runOnOperation()
H A DTestConstantFold.cpp60 if (cst->use_empty()) in runOnOperation()
/llvm-project-15.0.7/llvm/lib/IR/
H A DLLVMContextImpl.cpp153 if (C->use_empty()) in dropTriviallyDeadConstantArrays()
158 if (C->use_empty()) { in dropTriviallyDeadConstantArrays()
/llvm-project-15.0.7/mlir/test/lib/IR/
H A DTestPrintDefUse.cpp48 if (result.use_empty()) { in runOnOperation()
/llvm-project-15.0.7/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()

12345678910>>...12