Home
last modified time | relevance | path

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

123

/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()
132 cast<GetElementPtrInst>(LookupTable.use_begin()->getUser()); in convertToRelLookupTable()
133 LoadInst *Load = cast<LoadInst>(GEP->use_begin()->getUser()); in convertToRelLookupTable()
H A DLoopUnrollRuntime.cpp252 PHINode *EpilogPN = cast<PHINode>(PN.use_begin()->getUser()); in ConnectEpilog()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DSandboxIR.h201 use_iterator use_begin();
202 const_use_iterator use_begin() const { in use_begin() function
203 return const_cast<Value *>(this)->use_begin(); in use_begin()
211 return make_range<use_iterator>(use_begin(), use_end()); in uses()
214 return make_range<const_use_iterator>(use_begin(), use_end()); in uses()
250 for (auto It = use_begin(), ItE = use_end(); It != ItE; ++It) { in hasNUsesOrMore()
259 for (auto It = use_begin(), ItE = use_end(); It != ItE; ++It) { in hasNUses()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LowerAMXType.cpp194 Use &U = *(Phi->use_begin()); in getShape()
205 Use &U = *(V->use_begin()); in getShape()
213 Use &U = *(V->use_begin()); in getShape()
247 Use &U = *(Bitcast->use_begin()); in combineLoadBitcast()
322 Use &U = *(Bitcast->use_begin()); in transformBitcast()
958 Use &U = *(Cast->use_begin()); in combineLoadCast()
1166 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.cpp201 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processCandidate()
228 auto Begin = MRI->use_begin(DstReg), End = MRI->use_end(); in processDstReg()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp176 if (CSI->hasOneUse() && isa<SwitchInst>(CSI->use_begin()->getUser())) { in collectPostSplitCoroIds()
177 SwitchInst *SWI = cast<SwitchInst>(CSI->use_begin()->getUser()); in collectPostSplitCoroIds()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DSandboxIR.cpp87 Value::use_iterator Value::use_begin() { in use_begin() function in Value
89 if (Val->use_begin() != Val->use_end()) in use_begin()
90 LLVMUse = &*Val->use_begin(); in use_begin()
92 Val->use_begin()->getUser())) in use_begin()
98 auto UseBegin = Val->use_begin(); in user_begin()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp67 U = &*CE->use_begin(); in AbstractCallSite()
H A DValue.cpp150 return hasNItems(use_begin(), use_end(), N); in hasNUses()
154 return hasNItemsOrMore(use_begin(), use_end(), N); in hasNUsesOrMore()
256 return (unsigned)std::distance(use_begin(), use_end()); in getNumUses()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAbstractCallSite.h148 U = &*CE->use_begin(); in isCallee()
H A DValue.h360 use_iterator use_begin() { in use_begin() function
364 const_use_iterator use_begin() const { in use_begin() function
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h478 use_iterator use_begin(Register RegNo) const { in use_begin() function
484 return make_range(use_begin(Reg), use_end()); in use_operands()
520 bool use_empty(Register RegNo) const { return use_begin(RegNo) == use_end(); } in use_empty()
H A DSelectionDAGNodes.h748 size_t use_size() const { return std::distance(use_begin(), use_end()); }
832 use_iterator use_begin() const {
839 return make_range(use_begin(), use_end());
842 return make_range(use_begin(), use_end());
1004 for (use_iterator UI = use_begin(), UE = use_end(); UI != UE; ++UI)
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenPredicate.cpp229 use_iterator I = MRI->use_begin(Reg.R), E = MRI->use_end(); in processPredicateGPR()
H A DHexagonBitSimplify.cpp387 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceReg()
403 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceRegWithSub()
420 auto Begin = MRI.use_begin(OldR), End = MRI.use_end(); in replaceSubWithSub()
1243 for (auto I = MRI.use_begin(R), E = MRI.use_end(); I != E; ++I) { in computeUsedBits()
3203 for (auto UI = MRI->use_begin(DefR), UE = MRI->use_end(); UI != UE; ++UI) { in processLoop()
H A DHexagonISelDAGToDAG.cpp1100 SDNode *UUse = *U->use_begin(); in isMemOPCandidate()
1305 for (auto I = N->use_begin(), E = N->use_end(); I != E; ++I) { in ppHoistZextI1()
2434 if (N->hasOneUse() && Opcode == N->use_begin()->getOpcode()) in rebalanceAddressTrees()
/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.cpp241 if (!V->use_empty() && std::next(V->use_begin()) != V->use_end()) in predictValueUseListOrder()
552 if (&U != &*V->use_begin()) in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp601 for (Value::use_iterator UI = Arg->use_begin(), UE = Arg->use_end(); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DGlobalMerge.cpp348 UI = &*CE->use_begin(); in doMerge()
H A DSafeStack.cpp607 Use &U = *AI->use_begin(); in moveStaticAllocasToUnsafeStack()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp91 for (SDNode::use_iterator UI = Node.use_begin(), UE = Node.use_end(); in PerformExpensiveChecks()
H A DScheduleDAGSDNodes.cpp239 for (SDNode::use_iterator I = Chain->use_begin(), E = Chain->use_end(); in ClusterNeighboringLoads()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1850 for (SDNode::use_iterator UI = Op->use_begin(), UE = Op->use_end(); UI != UE; in hasNonFlagsUse()
1856 UOpNo = User->use_begin().getOperandNo(); in hasNonFlagsUse()
1857 User = *User->use_begin(); in hasNonFlagsUse()
2547 SDNode *User = *Op.getNode()->use_begin(); in LowerBRCOND()

123