Home
last modified time | relevance | path

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

12345678910>>...55

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DUse.h44 class Use {
46 Use(const Use &U) = delete;
50 void swap(Use &RHS);
54 ~Use() { in ~Use()
60 Use(User *Parent) : Parent(Parent) {} in Use() function
78 inline const Use &operator=(const Use &RHS);
83 Use *getNext() const { return Next; } in getNext()
90 static void zap(Use *Start, const Use *Stop, bool del = false);
95 Use *Next = nullptr;
96 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.h77 Use *UseList;
171 use_iterator_impl<Use> UI;
460 Use *getSingleUndroppableUse();
816 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
817 Use *Merged; in mergeUseLists()
818 Use **Next = &Merged; in mergeUseLists()
860 void Use::set(Value *V) { in set()
871 const Use &Use::operator=(const Use &RHS) {
887 Use *Slots[MaxSlots]; in sortUseList()
890 Use *Next = UseList->Next; in sortUseList()
[all …]
H A DAbstractCallSite.h98 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-13.1/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp51 size_t size = N * sizeof(Use); in allocHungoffUses()
54 Use *Begin = static_cast<Use*>(::operator new(size)); in allocHungoffUses()
55 Use *End = Begin + N; in allocHungoffUses()
58 new (Begin) Use(this); in allocHungoffUses()
130 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate); in allocateFixedOperandUser()
131 Use *End = Start + Us; in allocateFixedOperandUser()
137 new (Start) Use(Obj); in allocateFixedOperandUser()
158 Use **HungOffOperandList = static_cast<Use **>(Storage); in operator new()
180 Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; in operator delete()
186 Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; in operator delete()
[all …]
H A DUse.cpp16 void Use::swap(Use &RHS) { in swap()
33 unsigned Use::getOperandNo() const { in getOperandNo()
37 void Use::zap(Use *Start, const Use *Stop, bool del) { in zap()
39 (--Stop)->~Use(); in zap()
H A DReplaceConstant.cpp31 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> CEPaths; in convertConstantExprsToInstructions()
41 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> &CEPaths, in convertConstantExprsToInstructions() argument
44 for (Use &U : I->operands()) { in convertConstantExprsToInstructions()
80 std::map<Use *, std::vector<std::vector<ConstantExpr *>>> &CEPaths) { in collectConstantExprPaths() argument
81 for (Use &U : I->operands()) { in collectConstantExprPaths()
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgoogletest-linked-ptr-test.cc48 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anonadc51c010111::A
107 a3->Use(); in TEST_F()
108 a4->Use(); in TEST_F()
109 a5->Use(); in TEST_F()
110 a6->Use(); in TEST_F()
111 b0->Use(); in TEST_F()
112 (*b0).Use(); in TEST_F()
113 b0.get()->Use(); in TEST_F()
116 a0->Use(); in TEST_F()
117 a1->Use(); in TEST_F()
[all …]
/freebsd-13.1/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 "cdns,pc302-gem" for Picochip picoXcell pc302 and later devices based on
12 Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs.
13 Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
14 Use "atmel,sama5d3-gem" for the Gigabit IP available on Atmel sama5d3 SoCs.
16 Use "cdns,zynq-gem" Xilinx Zynq-7xxx SoC.
17 Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC.
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.td65 "Use PTX version 3.2">;
67 "Use PTX version 4.0">;
69 "Use PTX version 4.1">;
71 "Use PTX version 4.2">;
73 "Use PTX version 4.3">;
75 "Use PTX version 5.0">;
77 "Use PTX version 6.0">;
79 "Use PTX version 6.1">;
81 "Use PTX version 6.3">;
83 "Use PTX version 6.4">;
[all …]
/freebsd-13.1/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()
146 if (Use.getOpcode() == SystemZ::LOCRMux || in getRegAllocationHints()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp79 Instruction* Use = cast<Instruction>(*UI); in runOnFunction() local
80 SExtInst* SI = new SExtInst(&Arg, Use->getType()); in runOnFunction()
82 (EVT::getEVT(Use->getType()))); in runOnFunction()
84 Use->replaceAllUsesWith(SI); in runOnFunction()
87 Use->eraseFromParent(); in runOnFunction()
133 const Use &TheUse = UI.getUse(); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp185 if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); })) in updatePending() argument
199 if (!all_of(getUses(), [](const ReadState &Use) { in updateDispatched() argument
200 return Use.isPending() || Use.isReady(); in updateDispatched()
225 for (ReadState &Use : getUses()) in cycleEvent()
226 Use.cycleEvent(); in cycleEvent()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLegacyDivergenceAnalysis.h28 class Use; variable
48 bool isDivergentUse(const Use *U) const;
55 bool isUniformUse(const Use *U) const { return !isDivergentUse(U); } in isUniformUse()
72 DenseSet<const Use *> DivergentUses;
H A DGuardUtils.h18 class Use; variable
49 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
H A DCaptureTracking.h21 class Use; variable
78 virtual bool shouldExplore(const Use *U);
83 virtual bool captured(const Use *U) = 0;
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp89 void LiveRangeCalc::extend(LiveRange &LR, SlotIndex Use, unsigned PhysReg, in extend() argument
91 assert(Use.isValid() && "Invalid SlotIndex"); in extend()
95 MachineBasicBlock *UseMBB = Indexes->getMBBFromIndex(Use.getPrevSlot()); in extend()
107 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
194 SlotIndex Use, unsigned PhysReg, in findReachingDefs() argument
216 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use); in findReachingDefs()
218 errs() << Use << " " << *MI; in findReachingDefs()
266 Use = SlotIndex(); in findReachingDefs()
288 if (BN == UseMBBNum && Use.isValid()) in findReachingDefs()
289 End = Use; in findReachingDefs()
[all …]
H A DMachineLoopUtils.cpp63 for (auto &Use : MRI.use_operands(OrigR)) in PeelSingleBlockLoop() local
64 if (Use.getParent()->getParent() != Loop) in PeelSingleBlockLoop()
65 Uses.push_back(&Use); in PeelSingleBlockLoop()
66 for (auto *Use : Uses) { in PeelSingleBlockLoop() local
67 MRI.constrainRegClass(R, MRI.getRegClass(Use->getReg())); in PeelSingleBlockLoop()
68 Use->setReg(R); in PeelSingleBlockLoop()
/freebsd-13.1/sys/contrib/device-tree/Bindings/sound/
H A Drt5640.txt38 1: Use GPIO1 for jack-detect
39 2: Use JD1_IN4P for jack-detect
40 3: Use JD2_IN4N for jack-detect
41 4: Use GPIO2 for jack-detect
42 5: Use GPIO3 for jack-detect
43 6: Use GPIO4 for jack-detect
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp57 bool CaptureTracker::shouldExplore(const Use *U) { return true; } in shouldExplore()
82 bool captured(const Use *U) override { in captured()
121 bool captured(const Use *U) override { in captured()
212 SmallVector<const Use *, 20> Worklist; in PointerMayBeCaptured()
214 SmallSet<const Use *, 20> Visited; in PointerMayBeCaptured()
218 for (const Use &U : V->uses()) { in PointerMayBeCaptured()
237 const Use *U = Worklist.pop_back_val(); in PointerMayBeCaptured()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchCoalescing.cpp435 for (auto &Use : MRI->use_instructions(Def.getReg())) { in canMoveToBeginning() local
436 if (Use.isPHI() && Use.getParent() == &TargetMBB) { in canMoveToBeginning()
465 for (auto &Use : MI.uses()) { in canMoveToEnd() local
466 if (Use.isReg() && Register::isVirtualRegister(Use.getReg())) { in canMoveToEnd()
467 MachineInstr *DefInst = MRI->getVRegDef(Use.getReg()); in canMoveToEnd()
546 for (auto &Use : MRI->use_instructions(Def.getReg())) { in canMerge() local
547 if (Use.isPHI() && Use.getParent() == SourceRegion.BranchTargetBlock) { in canMerge()
555 if (Use.getParent() == SourceRegion.BranchBlock) { in canMerge()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp318 const MachineInstr *UseI = Use->getParent(); in isSafeToMove()
342 if (&PriorUse == Use) in isSafeToMove()
441 for (const MachineOperand &Use : MRI.use_nodbg_operands(Reg)) { in oneUseDominatesOtherUses() local
442 if (&Use == &OneUse) in oneUseDominatesOtherUses()
445 const MachineInstr *UseInst = Use.getParent(); in oneUseDominatesOtherUses()
454 if (&OneUse > &Use) in oneUseDominatesOtherUses()
833 MachineOperand &Use = TreeWalker.pop(); in runOnMachineFunction() local
836 if (!Use.isReg()) in runOnMachineFunction()
839 Register Reg = Use.getReg(); in runOnMachineFunction()
841 assert(!Use.isImplicit() && in runOnMachineFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp269 Use, enumerator
387 classify(BO->getLHS(), Use); in VisitBinaryOperator()
396 classify(UO->getSubExpr(), Use); in VisitUnaryOperator()
401 classify(cast<Expr>(S), Use); in VisitOMPExecutableDirective()
422 classify(CE->getArg(0), Use); in VisitCallExpr()
448 classify(CE->getSubExpr(), Use); in VisitCastExpr()
509 return Use; in getUninitUse()
569 Use.setUninitAfterCall(); in getUninitUse()
588 Use.setUninitAfterDecl(); in getUninitUse()
671 return Use; in getUninitUse()
[all …]

12345678910>>...55