Home
last modified time | relevance | path

Searched refs:PrimitiveType (Results 1 – 25 of 315) sorted by relevance

12345678910>>...13

/external/tensorflow/tensorflow/compiler/xla/
Dprimitive_util.h34 int SignificandWidth(PrimitiveType type);
46 PrimitiveType NativeToPrimitiveType() { in NativeToPrimitiveType()
60 inline PrimitiveType NativeToPrimitiveType<bool>() {
66 inline PrimitiveType NativeToPrimitiveType<uint8>() {
71 inline PrimitiveType NativeToPrimitiveType<uint16>() {
76 inline PrimitiveType NativeToPrimitiveType<uint32>() {
81 inline PrimitiveType NativeToPrimitiveType<uint64>() {
87 inline PrimitiveType NativeToPrimitiveType<int8>() {
92 inline PrimitiveType NativeToPrimitiveType<int16>() {
97 inline PrimitiveType NativeToPrimitiveType<int32>() {
[all …]
Dprimitive_util.cc27 int SignificandWidth(PrimitiveType type) { in SignificandWidth()
42 bool IsFloatingPointType(PrimitiveType type) { in IsFloatingPointType()
46 bool IsComplexType(PrimitiveType type) { return type == C64 || type == C128; } in IsComplexType()
48 bool IsSignedIntegralType(PrimitiveType type) { in IsSignedIntegralType()
52 bool IsUnsignedIntegralType(PrimitiveType type) { in IsUnsignedIntegralType()
56 bool IsIntegralType(PrimitiveType type) { in IsIntegralType()
60 int BitWidth(PrimitiveType type) { in BitWidth()
100 xla::PrimitiveType UnsignedIntegralTypeForBitWidth(int64 src_bitwidth) { in UnsignedIntegralTypeForBitWidth()
115 PrimitiveType ComplexComponentType(PrimitiveType complex_type) { in ComplexComponentType()
127 bool IsArrayType(PrimitiveType primitive_type) { in IsArrayType()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/type/
DPrimitiveType.java36 public final class PrimitiveType extends Type<PrimitiveType> implements NodeWithAnnotations<Primiti… class
38 public static final PrimitiveType BYTE_TYPE = new PrimitiveType(Primitive.Byte);
40 public static final PrimitiveType SHORT_TYPE = new PrimitiveType(Primitive.Short);
42 public static final PrimitiveType INT_TYPE = new PrimitiveType(Primitive.Int);
44 public static final PrimitiveType LONG_TYPE = new PrimitiveType(Primitive.Long);
46 public static final PrimitiveType FLOAT_TYPE = new PrimitiveType(Primitive.Float);
48 public static final PrimitiveType DOUBLE_TYPE = new PrimitiveType(Primitive.Double);
50 public static final PrimitiveType BOOLEAN_TYPE = new PrimitiveType(Primitive.Boolean);
52 public static final PrimitiveType CHAR_TYPE = new PrimitiveType(Primitive.Char);
84 public PrimitiveType() { in PrimitiveType() method in PrimitiveType
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DPrimitiveType.java54 public final class PrimitiveType extends Type implements NodeWithAnnotations<PrimitiveType> { class
56 public static PrimitiveType booleanType() { in booleanType()
57 return new PrimitiveType(Primitive.BOOLEAN); in booleanType()
60 public static PrimitiveType charType() { in charType()
61 return new PrimitiveType(Primitive.CHAR); in charType()
64 public static PrimitiveType byteType() { in byteType()
65 return new PrimitiveType(Primitive.BYTE); in byteType()
68 public static PrimitiveType shortType() { in shortType()
69 return new PrimitiveType(Primitive.SHORT); in shortType()
72 public static PrimitiveType intType() { in intType()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.h58 StatusOr<llvm::Value*> EmitErfcInv(PrimitiveType prim_type,
61 StatusOr<llvm::Value*> EmitLog(PrimitiveType prim_type,
64 StatusOr<llvm::Value*> EmitLog1p(PrimitiveType prim_type,
67 StatusOr<llvm::Value*> EmitSin(PrimitiveType prim_type,
70 StatusOr<llvm::Value*> EmitCos(PrimitiveType prim_type,
73 StatusOr<llvm::Value*> EmitExp(PrimitiveType prim_type,
76 StatusOr<llvm::Value*> EmitExpm1(PrimitiveType prim_type,
79 StatusOr<llvm::Value*> EmitSqrt(PrimitiveType prim_type,
82 StatusOr<llvm::Value*> EmitRsqrt(PrimitiveType prim_type,
85 StatusOr<llvm::Value*> EmitPow(PrimitiveType prim_type, llvm::Value* lhs,
[all …]
Delemental_ir_emitter.cc79 absl::Span<const PrimitiveType> input_types, PrimitiveType output_type) { in EmitLibdeviceMathCall()
88 std::vector<PrimitiveType> converted_input_types(input_types.begin(), in EmitLibdeviceMathCall()
122 absl::Span<const PrimitiveType> input_types, PrimitiveType output_type) { in EmitLlvmIntrinsicMathCall()
145 absl::Span<const PrimitiveType> input_types, PrimitiveType output_type) { in EmitMathCall()
147 for (PrimitiveType input_type : input_types) { in EmitMathCall()
162 PrimitiveType lhs_input_type = op->operand(0)->shape().element_type(); in EmitFloatBinaryOp()
163 PrimitiveType rhs_input_type = op->operand(1)->shape().element_type(); in EmitFloatBinaryOp()
164 PrimitiveType output_type = op->shape().element_type(); in EmitFloatBinaryOp()
192 PrimitiveType lhs_input_type = op->operand(0)->shape().element_type(); in EmitPowerOp()
193 PrimitiveType rhs_input_type = op->operand(1)->shape().element_type(); in EmitPowerOp()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/
DASTHelper.java42 import com.github.javaparser.ast.type.PrimitiveType;
46 import com.github.javaparser.ast.type.PrimitiveType.Primitive;
58 public static final PrimitiveType BYTE_TYPE = new PrimitiveType(Primitive.Byte);
60 public static final PrimitiveType SHORT_TYPE = new PrimitiveType(Primitive.Short);
62 public static final PrimitiveType INT_TYPE = new PrimitiveType(Primitive.Int);
64 public static final PrimitiveType LONG_TYPE = new PrimitiveType(Primitive.Long);
66 public static final PrimitiveType FLOAT_TYPE = new PrimitiveType(Primitive.Float);
68 public static final PrimitiveType DOUBLE_TYPE = new PrimitiveType(Primitive.Double);
70 public static final PrimitiveType BOOLEAN_TYPE = new PrimitiveType(Primitive.Boolean);
72 public static final PrimitiveType CHAR_TYPE = new PrimitiveType(Primitive.Char);
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Darithmetic.h28 XlaComputation CreateScalarAddComputation(PrimitiveType type,
32 XlaComputation CreateScalarMultiplyComputation(PrimitiveType type,
36 XlaComputation CreateScalarGeComputation(PrimitiveType type,
40 XlaComputation CreateScalarMaxComputation(PrimitiveType type,
44 XlaComputation CreateScalarMinComputation(PrimitiveType type,
48 XlaComputation CreateScalarAndComputation(PrimitiveType type,
52 XlaComputation CreateScalarOrComputation(PrimitiveType type,
62 XlaOp ArgMax(XlaOp input, PrimitiveType output_type, int axis);
66 XlaOp ArgMin(XlaOp input, PrimitiveType output_type, int axis);
Dconstants.h34 XlaOp ConstantR0WithType(XlaBuilder* builder, PrimitiveType type, T value) { in ConstantR0WithType()
115 XlaOp Zero(XlaBuilder* builder, PrimitiveType type);
124 XlaOp One(XlaBuilder* builder, PrimitiveType type);
128 XlaOp Epsilon(XlaBuilder* builder, PrimitiveType type);
132 XlaOp MinValue(XlaBuilder* builder, PrimitiveType type);
136 XlaOp MinFiniteValue(XlaBuilder* builder, PrimitiveType type);
139 XlaOp MinPositiveNormalValue(XlaBuilder* builder, PrimitiveType type);
143 XlaOp MaxValue(XlaBuilder* builder, PrimitiveType type);
146 XlaOp MaxFiniteValue(XlaBuilder* builder, PrimitiveType type);
149 XlaOp NanValue(XlaBuilder* builder, PrimitiveType type);
Darithmetic.cc34 XlaComputation CreateScalarComputation(const string& name, PrimitiveType type, in CreateScalarComputation()
54 XlaComputation CreateScalarAddComputation(PrimitiveType type, in CreateScalarAddComputation()
63 XlaComputation CreateScalarMultiplyComputation(PrimitiveType type, in CreateScalarMultiplyComputation()
72 XlaComputation CreateScalarGeComputation(PrimitiveType type, in CreateScalarGeComputation()
79 XlaComputation CreateScalarMaxComputation(PrimitiveType type, in CreateScalarMaxComputation()
88 XlaComputation CreateScalarMinComputation(PrimitiveType type, in CreateScalarMinComputation()
97 XlaComputation CreateScalarAndComputation(PrimitiveType type, in CreateScalarAndComputation()
106 XlaComputation CreateScalarOrComputation(PrimitiveType type, in CreateScalarOrComputation()
128 XlaOp ArgMinMax(XlaOp input, PrimitiveType output_type, int axis, bool is_min) { in ArgMinMax()
178 XlaOp ArgMax(XlaOp input, PrimitiveType output_type, int axis) { in ArgMax()
[all …]
Dconstants.cc23 XlaOp Zero(XlaBuilder* builder, PrimitiveType type) { in Zero()
40 XlaOp One(XlaBuilder* builder, PrimitiveType type) { in One()
44 XlaOp Epsilon(XlaBuilder* builder, PrimitiveType type) { in Epsilon()
63 XlaOp MinValue(XlaBuilder* builder, PrimitiveType type) { in MinValue()
67 XlaOp MinFiniteValue(XlaBuilder* builder, PrimitiveType type) { in MinFiniteValue()
83 XlaOp MinPositiveNormalValue(XlaBuilder* builder, PrimitiveType type) { in MinPositiveNormalValue()
101 XlaOp MaxValue(XlaBuilder* builder, PrimitiveType type) { in MaxValue()
105 XlaOp MaxFiniteValue(XlaBuilder* builder, PrimitiveType type) { in MaxFiniteValue()
121 XlaOp NanValue(XlaBuilder* builder, PrimitiveType type) { in NanValue()
Dcomparators.cc40 PrimitiveType signed_type; in BitcastConvertFloatingPointToIntegral()
41 PrimitiveType unsigned_type; in BitcastConvertFloatingPointToIntegral()
93 const string& name, const std::vector<PrimitiveType>& operand_types, in CreateScalarComparisonComputation()
125 PrimitiveType compare_type = operand_types[0]; in CreateScalarComparisonComputation()
147 const std::vector<PrimitiveType>& operand_types, XlaBuilder* builder) { in CreateScalarLtComputation()
154 const std::vector<PrimitiveType>& operand_types, XlaBuilder* builder) { in CreateScalarGtComputation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_type_PrimitiveType.txt2 [ Class com.github.javaparser.ast.type.PrimitiveType ]
9 …>() ==> java.util.HashMap<java.lang.String, com.github.javaparser.ast.type.PrimitiveType.Primitive>
10 Line 57) Primitive unboxedType ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
11 Line 57) Primitive.values() ==> com.github.javaparser.ast.type.PrimitiveType.Primitive[]
12 …nboxedType.nameOfBoxedType, unboxedType) ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
13 Line 68) this.type = type ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
18 Line 74) this.type = type ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
21 Line 86) type ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
23 Line 94) this.type = type ==> com.github.javaparser.ast.type.PrimitiveType.Primitive
Dcom_github_javaparser_ASTHelper.txt4 Line 58) new PrimitiveType(Primitive.Byte) ==> com.github.javaparser.ast.type.PrimitiveType
5 Line 60) new PrimitiveType(Primitive.Short) ==> com.github.javaparser.ast.type.PrimitiveType
6 Line 62) new PrimitiveType(Primitive.Int) ==> com.github.javaparser.ast.type.PrimitiveType
7 Line 64) new PrimitiveType(Primitive.Long) ==> com.github.javaparser.ast.type.PrimitiveType
8 Line 66) new PrimitiveType(Primitive.Float) ==> com.github.javaparser.ast.type.PrimitiveType
9 Line 68) new PrimitiveType(Primitive.Double) ==> com.github.javaparser.ast.type.PrimitiveType
10 Line 70) new PrimitiveType(Primitive.Boolean) ==> com.github.javaparser.ast.type.PrimitiveType
11 Line 72) new PrimitiveType(Primitive.Char) ==> com.github.javaparser.ast.type.PrimitiveType
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor.h38 enum class PrimitiveType { enum
45 static const char* PrimitiveTypeName(PrimitiveType);
71 GrCCCoverageProcessor(GrResourceProvider* rp, PrimitiveType type) in GrCCCoverageProcessor()
217 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints()
220 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles()
221 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles()
225 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight()
226 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight()
263 const PrimitiveType fPrimitiveType;
280 inline const char* GrCCCoverageProcessor::PrimitiveTypeName(PrimitiveType type) { in PrimitiveTypeName()
[all …]
DGrCCCoverageProcessor_VSImpl.cpp267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode()
450 case PrimitiveType::kTriangles: in initVS()
451 case PrimitiveType::kWeightedTriangles: { in initVS()
474 case PrimitiveType::kQuadratics: in initVS()
475 case PrimitiveType::kCubics: in initVS()
476 case PrimitiveType::kConics: { in initVS()
543 case PrimitiveType::kTriangles: in createVSImpl()
544 case PrimitiveType::kWeightedTriangles: in createVSImpl()
546 case PrimitiveType::kQuadratics: in createVSImpl()
547 case PrimitiveType::kCubics: in createVSImpl()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.h38 enum class PrimitiveType { enum
45 static const char* PrimitiveTypeName(PrimitiveType);
71 GrCCCoverageProcessor(GrResourceProvider* rp, PrimitiveType type) in GrCCCoverageProcessor()
217 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints()
220 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles()
221 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles()
225 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight()
226 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight()
263 const PrimitiveType fPrimitiveType;
280 inline const char* GrCCCoverageProcessor::PrimitiveTypeName(PrimitiveType type) { in PrimitiveTypeName()
[all …]
DGrCCCoverageProcessor_VSImpl.cpp267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode()
449 case PrimitiveType::kTriangles: in initVS()
450 case PrimitiveType::kWeightedTriangles: { in initVS()
473 case PrimitiveType::kQuadratics: in initVS()
474 case PrimitiveType::kCubics: in initVS()
475 case PrimitiveType::kConics: { in initVS()
542 case PrimitiveType::kTriangles: in createVSImpl()
543 case PrimitiveType::kWeightedTriangles: in createVSImpl()
545 case PrimitiveType::kQuadratics: in createVSImpl()
546 case PrimitiveType::kCubics: in createVSImpl()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.h110 virtual StatusOr<llvm::Value*> EmitErfInv(PrimitiveType prim_type,
113 virtual StatusOr<llvm::Value*> EmitErfcInv(PrimitiveType prim_type,
116 virtual StatusOr<llvm::Value*> EmitAtan2(PrimitiveType prim_type,
119 virtual StatusOr<llvm::Value*> EmitLog(PrimitiveType prim_type,
122 virtual StatusOr<llvm::Value*> EmitSqrt(PrimitiveType prim_type,
125 virtual StatusOr<llvm::Value*> EmitRsqrt(PrimitiveType prim_type,
128 virtual StatusOr<llvm::Value*> EmitLog1p(PrimitiveType prim_type,
131 virtual StatusOr<llvm::Value*> EmitSin(PrimitiveType prim_type,
134 virtual StatusOr<llvm::Value*> EmitCos(PrimitiveType prim_type,
137 virtual StatusOr<llvm::Value*> EmitExp(PrimitiveType prim_type,
[all …]
Dhlo_element_type_converter.h32 HloElementTypeConverter(PrimitiveType eliminate_type,
33 PrimitiveType replace_with_type);
41 PrimitiveType eliminate_type_;
42 PrimitiveType replace_with_type_;
/external/skia/samplecode/
DSampleCCPRGeometry.cpp34 using PrimitiveType = GrCCCoverageProcessor::PrimitiveType; typedef
62 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles;
214 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
216 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent()
231 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
258 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData()
283 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData()
287 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData()
291 SkASSERT(PrimitiveType::kConics == fPrimitiveType); in updateGpuData()
308 if (PrimitiveType::kQuadratics == fPrimitiveType && in updateGpuData()
[all …]
/external/skqp/samplecode/
DSampleCCPRGeometry.cpp32 using PrimitiveType = GrCCCoverageProcessor::PrimitiveType; typedef
60 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles;
211 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
213 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent()
228 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
255 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData()
280 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData()
284 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData()
288 SkASSERT(PrimitiveType::kConics == fPrimitiveType); in updateGpuData()
305 if (PrimitiveType::kQuadratics == fPrimitiveType && in updateGpuData()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_type_PrimitiveType.txt1 Line 77) Primitive.values() ==> com.github.javaparser.ast.type.PrimitiveType.Primitive.values()
3 …e(type) ==> com.github.javaparser.ast.type.PrimitiveType.setType(com.github.javaparser.ast.type.Pr…
4 …github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.type.PrimitiveType, A)
5 …om.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.type.PrimitiveType, A)
6 …Line 109) type.toBoxedType() ==> com.github.javaparser.ast.type.PrimitiveType.Primitive.toBoxedTyp…
/external/spirv-llvm/lib/SPIRV/Mangler/
DParameterType.cpp23 PrimitiveType::PrimitiveType(TypePrimitiveEnum primitive) : in PrimitiveType() function in SPIR::PrimitiveType
28 MangleError PrimitiveType::accept(TypeVisitor* visitor) const { in accept()
35 std::string PrimitiveType::toString() const { in toString()
43 bool PrimitiveType::equals(const ParamType* type) const { in equals()
44 const PrimitiveType* p = SPIR::dyn_cast<PrimitiveType>(type); in equals()
236 const TypeEnum PrimitiveType::enumTy = TYPE_ID_PRIMITIVE;
/external/v8/src/builtins/
Dbuiltins-symbol-gen.cc19 Node* value = ToThisValue(context, receiver, PrimitiveType::kSymbol, in TF_BUILTIN()
30 Node* result = ToThisValue(context, receiver, PrimitiveType::kSymbol, in TF_BUILTIN()
40 Node* value = ToThisValue(context, receiver, PrimitiveType::kSymbol, in TF_BUILTIN()
51 Node* result = ToThisValue(context, receiver, PrimitiveType::kSymbol, in TF_BUILTIN()

12345678910>>...13