Home
last modified time | relevance | path

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

12345678910

/openbsd/gnu/llvm/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 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 DStripSymbols.cpp147 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()
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 DGlobalOpt.cpp238 if (CE->use_empty()) { in CleanupPointerRootUsers()
742 if (CI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
760 if (GEPI->use_empty()) { in OptimizeAwayTrappingUsesOfValue()
788 if (LI->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
826 if (GV->use_empty()) { in OptimizeAwayTrappingUsesOfLoads()
891 while (!CI->use_empty()) { in OptimizeGlobalAddressOfAllocation()
1221 while (!GV->use_empty()) { in TryToShrinkGlobalToBoolean()
1302 Dead = GV.use_empty(); in deleteIfDead()
1548 if (GV->use_empty()) { in processInternalGlobal()
1572 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 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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.h68 if (!RelocCall.use_empty()) in scheduleRelocCall()
77 if (RelocCall.use_empty()) in relocCallVisited()
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp24 if (I.use_empty()) { in DemoteRegToStack()
56 while (!I.use_empty()) { in DemoteRegToStack()
117 if (P->use_empty()) { in DemotePHIToStack()
H A DLCSSA.cpp268 if (!PostProcessPN->use_empty()) in formLCSSAForInstructions()
274 if (PN->use_empty()) in formLCSSAForInstructions()
292 if (PN->use_empty()) in formLCSSAForInstructions()
379 if (I.use_empty() || in formLCSSA()
/openbsd/gnu/llvm/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()
H A DSjLjEHPrepare.cpp157 if (EVI->use_empty()) in substituteLPadValues()
161 if (LPI->use_empty()) in substituteLPadValues()
277 if (Inst.use_empty()) in lowerAcrossUnwindEdges()
/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopInstSimplify.cpp87 if (I.use_empty()) { in simplifyLoopInst()
141 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()
H A DDCE.cpp104 if (!OpV->use_empty() || I == OpV) in DCEInstruction()
/openbsd/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceFunctions.cpp37 if ((!F.isIntrinsic() || F.use_empty()) && !hasAliasOrBlockAddressUse(F) && in extractFunctionsFromModule()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DLLVMContextImpl.cpp154 if (C->use_empty()) in dropTriviallyDeadConstantArrays()
159 if (C->use_empty()) { in dropTriviallyDeadConstantArrays()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegNumbering.cpp94 if (MRI.use_empty(VReg)) in runOnMachineFunction()
/openbsd/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXFrameLowering.cpp56 if (!MR.use_empty(NRI->getFrameRegister(MF))) { in emitPrologue()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCGenScalarMASSEntries.cpp90 if (CI.use_empty()) in createScalarMASSCall()
/openbsd/gnu/llvm/llvm/tools/bugpoint-passes/
H A DTestPasses.cpp69 if (!CI->use_empty()) in runOnFunction()

12345678910