Home
last modified time | relevance | path

Searched refs:GetType (Results 1 – 25 of 544) sorted by relevance

12345678910>>...22

/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() != SENode::Negative) in Simplify()
220 if (child->GetType() == SENode::RecurrentAddExpr) { in Simplify()
[all …]
Dscalar_analysis_nodes.h60 virtual SENodeType GetType() const = 0;
171 bool IsCantCompute() const { return GetType() == CanNotCompute; } in IsCantCompute()
218 SENodeType GetType() const final { return Constant; } in GetType() function
244 SENodeType GetType() const final { return RecurrentAddExpr; } in GetType() function
280 SENodeType GetType() const final { return Add; } in GetType() function
292 SENodeType GetType() const final { return Multiply; } in GetType() function
304 SENodeType GetType() const final { return Negative; } in GetType() function
320 SENodeType GetType() const final { return ValueUnknown; } in GetType() function
337 SENodeType GetType() const final { return CanNotCompute; } in GetType() function
Dscalar_analysis.cpp62 if (operand->GetType() == SENode::Constant) { in CreateNegation()
118 if (operand_1->GetType() == SENode::Constant && in CreateMultiplyNode()
119 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode()
135 if (operand_1->GetType() == SENode::Constant && in CreateSubtraction()
136 operand_2->GetType() == SENode::Constant) { in CreateSubtraction()
147 if (operand_1->GetType() == SENode::Constant && in CreateAddNode()
148 operand_2->GetType() == SENode::Constant) { in CreateAddNode()
312 if (value_node->GetType() != SENode::Add) in AnalyzePhiInstruction()
413 if (parent->GetType() != SENode::Add) return parent; in UpdateChildNode()
479 switch (GetType()) { in AsString()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp155 multiply->GetType() != SENode::Multiply) in AccumulatorsFromMultiply()
165 if (operand_1->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
166 operand_1->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
168 else if (operand_2->GetType() == SENode::ValueUnknown || in AccumulatorsFromMultiply()
169 operand_2->GetType() == SENode::RecurrentAddExpr) in AccumulatorsFromMultiply()
173 if (operand_1->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
175 else if (operand_2->GetType() == SENode::Constant) in AccumulatorsFromMultiply()
201 if (node_->GetType() != SENode::Add && node_->GetType() != SENode::Multiply && in Simplify()
202 node_->GetType() != SENode::Negative) in Simplify()
220 if (child->GetType() == SENode::RecurrentAddExpr) { in Simplify()
[all …]
Dscalar_analysis_nodes.h60 virtual SENodeType GetType() const = 0;
171 bool IsCantCompute() const { return GetType() == CanNotCompute; } in IsCantCompute()
218 SENodeType GetType() const final { return Constant; } in GetType() function
244 SENodeType GetType() const final { return RecurrentAddExpr; } in GetType() function
280 SENodeType GetType() const final { return Add; } in GetType() function
292 SENodeType GetType() const final { return Multiply; } in GetType() function
304 SENodeType GetType() const final { return Negative; } in GetType() function
320 SENodeType GetType() const final { return ValueUnknown; } in GetType() function
337 SENodeType GetType() const final { return CanNotCompute; } in GetType() function
Dscalar_analysis.cpp62 if (operand->GetType() == SENode::Constant) { in CreateNegation()
118 if (operand_1->GetType() == SENode::Constant && in CreateMultiplyNode()
119 operand_2->GetType() == SENode::Constant) { in CreateMultiplyNode()
135 if (operand_1->GetType() == SENode::Constant && in CreateSubtraction()
136 operand_2->GetType() == SENode::Constant) { in CreateSubtraction()
147 if (operand_1->GetType() == SENode::Constant && in CreateAddNode()
148 operand_2->GetType() == SENode::Constant) { in CreateAddNode()
312 if (value_node->GetType() != SENode::Add) in AnalyzePhiInstruction()
413 if (parent->GetType() != SENode::Add) return parent; in UpdateChildNode()
479 switch (GetType()) { in AsString()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp243 EXPECT_EQ(p.second, manager.GetType(p.first)->str()); in TEST()
244 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
277 Type* p100 = manager.GetType(100); in TEST()
278 Type* s150 = manager.GetType(150); in TEST()
321 Type* p100 = manager.GetType(100); in TEST()
322 Type* s150 = manager.GetType(150); in TEST()
323 Type* p200 = manager.GetType(200); in TEST()
324 Type* s250 = manager.GetType(250); in TEST()
371 EXPECT_EQ(manager.GetType(100), manager.GetType(200)); in TEST()
414 Type* p100 = manager.GetType(100); in TEST()
[all …]
Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() == SENode::ValueUnknown || in TEST_F()
[all …]
Dconstant_manager_test.cpp43 Type* struct_type_1 = context->get_type_mgr()->GetType(1); in TEST_F()
49 Type* struct_type_2 = context->get_type_mgr()->GetType(2); in TEST_F()
70 Type* struct_type_1 = context->get_type_mgr()->GetType(1); in TEST_F()
77 Type* struct_type_2 = context->get_type_mgr()->GetType(2); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp245 EXPECT_EQ(p.second, manager.GetType(p.first)->str()); in TEST()
246 EXPECT_EQ(p.first, manager.GetId(manager.GetType(p.first))); in TEST()
279 Type* p100 = manager.GetType(100); in TEST()
280 Type* s150 = manager.GetType(150); in TEST()
323 Type* p100 = manager.GetType(100); in TEST()
324 Type* s150 = manager.GetType(150); in TEST()
325 Type* p200 = manager.GetType(200); in TEST()
326 Type* s250 = manager.GetType(250); in TEST()
373 EXPECT_EQ(manager.GetType(100), manager.GetType(200)); in TEST()
416 Type* p100 = manager.GetType(100); in TEST()
[all …]
Dscalar_analysis.cpp133 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
136 EXPECT_TRUE(child_1->GetType() == SENode::Constant || in TEST_F()
137 child_1->GetType() == SENode::RecurrentAddExpr); in TEST_F()
140 EXPECT_TRUE(child_2->GetType() == SENode::Constant || in TEST_F()
141 child_2->GetType() == SENode::RecurrentAddExpr); in TEST_F()
145 EXPECT_EQ(simplified->GetType(), SENode::RecurrentAddExpr); in TEST_F()
147 EXPECT_EQ(simplified->GetChild(0)->GetType(), SENode::Constant); in TEST_F()
151 EXPECT_EQ(simplified->GetChild(1)->GetType(), SENode::Constant); in TEST_F()
259 EXPECT_EQ(node->GetType(), SENode::Add); in TEST_F()
262 EXPECT_TRUE(child_1->GetType() == SENode::ValueUnknown || in TEST_F()
[all …]
Dconstant_manager_test.cpp43 Type* struct_type_1 = context->get_type_mgr()->GetType(1); in TEST_F()
49 Type* struct_type_2 = context->get_type_mgr()->GetType(2); in TEST_F()
70 Type* struct_type_1 = context->get_type_mgr()->GetType(1); in TEST_F()
77 Type* struct_type_2 = context->get_type_mgr()->GetType(2); in TEST_F()
/external/v8/src/compiler/
Dtyped-optimization.cc106 Type const value_type = NodeProperties::GetType(value); in ReduceConvertReceiver()
120 Type const input_type = NodeProperties::GetType(input); in ReduceCheckHeapObject()
130 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNotTaggedHole()
145 Type const object_type = NodeProperties::GetType(object); in ReduceCheckMaps()
152 Type const map_type = NodeProperties::GetType(map); in ReduceCheckMaps()
167 Type const input_type = NodeProperties::GetType(input); in ReduceCheckNumber()
177 Type const input_type = NodeProperties::GetType(input); in ReduceCheckString()
187 Type const exp_type = NodeProperties::GetType(exp); in ReduceCheckEqualsInternalizedString()
189 Type const val_type = NodeProperties::GetType(val); in ReduceCheckEqualsInternalizedString()
199 Type const exp_type = NodeProperties::GetType(exp); in ReduceCheckEqualsSymbol()
[all …]
Dtype-narrowing-reducer.cc31 Type left_type = NodeProperties::GetType(node->InputAt(0)); in Reduce()
32 Type right_type = NodeProperties::GetType(node->InputAt(1)); in Reduce()
46 node->op(), NodeProperties::GetType(node->InputAt(0))); in Reduce()
52 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0)), \ in Reduce()
53 NodeProperties::GetType(node->InputAt(1))); \ in Reduce()
62 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0))); \ in Reduce()
73 Type original_type = NodeProperties::GetType(node); in Reduce()
/external/pdfium/core/fpdfdoc/
Dcpdf_formcontrol.cpp38 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetOnStateName()
39 GetType() == CPDF_FormField::RadioButton); in GetOnStateName()
57 ASSERT(GetType() == CPDF_FormField::CheckBox || in SetOnStateName()
58 GetType() == CPDF_FormField::RadioButton); in SetOnStateName()
99 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetCheckedAPState()
100 GetType() == CPDF_FormField::RadioButton); in GetCheckedAPState()
102 if (GetType() == CPDF_FormField::RadioButton || in GetCheckedAPState()
103 GetType() == CPDF_FormField::CheckBox) { in GetCheckedAPState()
113 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetExportValue()
114 GetType() == CPDF_FormField::RadioButton); in GetExportValue()
[all …]
Dcpdf_formfield.cpp41 if (pField->GetType() == CPDF_FormField::CheckBox) in IsUnison()
303 if (GetType() == CheckBox || GetType() == RadioButton) in GetValue()
318 switch (pValue->GetType()) { in GetValue()
489 ASSERT(GetType() == ComboBox || GetType() == ListBox); in IsItemSelected()
532 ASSERT(GetType() == ComboBox || GetType() == ListBox); in SetItemSelection()
541 if (GetType() == ListBox) { in SetItemSelection()
562 if (GetType() == ListBox) { in SetItemSelection()
590 ASSERT(GetType() == ComboBox || GetType() == ListBox); in IsItemDefaultSelected()
598 ASSERT(GetType() == ComboBox || GetType() == ListBox); in GetDefaultSelectedItem()
710 ASSERT(GetType() == CheckBox || GetType() == RadioButton); in CheckControl()
[all …]
/external/pdfium/xfa/fwl/
Dcfx_barcode.cpp67 BC_TYPE CFX_Barcode::GetType() { in GetType() function in CFX_Barcode
68 return m_pBCEngine ? m_pBCEngine->GetType() : BC_UNKNOWN; in GetType()
92 switch (GetType()) { in SetPrintChecksum()
111 switch (GetType()) { in SetDataLength()
130 switch (GetType()) { in SetCalChecksum()
149 switch (GetType()) { in SetFont()
167 switch (GetType()) { in SetFontSize()
186 switch (GetType()) { in SetFontColor()
207 switch (GetType()) { in SetTextLocation()
228 switch (GetType()) { in SetWideNarrowRatio()
[all …]
/external/skia/modules/particles/include/
DSkReflected.h67 static const Type* GetType() { in GetType() function
107 static const Type* GetType() { \
108 static Type gType{ #TYPE, BASE::GetType(), CreateProc }; \
112 const Type* getType() const override { return GetType(); }
115 static const Type* GetType() { \
116 static Type gType{ #TYPE, BASE::GetType(), nullptr }; \
120 const Type* getType() const override { return GetType(); }
122 #define REGISTER_REFLECTED(TYPE) TYPE::GetType()
199 this->visit(newObj, T::GetType()); in visit()
201 if (!newObj || newObj->isOfType(T::GetType())) { in visit()
/external/libbrillo/brillo/
Dflag_helper.cc36 const char* GetType() const override { return "bool"; } in GetType() function in brillo::HelpFlag
67 const char* BoolFlag::GetType() const { in GetType() function in brillo::BoolFlag
83 const char* Int32Flag::GetType() const { in GetType() function in brillo::Int32Flag
99 const char* Int64Flag::GetType() const { in GetType() function in brillo::Int64Flag
115 const char* UInt64Flag::GetType() const { in GetType() function in brillo::UInt64Flag
131 const char* DoubleFlag::GetType() const { in GetType() function in brillo::DoubleFlag
149 const char* StringFlag::GetType() const { in GetType() function in brillo::StringFlag
225 flag->GetType(), in UpdateFlagValues()
260 flag->GetType(), in GetHelpMessage()
Dflag_helper.h81 virtual const char* GetType() const = 0;
99 const char* GetType() const override;
115 const char* GetType() const override;
130 const char* GetType() const override;
145 const char* GetType() const override;
160 const char* GetType() const override;
175 const char* GetType() const override;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dformat_conversion.h40 …if ((FormatTraits<SrcFormat>::GetType(0) == SWR_TYPE_FLOAT) && (FormatTraits<SrcFormat>::GetBPC(0)… in LoadSOA()
87 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_UNORM) in Clamp()
92 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_SNORM) in Clamp()
100 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_UINT) in Clamp()
109 else if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_SINT) in Clamp()
149 …if ((FormatTraits<DstFormat>::GetType(0) == SWR_TYPE_FLOAT) && (FormatTraits<DstFormat>::GetBPC(0)… in StoreSOA()
210 …if ((FormatTraits<SrcFormat>::GetType(0) == SWR_TYPE_FLOAT) && (FormatTraits<SrcFormat>::GetBPC(0)… in LoadSOA()
257 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_UNORM) in Clamp()
262 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_SNORM) in Clamp()
270 if (FormatTraits<Format>::GetType(Component) == SWR_TYPE_UINT) in Clamp()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DPlatformApis.cs66 isMono = Type.GetType("Mono.Runtime") != null; in PlatformApis()
69 var unityApplicationClass = Type.GetType(UnityEngineApplicationClassName); in PlatformApis()
86 isXamarinIOS = Type.GetType(XamarinIOSObjectClassName) != null; in PlatformApis()
87 isXamarinAndroid = Type.GetType(XamarinAndroidObjectClassName) != null; in PlatformApis()
175 …return Type.GetType(UnityEngineApplicationClassName).GetTypeInfo().GetProperty("platform").GetValu… in GetUnityRuntimePlatform()
177 …return Type.GetType(UnityEngineApplicationClassName).GetProperty("platform").GetValue(null).ToStri… in GetUnityRuntimePlatform()
/external/pdfium/fxjs/xfa/
Dcjx_packet.cpp34 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in getAttribute()
49 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in setAttribute()
63 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in removeAttribute()
77 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in content()
85 if (pXMLNode && pXMLNode->GetType() == FX_XMLNODE_Element) { in content()
/external/gptfdisk/
Dmbr.cc81 if ((partitions[i].GetType() != 0xEE) && (partitions[i].GetType() != 0x00)) in OptimizeEESize()
83 if (partitions[i].GetType() == 0xEE) { in OptimizeEESize()
119 if ((partitions[i].GetType() != 0xEE) && (partitions[i].GetStartLBA() == start32) in DeleteByLocation()
147 origType = origPart->GetType(); in AsGPT()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dsort_util.cc156 thread_id = b->CreateIntCast(thread_id, tiled_keys_index.GetType(), in EmitTiledCompareLoop()
195 tiled_keys_index.GetType()); in EmitTiledCompareLoop()
247 element_pair_index, xor_mask, tiled_keys_index.GetType(), in EmitTiledCompareLoop()
253 tiled_keys_index.GetType(), element_address, write_element, in EmitTiledCompareLoop()
260 tiled_keys_index.GetType(), element_address, write_element, in EmitTiledCompareLoop()
273 tiled_keys_index.GetType()); in EmitTiledCompareLoop()
361 tiles_index.GetType()); in EmitSortInPlace()
371 tiles_index.GetType()); in EmitSortInPlace()
379 tiles_index.GetType()); in EmitSortInPlace()
384 xor_masks[0], tiles_index.GetType(), element_address, write_element, in EmitSortInPlace()

12345678910>>...22