Home
last modified time | relevance | path

Searched refs:IntegerType (Results 1 – 25 of 243) sorted by relevance

12345678910

/external/gemmlowp/fixedpoint/
Dfixedpoint.h205 template <typename IntegerType>
206 IntegerType RoundingHalfSum(IntegerType a, IntegerType b) {
207 static_assert(std::is_same<IntegerType, void>::value, "unimplemented");
248 template <typename IntegerType>
249 IntegerType SaturatingRoundingDoublingHighMul(IntegerType a, IntegerType b) {
250 static_assert(std::is_same<IntegerType, void>::value, "unimplemented");
271 template <typename IntegerType>
272 inline IntegerType RoundingDivideByPOT(IntegerType x, int exponent) {
274 typename FixedPointRawTypeTraits<IntegerType>::ScalarRawType;
279 const IntegerType mask = Dup<IntegerType>((1ll << exponent) - 1);
[all …]
/external/Microsoft-GSL/gsl/
Dgsl_byte52 template <class IntegerType, class = std::enable_if_t<std::is_integral<IntegerType>::value>>
53 inline constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept
58 template <class IntegerType, class = std::enable_if_t<std::is_integral<IntegerType>::value>>
59 inline constexpr byte operator<<(byte b, IntegerType shift) noexcept
64 template <class IntegerType, class = std::enable_if_t<std::is_integral<IntegerType>::value>>
65 inline constexpr byte& operator>>=(byte& b, IntegerType shift) noexcept
70 template <class IntegerType, class = std::enable_if_t<std::is_integral<IntegerType>::value>>
71 inline constexpr byte operator>>(byte b, IntegerType shift) noexcept
108 template <class IntegerType, class = std::enable_if_t<std::is_integral<IntegerType>::value>>
109 inline constexpr IntegerType to_integer(byte b) noexcept
[all …]
/external/clang/lib/CodeGen/
DCodeGenTypeCache.h22 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/llvm/examples/BrainF/
DBrainF.cpp77 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 …]
DBrainFDriver.cpp76 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
77 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
79 IntegerType::getInt8Ty(mod->getContext()))), NULL)); in addMainFunction()
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainF.cpp64 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header()
68 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header()
69 IntegerType::getInt32Ty(C), NULL)); in header()
83 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header()
84 Type* Int8Ty = IntegerType::getInt8Ty(C); in header()
149 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header()
150 PointerType::getUnqual(IntegerType::getInt8Ty(C)), NULL)); in header()
157 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header()
209 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg); in readloop()
223 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
[all …]
DBrainFDriver.cpp61 getOrInsertFunction("main", IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
62 IntegerType::getInt32Ty(mod->getContext()), in addMainFunction()
64 IntegerType::getInt8Ty(mod->getContext()))), NULL)); in addMainFunction()
/external/llvm/lib/IR/
DType.cpp51 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/swiftshader/third_party/subzero/src/
DIceTypeConverter.cpp24 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/swiftshader/third_party/LLVM/lib/VMCore/
DType.cpp51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
140 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); in getPrimitiveSizeInBits()
210 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty()
211 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } in getInt8Ty()
212 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } in getInt16Ty()
213 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } in getInt32Ty()
214 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } in getInt64Ty()
216 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy()
217 return IntegerType::get(C, N); in getIntNTy()
273 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { in get()
[all …]
DValueTypes.cpp30 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT()
86 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits()
160 case MVT::i128: return IntegerType::get(Context, 128); in getTypeForEVT()
204 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); in getEVT()
/external/swiftshader/third_party/LLVM/include/llvm/
DType.h23 class IntegerType; variable
316 static IntegerType *getIntNTy(LLVMContext &C, unsigned N);
317 static IntegerType *getInt1Ty(LLVMContext &C);
318 static IntegerType *getInt8Ty(LLVMContext &C);
319 static IntegerType *getInt16Ty(LLVMContext &C);
320 static IntegerType *getInt32Ty(LLVMContext &C);
321 static IntegerType *getInt64Ty(LLVMContext &C);
DDerivedTypes.h36 class IntegerType : public Type {
40 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() function
57 static IntegerType *get(LLVMContext &C, unsigned NumBits);
87 static inline bool classof(const IntegerType *) { return true; } in classof() argument
377 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits); in getInteger()
387 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits * 2); in getExtendedElementVectorType()
399 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits / 2); in getTruncatedElementVectorType()
DIntrinsics.gen6315 …ArgTys.push_back((0 < Tys.size()) ? Tys[0] : PointerType::getUnqual(IntegerType::get(Context, 8)));
6316 …ArgTys.push_back((1 < Tys.size()) ? Tys[1] : PointerType::getUnqual(IntegerType::get(Context, 8)));
6318 ArgTys.push_back(IntegerType::get(Context, 32));
6319 ArgTys.push_back(IntegerType::get(Context, 1));
6323 …ArgTys.push_back((0 < Tys.size()) ? Tys[0] : PointerType::getUnqual(IntegerType::get(Context, 8)));
6324 ArgTys.push_back(IntegerType::get(Context, 8));
6326 ArgTys.push_back(IntegerType::get(Context, 32));
6327 ArgTys.push_back(IntegerType::get(Context, 1));
6332 ArgTys.push_back(IntegerType::get(Context, 64));
6333 ArgTys.push_back(PointerType::getUnqual(IntegerType::get(Context, 8)));
[all …]
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp71 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/
DType.h29 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);
DDerivedTypes.h39 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/
DType.h29 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);
DDerivedTypes.h37 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/
DVerificationTypeFactory.java31 static final IntegerType INTEGER_TYPE = new IntegerType();
43 public static IntegerType createIntegerType() in createIntegerType()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DConstantsTest.cpp19 IntegerType* Int1 = IntegerType::get(getGlobalContext(), 1); in TEST()
100 IntegerType* Int8Ty = Type::getInt8Ty(getGlobalContext()); in TEST()
115 IntegerType *Int128Ty = Type::getIntNTy(getGlobalContext(), 128); in TEST()
DInstructionsTest.cpp29 IntegerType* Int1 = IntegerType::get(C, 1); in TEST()
67 IntegerType* Int1 = IntegerType::get(C, 1); in TEST()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp77 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/llvm/lib/Analysis/
DDemandedBits.cpp282 if (IntegerType *IT = dyn_cast<IntegerType>(I.getType())) { in performAnalysis()
294 if (IntegerType *IT = dyn_cast<IntegerType>(J->getType())) in performAnalysis()
326 if (IntegerType *IT = dyn_cast<IntegerType>(I->getType())) { in performAnalysis()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp354 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForAdd()
378 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd()
412 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul()
422 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForMul()
441 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP()
453 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex()
570 IntegerType *DeltaType = in emitBump()
571 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()

12345678910