/external/ceres-solver/internal/ceres/ |
D | compressed_col_sparse_matrix_utils.h | 69 template <typename IntegerType> 70 void SolveUpperTriangularInPlace(IntegerType num_cols, in SolveUpperTriangularInPlace() 71 const IntegerType* rows, in SolveUpperTriangularInPlace() 72 const IntegerType* cols, in SolveUpperTriangularInPlace() 75 for (IntegerType c = num_cols - 1; c >= 0; --c) { in SolveUpperTriangularInPlace() 77 for (IntegerType idx = cols[c]; idx < cols[c + 1] - 1; ++idx) { in SolveUpperTriangularInPlace() 78 const IntegerType r = rows[idx]; in SolveUpperTriangularInPlace() 90 template <typename IntegerType> 91 void SolveUpperTriangularTransposeInPlace(IntegerType num_cols, in SolveUpperTriangularTransposeInPlace() 92 const IntegerType* rows, in SolveUpperTriangularTransposeInPlace() [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/llvm/examples/BrainF/ |
D | BrainF.cpp | 65 getOrInsertFunction("getchar", IntegerType::getInt32Ty(C), NULL)); in header() 69 getOrInsertFunction("putchar", IntegerType::getInt32Ty(C), in header() 70 IntegerType::getInt32Ty(C), NULL)); in header() 83 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 84 Type* Int8Ty = IntegerType::getInt8Ty(C); in header() 146 getOrInsertFunction("puts", IntegerType::getInt32Ty(C), in header() 147 PointerType::getUnqual(IntegerType::getInt8Ty(C)), NULL)); in header() 154 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 207 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg); in readloop() 221 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop() [all …]
|
D | BrainFDriver.cpp | 61 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/ |
D | Type.cpp | 54 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 123 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth(); in getPrimitiveSizeInBits() 170 return cast<IntegerType>(this)->getBitWidth(); in getIntegerBitWidth() 230 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; } in getInt1Ty() 231 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; } in getInt8Ty() 232 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; } in getInt16Ty() 233 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; } in getInt32Ty() 234 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; } in getInt64Ty() 235 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; } in getInt128Ty() 237 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) { in getIntNTy() [all …]
|
D | ValueTypes.cpp | 35 VT.LLVMTy = IntegerType::get(Context, BitWidth); in getExtendedIntegerVT() 107 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy)) in getExtendedSizeInBits() 210 case MVT::i128: return IntegerType::get(Context, 128); in getTypeForEVT() 284 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth()); in getVT() 309 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); in getEVT()
|
D | ConstantFold.cpp | 61 Type *Ty = IntegerType::get(CV->getContext(), 32); in BitCastConstantVector() 95 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext()); in foldConstantCastPair() 214 (cast<IntegerType>(C->getType())->getBitWidth() & 7) == 0 && in ExtractConstantBytes() 216 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; in ExtractConstantBytes() 278 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes() 300 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes() 312 cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth(); in ExtractConstantBytes() 316 return Constant::getNullValue(IntegerType::get(CE->getContext(), in ExtractConstantBytes() 336 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 386 getFoldedSizeOf(PointerType::get(IntegerType::get(PTy->getContext(), 1), in getFoldedSizeOf() [all …]
|
/external/gemmlowp/internal/ |
D | fixedpoint.h | 141 template <typename IntegerType> 142 IntegerType RoundingHalfSum(IntegerType a, IntegerType b) { in RoundingHalfSum() 143 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); in RoundingHalfSum() 156 template <typename IntegerType> 157 IntegerType SaturatingRoundingDoublingHighMul(IntegerType a, IntegerType b) { in SaturatingRoundingDoublingHighMul() 158 static_assert(std::is_same<IntegerType, void>::value, "unimplemented"); in SaturatingRoundingDoublingHighMul() 175 template <int Exponent, typename IntegerType, 179 template <int Exponent, typename IntegerType> 180 struct ImplSaturatingRoundingMultiplyByPOT<Exponent, IntegerType, 0> { 181 static IntegerType eval(IntegerType x) { return x; } [all …]
|
/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()
|
D | IntegerType.java | 32 public class IntegerType extends VerificationType class
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 28 class IntegerType; variable 385 static IntegerType *getIntNTy(LLVMContext &C, unsigned N); 386 static IntegerType *getInt1Ty(LLVMContext &C); 387 static IntegerType *getInt8Ty(LLVMContext &C); 388 static IntegerType *getInt16Ty(LLVMContext &C); 389 static IntegerType *getInt32Ty(LLVMContext &C); 390 static IntegerType *getInt64Ty(LLVMContext &C); 391 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); 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()
|
D | TypeBuilder.h | 162 static IntegerType *get(LLVMContext &Context) { \ 163 return IntegerType::get(Context, sizeof(T) * CHAR_BIT); \ 191 static IntegerType *get(LLVMContext &C) { in get() 192 return IntegerType::get(C, num_bits); in get()
|
/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 80 IntegerType *BypassType, in insertFastDiv() 188 IntegerType *BypassType, in reuseOrInsertFastDiv() 247 IntegerType *T = cast<IntegerType>(J->getType()); in bypassSlowDivision() 256 IntegerType *BT = IntegerType::get(J->getContext(), BI->second); in bypassSlowDivision()
|
/external/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 284 if (IntegerType *IT = dyn_cast<IntegerType>(I.getType())) { in performAnalysis() 296 if (IntegerType *IT = dyn_cast<IntegerType>(J->getType())) in performAnalysis() 328 if (IntegerType *IT = dyn_cast<IntegerType>(I->getType())) { in performAnalysis()
|
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
D | VerificationTypeVisitor.java | 36 … Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integ… in visitIntegerType() 46 …zz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integ… in visitStackIntegerType() 56 …zz, Method method, CodeAttribute codeAttribute, int offset, int index, IntegerType integ… in visitVariablesIntegerType()
|
/external/llvm/unittests/IR/ |
D | TypeBuilderTest.cpp | 44 EXPECT_EQ(IntegerType::get(getGlobalContext(), sizeof(size_t) * CHAR_BIT), in TEST() 46 EXPECT_EQ(IntegerType::get(getGlobalContext(), sizeof(ptrdiff_t) * CHAR_BIT), in TEST() 51 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 1), (TypeBuilder<types::i<1>, true>::get(getGlobalC… in TEST() 52 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 1), (TypeBuilder<types::i<1>, false>::get(getGlobal… in TEST() 53 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 72), (TypeBuilder<types::i<72>, true>::get(getGloba… in TEST() 54 …EXPECT_EQ(IntegerType::get(getGlobalContext(), 72), (TypeBuilder<types::i<72>, false>::get(getGlob… in TEST()
|
D | InstructionsTest.cpp | 37 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() 127 IntegerType* Int1 = IntegerType::get(C, 1); in TEST() 294 Type *I8Ty = IntegerType::get(C, 8); in TEST() 295 Type *I32Ty = IntegerType::get(C, 32); in TEST() 462 IntegerType *Int16SizePtr = DL.getIntPtrType(C, 1); in TEST() 463 IntegerType *Int64SizePtr = DL.getIntPtrType(C, 2); in TEST()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 383 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForAdd() 407 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1); in allocateCandidatesAndFindBasisForAdd() 441 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0); in allocateCandidatesAndFindBasisForMul() 451 if (!isa<IntegerType>(I->getType())) in allocateCandidatesAndFindBasisForMul() 470 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType())); in allocateCandidatesAndFindBasisForGEP() 482 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1), in factorArrayIndex() 589 IntegerType *DeltaType = in emitBump() 590 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth()); in emitBump()
|
D | InductiveRangeCheckElimination.cpp | 639 APInt::getSignedMaxValue(cast<IntegerType>(S->getType())->getBitWidth()); in CanBeSMax() 646 APInt::getSignedMinValue(cast<IntegerType>(S->getType())->getBitWidth()); in CanBeSMin() 686 if (!ICI || !isa<IntegerType>(ICI->getOperand(0)->getType())) { in parseLoopStructure() 700 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType()); in parseLoopStructure() 721 IntegerType *Ty = cast<IntegerType>(AR->getType()); in parseLoopStructure() 722 IntegerType *WideTy = in parseLoopStructure() 723 IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2); in parseLoopStructure() 859 IntegerType *Ty = cast<IntegerType>(LatchTakenCount->getType()); in calculateSubRanges() 1195 IntegerType *IVTy = in run() 1196 cast<IntegerType>(MainLoopStructure.IndVarNext->getType()); in run() [all …]
|
D | SROA.cpp | 1078 IntegerType *ITy = nullptr; in findCommonType() 1096 if (IntegerType *UserITy = dyn_cast_or_null<IntegerType>(UserTy)) { in findCommonType() 1639 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) { in canConvertValue() 1640 assert(cast<IntegerType>(OldTy)->getBitWidth() != in canConvertValue() 1641 cast<IntegerType>(NewTy)->getBitWidth() && in canConvertValue() 1680 assert(!(isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) && in convertValue() 1934 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) { in isIntegerWideningViableForSlice() 1955 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) { in isIntegerWideningViableForSlice() 1990 if (SizeInBits > IntegerType::MAX_INT_BITS) in isIntegerWideningViable() 2029 IntegerType *Ty, uint64_t Offset, in extractInteger() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 208 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType())); in visitPtr()
|
/external/llvm/test/CodeGen/CPP/ |
D | gep.ll | 6 ; CHECK: GetElementPtrInst::Create(IntegerType::get(mod->getContext(), 32), ptr_addr,
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | ExternalFunctions.cpp | 67 switch (cast<IntegerType>(Ty)->getBitWidth()) { in getTypeID() 116 switch (cast<IntegerType>(Ty)->getBitWidth()) { in ffiTypeFor() 136 switch (cast<IntegerType>(Ty)->getBitWidth()) { in ffiValueFor() 226 switch (cast<IntegerType>(RetTy)->getBitWidth()) { in ffiInvoke()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 182 if (IntegerType *ITy = in getKindForGlobal() 183 dyn_cast<IntegerType>(ATy->getElementType())) { in getKindForGlobal()
|