Searched refs:Use (Results 1 - 25 of 354) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DUse.h1 //===- llvm/Use.h - Definition of the Use class -----------------*- C++ -*-===//
10 /// This defines the Use class. The Use class represents the operand of an
11 /// instruction or some other User instance which refers to a Value. The Use
14 /// Pointer tagging is used to efficiently find the User corresponding to a Use
15 /// without having to store a User pointer in every Use. A User is preceded in
17 /// one of the fields (Prev) of the Use class are used to encode offsets to be
18 /// able to find that User given a pointer to any Use. For details, see:
38 /// A Use represent
55 class Use { class in namespace:llvm
101 Use(PrevPtrTag tag) { Prev.setInt(tag); } function in class:llvm::Use
[all...]
H A DOperandTraits.h25 /// 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) {
35 return reinterpret_cast<Use*>(U) - ARITY;
37 static Use *op_end(SubClass* U) {
38 return reinterpret_cast<Use*>(U);
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) {
73 return reinterpret_cast<Use*>(
[all...]
H A DUser.h23 #include "llvm/IR/Use.h"
73 User(Type *ty, unsigned vty, Use *, unsigned NumOps)
94 ~User() = default; // Use deleteValue() to delete a generic Instruction.
99 /// Free memory allocated for User and Use objects.
127 template <int Idx, typename U> static Use &OpFrom(const U *that) {
133 template <int Idx> Use &Op() {
136 template <int Idx> const Use &Op() const {
141 const Use *getHungOffOperands() const {
142 return *(reinterpret_cast<const Use *const *>(this) - 1);
145 Use *
[all...]
H A DDerivedUser.h17 class Use;
37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps,
H A DValue.h19 #include "llvm/IR/Use.h"
78 Use *UseList;
114 /// User uses this value to find the Use list.
118 // Use the same type as the bitfield above so that MSVC will pack them.
125 template <typename UseT> // UseT == 'Use' or 'const Use'
167 use_iterator_impl<Use> UI;
168 explicit user_iterator_impl(Use *U) : UI(U) {}
202 Use &getUse() const { return *UI; }
213 ~Value(); // Use deleteValu
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DUse.cpp1 //===-- Use.cpp - Implement the Use class ---------------------------------===//
9 #include "llvm/IR/Use.h"
16 void Use::swap(Use &RHS) {
40 User *Use::getUser() const {
41 const Use *End = getImpliedUser();
44 : reinterpret_cast<User *>(const_cast<Use *>(End));
47 unsigned Use::getOperandNo() const {
56 Use *Us
[all...]
H A DUser.cpp42 static_assert(alignof(Use) >= alignof(Use::UserRef),
44 static_assert(alignof(Use::UserRef) >= alignof(BasicBlock *),
49 size_t size = N * sizeof(Use) + sizeof(Use::UserRef);
52 Use *Begin = static_cast<Use*>(::operator new(size));
53 Use *End = Begin + N;
54 (void) new(End) Use::UserRef(const_cast<User*>(this), 1);
55 setOperandList(Use
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGuardUtils.h18 class Use;
49 bool parseWidenableBranch(User *U, Use *&Cond, Use *&WC, BasicBlock *&IfTrueBB,
H A DCaptureTracking.h19 class Use;
81 virtual bool shouldExplore(const Use *U);
86 virtual bool captured(const Use *U) = 0;
H A DLegacyDivergenceAnalysis.h43 bool isDivergentUse(const Use *U) const;
50 bool isUniformUse(const Use *U) const { return !isDivergentUse(U); }
66 DenseSet<const Use *> DivergentUses;
H A DDivergenceAnalysis.h80 bool isDivergentUse(const Use &U) const;
162 // Use simplified code path for LCSSA form.
199 bool isDivergentUse(const Use &U) const;
206 bool isUniformUse(const Use &U) const { return !isDivergentUse(U); }
/freebsd-11-stable/contrib/xz/src/liblzma/api/lzma/
H A Dhardware.h33 # error Never include this file directly. Use <lzma.h> instead.
H A Dbcj.h16 # error Never include this file directly. Use <lzma.h> instead.
H A Ddelta.h16 # error Never include this file directly. Use <lzma.h> instead.
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DLookup.h33 /// \param Use The nested name to be replaced.
41 std::string replaceNestedName(const NestedNameSpecifier *Use,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonOptimizeSZextends.cpp79 Instruction* Use = cast<Instruction>(*UI); local
80 SExtInst* SI = new SExtInst(&Arg, Use->getType());
82 (EVT::getEVT(Use->getType())));
84 Use->replaceAllUsesWith(SI);
87 Use->eraseFromParent();
133 const Use &TheUse = UI.getUse();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZRegisterInfo.cpp93 for (auto &Use : MRI->reg_nodbg_instructions(VirtReg))
94 if (SystemZ::getTwoOperandOpcode(Use.getOpcode()) != -1) {
98 if (VirtReg == Use.getOperand(0).getReg()) {
99 VRRegMO = &Use.getOperand(0);
100 OtherMO = &Use.getOperand(1);
101 if (Use.isCommutable())
102 CommuMO = &Use.getOperand(2);
103 } else if (VirtReg == Use.getOperand(1).getReg()) {
104 VRRegMO = &Use.getOperand(1);
105 OtherMO = &Use
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterBulk.h27 class Use;
43 SmallVector<Use *, 4> Uses;
72 void AddUse(unsigned Var, Use *U);
H A DSSAUpdater.h29 class Use;
115 void RewriteUse(Use &U);
122 void RewriteUseAfterInsertions(Use &U);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp192 if (!all_of(getUses(), [](const ReadState &Use) { return Use.isReady(); }))
206 if (!all_of(getUses(), [](const ReadState &Use) {
207 return Use.isPending() || Use.isReady();
232 for (ReadState &Use : getUses())
233 Use.cycleEvent();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupSetCC.cpp80 for (auto &Use : MRI->use_instructions(MI.getOperand(0).getReg()))
81 if (Use.getOpcode() == X86::MOVZX32rr8)
82 ZExt = &Use;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DPtrUseVisitor.cpp22 for (Use &U : I.uses()) {
H A DCaptureTracking.cpp34 bool CaptureTracker::shouldExplore(const Use *U) { return true; }
59 bool captured(const Use *U) override {
133 bool shouldExplore(const Use *U) override {
145 bool captured(const Use *U) override {
230 SmallVector<const Use *, DefaultMaxUsesToExplore> Worklist;
231 SmallSet<const Use *, DefaultMaxUsesToExplore> Visited;
235 for (const Use &U : V->uses()) {
250 const Use *U = Worklist.pop_back_val();
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.temporal2.ksh51 * Use two enablings of the same probe, so that cpu 0 will always
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DDeadArgumentElimination.h34 class Use;
125 Liveness MarkIfNotLive(RetOrArg Use, UseVector &MaybeLiveUses);
126 Liveness SurveyUse(const Use *U, UseVector &MaybeLiveUses,

Completed in 1012 milliseconds

1234567891011>>