/external/gemmlowp/fixedpoint/ |
D | fixedpoint.h | 228 template <typename IntegerType> 229 IntegerType RoundingHalfSum(IntegerType a, IntegerType b) { 230 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); 253 template <typename IntegerType> 254 IntegerType SaturatingAdd(IntegerType a, IntegerType b) { 255 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); 273 template <typename IntegerType, bool Is16Bit> 275 static IntegerType Run(IntegerType a, IntegerType b) { return Add(a, b); } 277 template <typename IntegerType> 278 struct AddSaturatingIf16BitImpl<IntegerType, true> { [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypeCache.h | 22 class IntegerType; variable 37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty; 42 llvm::IntegerType *IntTy; 46 llvm::IntegerType *IntPtrTy; 47 llvm::IntegerType *SizeTy; 48 llvm::IntegerType *PtrDiffTy;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Type.cpp | 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 124 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); in getPrimitiveSizeInBits() 173 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() 174 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } in getInt8Ty() 175 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } in getInt16Ty() 176 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } in getInt32Ty() 177 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } in getInt64Ty() 178 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; } in getInt128Ty() 180 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() 181 return IntegerType::get(C, N); in getIntNTy() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/examples/BrainF/ |
D | BrainF.cpp | 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C))); in header() 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 82 IntegerType::getInt32Ty(C))); in header() 95 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 96 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 159 PointerType::getUnqual(IntegerType::getInt8Ty(C)))); in header() 166 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 219 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg); in readloop() 233 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop() [all …]
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 77 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 81 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 82 IntegerType::getInt32Ty(C), NULL)); in header() 95 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 96 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() 158 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 159 PointerType::getUnqual(IntegerType::getInt8Ty(C)), NULL)); in header() 166 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 219 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg); in readloop() 233 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop() [all …]
|
/external/llvm/lib/IR/ |
D | Type.cpp | 51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 117 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); in getPrimitiveSizeInBits() 166 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() 167 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } in getInt8Ty() 168 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } in getInt16Ty() 169 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } in getInt32Ty() 170 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } in getInt64Ty() 171 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; } in getInt128Ty() 173 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() 174 return IntegerType::get(C, N); in getIntNTy() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | common.h | 199 template <typename IntegerType> 200 IntegerType SaturatingAddNonGemmlowp(IntegerType a, IntegerType b) { in SaturatingAddNonGemmlowp() 201 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); in SaturatingAddNonGemmlowp() 225 template <typename IntegerType> 226 IntegerType SaturatingSub(IntegerType a, IntegerType b) { in SaturatingSub() 227 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); in SaturatingSub() 262 template <typename IntegerType> 263 IntegerType SaturatingRoundingMultiplyByPOTParam(IntegerType x, int exponent) { in SaturatingRoundingMultiplyByPOTParam() 268 typename gemmlowp::FixedPointRawTypeTraits<IntegerType>::ScalarRawType; in SaturatingRoundingMultiplyByPOTParam() 269 const IntegerType min = in SaturatingRoundingMultiplyByPOTParam() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | depthwiseconv_3x3_filter_common.h | 186 template <typename IntegerType> 187 static inline IntegerType Run(IntegerType x, int exponent) { 191 template <typename IntegerType> 192 static inline IntegerType RunMult(IntegerType x, int exponent) { 200 template <typename IntegerType> 201 static inline IntegerType Run(IntegerType x, int exponent) { 204 template <typename IntegerType> 205 static inline IntegerType RunMult(IntegerType x, IntegerType exponent) { 208 template <typename IntegerType> 209 static inline IntegerType RunMult(IntegerType x, int exponent) {
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTypeConverter.cpp | 24 llvm::Type *Type_i1 = llvm::IntegerType::get(Context, 1); in TypeConverter() 25 llvm::Type *Type_i8 = llvm::IntegerType::get(Context, 8); in TypeConverter() 26 llvm::Type *Type_i16 = llvm::IntegerType::get(Context, 16); in TypeConverter() 27 llvm::Type *Type_i32 = llvm::IntegerType::get(Context, 32); in TypeConverter() 33 addLLVMType(IceType_i64, llvm::IntegerType::get(Context, 64)); in TypeConverter()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_types.cc | 75 const auto& itype = type.cast<IntegerType>(); in get() 115 return mlir::IntegerType::get(1, ctx); in RemoveRef() 117 return mlir::IntegerType::get(8, ctx); in RemoveRef() 119 return mlir::IntegerType::get(16, ctx); in RemoveRef() 121 return mlir::IntegerType::get(32, ctx); in RemoveRef() 123 return mlir::IntegerType::get(64, ctx); in RemoveRef()
|
/external/protobuf/ruby/tests/ |
D | type_errors.rb | 12 IntegerType = Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4') ? Fixnum : Integer constant in TestTypeErrors 16 … "Invalid argument for string field 'optional_string' (given #{IntegerType.name})." do 20 "Invalid argument for string field 'oneof_string' (given #{IntegerType.name})." do 157 "Invalid type #{IntegerType.name} to assign to submessage field 'optional_msg'." do
|
/external/llvm/unittests/ExecutionEngine/Orc/ |
D | ObjectLinkingLayerTest.cpp | 71 Type *Int32Ty = IntegerType::get(Context, 32); in TEST() 142 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F() 212 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F() 227 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 29 class IntegerType; variable 388 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 389 static IntegerType *getInt1Ty(LLVMContext &C); 390 static IntegerType *getInt8Ty(LLVMContext &C); 391 static IntegerType *getInt16Ty(LLVMContext &C); 392 static IntegerType *getInt32Ty(LLVMContext &C); 393 static IntegerType *getInt64Ty(LLVMContext &C); 394 static IntegerType *getInt128Ty(LLVMContext &C);
|
D | DerivedTypes.h | 39 class IntegerType : public Type { 43 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() function 62 static IntegerType *get(LLVMContext &C, unsigned NumBits); 97 return cast<IntegerType>(this)->getBitWidth(); in getIntegerBitWidth() 385 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() 393 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType() 403 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 29 class IntegerType; variable 377 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 378 static IntegerType *getInt1Ty(LLVMContext &C); 379 static IntegerType *getInt8Ty(LLVMContext &C); 380 static IntegerType *getInt16Ty(LLVMContext &C); 381 static IntegerType *getInt32Ty(LLVMContext &C); 382 static IntegerType *getInt64Ty(LLVMContext &C); 383 static IntegerType *getInt128Ty(LLVMContext &C);
|
D | DerivedTypes.h | 37 class IntegerType : public Type { 41 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() function 59 static IntegerType *get(LLVMContext &C, unsigned NumBits); 94 return cast<IntegerType>(this)->getBitWidth(); in getIntegerBitWidth() 382 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() 390 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType() 400 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
D | VerificationTypeFactory.java | 31 static final IntegerType INTEGER_TYPE = new IntegerType(); 43 public static IntegerType createIntegerType() in createIntegerType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ValueLatticeTest.cpp | 33 auto I32Ty = IntegerType::get(Context, 32); in TEST_F() 48 auto I32Ty = IntegerType::get(Context, 32); in TEST_F() 92 auto *I32Ty = IntegerType::get(Context, 32); in TEST_F() 93 auto *I1Ty = IntegerType::get(Context, 1); in TEST_F() 137 auto *FloatTy = IntegerType::getFloatTy(Context); in TEST_F() 138 auto *I1Ty = IntegerType::get(Context, 1); in TEST_F() 163 auto *I32Ty = IntegerType::get(Context, 32); in TEST_F() 164 auto *I1Ty = IntegerType::get(Context, 1); in TEST_F() 176 auto *FloatTy = IntegerType::getFloatTy(Context); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Type.h | 32 class IntegerType; variable 406 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 407 static IntegerType *getInt1Ty(LLVMContext &C); 408 static IntegerType *getInt8Ty(LLVMContext &C); 409 static IntegerType *getInt16Ty(LLVMContext &C); 410 static IntegerType *getInt32Ty(LLVMContext &C); 411 static IntegerType *getInt64Ty(LLVMContext &C); 412 static IntegerType *getInt128Ty(LLVMContext &C);
|
D | DerivedTypes.h | 40 class IntegerType : public Type { 44 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() function 63 static IntegerType *get(LLVMContext &C, unsigned NumBits); 98 return cast<IntegerType>(this)->getBitWidth(); in getIntegerBitWidth() 409 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger() 417 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType() 427 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
D | RTDyldObjectLinkingLayerTest.cpp | 80 Type *Int32Ty = IntegerType::get(Context, 32); in TEST() 159 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F() 238 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F() 251 IntegerType *Int32Ty = IntegerType::get(Context, 32); in TEST_F()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/ |
D | map_xla_to_scalar_op.h | 116 return MapXlaOpToStdScalarOpImpl<IntegerType, ScalarIOp<XlaOp>, FloatType, 145 return MapXlaOpToStdScalarOpImpl<IntegerType, ::mlir::AndOp>{}( 153 return MapXlaOpToStdScalarOpImpl<IntegerType, ::mlir::AndOp>{}( 187 if (element_type.isa<IntegerType>()) { 265 if (sourceType.isa<IntegerType>() && targetType.isa<IntegerType>()) { 266 IntegerType src = sourceType.cast<IntegerType>(); 267 IntegerType res = targetType.cast<IntegerType>(); 312 if (element_type.isa<IntegerType>()) { 333 if (element_type.isa<IntegerType>()) {
|
/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 77 static bool insertFastDiv(Instruction *I, IntegerType *BypassType, in insertFastDiv() 178 static bool reuseOrInsertFastDiv(Instruction *I, IntegerType *BypassType, in reuseOrInsertFastDiv() 236 IntegerType *T = cast<IntegerType>(I->getType()); in bypassSlowDivision() 245 IntegerType *BT = IntegerType::get(I->getContext(), BI->second); in bypassSlowDivision()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/ |
D | LowLevelTypeTest.cpp | 56 Type *IRTy = IntegerType::get(C, S); in TEST() 100 Type *IRSTy = IntegerType::get(C, S); in TEST() 137 Type *IRTy = PointerType::get(IntegerType::get(C, 8), AS); in TEST() 140 VectorType::get(PointerType::get(IntegerType::get(C, 8), AS), 4); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 291 if (IntegerType *IT = dyn_cast<IntegerType>(I.getType())) { in performAnalysis() 301 if (IntegerType *IT = dyn_cast<IntegerType>(J->getType())) in performAnalysis() 333 if (IntegerType *IT = dyn_cast<IntegerType>(I->getType())) { in performAnalysis()
|