Home
last modified time | relevance | path

Searched refs:ElementAccess (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/compiler/
Dsimplified-operator.h87 struct ElementAccess { struct
96 bool operator==(ElementAccess const&, ElementAccess const&); argument
97 bool operator!=(ElementAccess const&, ElementAccess const&);
99 size_t hash_value(ElementAccess const&);
101 std::ostream& operator<<(std::ostream&, ElementAccess const&);
103 ElementAccess const& ElementAccessOf(const Operator* op) WARN_UNUSED_RESULT;
185 const Operator* LoadElement(ElementAccess const&);
188 const Operator* StoreElement(ElementAccess const&);
Daccess-builder.cc332 ElementAccess AccessBuilder::ForFixedArrayElement() { in ForFixedArrayElement()
333 ElementAccess access = {kTaggedBase, FixedArray::kHeaderSize, Type::Tagged(), in ForFixedArrayElement()
340 ElementAccess AccessBuilder::ForFixedDoubleArrayElement() { in ForFixedDoubleArrayElement()
341 ElementAccess access = {kTaggedBase, FixedDoubleArray::kHeaderSize, in ForFixedDoubleArrayElement()
348 ElementAccess AccessBuilder::ForTypedArrayElement(ExternalArrayType type, in ForTypedArrayElement()
354 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement()
360 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), in ForTypedArrayElement()
365 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement()
370 ElementAccess access = {taggedness, header_size, Type::Unsigned32(), in ForTypedArrayElement()
375 ElementAccess access = {taggedness, header_size, Type::Signed32(), in ForTypedArrayElement()
[all …]
Dsimplified-operator.cc118 bool operator==(ElementAccess const& lhs, ElementAccess const& rhs) { in operator ==()
125 bool operator!=(ElementAccess const& lhs, ElementAccess const& rhs) { in operator !=()
130 size_t hash_value(ElementAccess const& access) { in hash_value()
136 std::ostream& operator<<(std::ostream& os, ElementAccess const& access) { in operator <<()
152 const ElementAccess& ElementAccessOf(const Operator* op) { in ElementAccessOf()
156 return OpParameter<ElementAccess>(op); in ElementAccessOf()
299 V(LoadElement, ElementAccess, Operator::kNoWrite, 2, 1, 1) \
300 V(StoreElement, ElementAccess, Operator::kNoRead, 3, 1, 0)
Daccess-builder.h124 static ElementAccess ForFixedArrayElement();
127 static ElementAccess ForFixedDoubleArrayElement();
130 static ElementAccess ForTypedArrayElement(ExternalArrayType type,
Dchange-lowering.h16 struct ElementAccess;
59 Node* ComputeIndex(const ElementAccess& access, Node* const key);
Descape-analysis.cc1287 ElementAccess access = OpParameter<ElementAccess>(node); in ProcessLoadElement()
1303 ElementAccess access = OpParameter<ElementAccess>(node); in ProcessLoadElement()
1349 ElementAccess access = OpParameter<ElementAccess>(node); in ProcessStoreElement()
Drepresentation-change.h101 MachineType TypeForBasePointer(const ElementAccess& access) { in TypeForBasePointer()
Dchange-lowering.cc508 Node* ChangeLowering::ComputeIndex(const ElementAccess& access, in ComputeIndex()
533 const ElementAccess& access = ElementAccessOf(node->op()); in LoadElement()
541 const ElementAccess& access = ElementAccessOf(node->op()); in StoreElement()
Dsimplified-lowering.cc158 UseInfo UseInfoForBasePointer(const ElementAccess& access) { in UseInfoForBasePointer()
1219 ElementAccess access = ElementAccessOf(node->op()); in VisitNode()
1227 ElementAccess access = ElementAccessOf(node->op()); in VisitNode()
Djs-native-context-specialization.cc713 ElementAccess element_access = {kTaggedBase, FixedArray::kHeaderSize, in ReduceElementAccess()
Djs-typed-lowering.cc51 void Store(ElementAccess const& access, Node* index, Node* value) { in Store()
2807 ElementAccess access = IsFastDoubleElementsKind(elements_kind) in AllocateElements()
Dwasm-compiler.cc1416 ElementAccess access = AccessBuilder::ForFixedArrayElement(); in CallIndirect()
/external/v8/test/unittests/compiler/
Dsimplified-operator-unittest.cc202 const ElementAccess kElementAccesses[] = {
243 public ::testing::WithParamInterface<ElementAccess> {};
248 const ElementAccess& access = GetParam(); in TEST_P()
268 const ElementAccess& access = GetParam(); in TEST_P()
Dchange-lowering-unittest.cc241 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, Type::Any(), in TARGET_TEST_P()
268 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, in TARGET_TEST_P()
292 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, Type::Any(), in TARGET_TEST_P()
316 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, in TARGET_TEST_P()
Dnode-test-utils.h32 struct ElementAccess;
238 Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher,
243 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher,
Dnode-test-utils.cc1076 IsLoadElementMatcher(const Matcher<ElementAccess>& access_matcher, in IsLoadElementMatcher()
1105 PrintMatchAndExplain(OpParameter<ElementAccess>(node), "access", in MatchAndExplain()
1118 const Matcher<ElementAccess> access_matcher_;
1128 IsStoreElementMatcher(const Matcher<ElementAccess>& access_matcher, in IsStoreElementMatcher()
1161 PrintMatchAndExplain(OpParameter<ElementAccess>(node), "access", in MatchAndExplain()
1176 const Matcher<ElementAccess> access_matcher_;
1966 Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher, in IsLoadElement()
1977 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, in IsStoreElement()
Djs-typed-lowering-unittest.cc675 ElementAccess access = AccessBuilder::ForTypedArrayElement(type, true); in TEST_F()
808 ElementAccess access = AccessBuilder::ForTypedArrayElement(type, true); in TEST_F()
/external/v8/test/cctest/compiler/
Dtest-simplified-lowering.cc234 ElementAccess access = AccessBuilder::ForFixedArrayElement(); in TEST()
258 ElementAccess buffer_access = in TEST()
342 ElementAccess access = {kUntaggedBase, offset, Type::Integral32(), in TEST()
368 ElementAccess access = {kUntaggedBase, offset, Type::Integral32(), in TEST()
434 ElementAccess access = GetElementAccess(); in RunCopyElement()
518 ElementAccess GetElementAccess() { in GetElementAccess()
519 ElementAccess access = {tagged ? kTaggedBase : kUntaggedBase, in GetElementAccess()
1302 Node* CheckElementAccessArithmetic(ElementAccess access, Node* load_or_store) { in CheckElementAccessArithmetic()
1405 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, in TEST()
1428 ElementAccess access = {kTaggedBase, FixedArrayBase::kHeaderSize, in TEST()
[all …]
Dgraph-builder-tester.h184 Node* LoadElement(const ElementAccess& access, Node* object, Node* index) { in LoadElement()
187 Node* StoreElement(const ElementAccess& access, Node* object, Node* index, in StoreElement()