Home
last modified time | relevance | path

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

12345678910>>...200

/external/llvm/include/llvm/IR/
DUse.h36 class Use; variable
40 template <> class PointerLikeTypeTraits<Use **> {
42 static inline void *getAsVoidPointer(Use **P) { return P; } in getAsVoidPointer()
43 static inline Use **getFromVoidPointer(void *P) { in getFromVoidPointer()
44 return static_cast<Use **>(P); in getFromVoidPointer()
66 class Use {
70 void swap(Use &RHS);
77 Use(const Use &U) = delete;
80 ~Use() { in ~Use()
88 Use(PrevPtrTag tag) : Val(nullptr) { Prev.setInt(tag); } in Use() function
[all …]
DUser.h70 User(Type *ty, unsigned vty, Use *, unsigned NumOps) in User() argument
104 template <int Idx, typename U> static Use &OpFrom(const U *that) { in OpFrom()
109 template <int Idx> Use &Op() { in Op()
112 template <int Idx> const Use &Op() const { in Op()
116 Use *&getHungOffOperands() { return *(reinterpret_cast<Use **>(this) - 1); } in getHungOffOperands()
118 Use *getIntrusiveOperands() { in getIntrusiveOperands()
119 return reinterpret_cast<Use *>(this) - NumUserOperands; in getIntrusiveOperands()
122 void setOperandList(Use *NewList) { in setOperandList()
128 Use *getOperandList() { in getOperandList()
131 const Use *getOperandList() const { in getOperandList()
[all …]
DOperandTraits.h32 static Use *op_begin(SubClass* U) { in op_begin()
33 return reinterpret_cast<Use*>(U) - ARITY; in op_begin()
35 static Use *op_end(SubClass* U) { in op_end()
36 return reinterpret_cast<Use*>(U); in op_end()
67 static Use *op_begin(SubClass* U) { in op_begin()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
70 static Use *op_end(SubClass* U) { in op_end()
71 return reinterpret_cast<Use*>(U); in op_end()
94 static Use *op_begin(User* U) { in op_begin()
97 static Use *op_end(User* U) { in op_end()
[all …]
DValue.h73 Use *UseList;
158 use_iterator_impl<Use> UI;
159 explicit user_iterator_impl(Use *U) : UI(U) {} in user_iterator_impl()
192 Use &getUse() const { return *UI; } in getUse()
294 typedef use_iterator_impl<Use> use_iterator;
295 typedef use_iterator_impl<const Use> const_use_iterator;
397 void addUse(Use &U) { U.addToList(&UseList); } in addUse()
570 static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { in mergeUseLists()
571 Use *Merged; in mergeUseLists()
572 Use **Next = &Merged; in mergeUseLists()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DUse.h36 class Use; variable
42 class PointerLikeTypeTraits<Use**> {
44 static inline void *getAsVoidPointer(Use** P) { return P; } in getAsVoidPointer()
45 static inline Use **getFromVoidPointer(void *P) { in getFromVoidPointer()
46 return static_cast<Use**>(P); in getFromVoidPointer()
57 class Use {
61 void swap(Use &RHS);
69 Use(const Use &U);
72 ~Use() { in ~Use()
82 Use(PrevPtrTag tag) : Val(0) { in Use() function
[all …]
DOperandTraits.h32 static Use *op_begin(SubClass* U) { in op_begin()
33 return reinterpret_cast<Use*>(U) - ARITY; in op_begin()
35 static Use *op_end(SubClass* U) { in op_end()
36 return reinterpret_cast<Use*>(U); in op_end()
67 static Use *op_begin(SubClass* U) { in op_begin()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
70 static Use *op_end(SubClass* U) { in op_end()
71 return reinterpret_cast<Use*>(U); in op_end()
94 static Use *op_begin(User* U) { in op_begin()
97 static Use *op_end(User* U) { in op_end()
[all …]
DUser.h43 Use *OperandList;
50 User(Type *ty, unsigned vty, Use *OpList, unsigned NumOps) in User()
52 Use *allocHungoffUses(unsigned) const;
54 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses()
61 Use::zap(OperandList, OperandList + NumOperands); in ~User()
74 template <int Idx, typename U> static Use &OpFrom(const U *that) { in OpFrom()
79 template <int Idx> Use &Op() { in Op()
82 template <int Idx> const Use &Op() const { in Op()
97 const Use &getOperandUse(unsigned i) const { in getOperandUse()
101 Use &getOperandUse(unsigned i) { in getOperandUse()
[all …]
/external/llvm/lib/IR/
DUser.cpp46 static_assert(AlignOf<Use>::Alignment >= AlignOf<Use::UserRef>::Alignment, in allocHungoffUses()
48 static_assert(AlignOf<Use::UserRef>::Alignment >= in allocHungoffUses()
54 size_t size = N * sizeof(Use) + sizeof(Use::UserRef); in allocHungoffUses()
57 Use *Begin = static_cast<Use*>(::operator new(size)); in allocHungoffUses()
58 Use *End = Begin + N; in allocHungoffUses()
59 (void) new(End) Use::UserRef(const_cast<User*>(this), 1); in allocHungoffUses()
60 setOperandList(Use::initTags(Begin, End)); in allocHungoffUses()
72 Use *OldOps = getOperandList(); in growHungoffUses()
74 Use *NewOps = getOperandList(); in growHungoffUses()
82 reinterpret_cast<char *>(OldOps + OldNumUses) + sizeof(Use::UserRef); in growHungoffUses()
[all …]
DUse.cpp17 void Use::swap(Use &RHS) { in swap()
41 User *Use::getUser() const { in getUser()
42 const Use *End = getImpliedUser(); in getUser()
45 : reinterpret_cast<User *>(const_cast<Use *>(End)); in getUser()
48 unsigned Use::getOperandNo() const { in getOperandNo()
57 Use *Use::initTags(Use *const Start, Use *Stop) { in initTags()
67 new (Stop) Use(tags[Done++]); in initTags()
74 new (Stop) Use(stopTag); in initTags()
78 new (Stop) Use(PrevPtrTag(Count & 1)); in initTags()
87 void Use::zap(Use *Start, const Use *Stop, bool del) { in zap()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DUse.cpp22 void Use::swap(Use &RHS) { in swap()
51 const Use *Use::getImpliedUser() const { in getImpliedUser()
52 const Use *Current = this; in getImpliedUser()
88 Use *Use::initTags(Use * const Start, Use *Stop) { in initTags()
101 new(Stop) Use(tags[Done++]); in initTags()
108 new(Stop) Use(stopTag); in initTags()
112 new(Stop) Use(PrevPtrTag(Count & 1)); in initTags()
125 void Use::zap(Use *Start, const Use *Stop, bool del) { in zap()
127 (--Stop)->~Use(); in zap()
136 User *Use::getUser() const { in getUser()
[all …]
DUser.cpp42 Use *User::allocHungoffUses(unsigned N) const { in allocHungoffUses()
45 size_t size = N * sizeof(Use) + sizeof(Use::UserRef); in allocHungoffUses()
46 Use *Begin = static_cast<Use*>(::operator new(size)); in allocHungoffUses()
47 Use *End = Begin + N; in allocHungoffUses()
48 (void) new(End) Use::UserRef(const_cast<User*>(this), 1); in allocHungoffUses()
49 return Use::initTags(Begin, End); in allocHungoffUses()
57 void *Storage = ::operator new(s + sizeof(Use) * Us); in operator new()
58 Use *Start = static_cast<Use*>(Storage); in operator new()
59 Use *End = Start + Us; in operator new()
63 Use::initTags(Start, End); in operator new()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-linked_ptr_test.cc51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anon982a64800111::A
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() function in __anon982a64800111::B
110 a3->Use(); in TEST_F()
111 a4->Use(); in TEST_F()
112 a5->Use(); in TEST_F()
113 a6->Use(); in TEST_F()
114 b0->Use(); in TEST_F()
115 (*b0).Use(); in TEST_F()
116 b0.get()->Use(); in TEST_F()
119 a0->Use(); in TEST_F()
[all …]
/external/googletest/googletest/test/
Dgtest-linked_ptr_test.cc51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anonb7d9ee0b0111::A
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() function in __anonb7d9ee0b0111::B
110 a3->Use(); in TEST_F()
111 a4->Use(); in TEST_F()
112 a5->Use(); in TEST_F()
113 a6->Use(); in TEST_F()
114 b0->Use(); in TEST_F()
115 (*b0).Use(); in TEST_F()
116 b0.get()->Use(); in TEST_F()
119 a0->Use(); in TEST_F()
[all …]
/external/v8/testing/gtest/test/
Dgtest-linked_ptr_test.cc51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anon9c2c40d30111::A
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() function in __anon9c2c40d30111::B
110 a3->Use(); in TEST_F()
111 a4->Use(); in TEST_F()
112 a5->Use(); in TEST_F()
113 a6->Use(); in TEST_F()
114 b0->Use(); in TEST_F()
115 (*b0).Use(); in TEST_F()
116 b0.get()->Use(); in TEST_F()
119 a0->Use(); in TEST_F()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-linked_ptr_test.cc51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anonae11dae10111::A
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() function in __anonae11dae10111::B
110 a3->Use(); in TEST_F()
111 a4->Use(); in TEST_F()
112 a5->Use(); in TEST_F()
113 a6->Use(); in TEST_F()
114 b0->Use(); in TEST_F()
115 (*b0).Use(); in TEST_F()
116 b0.get()->Use(); in TEST_F()
119 a0->Use(); in TEST_F()
[all …]
/external/libchrome/base/memory/
Dlinked_ptr_unittest.cc21 virtual void Use() { history += base::StringPrintf("A%d use\n", mynum); } in Use() function
29 void Use() override { history += base::StringPrintf("B%d use\n", mynum); } in Use() function
66 a3->Use(); in TEST()
67 a4->Use(); in TEST()
68 a5->Use(); in TEST()
69 a6->Use(); in TEST()
70 b0->Use(); in TEST()
71 (*b0).Use(); in TEST()
72 b0.get()->Use(); in TEST()
75 a0->Use(); in TEST()
[all …]
/external/protobuf/gtest/test/
Dgtest-linked_ptr_test.cc51 virtual void Use() { *history << "A" << mynum << " use\n"; } in Use() function in __anonbe1ab5c90111::A
61 virtual void Use() { *history << "B" << mynum << " use\n"; } in Use() function in __anonbe1ab5c90111::B
109 a3->Use(); in TEST_F()
110 a4->Use(); in TEST_F()
111 a5->Use(); in TEST_F()
112 a6->Use(); in TEST_F()
113 b0->Use(); in TEST_F()
114 (*b0).Use(); in TEST_F()
115 b0.get()->Use(); in TEST_F()
118 a0->Use(); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTX.td33 "Use PTX Language Version 2.0">;
36 "Use PTX Language Version 2.1">;
39 "Use PTX Language Version 2.2">;
42 "Use PTX Language Version 2.3">;
47 "Use Shader Model 1.0">;
49 "Use Shader Model 1.1">;
51 "Use Shader Model 1.2">;
53 "Use Shader Model 1.3">;
55 "Use Shader Model 2.0", [FeatureDouble]>;
57 "Use Shader Model 2.1", [FeatureDouble]>;
[all …]
/external/v8/src/compiler/
Dnode.cc13 sizeof(OutOfLineInputs) + capacity * (sizeof(Node*) + sizeof(Use)); in New()
16 reinterpret_cast<OutOfLineInputs*>(raw_buffer + capacity * sizeof(Use)); in New()
23 void Node::OutOfLineInputs::ExtractFrom(Use* old_use_ptr, Node** old_input_ptr, in ExtractFrom()
27 Use* new_use_ptr = reinterpret_cast<Use*>(this) - 1; in ExtractFrom()
31 Use::InputIndexField::encode(current) | Use::InlineField::encode(false); in ExtractFrom()
55 Use* use_ptr; in New()
84 use_ptr = reinterpret_cast<Use*>(outline); in New()
94 size_t size = sizeof(Node) + capacity * (sizeof(Node*) + sizeof(Use)); in New()
97 reinterpret_cast<void*>(raw_buffer + capacity * sizeof(Use)); in New()
101 use_ptr = reinterpret_cast<Use*>(node); in New()
[all …]
Dnode.h93 Use* use = GetUsePtr(index); in ReplaceInput()
194 struct Use;
204 void ExtractFrom(Use* use_ptr, Node** input_ptr, int count);
209 struct Use { struct
210 Use* next; argument
211 Use* prev; argument
218 Use* start = this + 1 + index; in input_ptr() argument
226 Use* start = this + 1 + input_index(); in from() argument
278 Use* GetUsePtr(int input_index) { in GetUsePtr()
279 Use* ptr = has_inline_inputs() ? reinterpret_cast<Use*>(this) in GetUsePtr()
[all …]
/external/icu/icu4c/source/
DrunConfigureICU39 AIX Use the IBM Visual Age xlc_r/xlC_r compilers on AIX
40 AIX/GCC Use the GNU gcc/g++ compilers on AIX
41 Cygwin Use the GNU gcc/g++ compilers on Cygwin
42 Cygwin/MSVC Use the Microsoft Visual C++ compiler on Cygwin
43 Cygwin/MSVC2005 Use the Microsoft Visual C++ 2005 compiler on Cygwin
44 Cygwin/ICL Use the Intel C++ compiler on Cygwin
45 FreeBSD Use the clang/clang++ or GNU gcc/g++ compilers on FreeBSD
46 HP-UX/ACC Use the HP ANSI C/Advanced C++ compilers on HP-UX 11
47 IBMi Use the iCC compilers on IBM i, i5/OS, OS/400
48 Linux Use the clang/clang++ or GNU gcc/g++ compilers on Linux
[all …]
/external/llvm/unittests/IR/
DWaymarkTest.cpp35 const Use *U = &A->getOperandUse(0); in TEST()
36 const Use *Ue = &A->getOperandUse(22); in TEST()
45 Use* many = (Use*)calloc(sizeof(Use), 8212 + 1); in TEST()
47 Use::initTags(many, many + 8212); in TEST()
48 for (Use *U = many, *Ue = many + 8212 - 1; U != Ue; ++U) in TEST()
/external/v8/src/compiler/x87/
Dinstruction-selector-x87.cc458 inputs[input_count++] = g.Use(right); in VisitBinop()
628 g.Use(node->InputAt(2))); in VisitInt32PairAdd()
653 g.Use(node->InputAt(2))); in VisitInt32PairSub()
680 g.Use(node->InputAt(2))); in VisitInt32PairMul()
733 Emit(kX87Lzcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); in VisitWord32Clz()
748 Emit(kX87Popcnt, g.DefineAsRegister(node), g.Use(node->InputAt(0))); in VisitWord32Popcnt()
785 Emit(kX87Neg, g.DefineSameAsFirst(node), g.Use(m.right().node())); in VisitInt32Sub()
804 Emit(kX87Imul, g.DefineAsRegister(node), g.Use(left), in VisitInt32Mul()
811 g.Use(right)); in VisitInt32Mul()
849 g.Use(node->InputAt(0))); in VisitChangeFloat32ToFloat64()
[all …]
/external/llvm/lib/Target/AMDGPU/
DGCNHazardRecognizer.cpp213 for (const MachineOperand &Use : SMRD->uses()) { in checkSMRDHazards() local
214 if (!Use.isReg()) in checkSMRDHazards()
217 SmrdSgprWaitStates - getWaitStatesSinceDef(Use.getReg(), IsHazardDefFn); in checkSMRDHazards()
237 for (const MachineOperand &Use : VMEM->uses()) { in checkVMEMHazards() local
238 if (!Use.isReg() || TRI.isVGPR(MF.getRegInfo(), Use.getReg())) in checkVMEMHazards()
242 VmemSgprWaitStates - getWaitStatesSinceDef(Use.getReg(), IsHazardDefFn); in checkVMEMHazards()
255 for (const MachineOperand &Use : DPP->uses()) { in checkDPPHazards() local
256 if (!Use.isReg() || !TRI->isVGPR(MF.getRegInfo(), Use.getReg())) in checkDPPHazards()
259 DppVgprWaitStates - getWaitStatesSinceDef(Use.getReg()); in checkDPPHazards()
/external/clang/test/Modules/
Dmerge-using-decls.cpp18 template<typename T> int Use() { in Use() function
27 …return Use<C<T> >() + Use<D<T> >() + Use<E<T> >() + Use<F<T> >(); // expected-note 0-2{{instantiat… in UseAll()

12345678910>>...200