Home
last modified time | relevance | path

Searched refs:Use (Results 1 – 25 of 1543) sorted by relevance

12345678910>>...62

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DUse.h43 class Use {
45 Use(const Use &U) = delete;
49 void swap(Use &RHS);
53 ~Use() { in ~Use()
59 Use(User *Parent) : Parent(Parent) {} in Use() function
77 inline const Use &operator=(const Use &RHS);
82 Use *getNext() const { return Next; } in getNext()
89 static void zap(Use *Start, const Use *Stop, bool del = false);
94 Use *Next = nullptr;
95 Use **Prev = nullptr;
[all …]
H A DUser.h133 template <int Idx> Use &Op() { in Op()
141 const Use *getHungOffOperands() const { in getHungOffOperands()
145 Use *&getHungOffOperands() { return *(reinterpret_cast<Use **>(this) - 1); } in getHungOffOperands()
151 Use *getIntrusiveOperands() { in getIntrusiveOperands()
155 void setOperandList(Use *NewList) { in setOperandList()
162 const Use *getOperandList() const { in getOperandList()
165 Use *getOperandList() { in getOperandList()
186 Use &getOperandUse(unsigned i) { in getOperandUse()
229 using op_iterator = Use*;
230 using const_op_iterator = const Use*;
[all …]
H A DOperandTraits.h31 static Use *op_begin(SubClass* U) { in op_begin()
35 return reinterpret_cast<Use*>(U) - ARITY; in op_begin()
37 static Use *op_end(SubClass* U) { in op_end()
38 return reinterpret_cast<Use*>(U); in op_end()
69 static Use *op_begin(SubClass* U) { in op_begin()
75 static Use *op_end(SubClass* U) { in op_end()
76 return reinterpret_cast<Use*>(U); in op_end()
96 static Use *op_begin(User* U) { in op_begin()
99 static Use *op_end(User* U) { in op_end()
119 template <int> inline Use &Op(); \
[all …]
H A DValue.h119 Use *UseList;
170 use_iterator_impl<Use> UI;
456 Use *getSingleUndroppableUse();
838 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
839 Use *Merged; in mergeUseLists()
840 Use **Next = &Merged; in mergeUseLists()
882 void Use::set(Value *V) { in set()
893 const Use &Use::operator=(const Use &RHS) {
909 Use *Slots[MaxSlots]; in sortUseList()
912 Use *Next = UseList->Next; in sortUseList()
[all …]
H A DAbstractCallSite.h26 class Use; variable
98 AbstractCallSite(const Use *U);
106 SmallVectorImpl<const Use *> &CallbackUses);
137 bool isCallee(const Use *U) const { in isCallee()
202 const Use &getCalleeUseForCallback() const { in getCalleeUseForCallback()
227 SmallVector<const Use *, 4u> CallbackUses; in forEachCallbackCallSite()
229 for (const Use *U : CallbackUses) { in forEachCallbackCallSite()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp57 size_t size = N * sizeof(Use); in allocHungoffUses()
60 Use *Begin = static_cast<Use*>(::operator new(size)); in allocHungoffUses()
61 Use *End = Begin + N; in allocHungoffUses()
64 new (Begin) Use(this); in allocHungoffUses()
136 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate); in allocateFixedOperandUser()
137 Use *End = Start + Us; in allocateFixedOperandUser()
143 new (Start) Use(Obj); in allocateFixedOperandUser()
164 Use **HungOffOperandList = static_cast<Use **>(Storage); in operator new()
186 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
192 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
[all …]
H A DUse.cpp14 void Use::swap(Use &RHS) { in swap()
31 unsigned Use::getOperandNo() const { in getOperandNo()
35 void Use::zap(Use *Start, const Use *Stop, bool del) { in zap()
37 (--Stop)->~Use(); in zap()
/freebsd-14.2/sys/contrib/device-tree/Bindings/net/
H A Dmacb.txt5 Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC.
6 Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs.
7 Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
8 Use "cdns,np4-macb" for NP4 SoC devices.
10 Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
12 Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
13 Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
15 Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.
16 Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC.
17 Use "sifive,fu540-c000-gem" for SiFive FU540-C000 SoC.
[all …]
/freebsd-14.2/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/
H A DdeprecatedFunctionUsage.ql30 result = "Use strtok_r(3) instead!"
32 result = "basename(3) is underspecified. Use zfs_basename() instead!"
34 result = "basename(3) is underspecified. Use zfs_basename() instead!"
36 result = "dirname(3) is underspecified. Use zfs_dirnamelen() instead!"
38 result = "bcopy(3) is deprecated. Use memcpy(3)/memmove(3) instead!"
40 result = "bcmp(3) is deprecated. Use memcmp(3) instead!"
42 result = "bzero(3) is deprecated. Use memset(3) instead!"
44 result = "Use strftime(3) instead!"
46 result = "Use strftime(3) instead!"
48 result = "gmtime(3) isn't thread-safe. Use gmtime_r(3) instead!"
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp94 VRRegMO = &Use.getOperand(0); in getRegAllocationHints()
95 OtherMO = &Use.getOperand(1); in getRegAllocationHints()
96 if (Use.isCommutable()) in getRegAllocationHints()
97 CommuMO = &Use.getOperand(2); in getRegAllocationHints()
99 VRRegMO = &Use.getOperand(1); in getRegAllocationHints()
100 OtherMO = &Use.getOperand(0); in getRegAllocationHints()
102 Use.isCommutable()) { in getRegAllocationHints()
103 VRRegMO = &Use.getOperand(2); in getRegAllocationHints()
104 OtherMO = &Use.getOperand(0); in getRegAllocationHints()
145 if (Use.getOpcode() == SystemZ::LOCRMux || in getRegAllocationHints()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp77 for (Use &U : llvm::make_early_inc_range(Arg.uses())) { in runOnFunction()
79 Instruction* Use = cast<Instruction>(U); in runOnFunction() local
80 SExtInst* SI = new SExtInst(&Arg, Use->getType()); in runOnFunction()
82 (EVT::getEVT(Use->getType()))); in runOnFunction()
83 Use->replaceAllUsesWith(SI); in runOnFunction()
86 Use->eraseFromParent(); in runOnFunction()
130 const Use &TheUse = UI.getUse(); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRV.td24 "Use SPIR-V version 1.0">;
26 "Use SPIR-V version 1.1">;
28 "Use SPIR-V version 1.2">;
30 "Use SPIR-V version 1.3">;
32 "Use SPIR-V version 1.4">;
34 "Use SPIR-V version 1.5">;
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp197 if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); })) in updatePending() argument
211 if (!all_of(getUses(), [](const ReadState &Use) { in updateDispatched() argument
212 return Use.isPending() || Use.isReady(); in updateDispatched()
237 for (ReadState &Use : getUses()) in cycleEvent()
238 Use.cycleEvent(); in cycleEvent()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCaptureTracking.h22 class Use; variable
95 virtual bool shouldExplore(const Use *U);
100 virtual bool captured(const Use *U) = 0;
122 DetermineUseCaptureKind(const Use &U,
H A DGuardUtils.h18 class Use; variable
54 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DExecuteStage.cpp256 for (const ResourceUse &Use : Used) { in notifyInstructionIssued()
257 assert(Use.second.getDenominator() == 1 && "Invalid cycles!"); in notifyInstructionIssued()
258 dbgs() << "[E] Resource Used: [" << Use.first.first << '.' in notifyInstructionIssued()
259 << Use.first.second << "], "; in notifyInstructionIssued()
260 dbgs() << "cycles: " << Use.second.getNumerator() << '\n'; in notifyInstructionIssued()
265 for (ResourceUse &Use : Used) in notifyInstructionIssued()
266 Use.first.first = HWS.getResourceID(Use.first.first); in notifyInstructionIssued()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp87 void LiveRangeCalc::extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg, in extend() argument
89 assert(Use.isValid() && "Invalid SlotIndex"); in extend()
93 MachineBasicBlock *UseMBB = Indexes->getMBBFromIndex(Use.getPrevSlot()); in extend()
105 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
192 SlotIndex Use, unsigned PhysReg, in findReachingDefs() argument
214 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use); in findReachingDefs()
216 errs() << Use << " " << *MI; in findReachingDefs()
269 Use = SlotIndex(); in findReachingDefs()
291 if (BN == UseMBBNum && Use.isValid()) in findReachingDefs()
292 End = Use; in findReachingDefs()
[all …]
H A DMachineLoopUtils.cpp62 for (auto &Use : MRI.use_operands(OrigR)) in PeelSingleBlockLoop() local
63 if (Use.getParent()->getParent() != Loop) in PeelSingleBlockLoop()
64 Uses.push_back(&Use); in PeelSingleBlockLoop()
65 for (auto *Use : Uses) { in PeelSingleBlockLoop() local
67 MRI.constrainRegClass(R, MRI.getRegClass(Use->getReg())); in PeelSingleBlockLoop()
71 Use->setReg(R); in PeelSingleBlockLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp57 bool CaptureTracker::shouldExplore(const Use *U) { return true; } in shouldExplore()
84 bool captured(const Use *U) override { in captured()
125 bool captured(const Use *U) override { in captured()
169 bool captured(const Use *U) override { in captured()
278 const Use &U, in DetermineUseCaptureKind()
413 SmallVector<const Use *, 20> Worklist; in PointerMayBeCaptured()
415 SmallSet<const Use *, 20> Visited; in PointerMayBeCaptured()
418 for (const Use &U : V->uses()) { in PointerMayBeCaptured()
440 const Use *U = Worklist.pop_back_val(); in PointerMayBeCaptured()
/freebsd-14.2/sys/contrib/device-tree/Bindings/sound/
H A Drt5640.txt41 1: Use GPIO1 for jack-detect
42 2: Use JD1_IN4P for jack-detect
43 3: Use JD2_IN4N for jack-detect
44 4: Use GPIO2 for jack-detect
45 5: Use GPIO3 for jack-detect
46 6: Use GPIO4 for jack-detect
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchCoalescing.cpp432 for (auto &Use : MRI->use_instructions(Def.getReg())) { in canMoveToBeginning() local
433 if (Use.isPHI() && Use.getParent() == &TargetMBB) { in canMoveToBeginning()
462 for (auto &Use : MI.uses()) { in canMoveToEnd() local
463 if (Use.isReg() && Use.getReg().isVirtual()) { in canMoveToEnd()
464 MachineInstr *DefInst = MRI->getVRegDef(Use.getReg()); in canMoveToEnd()
543 for (auto &Use : MRI->use_instructions(Def.getReg())) { in canMerge() local
544 if (Use.isPHI() && Use.getParent() == SourceRegion.BranchTargetBlock) { in canMerge()
552 if (Use.getParent() == SourceRegion.BranchBlock) { in canMerge()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp317 const MachineInstr *UseI = Use->getParent(); in isSafeToMove()
345 if (&PriorUse == Use) in isSafeToMove()
445 for (const MachineOperand &Use : MRI.use_nodbg_operands(Reg)) { in oneUseDominatesOtherUses() local
446 if (&Use == &OneUse) in oneUseDominatesOtherUses()
449 const MachineInstr *UseInst = Use.getParent(); in oneUseDominatesOtherUses()
458 if (&OneUse > &Use) in oneUseDominatesOtherUses()
839 MachineOperand &Use = TreeWalker.pop(); in runOnMachineFunction() local
842 if (!Use.isReg()) in runOnMachineFunction()
845 Register Reg = Use.getReg(); in runOnMachineFunction()
847 assert(!Use.isImplicit() && in runOnMachineFunction()
[all …]
/freebsd-14.2/contrib/diff/
H A DChangeLog495 Use new @copying directive.
980 Use check_stdout after printing help. Use execvp/perror_fatail rather
1340 (edit): Use it.
1541 (compare_files): Use it. Use memset, not bzero.
1794 (same_file): Use them.
2520 Use `const' more often.
2670 (install): Use it.
2918 (print_1_line): Use it.
2930 Use it for -D'=xxx', -E.
3106 (main): Use it.
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PromoteConstant.cpp262 return all_of(C->operands(), [](const Use &U) { in containsOnlyConstantData()
519 for (auto Use : IPI.second) { in insertDefinitions() local
522 findInsertionPoint(*Use.first, Use.second)) && in insertDefinitions()
526 dbgs() << "Use to update " << Use.second << ":"; in insertDefinitions()
527 Use.first->print(dbgs()); in insertDefinitions()
530 Use.first->setOperand(Use.second, LoadedCst); in insertDefinitions()
564 for (Use &U : I.operands()) { in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterBulk.h26 class Use; variable
42 SmallVector<Use *, 4> Uses;
71 void AddUse(unsigned Var, Use *U);

12345678910>>...62