Home
last modified time | relevance | path

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

12345678910>>...25

/external/llvm/lib/Transforms/IPO/
DStripSymbols.cpp142 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
257 while (!Declare->use_empty()) { in runOnModule()
261 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
263 if (Arg1->use_empty()) { in runOnModule()
269 if (Arg2->use_empty()) in runOnModule()
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DIPConstantPropagation.cpp52 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
108 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
205 if (Call->use_empty()) in PropagateConstantReturn()
DGlobalOpt.cpp195 if (CE->use_empty()) { in CleanupPointerRootUsers()
273 if (CE->use_empty()) { in CleanupConstantGlobalUsers()
296 if (GEP->use_empty()) { in CleanupConstantGlobalUsers()
519 while (!GV->use_empty()) { in SRAGlobal()
570 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
675 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
692 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
722 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
759 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
815 while (!CI->use_empty()) { in OptimizeGlobalAddressOfMalloc()
[all …]
DArgumentPromotion.cpp463 if (Arg->use_empty()) in isSafeToPromoteArgument()
540 if (GEP->use_empty()) { in isSafeToPromoteArgument()
690 } else if (I->use_empty()) { in DoPromotion()
780 while (!F->use_empty()) { in DoPromotion()
818 } else if (!I->use_empty()) { in DoPromotion()
900 if (!Call->use_empty()) { in DoPromotion()
965 if (I->use_empty()) in DoPromotion()
973 while (!I->use_empty()) { in DoPromotion()
1012 while (!GEP->use_empty()) { in DoPromotion()
/external/llvm-project/llvm/lib/Target/AArch64/
DSVEIntrinsicOpts.cpp137 if (I->use_empty()) in processPhiNode()
161 if (Op1->use_empty()) in optimizePTest()
163 if (Op1 != Op2 && Op2->use_empty()) in optimizePTest()
193 if (Y->use_empty()) in optimizeConvertFromSVBool()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DStripSymbols.cpp142 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
258 while (!Declare->use_empty()) { in runOnModule()
262 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in runOnModule()
264 if (Arg1->use_empty()) { in runOnModule()
270 if (Arg2->use_empty()) in runOnModule()
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DGlobalSplit.cpp135 if (!GV.use_empty()) in splitGlobal()
149 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
150 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in splitGlobals()
DIPConstantPropagation.cpp52 if (F.arg_empty() || F.use_empty()) return false; // No arguments? Early exit. in PropagateConstantsIntoArguments()
131 if (ArgumentConstants[i].second || AI->use_empty() || in PropagateConstantsIntoArguments()
234 if (Call->use_empty()) in PropagateConstantReturn()
/external/llvm-project/mlir/include/mlir/IR/
DUseDefLists.h37 assert(use_empty() && "Cannot destroy a value that still has uses!"); in ~IRObjectWithUseList()
42 while (!use_empty()) in dropAllUses()
52 while (!use_empty()) in replaceAllUsesWith()
75 bool use_empty() const { return firstUse == nullptr; } in use_empty() function
/external/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp26 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
108 if (P->use_empty()) { in DemotePHIToStack()
/external/llvm-project/llvm/lib/Transforms/IPO/
DStripDeadPrototypes.cpp36 if (F->isDeclaration() && F->use_empty()) { in stripDeadPrototypes()
48 if (GV->isDeclaration() && GV->use_empty()) in stripDeadPrototypes()
DStripSymbols.cpp145 assert(C->use_empty() && "Constant is not dead!"); in RemoveDeadConstant()
261 while (!Declare->use_empty()) { in stripDebugDeclareImpl()
265 assert(CI->use_empty() && "llvm.dbg intrinsic should have void result"); in stripDebugDeclareImpl()
267 if (Arg1->use_empty()) { in stripDebugDeclareImpl()
273 if (Arg2->use_empty()) in stripDebugDeclareImpl()
DGlobalSplit.cpp138 if (!GV.use_empty()) in splitGlobal()
152 if ((!TypeTestFunc || TypeTestFunc->use_empty()) && in splitGlobals()
153 (!TypeCheckedLoadFunc || TypeCheckedLoadFunc->use_empty())) in splitGlobals()
/external/llvm-project/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp25 if (I.use_empty()) { in DemoteRegToStack()
57 while (!I.use_empty()) { in DemoteRegToStack()
111 if (P->use_empty()) { in DemotePHIToStack()
DLCSSA.cpp264 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
272 if (PN->use_empty()) in formLCSSAForInstructions()
292 if (PN->use_empty()) in formLCSSAForInstructions()
380 if (I.use_empty() || in formLCSSA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDemoteRegToStack.cpp25 if (I.use_empty()) { in DemoteRegToStack()
57 while (!I.use_empty()) { in DemoteRegToStack()
111 if (P->use_empty()) { in DemotePHIToStack()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.h68 if (!RelocCall.use_empty()) in scheduleRelocCall()
77 if (RelocCall.use_empty()) in relocCallVisited()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.h70 if (!RelocCall.use_empty()) in scheduleRelocCall()
79 if (RelocCall.use_empty()) in relocCallVisited()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dresource_op_lifting_cleanup.cc81 if (!result.use_empty()) return false; in EliminateUnusedResults()
156 if (!result.use_empty()) continue; in EliminateUnusedResultsForIfCase()
168 if (!arg.use_empty()) used_args.set(arg.getArgNumber()); in EliminateUnusedResultsForIfCase()
202 if (!result.use_empty()) continue; in EliminateUnusedResultsForWhile()
209 if (cond_arg.use_empty() && body_arg.hasOneUse() && in EliminateUnusedResultsForWhile()
359 if (!result.use_empty()) continue; in CanonicalizeRegionIfCaseCluster()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp31 if (F.use_empty()) in lowerLoadRelative()
74 if (F.use_empty()) in lowerObjCCall()
113 if (!CI->use_empty()) in lowerObjCCall()
DDwarfEHPrepare.cpp129 if (SelIVI->use_empty()) in GetExceptionObject()
131 if (ExcIVI->use_empty()) in GetExceptionObject()
133 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()
/external/llvm-project/llvm/lib/CodeGen/
DPreISelIntrinsicLowering.cpp31 if (F.use_empty()) in lowerLoadRelative()
74 if (F.use_empty()) in lowerObjCCall()
113 if (!CI->use_empty()) in lowerObjCCall()
/external/llvm/lib/CodeGen/
DDwarfEHPrepare.cpp126 if (SelIVI->use_empty()) in GetExceptionObject()
128 if (ExcIVI->use_empty()) in GetExceptionObject()
130 if (SelLoad && SelLoad->use_empty()) in GetExceptionObject()

12345678910>>...25