/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Use.h | 43 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 D | User.h | 73 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument 127 template <int Idx, typename U> static Use &OpFrom(const U *that) { in OpFrom() 133 template <int Idx> Use &Op() { in Op() 136 template <int Idx> const Use &Op() const { in Op() 141 const Use *getHungOffOperands() const { in getHungOffOperands() 142 return *(reinterpret_cast<const Use *const *>(this) - 1); in getHungOffOperands() 145 Use *&getHungOffOperands() { return *(reinterpret_cast<Use **>(this) - 1); } in getHungOffOperands() 147 const Use *getIntrusiveOperands() const { in getIntrusiveOperands() 148 return reinterpret_cast<const Use *>(this) - NumUserOperands; in getIntrusiveOperands() 151 Use *getIntrusiveOperands() { in getIntrusiveOperands() [all …]
|
H A D | OperandTraits.h | 25 /// FixedNumOperandTraits - determine the allocation regime of the Use array 26 /// when it is a prefix to the User object, and the number of Use objects is 31 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() 63 /// VariadicOperandTraits - determine the allocation regime of the Use array 64 /// when it is a prefix to the User object, and the number of Use objects is 69 static Use *op_begin(SubClass* U) { in op_begin() 73 return reinterpret_cast<Use*>( in op_begin() [all...] |
H A D | Value.h | 20 #include "llvm/IR/Use.h" 106 /// User uses this value to find the Use list. 110 // Use the same type as the bitfield above so that MSVC will pack them. 119 Use *UseList; 124 template <typename UseT> // UseT == 'Use' or 'const Use' 170 use_iterator_impl<Use> UI; 171 explicit user_iterator_impl(Use *U) : UI(U) {} in user_iterator_impl() 211 Use &getUse() const { return *UI; } in getUse() 222 ~Value(); // Use deleteValu [all...] |
H A D | AbstractCallSite.h | 26 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/contrib/llvm-project/llvm/lib/IR/ |
H A D | User.cpp | 53 static_assert(alignof(Use) >= alignof(BasicBlock *), in allocHungoffUses() 57 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() 76 Use *OldOps = getOperandList(); in growHungoffUses() 78 Use *NewOps = getOperandList(); in growHungoffUses() 89 Use::zap(OldOps, OldOps + OldNumUses, true); in growHungoffUses() 135 ::operator new(Size + sizeof(Use) * Us + DescBytesToAllocate)); in allocateFixedOperandUser() 136 Use *Start = reinterpret_cast<Use *>(Storage + DescBytesToAllocate); in allocateFixedOperandUser() [all …]
|
H A D | Use.cpp | 14 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/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
H A D | SandboxIR.h | 88 sandboxir::Use Use; variable 90 OperandUseIterator(const class Use &Use) : Use(Use) {} in OperandUseIterator() argument 97 using value_type = sandboxir::Use; 106 return Use == Other.Use; 116 sandboxir::Use Use; variable 118 UserUseIterator(const class Use &Use) : Use(Use) {} in UserUseIterator() argument 123 using value_type = sandboxir::Use; 129 value_type operator*() const { return Use; } 132 return Use == Other.Use; 180 friend class Use; // For getting `Val`. variable [all …]
|
H A D | Use.h | 29 class Use { 30 llvm::Use *LLVMUse; 35 Use(llvm::Use *LLVMUse, User *Usr, Context &Ctx) in Use() function 37 Use() : LLVMUse(nullptr), Ctx(nullptr) {} in Use() function 51 bool operator==(const Use &Other) const { 55 bool operator!=(const Use &Other) const { return !(*this == Other); }
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | macb.txt | 5 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. 9 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb". 10 Use "atmel,sama5d2-gem" for the GEM IP (10/100) available on Atmel sama5d2 SoCs. 11 Use "atmel,sama5d29-gem" for GEM XL IP (10/100) available on Atmel sama5d29 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. 14 Use "atmel,sama5d4-gem" for the GEM IP (10/100) available on Atmel sama5d4 SoCs. [all …]
|
/freebsd/sys/contrib/openzfs/.github/codeql/custom-queries/cpp/ |
H A D | deprecatedFunctionUsage.ql | 30 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/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZRegisterInfo.cpp | 88 for (auto &Use : MRI->reg_nodbg_instructions(VirtReg)) in getRegAllocationHints() local 89 if (SystemZ::getTwoOperandOpcode(Use.getOpcode()) != -1) { in getRegAllocationHints() 93 if (VirtReg == Use.getOperand(0).getReg()) { in getRegAllocationHints() 94 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() 98 } else if (VirtReg == Use.getOperand(1).getReg()) { in getRegAllocationHints() 99 VRRegMO = &Use.getOperand(1); in getRegAllocationHints() 100 OtherMO = &Use in getRegAllocationHints() 140 for (auto &Use : MRI->reg_instructions(Reg)) { getRegAllocationHints() local [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptimizeSZextends.cpp | 77 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/contrib/llvm-project/llvm/lib/SandboxIR/ |
H A D | SandboxIR.cpp | 17 Value *Use::get() const { return Ctx->getValue(LLVMUse->get()); } in get() 19 void Use::set(Value *V) { LLVMUse->set(V->Val); } in set() 21 unsigned Use::getOperandNo() const { return Usr->getUseOperandNo(*this); } in getOperandNo() 24 void Use::dump(raw_ostream &OS) const { in dump() 52 void Use::dump() const { dump(dbgs()); } in dump() 55 Use OperandUseIterator::operator*() const { return Use; } in operator *() 58 assert(Use.LLVMUse != nullptr && "Already at end!"); in operator ++() 59 User *User = Use.getUser(); in operator ++() 60 Use = User->getOperandUseInternal(Use.getOperandNo() + 1, /*Verify=*/false); in operator ++() 67 llvm::Use *&LLVMUse = Use.LLVMUse; in operator ++() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/ |
H A D | Instruction.cpp | 197 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/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LiveRangeCalc.cpp | 87 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() 94 assert(UseMBB && "No MBB at Use"); in extend() 97 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend() 101 // Find the single reaching def, or determine if Use is jointly dominated by in extend() 105 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend() 192 SlotIndex Use, unsigned PhysReg, in findReachingDefs() argument 212 errs() << "Use of " << printReg(PhysReg, MRI->getTargetRegisterInfo()) in findReachingDefs() 214 const MachineInstr *MI = Indexes->getInstructionFromIndex(Use); in findReachingDefs() [all...] |
H A D | MachineLoopUtils.cpp | 62 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/contrib/llvm-project/llvm/lib/MCA/Stages/ |
H A D | ExecuteStage.cpp | 256 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/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | CaptureTracking.cpp | 57 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/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | CaptureTracking.h | 22 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 D | GuardUtils.h | 18 class Use; variable 54 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
|
H A D | DemandedBits.h | 37 class Use; variable 57 APInt getDemandedBits(Use *U); 63 bool isUseDead(Use *U); 99 SmallPtrSet<Use *, 16> DeadUses;
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | rt5640.txt | 41 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/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCBranchCoalescing.cpp | 432 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/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 313 static bool isSafeToMove(const MachineOperand *Def, const MachineOperand *Use, in isSafeToMove() argument 318 const MachineInstr *UseI = Use->getParent(); in isSafeToMove() 346 if (&PriorUse == Use) in isSafeToMove() 446 for (const MachineOperand &Use : MRI.use_nodbg_operands(Reg)) { in oneUseDominatesOtherUses() local 447 if (&Use == &OneUse) in oneUseDominatesOtherUses() 450 const MachineInstr *UseInst = Use.getParent(); in oneUseDominatesOtherUses() 459 if (&OneUse > &Use) in oneUseDominatesOtherUses() 842 MachineOperand &Use = TreeWalker.pop(); in runOnMachineFunction() local 845 if (!Use.isReg()) in runOnMachineFunction() 848 Register Reg = Use.getReg(); in runOnMachineFunction() [all …]
|