Lines Matching refs:UseInfo
74 class UseInfo { class
76 UseInfo(MachineRepresentation preferred, Truncation truncation) in UseInfo() function in v8::internal::compiler::__anoncb1f0a1d0111::UseInfo
78 static UseInfo TruncatingWord32() { in TruncatingWord32()
79 return UseInfo(MachineRepresentation::kWord32, Truncation::Word32()); in TruncatingWord32()
81 static UseInfo TruncatingWord64() { in TruncatingWord64()
82 return UseInfo(MachineRepresentation::kWord64, Truncation::Word64()); in TruncatingWord64()
84 static UseInfo Bool() { in Bool()
85 return UseInfo(MachineRepresentation::kBit, Truncation::Bool()); in Bool()
87 static UseInfo Float32() { in Float32()
88 return UseInfo(MachineRepresentation::kFloat32, Truncation::Float32()); in Float32()
90 static UseInfo Float64() { in Float64()
91 return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64()); in Float64()
93 static UseInfo PointerInt() { in PointerInt()
96 static UseInfo AnyTagged() { in AnyTagged()
97 return UseInfo(MachineRepresentation::kTagged, Truncation::Any()); in AnyTagged()
101 static UseInfo Any() { in Any()
102 return UseInfo(MachineRepresentation::kNone, Truncation::Any()); in Any()
104 static UseInfo None() { in None()
105 return UseInfo(MachineRepresentation::kNone, Truncation::None()); in None()
110 static UseInfo Float64TruncatingToWord32() { in Float64TruncatingToWord32()
111 return UseInfo(MachineRepresentation::kFloat64, Truncation::Word32()); in Float64TruncatingToWord32()
113 static UseInfo Word64TruncatingToWord32() { in Word64TruncatingToWord32()
114 return UseInfo(MachineRepresentation::kWord64, Truncation::Word32()); in Word64TruncatingToWord32()
116 static UseInfo AnyTruncatingToBool() { in AnyTruncatingToBool()
117 return UseInfo(MachineRepresentation::kNone, Truncation::Bool()); in AnyTruncatingToBool()
129 UseInfo TruncatingUseInfoFromRepresentation(MachineRepresentation rep) { in TruncatingUseInfoFromRepresentation()
132 return UseInfo::AnyTagged(); in TruncatingUseInfoFromRepresentation()
134 return UseInfo::Float64(); in TruncatingUseInfoFromRepresentation()
136 return UseInfo::Float32(); in TruncatingUseInfoFromRepresentation()
138 return UseInfo::TruncatingWord64(); in TruncatingUseInfoFromRepresentation()
142 return UseInfo::TruncatingWord32(); in TruncatingUseInfoFromRepresentation()
144 return UseInfo::Bool(); in TruncatingUseInfoFromRepresentation()
149 return UseInfo::None(); in TruncatingUseInfoFromRepresentation()
153 UseInfo UseInfoForBasePointer(const FieldAccess& access) { in UseInfoForBasePointer()
154 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); in UseInfoForBasePointer()
158 UseInfo UseInfoForBasePointer(const ElementAccess& access) { in UseInfoForBasePointer()
159 return access.tag() != 0 ? UseInfo::AnyTagged() : UseInfo::PointerInt(); in UseInfoForBasePointer()
214 void SetAndCheckInput(Node* node, int index, UseInfo use_info) { in SetAndCheckInput()
216 input_use_infos_.resize(node->InputCount(), UseInfo::None()); in SetAndCheckInput()
225 ZoneVector<UseInfo> input_use_infos_;
227 static bool IsUseLessGeneral(UseInfo use1, UseInfo use2) { in IsUseLessGeneral()
310 bool AddUse(UseInfo info) { in AddUse()
411 UseInfo use_info = UseInfo::None()) { in EnqueueInput()
538 void ConvertInput(Node* node, int index, UseInfo use) { in ConvertInput()
561 void ProcessInput(Node* node, int index, UseInfo use) { in ProcessInput()
591 ProcessInput(node, i, UseInfo::AnyTagged()); in VisitInputs()
600 void VisitBinop(Node* node, UseInfo left_use, UseInfo right_use, in VisitBinop()
612 void VisitBinop(Node* node, UseInfo input_use, NodeOutputInfo output) { in VisitBinop()
617 void VisitUnop(Node* node, UseInfo input_use, NodeOutputInfo output) { in VisitUnop()
631 VisitBinop(node, UseInfo::Float64(), NodeOutputInfo::Float64()); in VisitFloat64Binop()
634 VisitBinop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Int32()); in VisitInt32Binop()
637 VisitBinop(node, UseInfo::TruncatingWord32(), in VisitWord32TruncatingBinop()
641 VisitBinop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Uint32()); in VisitUint32Binop()
644 VisitBinop(node, UseInfo::TruncatingWord64(), NodeOutputInfo::Int64()); in VisitInt64Binop()
647 VisitBinop(node, UseInfo::TruncatingWord64(), NodeOutputInfo::Uint64()); in VisitUint64Binop()
650 VisitBinop(node, UseInfo::Float64(), NodeOutputInfo::Bool()); in VisitFloat64Cmp()
653 VisitBinop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Bool()); in VisitInt32Cmp()
656 VisitBinop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Bool()); in VisitUint32Cmp()
659 VisitBinop(node, UseInfo::TruncatingWord64(), NodeOutputInfo::Bool()); in VisitInt64Cmp()
662 VisitBinop(node, UseInfo::TruncatingWord64(), NodeOutputInfo::Bool()); in VisitUint64Cmp()
710 ProcessInput(node, 0, UseInfo::Bool()); in VisitSelect()
725 UseInfo input_use(output.representation(), truncation); in VisitSelect()
747 UseInfo input_use(output.representation(), truncation); in VisitPhi()
749 ProcessInput(node, i, i < values ? input_use : UseInfo::None()); in VisitPhi()
761 ProcessInput(node, i, UseInfo::None()); in VisitCall()
766 ProcessInput(node, i, UseInfo::None()); in VisitCall()
792 EnqueueInput(node, i, UseInfo::Any()); in VisitStateValues()
842 ProcessInput(node, 0, UseInfo::None()); in VisitNode()
862 ProcessInput(node, 0, UseInfo::Bool()); in VisitNode()
866 ProcessInput(node, 0, UseInfo::TruncatingWord32()); in VisitNode()
907 ProcessInput(node, 0, UseInfo::AnyTruncatingToBool()); in VisitNode()
925 ProcessInput(node, 0, UseInfo::AnyTruncatingToBool()); in VisitNode()
1055 VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1056 UseInfo::TruncatingWord32(), NodeOutputInfo::Int32()); in VisitNode()
1064 VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1065 UseInfo::TruncatingWord32(), NodeOutputInfo::Int32()); in VisitNode()
1073 VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1074 UseInfo::TruncatingWord32(), NodeOutputInfo::Uint32()); in VisitNode()
1082 VisitUnop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Int32()); in VisitNode()
1088 VisitUnop(node, UseInfo::TruncatingWord32(), NodeOutputInfo::Uint32()); in VisitNode()
1093 VisitUnop(node, UseInfo::Float64(), NodeOutputInfo::Bool()); in VisitNode()
1108 VisitUnop(node, UseInfo::AnyTagged(), NodeOutputInfo::NumberTagged()); in VisitNode()
1125 VisitBinop(node, UseInfo::AnyTagged(), NodeOutputInfo::Bool()); in VisitNode()
1132 VisitBinop(node, UseInfo::AnyTagged(), NodeOutputInfo::Bool()); in VisitNode()
1137 VisitBinop(node, UseInfo::AnyTagged(), NodeOutputInfo::Bool()); in VisitNode()
1142 VisitBinop(node, UseInfo::AnyTagged(), NodeOutputInfo::Bool()); in VisitNode()
1147 ProcessInput(node, 0, UseInfo::AnyTagged()); in VisitNode()
1170 ProcessInput(node, 0, UseInfo::PointerInt()); // buffer in VisitNode()
1171 ProcessInput(node, 1, UseInfo::TruncatingWord32()); // offset in VisitNode()
1172 ProcessInput(node, 2, UseInfo::TruncatingWord32()); // length in VisitNode()
1207 ProcessInput(node, 0, UseInfo::PointerInt()); // buffer in VisitNode()
1208 ProcessInput(node, 1, UseInfo::TruncatingWord32()); // offset in VisitNode()
1209 ProcessInput(node, 2, UseInfo::TruncatingWord32()); // length in VisitNode()
1221 ProcessInput(node, 1, UseInfo::TruncatingWord32()); // index in VisitNode()
1229 ProcessInput(node, 1, UseInfo::TruncatingWord32()); // index in VisitNode()
1238 ProcessInput(node, 0, UseInfo::AnyTagged()); in VisitNode()
1244 ProcessInput(node, 0, UseInfo::AnyTagged()); in VisitNode()
1257 ProcessInput(node, 0, UseInfo::AnyTagged()); // tagged pointer in VisitNode()
1258 ProcessInput(node, 1, UseInfo::PointerInt()); // index in VisitNode()
1267 ProcessInput(node, 0, UseInfo::AnyTagged()); // tagged pointer in VisitNode()
1268 ProcessInput(node, 1, UseInfo::PointerInt()); // index in VisitNode()
1277 return VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1287 return VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1290 return VisitBinop(node, UseInfo::TruncatingWord32(), in VisitNode()
1294 return VisitUnop(node, UseInfo::TruncatingWord32(), in VisitNode()
1339 return VisitBinop(node, UseInfo::TruncatingWord64(), in VisitNode()
1342 return VisitBinop(node, UseInfo::TruncatingWord64(), in VisitNode()
1347 node, UseInfo::TruncatingWord32(), in VisitNode()
1351 node, UseInfo::TruncatingWord32(), in VisitNode()
1354 return VisitUnop(node, UseInfo::Float64(), NodeOutputInfo::Float32()); in VisitNode()
1356 return VisitUnop(node, UseInfo::Float64(), NodeOutputInfo::Int32()); in VisitNode()
1359 return VisitUnop(node, UseInfo::Word64TruncatingToWord32(), in VisitNode()
1363 return VisitUnop(node, UseInfo::Float32(), NodeOutputInfo::Float64()); in VisitNode()
1366 node, UseInfo::TruncatingWord32(), in VisitNode()
1369 return VisitUnop(node, UseInfo::TruncatingWord32(), in VisitNode()
1373 return VisitUnop(node, UseInfo::Float64TruncatingToWord32(), in VisitNode()
1376 return VisitUnop(node, UseInfo::Float64TruncatingToWord32(), in VisitNode()
1391 return VisitUnop(node, UseInfo::Float64(), NodeOutputInfo::Float64()); in VisitNode()
1398 return VisitUnop(node, UseInfo::Float64(), NodeOutputInfo::Int32()); in VisitNode()
1401 return VisitBinop(node, UseInfo::Float64(), UseInfo::TruncatingWord32(), in VisitNode()
1461 void PrintUseInfo(UseInfo info) { in PrintUseInfo()