Home
last modified time | relevance | path

Searched refs:use_begin (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DValue.cpp23 Value::use_iterator Value::use_begin() { in use_begin() function in llvm::sandboxir::Value
25 if (Val->use_begin() != Val->use_end()) in use_begin()
26 LLVMUse = &*Val->use_begin(); in use_begin()
28 Val->use_begin()->getUser())) in use_begin()
34 auto UseBegin = Val->use_begin(); in user_begin()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValue.h196 LLVM_ABI use_iterator use_begin();
197 const_use_iterator use_begin() const { in use_begin() function
198 return const_cast<Value *>(this)->use_begin(); in use_begin()
206 return make_range<use_iterator>(use_begin(), use_end()); in uses()
209 return make_range<const_use_iterator>(use_begin(), use_end()); in uses()
245 for (auto It = use_begin(), ItE = use_end(); It != ItE; ++It) { in hasNUsesOrMore()
254 for (auto It = use_begin(), ItE = use_end(); It != ItE; ++It) { in hasNUses()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp37 dyn_cast<GetElementPtrInst>(GV.use_begin()->getUser()); in shouldConvertToRelLookupTable()
42 LoadInst *Load = dyn_cast<LoadInst>(GEP->use_begin()->getUser()); in shouldConvertToRelLookupTable()
153 cast<GetElementPtrInst>(LookupTable.use_begin()->getUser()); in convertToRelLookupTable()
154 LoadInst *Load = cast<LoadInst>(GEP->use_begin()->getUser()); in convertToRelLookupTable()
H A DLoopUnrollRuntime.cpp251 PHINode *EpilogPN = cast<PHINode>(PN.use_begin()->getUser()); in ConnectEpilog()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp318 Use &U = *(Phi->use_begin()); in getShape()
329 Use &U = *(V->use_begin()); in getShape()
337 Use &U = *(V->use_begin()); in getShape()
372 Use &U = *(Bitcast->use_begin()); in combineLoadBitcast()
446 Use &U = *(Bitcast->use_begin()); in transformBitcast()
1139 Use &U = *(Cast->use_begin()); in combineLoadCast()
1346 Use &U = *(AMXCast->use_begin()); in transformAMXCast()
H A DX86OptimizeLEAs.cpp659 MachineOperand &MO = *MRI->use_begin(LastVReg); in removeRedundantLEAs()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFMISimplifyPatchable.cpp203 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processCandidate()
230 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processDstReg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp160 if (CSI->hasOneUse() && isa<SwitchInst>(CSI->use_begin()->getUser())) { in collectPostSplitCoroIds()
161 SwitchInst *SWI = cast<SwitchInst>(CSI->use_begin()->getUser()); in collectPostSplitCoroIds()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp67 U = &*CE->use_begin(); in AbstractCallSite()
H A DValue.cpp155 return hasNItems(use_begin(), use_end(), N); in hasNUses()
163 return hasNItemsOrMore(use_begin(), use_end(), N); in hasNUsesOrMore()
269 return (unsigned)std::distance(use_begin(), use_end()); in getNumUses()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAbstractCallSite.h150 U = &*CE->use_begin(); in isCallee()
H A DValue.h364 use_iterator use_begin() { in use_begin() function
368 const_use_iterator use_begin() const { in use_begin() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h467 use_iterator use_begin(Register RegNo) const { in use_begin() function
473 return make_range(use_begin(Reg), use_end()); in use_operands()
509 bool use_empty(Register RegNo) const { return use_begin(RegNo) == use_end(); } in use_empty()
H A DSelectionDAGNodes.h768 size_t use_size() const { return std::distance(use_begin(), use_end()); }
878 use_iterator use_begin() const {
885 return make_range(use_begin(), use_end());
888 return make_range(use_begin(), use_end());
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenPredicate.cpp205 use_iterator I = MRI->use_begin(Reg.Reg), E = MRI->use_end(); in processPredicateGPR()
H A DHexagonBitSimplify.cpp365 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceReg()
381 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceRegWithSub()
398 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceSubWithSub()
1221 for (auto I = MRI.use_begin(R), E = MRI.use_end(); I != E; ++I) { in computeUsedBits()
3172 for (auto UI = MRI->use_begin(DefR), UE = MRI->use_end(); UI != UE; ++UI) { in processLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.cpp284 if (!V->use_empty() && std::next(V->use_begin()) != V->use_end()) in predictValueUseListOrder()
550 if (&U != &*V->use_begin()) in print()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp244 if (!V->use_empty() && std::next(V->use_begin()) != V->use_end()) in predictValueUseListOrder()
555 if (&U != &*V->use_begin()) in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp647 for (Value::use_iterator UI = Arg->use_begin(), UE = Arg->use_end(); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp358 UI = &*CE->use_begin(); in doMerge()
H A DPreISelIntrinsicLowering.cpp89 Use *U = LastUse ? LastUse->getNext() : &*Intrin.use_begin(); in forEachCall()
H A DSafeStack.cpp614 Use &U = *AI->use_begin(); in moveStaticAllocasToUnsafeStack()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp619 i = entry->use_begin(), e = entry->use_end(); i != e; ) { in destroyOptimisticNormalEntry()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2902 (SI.hasOneUse() && canIgnoreSignBitOfNaN(*SI.use_begin())) || in foldSelectWithFCmpToFabs()
2949 (!SI.hasOneUse() || !canIgnoreSignBitOfZero(*SI.use_begin()))) in foldSelectWithFCmpToFabs()
2952 (!SI.hasOneUse() || !canIgnoreSignBitOfNaN(*SI.use_begin()))) in foldSelectWithFCmpToFabs()
4061 canIgnoreSignBitOfZero(*SIFPOp->use_begin())))) { in visitSelectInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp538 if (PHIUser && PHIUser->getIncomingBlock(*SI->use_begin()) != SIBB) in isValidSelectInst()

12