| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | StripDeadPrototypes.cpp | 35 if (F.isDeclaration() && F.use_empty()) { in stripDeadPrototypes() 45 if (GV.isDeclaration() && GV.use_empty()) in stripDeadPrototypes()
|
| H A D | StripSymbols.cpp | 145 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 D | GlobalSplit.cpp | 138 if (!GV.use_empty()) in splitGlobal() 152 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals() 153 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in splitGlobals()
|
| H A D | GlobalOpt.cpp | 239 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 D | ArgumentPromotion.cpp | 171 } 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 D | ThinLTOBitcodeWriter.cpp | 64 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 D | DeadArgumentElimination.cpp | 212 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 D | UseDefLists.h | 175 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 D | DemoteRegToStack.cpp | 24 if (I.use_empty()) { in DemoteRegToStack() 56 while (!I.use_empty()) { in DemoteRegToStack() 110 if (P->use_empty()) { in DemotePHIToStack()
|
| H A D | LCSSA.cpp | 262 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 D | StatepointLowering.h | 68 if (!RelocCall.use_empty()) in scheduleRelocCall() 77 if (RelocCall.use_empty()) in relocCallVisited()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | PreISelIntrinsicLowering.cpp | 31 if (F.use_empty()) in lowerLoadRelative() 75 if (F.use_empty()) in lowerObjCCall() 128 if (!CI->use_empty()) in lowerObjCCall()
|
| H A D | DwarfEHPrepare.cpp | 118 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 D | PatternMatch.cpp | 225 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 D | ReduceFunctions.cpp | 36 return (!F.isIntrinsic() || F.use_empty()) && !O.shouldKeep(); in extractFunctionsFromModule()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | inline-skip-use-empty-alloca.ll | 5 ; 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 D | LoopInstSimplify.cpp | 86 if (I.use_empty()) { in simplifyLoopInst() 140 assert(I.use_empty() && "Should always have replaced all uses!"); in simplifyLoopInst()
|
| H A D | LowerWidenableCondition.cpp | 45 if (!WCDecl || WCDecl->use_empty()) in lowerWidenableCondition()
|
| H A D | LowerGuardIntrinsic.cpp | 47 if (!GuardDecl || GuardDecl->use_empty()) in lowerGuardIntrinsic()
|
| H A D | MakeGuardsExplicit.cpp | 71 if (!GuardDecl || GuardDecl->use_empty()) in explicifyGuards()
|
| /llvm-project-15.0.7/mlir/test/lib/Transforms/ |
| H A D | TestInlining.cpp | 64 if (callee.use_empty()) in runOnOperation()
|
| H A D | TestConstantFold.cpp | 60 if (cst->use_empty()) in runOnOperation()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | LLVMContextImpl.cpp | 153 if (C->use_empty()) in dropTriviallyDeadConstantArrays() 158 if (C->use_empty()) { in dropTriviallyDeadConstantArrays()
|
| /llvm-project-15.0.7/mlir/test/lib/IR/ |
| H A D | TestPrintDefUse.cpp | 48 if (result.use_empty()) { in runOnOperation()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | Mips16ISelDAGToDAG.cpp | 200 if (!SDValue(Node, 0).use_empty()) in trySelect() 203 if (!SDValue(Node, 1).use_empty()) in trySelect()
|