|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Analysis/MemoryBuiltins.h 43 class IntegerType;
include/llvm/IR/Constants.h 45 class IntegerType;
include/llvm/IR/Type.h 32 class IntegerType;
tools/clang/include/clang/CodeGen/SwiftCallingConv.h 23 class IntegerType;
tools/clang/lib/CodeGen/CodeGenTypeCache.h 22 class IntegerType;
References
examples/BrainF/BrainF.cpp 76 module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C));
80 "putchar", IntegerType::getInt32Ty(C), IntegerType::getInt32Ty(C));
80 "putchar", IntegerType::getInt32Ty(C), IntegerType::getInt32Ty(C));
93 Type* IntPtrTy = IntegerType::getInt32Ty(C);
94 Type* Int8Ty = IntegerType::getInt8Ty(C);
156 "puts", IntegerType::getInt32Ty(C),
157 PointerType::getUnqual(IntegerType::getInt8Ty(C)));
164 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C));
217 CreateTrunc(tape_0, IntegerType::getInt8Ty(C), tapereg);
231 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg);
303 PHINode::Create(PointerType::getUnqual(IntegerType::getInt8Ty(C)),
458 CreatePHI(PointerType::getUnqual(IntegerType::getInt8Ty(C)), 1,
include/llvm/ADT/STLExtras.h 1014 std::is_base_of<T, U>::value && are_base_of<T, Ts...>::value;
1014 std::is_base_of<T, U>::value && are_base_of<T, Ts...>::value;
include/llvm/Analysis/MemoryBuiltins.h 295 IntegerType *IntTy;
include/llvm/Analysis/PtrUseVisitor.h 225 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType()));
225 IntegerType *IntPtrTy = cast<IntegerType>(DL.getIntPtrType(I.getType()));
include/llvm/Analysis/TargetTransformInfo.h 90 IntegerType *CountType = nullptr;
include/llvm/IR/Constants.h 88 ConstantInt(IntegerType *Ty, const APInt& V);
110 static ConstantInt *get(IntegerType *Ty, uint64_t V,
118 static ConstantInt *getSigned(IntegerType *Ty, int64_t V);
127 static ConstantInt *get(IntegerType *Ty, StringRef Str,
171 inline IntegerType *getType() const {
172 return cast<IntegerType>(Value::getType());
include/llvm/IR/DataLayout.h 525 IntegerType *getIntPtrType(LLVMContext &C, unsigned AddressSpace = 0) const;
include/llvm/IR/DerivedTypes.h 63 static IntegerType *get(LLVMContext &C, unsigned NumBits);
66 IntegerType *getExtendedType() const {
103 return cast<IntegerType>(this)->getBitWidth();
270 static typename std::enable_if<are_base_of<Type, Tys...>::value,
272 create(StringRef Name, Type *elt1, Tys *... elts) {
289 static typename std::enable_if<are_base_of<Type, Tys...>::value,
291 get(Type *elt1, Tys *... elts) {
327 typename std::enable_if<are_base_of<Type, Tys...>::value, void>::type
328 setBody(Type *elt1, Tys *... elts) {
471 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits);
479 auto *EltTy = cast<IntegerType>(VTy->getElementType());
479 auto *EltTy = cast<IntegerType>(VTy->getElementType());
503 EltTy = IntegerType::get(VTy->getContext(), EltBits / 2);
622 return cast<IntegerType>(this)->getExtendedType();
include/llvm/IR/IRBuilder.h 383 IntegerType *getInt1Ty() {
388 IntegerType *getInt8Ty() {
393 IntegerType *getInt16Ty() {
398 IntegerType *getInt32Ty() {
403 IntegerType *getInt64Ty() {
408 IntegerType *getInt128Ty() { return Type::getInt128Ty(Context); }
411 IntegerType *getIntNTy(unsigned N) {
441 IntegerType *getIntPtrTy(const DataLayout &DL, unsigned AddrSpace = 0) {
2502 IntegerType *ExtractedTy, uint64_t Offset,
2504 auto *IntTy = cast<IntegerType>(From->getType());
2504 auto *IntTy = cast<IntegerType>(From->getType());
include/llvm/IR/Type.h 419 static IntegerType *getIntNTy(LLVMContext &C, unsigned N);
420 static IntegerType *getInt1Ty(LLVMContext &C);
421 static IntegerType *getInt8Ty(LLVMContext &C);
422 static IntegerType *getInt16Ty(LLVMContext &C);
423 static IntegerType *getInt32Ty(LLVMContext &C);
424 static IntegerType *getInt64Ty(LLVMContext &C);
425 static IntegerType *getInt128Ty(LLVMContext &C);
include/llvm/Support/Casting.h 58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
lib/Analysis/ConstantFolding.cpp 108 if (isa<IntegerType>(DestTy) || DestTy->isFloatingPointTy()) {
117 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts);
127 if (isa<IntegerType>(DestTy))
174 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumDstElt);
187 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt);
270 IntegerType *DstIntTy = Type::getIntNTy(C->getContext(), DstBitSize);
503 auto *IntType = dyn_cast<IntegerType>(LoadTy);
503 auto *IntType = dyn_cast<IntegerType>(LoadTy);
660 (isa<IntegerType>(Ty) || Ty->isFloatingPointTy())) {
lib/Analysis/DependenceAnalysis.cpp 816 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
816 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
817 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
817 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
841 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
841 IntegerType *SrcTy = dyn_cast<IntegerType>(Src->getType());
842 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
842 IntegerType *DstTy = dyn_cast<IntegerType>(Dst->getType());
1016 auto *SType = dyn_cast<IntegerType>(S->getType());
1016 auto *SType = dyn_cast<IntegerType>(S->getType());
1017 auto *SizeType = dyn_cast<IntegerType>(Size->getType());
1017 auto *SizeType = dyn_cast<IntegerType>(Size->getType());
lib/Analysis/IVDescriptors.cpp 101 RT = IntegerType::get(Phi->getContext(), Bits);
lib/Analysis/LazyValueInfo.cpp 584 if (isa<IntegerType>(BBI->getType())) {
1412 if (isa<IntegerType>(Usr->getType()) && isOperationFoldable(Usr)) {
1453 if (!isa<IntegerType>(Val->getType()))
lib/Analysis/MemoryBuiltins.cpp 522 auto *ResultType = cast<IntegerType>(ObjectSize->getType());
522 auto *ResultType = cast<IntegerType>(ObjectSize->getType());
837 IntTy = cast<IntegerType>(DL.getIntPtrType(V->getType()));
lib/Analysis/MemoryDependenceAnalysis.cpp 244 if (!isa<IntegerType>(LI->getType()) || !LI->isSimple())
lib/Analysis/ScalarEvolution.cpp 437 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty));
437 IntegerType *ITy = cast<IntegerType>(getEffectiveSCEVType(Ty));
1208 IntegerType *CalculationTy = IntegerType::get(SE.getContext(),
1208 IntegerType *CalculationTy = IntegerType::get(SE.getContext(),
1483 Type *WideTy = IntegerType::get(SE->getContext(), BitWidth * 2);
1726 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2);
1924 Type *NewTruncTy = IntegerType::get(getContext(), NewTruncBits);
2070 Type *WideTy = IntegerType::get(getContext(), BitWidth * 2);
3174 IntegerType::get(getContext(), RHSC->getAPInt().logBase2());
3210 IntegerType *ExtTy =
3211 IntegerType::get(getContext(), getTypeSizeInBits(Ty) + MaxShiftAmt);
4530 uint32_t BitWidth = cast<IntegerType>(Op->getType())->getBitWidth();
6291 IntegerType::get(getContext(), BitWidth - LZ - TZ)),
6366 uint32_t BitWidth = cast<IntegerType>(SA->getType())->getBitWidth();
6410 Type *TruncTy = IntegerType::get(getContext(), BitWidth - AShrAmt);
7545 cast<IntegerType>(IdxExpr->getType()), IterationNum);
7676 auto *Ty = cast<IntegerType>(RHS->getType());
7676 auto *Ty = cast<IntegerType>(RHS->getType());
7690 StableValue = ConstantInt::get(cast<IntegerType>(RHS->getType()), 0);
lib/Analysis/ScalarEvolutionExpander.cpp 1128 if (!isa<IntegerType>(AR->getType()))
1131 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
1132 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
1142 if (!isa<IntegerType>(AR->getType()))
1145 unsigned BitWidth = cast<IntegerType>(AR->getType())->getBitWidth();
1146 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
2170 unsigned Width = cast<IntegerType>(UDivExpr->getType())->getBitWidth();
2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits);
2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits);
2265 IntegerType *Ty =
2266 IntegerType::get(Loc->getContext(), SE.getTypeSizeInBits(ARTy));
2362 auto *BoolType = IntegerType::get(IP->getContext(), 1);
2362 auto *BoolType = IntegerType::get(IP->getContext(), 1);
lib/Analysis/TypeBasedAliasAnalysis.cpp 548 Type *Int64 = IntegerType::get(AccessType->getContext(), 64);
lib/Analysis/ValueTracking.cpp 205 IntegerType *IT = cast<IntegerType>(LHS->getType()->getScalarType());
205 IntegerType *IT = cast<IntegerType>(LHS->getType()->getScalarType());
2045 if (auto *Ty = dyn_cast<IntegerType>(V->getType())) {
2045 if (auto *Ty = dyn_cast<IntegerType>(V->getType())) {
lib/AsmParser/LLLexer.cpp 479 if (NumBits < IntegerType::MIN_INT_BITS ||
480 NumBits > IntegerType::MAX_INT_BITS) {
484 TyVal = IntegerType::get(Context, NumBits);
lib/Bitcode/Reader/BitcodeReader.cpp 1760 if (NumBits < IntegerType::MIN_INT_BITS ||
1761 NumBits > IntegerType::MAX_INT_BITS)
1763 ResultTy = IntegerType::get(Context, NumBits);
2394 readWideAPInt(Record, cast<IntegerType>(CurTy)->getBitWidth());
4366 unsigned ValueBitWidth = cast<IntegerType>(OpTy)->getBitWidth();
lib/Bitcode/Writer/BitcodeWriter.cpp 889 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth());
2414 if (isa<IntegerType>(EltTy)) {
lib/CodeGen/Analysis.cpp 300 cast<IntegerType>(Op->getType())->getBitWidth())
308 cast<IntegerType>(I->getType())->getBitWidth())
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1997 !isa<IntegerType>(ETy->getTypeAtIndex(0U)) ||
2392 if (isa<IntegerType>(CDS->getElementType())) {
lib/CodeGen/AtomicExpandPass.cpp 72 IntegerType *getCorrespondingIntegerType(Type *T, const DataLayout &DL);
361 IntegerType *AtomicExpand::getCorrespondingIntegerType(Type *T,
366 return IntegerType::get(T->getContext(), BitWidth);
506 IntegerType *IntTy = Builder.getIntNTy(OrigTy->getPrimitiveSizeInBits());
1041 StoreSuccess, ConstantInt::get(IntegerType::get(Ctx, 32), 0), "tryagain");
lib/CodeGen/CodeGenPrepare.cpp 4811 if (cast<IntegerType>(IntPtrTy)->getBitWidth() >
4812 cast<IntegerType>(ScaledRegTy)->getBitWidth())
4955 } else if (cast<IntegerType>(IntPtrTy)->getBitWidth() <
4956 cast<IntegerType>(V->getType())->getBitWidth()) {
6234 if (RegWidth <= cast<IntegerType>(OldType)->getBitWidth())
6243 auto *NewType = Type::getIntNTy(Context, RegWidth);
lib/CodeGen/ExpandMemCmp.cpp 266 auto *ByteType = Type::getInt8Ty(CI->getContext());
334 IntegerType *const MaxLoadType =
336 : IntegerType::get(CI->getContext(), MaxLoadSize * 8);
340 IntegerType *LoadSizeType =
341 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8);
444 IntegerType::get(CI->getContext(), CurLoadEntry.LoadSize * 8);
445 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8);
527 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8);
566 Type *LoadSizeType = IntegerType::get(CI->getContext(), Size * 8);
lib/CodeGen/GlobalISel/CombinerHelper.cpp 885 return VectorType::get(IntegerType::get(C, Ty.getScalarSizeInBits()),
887 return IntegerType::get(C, Ty.getSizeInBits());
lib/CodeGen/GlobalISel/IRTranslator.cpp 2120 auto *ZeroTy = Type::getIntNTy(C.getContext(), NullSize);
lib/CodeGen/GlobalISel/LegalizerHelper.cpp 408 OpTy = IntegerType::get(Ctx, OpLLT.getSizeInBits());
505 Type *HLTy = IntegerType::get(Ctx, Size);
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp 308 auto IntN = IntegerType::get(getMF().getFunction().getContext(),
lib/CodeGen/HardwareLoops.cpp 218 IntegerType::get(M->getContext(), CounterBitWidth);
lib/CodeGen/IndirectBrExpandPass.cpp 147 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType()));
147 auto *ITy = cast<IntegerType>(DL.getIntPtrType(BA->getType()));
171 IntegerType *CommonITy = nullptr;
173 auto *ITy =
174 cast<IntegerType>(DL.getIntPtrType(IBr->getAddress()->getType()));
lib/CodeGen/InterleavedLoadCombinePass.cpp 187 IntegerType *Ty = dyn_cast<IntegerType>(V->getType());
187 IntegerType *Ty = dyn_cast<IntegerType>(V->getType());
lib/CodeGen/IntrinsicLowering.cpp 495 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
495 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
lib/CodeGen/LowerEmuTLS.cpp 114 IntegerType *WordType = DL.getIntPtrType(C);
lib/CodeGen/MachineFunction.cpp 1036 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8);
lib/CodeGen/SelectionDAG/FastISel.cpp 2000 IntegerType *ITy =
2001 IntegerType::get(FuncInfo.Fn->getContext(), VT.getSizeInBits());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 7790 OpTy = IntegerType::get(Context, BitSize);
8593 static_cast<unsigned>(IntegerType::MIN_INT_BITS));
lib/CodeGen/SelectionDAG/TargetLowering.cpp 4259 MVT::getVT(IntegerType::get(OpTy->getContext(), BitSize), true);
lib/CodeGen/ValueTypes.cpp 29 VT.LLVMTy = IntegerType::get(Context, BitWidth);
106 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy))
106 if (IntegerType *ITy = dyn_cast<IntegerType>(LLVMTy))
275 case MVT::i128: return IntegerType::get(Context, 128);
456 return getIntegerVT(cast<IntegerType>(Ty)->getBitWidth());
482 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth());
lib/ExecutionEngine/ExecutionEngine.cpp 658 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
664 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
670 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
719 uint32_t BitWidth = cast<IntegerType>(CE->getType())->getBitWidth();
1079 Result.IntVal = APInt(cast<IntegerType>(Ty)->getBitWidth(), 0);
1115 const unsigned elemBitWidth = cast<IntegerType>(ElemT)->getBitWidth();
lib/ExecutionEngine/ExecutionEngineBindings.cpp 44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
lib/ExecutionEngine/Interpreter/Execution.cpp 1068 cast<IntegerType>(I.getOperand()->getType())->getBitWidth();
1276 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1283 IntegerType *DITy = cast<IntegerType>(DstTy);
1283 IntegerType *DITy = cast<IntegerType>(DstTy);
1296 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1303 auto *DITy = cast<IntegerType>(DstTy);
1303 auto *DITy = cast<IntegerType>(DstTy);
1316 unsigned DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1324 auto *DITy = cast<IntegerType>(DstTy);
1324 auto *DITy = cast<IntegerType>(DstTy);
1384 uint32_t DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1401 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
1422 uint32_t DBitWidth = cast<IntegerType>(DstVecTy)->getBitWidth();
1439 unsigned DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
1519 uint32_t DBitWidth = cast<IntegerType>(DstTy)->getBitWidth();
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp 77 switch (cast<IntegerType>(Ty)->getBitWidth()) {
lib/ExecutionEngine/MCJIT/MCJIT.cpp 571 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp 90 unsigned BitWidth = cast<IntegerType>(RetTy)->getBitWidth();
lib/FuzzMutate/OpDescriptor.cpp 16 if (auto *IntTy = dyn_cast<IntegerType>(T)) {
16 if (auto *IntTy = dyn_cast<IntegerType>(T)) {
lib/FuzzMutate/Operations.cpp 198 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext());
256 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext());
302 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext());
lib/IR/AsmWriter.cpp 571 OS << 'i' << cast<IntegerType>(Ty)->getBitWidth();
lib/IR/AutoUpgrade.cpp 939 cast<IntegerType>(Mask->getType())->getBitWidth());
lib/IR/ConstantFold.cpp 60 Type *Ty = IntegerType::get(CV->getContext(), 32);
94 IntegerType *FakeIntPtrTy = Type::getInt64Ty(DstTy->getContext());
217 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8;
280 IntegerType::get(CE->getContext(), ByteSize * 8));
303 IntegerType::get(CE->getContext(), ByteSize * 8));
315 cast<IntegerType>(CE->getOperand(0)->getType())->getBitWidth();
319 return Constant::getNullValue(IntegerType::get(CE->getContext(),
339 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(),
387 getFoldedSizeOf(PointerType::get(IntegerType::get(PTy->getContext(), 1),
450 getFoldedAlignOf(PointerType::get(IntegerType::get(PTy->getContext(),
578 Type *Ty = IntegerType::get(V->getContext(), 32);
613 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth();
694 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth();
701 uint32_t BitWidth = cast<IntegerType>(DestTy)->getBitWidth();
710 uint32_t DestBitWidth = cast<IntegerType>(DestTy)->getBitWidth();
720 (cast<IntegerType>(V->getType())->getBitWidth() & 7) == 0)
742 Type *Ty = IntegerType::get(CondV->getContext(), 32);
842 auto *Ty = Type::getInt32Ty(Val->getContext());
884 Type *Ty = IntegerType::get(V2->getContext(), 32);
889 Type *Ty = IntegerType::get(V1->getContext(), 32);
972 Type *Ty = IntegerType::get(VTy->getContext(), 32);
1310 Type *Ty = IntegerType::get(VTy->getContext(), 32);
1924 Type *Ty = IntegerType::get(C1->getContext(), 32);
lib/IR/Constants.cpp 344 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
344 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
604 ConstantInt::ConstantInt(IntegerType *Ty, const APInt &V)
646 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth());
646 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth());
654 Constant *C = get(cast<IntegerType>(Ty->getScalarType()), V, isSigned);
663 ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) {
667 ConstantInt *ConstantInt::getSigned(IntegerType *Ty, int64_t V) {
687 ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) {
2443 if (auto *IT = dyn_cast<IntegerType>(Ty)) {
2443 if (auto *IT = dyn_cast<IntegerType>(Ty)) {
lib/IR/Core.cpp 565 return wrap(IntegerType::get(*unwrap(C), NumBits));
591 return unwrap<IntegerType>(IntegerTy)->getBitWidth();
1300 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), N, SignExtend != 0));
1306 IntegerType *Ty = unwrap<IntegerType>(IntTy);
1306 IntegerType *Ty = unwrap<IntegerType>(IntTy);
1314 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), StringRef(Str),
1320 return wrap(ConstantInt::get(unwrap<IntegerType>(IntTy), StringRef(Str, SLen),
lib/IR/DIBuilder.cpp 327 ConstantInt::get(IntegerType::get(VMContext, 32), VBPtrOffset));
369 ConstantAsMetadata::get(ConstantInt::get(IntegerType::get(VMContext, 64),
lib/IR/DataLayout.cpp 769 IntegerType *DataLayout::getIntPtrType(LLVMContext &C,
771 return IntegerType::get(C, getIndexSizeInBits(AddressSpace));
778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
lib/IR/Function.cpp 633 Result += "i" + utostr(cast<IntegerType>(Ty)->getBitWidth());
965 return IntegerType::get(Context, D.Integer_Width);
984 return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
984 return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
991 IntegerType *ITy = cast<IntegerType>(Ty);
991 IntegerType *ITy = cast<IntegerType>(Ty);
993 return IntegerType::get(Context, ITy->getBitWidth() / 2);
1203 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy))
1203 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy))
1204 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth());
1218 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy))
1218 else if (IntegerType *ITy = dyn_cast<IntegerType>(NewTy))
1219 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2);
lib/IR/Instructions.cpp 3066 if (auto *IntTy = dyn_cast<IntegerType>(DestTy))
3066 if (auto *IntTy = dyn_cast<IntegerType>(DestTy))
3070 if (auto *IntTy = dyn_cast<IntegerType>(SrcTy))
3070 if (auto *IntTy = dyn_cast<IntegerType>(SrcTy))
lib/IR/LLVMContextImpl.h 1322 IntegerType Int1Ty, Int8Ty, Int16Ty, Int32Ty, Int64Ty, Int128Ty;
1327 DenseMap<unsigned, IntegerType*> IntegerTypes;
lib/IR/MDBuilder.cpp 87 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
239 IntegerType *Int64 = Type::getInt64Ty(Context);
267 IntegerType *Int64 = Type::getInt64Ty(Context);
315 auto *IntType = Type::getInt64Ty(Context);
lib/IR/Type.cpp 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
125 return TypeSize::Fixed(cast<IntegerType>(this)->getBitWidth());
177 IntegerType *Type::getInt1Ty(LLVMContext &C) { return &C.pImpl->Int1Ty; }
178 IntegerType *Type::getInt8Ty(LLVMContext &C) { return &C.pImpl->Int8Ty; }
179 IntegerType *Type::getInt16Ty(LLVMContext &C) { return &C.pImpl->Int16Ty; }
180 IntegerType *Type::getInt32Ty(LLVMContext &C) { return &C.pImpl->Int32Ty; }
181 IntegerType *Type::getInt64Ty(LLVMContext &C) { return &C.pImpl->Int64Ty; }
182 IntegerType *Type::getInt128Ty(LLVMContext &C) { return &C.pImpl->Int128Ty; }
184 IntegerType *Type::getIntNTy(LLVMContext &C, unsigned N) {
185 return IntegerType::get(C, N);
244 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) {
250 case 1: return cast<IntegerType>(Type::getInt1Ty(C));
251 case 8: return cast<IntegerType>(Type::getInt8Ty(C));
252 case 16: return cast<IntegerType>(Type::getInt16Ty(C));
253 case 32: return cast<IntegerType>(Type::getInt32Ty(C));
254 case 64: return cast<IntegerType>(Type::getInt64Ty(C));
255 case 128: return cast<IntegerType>(Type::getInt128Ty(C));
260 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits];
263 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits);
lib/Linker/IRMover.cpp 163 if (isa<IntegerType>(DstTy))
lib/Target/AArch64/AArch64ISelLowering.cpp12202 IntegerType *IntEltTy = Builder.getIntNTy(DL.getTypeSizeInBits(EltTy));
12241 IntegerType *IntValTy = Builder.getIntNTy(DL.getTypeSizeInBits(Val->getType()));
lib/Target/AArch64/AArch64StackTagging.cpp 258 Type *NewTy = VectorType::get(IntegerType::get(Ctx, EltSize),
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp 229 const IntegerType *IntTy = dyn_cast<IntegerType>(T);
229 const IntegerType *IntTy = dyn_cast<IntegerType>(T);
495 IntegerType *I32Ty = Builder.getInt32Ty();
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 206 IntegerType *ArgIntTy = Builder.getIntNTy(Size);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 144 IntegerType *ElemIType = cast<IntegerType>(ElemType);
144 IntegerType *ElemIType = cast<IntegerType>(ElemType);
486 IntegerType *Int32Ty = Type::getInt32Ty(ArgType->getContext());
lib/Target/AMDGPU/SIISelLowering.cpp 888 ElementSize = cast<IntegerType>(ElementType)->getBitWidth();
lib/Target/ARM/ARMCodeGenPrepare.cpp 117 IntegerType *ExtTy = nullptr;
121 IntegerType *OrigTy = nullptr;
220 if (!isa<IntegerType>(Ty) ||
221 cast<IntegerType>(V->getType())->getBitWidth() == 1)
235 if (!isa<IntegerType>(V->getType()))
394 if (!isa<IntegerType>(V->getType()) || isSink(V))
558 if ((Op->getType() == ExtTy) || !isa<IntegerType>(Op->getType()))
609 if (!isa<Instruction>(V) || !isa<IntegerType>(V->getType()))
719 IntegerType *SrcTy = cast<IntegerType>(Trunc->getOperand(0)->getType());
719 IntegerType *SrcTy = cast<IntegerType>(Trunc->getOperand(0)->getType());
720 IntegerType *DestTy = cast<IntegerType>(TruncTysMap[Trunc][0]);
720 IntegerType *DestTy = cast<IntegerType>(TruncTysMap[Trunc][0]);
744 this->OrigTy = cast<IntegerType>(OrigTy);
1032 if (CI.isSigned() || !isa<IntegerType>(CI.getOperand(0)->getType()))
lib/Target/ARM/ARMISelLowering.cpp15580 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
15580 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
lib/Target/ARM/ARMLegalizerInfo.cpp 419 auto *RetTy = Type::getInt32Ty(Ctx);
lib/Target/ARM/ARMParallelDSP.cpp 228 LoadInst* CreateWideLoad(MemInstList &Loads, IntegerType *LoadTy);
699 ConstantInt::get(IntegerType::get(M->getContext(), 64), 0) :
700 ConstantInt::get(IntegerType::get(M->getContext(), 32), 0);
714 IntegerType *Ty = IntegerType::get(M->getContext(), 32);
714 IntegerType *Ty = IntegerType::get(M->getContext(), 32);
733 IntegerType *LoadTy) {
788 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType());
788 IntegerType *OffsetTy = cast<IntegerType>(Offset->getType());
lib/Target/ARM/MVETailPredication.cpp 320 ConstantInt *VF = ConstantInt::get(cast<IntegerType>(TripCount->getType()),
451 Type *Ty = IntegerType::get(M->getContext(), 32);
483 ConstantInt::get(cast<IntegerType>(Ty), VecTy->getNumElements());
lib/Target/BPF/BPFAbstractMemberAccess.cpp 853 IntegerType *VarType;
lib/Target/Hexagon/HexagonConstPropagation.cpp 1986 IntegerType *Ty = (W == 32) ? Type::getInt32Ty(CX)
2030 IntegerType *Ty = Type::getInt64Ty(CX);
2243 IntegerType *Ty = Type::getInt32Ty(CX);
lib/Target/Hexagon/HexagonISelLowering.cpp 2098 IntegerType *IntTy = IntegerType::get(*DAG.getContext(), ElemWidth);
2098 IntegerType *IntTy = IntegerType::get(*DAG.getContext(), ElemWidth);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 568 IntegerType *getPmpyType() const {
570 return IntegerType::get(Ctx, 32);
573 bool isPromotableTo(Value *V, IntegerType *Ty);
574 void promoteTo(Instruction *In, IntegerType *DestTy, BasicBlock *LoopB);
963 IntegerType *DestTy) {
964 IntegerType *T = dyn_cast<IntegerType>(Val->getType());
964 IntegerType *T = dyn_cast<IntegerType>(Val->getType());
1001 IntegerType *DestTy, BasicBlock *LoopB) {
1018 IntegerType *Ty = cast<IntegerType>(InV->getType());
1018 IntegerType *Ty = cast<IntegerType>(InV->getType());
1036 IntegerType *TruncTy = cast<IntegerType>(OrigTy);
1036 IntegerType *TruncTy = cast<IntegerType>(OrigTy);
1061 IntegerType *DestTy = getPmpyType();
1069 IntegerType *T = dyn_cast<IntegerType>(P.getType());
1069 IntegerType *T = dyn_cast<IntegerType>(P.getType());
1252 auto *T = dyn_cast<IntegerType>(V->getType());
1252 auto *T = dyn_cast<IntegerType>(V->getType());
1297 auto *CIVTy = dyn_cast<IntegerType>(CIV->getType());
1297 auto *CIVTy = dyn_cast<IntegerType>(CIV->getType());
1327 if (!isa<IntegerType>(V->getType()))
1423 auto *VTy = cast<IntegerType>(ShVal->getType());
1423 auto *VTy = cast<IntegerType>(ShVal->getType());
1424 auto *ATy = cast<IntegerType>(ShAmt->getType());
1424 auto *ATy = cast<IntegerType>(ShAmt->getType());
lib/Target/Mips/MipsISelLowering.cpp 2038 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize);
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 1225 IntegerType *Int32Ty =
1226 IntegerType::get(MF->getFunction().getContext(), 32);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp 348 if (auto *ITy = dyn_cast<IntegerType>(Ty)) {
348 if (auto *ITy = dyn_cast<IntegerType>(Ty)) {
1288 unsigned NumBits = cast<IntegerType>(Ty)->getBitWidth();
1531 if (isa<IntegerType>(Ty)) {
1532 sz = cast<IntegerType>(Ty)->getBitWidth();
lib/Target/NVPTX/NVPTXISelLowering.cpp 1278 if (auto *ITy = dyn_cast<IntegerType>(retTy)) {
1278 if (auto *ITy = dyn_cast<IntegerType>(retTy)) {
1339 if (isa<IntegerType>(Ty)) {
1340 sz = cast<IntegerType>(Ty)->getBitWidth();
lib/Target/NVPTX/NVVMIntrRange.cpp 72 IntegerType *Int32Ty = Type::getInt32Ty(Context);
lib/Target/PowerPC/PPCFastISel.cpp 443 IntegerType *OffsetTy = Type::getInt64Ty(*Context);
lib/Target/PowerPC/PPCInstrInfo.cpp 4040 const IntegerType *IntTy =
4041 dyn_cast<IntegerType>(CalleeFn->getReturnType());
lib/Target/PowerPC/PPCTargetTransformInfo.cpp 257 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
257 if (IntegerType *ITy = dyn_cast<IntegerType>(Ty))
lib/Target/RISCV/RISCVISelLowering.cpp 548 IntegerType *CallTy = Type::getIntNTy(*DAG.getContext(), Ty.getSizeInBits());
lib/Target/TargetLoweringObjectFile.cpp 193 if (IntegerType *ITy =
194 dyn_cast<IntegerType>(ATy->getElementType())) {
lib/Target/X86/X86ISelLowering.cpp45247 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
45247 IntegerType *Ty = dyn_cast<IntegerType>(CI->getType());
lib/Target/X86/X86TargetTransformInfo.cpp 3150 Type *IndexVTy = VectorType::get(IntegerType::get(SrcVTy->getContext(),
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp 271 return IntegerType::get(CurrentTruncInst->getContext(), MinBitWidth);
lib/Transforms/Coroutines/CoroInternal.h 143 IntegerType *getIndexType() const {
146 return cast<IntegerType>(FrameTy->getElementType(SwitchFieldIndex::Index));
lib/Transforms/IPO/GlobalSplit.cpp 73 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext());
lib/Transforms/IPO/LowerTypeTests.cpp 389 IntegerType *Int1Ty = Type::getInt1Ty(M.getContext());
390 IntegerType *Int8Ty = Type::getInt8Ty(M.getContext());
393 IntegerType *Int32Ty = Type::getInt32Ty(M.getContext());
395 IntegerType *Int64Ty = Type::getInt64Ty(M.getContext());
396 IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(M.getContext(), 0);
578 auto BitsType = cast<IntegerType>(Bits->getType());
976 ConstantInt::get(isa<IntegerType>(Ty) ? Ty : Int64Ty, Const);
977 if (!isa<IntegerType>(Ty))
984 if (isa<IntegerType>(Ty))
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp 258 auto *RT = dyn_cast<IntegerType>(F->getReturnType());
258 auto *RT = dyn_cast<IntegerType>(F->getReturnType());
263 auto *ArgT = dyn_cast<IntegerType>(Arg.getType());
263 auto *ArgT = dyn_cast<IntegerType>(Arg.getType());
lib/Transforms/IPO/WholeProgramDevirt.cpp 423 auto *CI = dyn_cast<IntegerType>(CS.getType());
423 auto *CI = dyn_cast<IntegerType>(CS.getType());
450 IntegerType *Int8Ty;
452 IntegerType *Int32Ty;
453 IntegerType *Int64Ty;
454 IntegerType *IntPtrTy;
543 StringRef Name, IntegerType *IntTy,
1175 auto *ArgTy = dyn_cast<IntegerType>(
1175 auto *ArgTy = dyn_cast<IntegerType>(
1196 ConstantInt::get(cast<IntegerType>(Call.CS.getType()), TheRetVal));
1270 StringRef Name, IntegerType *IntTy,
1370 auto *RetType = cast<IntegerType>(Call.CS.getType());
1370 auto *RetType = cast<IntegerType>(Call.CS.getType());
1394 auto RetType = dyn_cast<IntegerType>(TargetsForSlot[0].Fn->getReturnType());
lib/Transforms/InstCombine/InstCombineCalls.cpp 86 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) {
86 if (IntegerType* ITy = dyn_cast<IntegerType>(Ty)) {
97 IntegerType *BoolTy = Type::getInt1Ty(V->getContext());
163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3);
163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3);
263 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8.
922 auto *MaskEltTy = Type::getInt32Ty(II.getContext());
969 auto *MaskEltTy = Type::getInt32Ty(II.getContext());
1019 auto *MaskEltTy = Type::getInt32Ty(II.getContext());
1245 auto *IT = dyn_cast<IntegerType>(Op0->getType());
1245 auto *IT = dyn_cast<IntegerType>(Op0->getType());
1271 auto *IT = dyn_cast<IntegerType>(Op0->getType());
1271 auto *IT = dyn_cast<IntegerType>(Op0->getType());
2711 cast<IntegerType>(Mask->getType())->getBitWidth());
3753 if (auto *CmpType = dyn_cast<IntegerType>(Ty)) {
3753 if (auto *CmpType = dyn_cast<IntegerType>(Ty)) {
3772 IntegerType *CmpTy = Builder.getIntNTy(NewWidth);
lib/Transforms/InstCombine/InstCombineCasts.cpp 459 if (!TruncOp->hasOneUse() || !isa<IntegerType>(DestType))
821 if (Src->hasOneUse() && isa<IntegerType>(SrcTy) &&
928 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) {
928 if (IntegerType *ITy = dyn_cast<IntegerType>(CI.getType())) {
1939 if (!isa<IntegerType>(C->getType()))
1940 C = ConstantExpr::getBitCast(C, IntegerType::get(V->getContext(),
1943 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize);
2369 if (isa<IntegerType>(SrcTy)) {
lib/Transforms/InstCombine/InstCombineCompares.cpp 653 Type *IndexType = IntegerType::get(
764 Type *IndexType = IntegerType::get(V->getContext(),
1314 Type *NewType = IntegerType::get(OrigAdd->getContext(), NewWidth);
1865 Type *NTy = IntegerType::get(Cmp.getContext(), ExactLogBase2 + 1);
2151 Type *TruncTy = IntegerType::get(Cmp.getContext(), TypeBits - Amt);
2801 auto *EltTy = cast<IntegerType>(VecTy->getElementType());
2801 auto *EltTy = cast<IntegerType>(VecTy->getElementType());
4202 if (Pow2.isPowerOf2() && isa<IntegerType>(A->getType()) &&
4203 Pow2.logBase2() == cast<IntegerType>(A->getType())->getBitWidth())
4247 unsigned ASize = cast<IntegerType>(A->getType())->getPrimitiveSizeInBits();
4531 if (!isa<IntegerType>(MulVal->getType()))
5541 isa<IntegerType>(A->getType())) {
5614 IntegerType *IntTy = cast<IntegerType>(LHSI->getOperand(0)->getType());
5614 IntegerType *IntTy = cast<IntegerType>(LHSI->getOperand(0)->getType());
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 672 auto *IdxType = Type::getInt32Ty(T->getContext());
723 auto *IdxType = Type::getInt64Ty(T->getContext());
1207 auto *IdxType = Type::getInt32Ty(ST->getContext());
1255 auto *IdxType = Type::getInt64Ty(T->getContext());
lib/Transforms/InstCombine/InstCombinePHI.cpp 885 return ConstantInt::get(cast<IntegerType>(PN.getType()), 1);
1182 if (CmpInst && isa<IntegerType>(PN.getType()) && CmpInst->isEquality() &&
lib/Transforms/InstCombine/InstCombineSelect.cpp 909 auto *SelEltTy = dyn_cast<IntegerType>(SelTy->getScalarType());
909 auto *SelEltTy = dyn_cast<IntegerType>(SelTy->getScalarType());
lib/Transforms/InstCombine/InstCombineVectorOps.cpp 235 Type *SrcIntTy = IntegerType::getIntNTy(Scalar->getContext(), SrcWidth);
247 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth);
540 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext());
839 Type *I32Ty = IntegerType::getInt32Ty(Shuf->getContext());
875 Type *I32Ty = IntegerType::getInt32Ty(Shuf->getContext());
1294 Type *I32Ty = IntegerType::getInt32Ty(V->getContext());
1856 Type *I32Ty = IntegerType::getInt32Ty(Shuf.getContext());
lib/Transforms/InstCombine/InstructionCombining.cpp 2629 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth);
2629 IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1696 IntegerType::get(*C, std::max(8U, TypeSize >> Mapping.Scale));
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 325 IntegerType *ShadowTy;
327 IntegerType *IntptrTy;
552 ShadowTy = IntegerType::get(*Ctx, ShadowWidth);
1342 IntegerType *ShadowTy = IntegerType::get(*DFS.Ctx, Size * DFS.ShadowWidth);
1342 IntegerType *ShadowTy = IntegerType::get(*DFS.Ctx, Size * DFS.ShadowWidth);
lib/Transforms/Instrumentation/InstrOrderFile.cpp 120 IntegerType *Int32Ty = Type::getInt32Ty(Ctx);
121 IntegerType *Int8Ty = Type::getInt8Ty(Ctx);
lib/Transforms/Instrumentation/InstrProfiling.cpp 818 auto *Int16Ty = Type::getInt16Ty(Ctx);
948 auto *Int64Ty = Type::getInt64Ty(M->getContext());
991 auto *Int32Ty = Type::getInt32Ty(M->getContext());
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1343 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy))
1343 if (IntegerType *IT = dyn_cast<IntegerType>(OrigTy))
1348 return VectorType::get(IntegerType::get(*MS.C, EltSize),
1364 return IntegerType::get(*MS.C, TypeSize);
1370 return IntegerType::get(*MS.C, vt->getBitWidth());
1544 if (isa<IntegerType>(ShadowTy) || isa<VectorType>(ShadowTy))
2735 return VectorType::get(IntegerType::get(*MS.C, EltSizeInBits),
2817 Type *ResTy = isX86_MMX ? IntegerType::get(*MS.C, 64) : I.getType();
lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp 378 auto *SizeType = dyn_cast<IntegerType>(MemI->getLength()->getType());
378 auto *SizeType = dyn_cast<IntegerType>(MemI->getLength()->getType());
lib/Transforms/Instrumentation/PoisonChecking.cpp 257 auto * const Int1Ty = Type::getInt1Ty(F.getContext());
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 216 IntegerType *OrdTy = IRB.getInt32Ty();
lib/Transforms/Scalar/ConstantHoisting.cpp 405 IntegerType *PtrIntTy = DL->getIntPtrType(*Ctx, GVPtrTy->getAddressSpace());
873 IntegerType *Ty = ConstInfo.BaseInt->getType();
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp 643 auto *TruncTy = Type::getIntNTy(Instr->getContext(), NewWidth);
lib/Transforms/Scalar/IndVarSimplify.cpp 455 IntegerType *Int32Ty = Type::getInt32Ty(PN->getContext());
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 377 unsigned BitWidth = cast<IntegerType>(IndexAddRec->getType())->getBitWidth();
677 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
725 unsigned BitWidth = cast<IntegerType>(BoundSCEV->getType())->getBitWidth();
783 if (!ICI || !isa<IntegerType>(ICI->getOperand(0)->getType())) {
797 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType());
797 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType());
818 IntegerType *Ty = cast<IntegerType>(AR->getType());
818 IntegerType *Ty = cast<IntegerType>(AR->getType());
819 IntegerType *WideTy =
820 IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2);
1048 IntegerType *Ty = cast<IntegerType>(LatchTakenCount->getType());
1048 IntegerType *Ty = cast<IntegerType>(LatchTakenCount->getType());
1050 auto *RTy = cast<IntegerType>(Range.getType());
1050 auto *RTy = cast<IntegerType>(Range.getType());
1405 IntegerType *IVTy =
1406 cast<IntegerType>(Range.getBegin()->getType());
1571 auto *IVType = cast<IntegerType>(IndVar->getType());
1571 auto *IVType = cast<IntegerType>(IndVar->getType());
1572 auto *RCType = cast<IntegerType>(getBegin()->getType());
1572 auto *RCType = cast<IntegerType>(getBegin()->getType());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 1734 cast<IntegerType>(CntInst->getType()));
1800 Builder.CreateZExtOrTrunc(PopCnt, cast<IntegerType>(CntPhi->getType()));
lib/Transforms/Scalar/LoopStrengthReduce.cpp 632 IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(AR->getType()) + 1);
640 IntegerType::get(SE.getContext(), SE.getTypeSizeInBits(A->getType()) + 1);
648 IntegerType::get(SE.getContext(),
876 AccessTy.MemTy = PointerType::get(IntegerType::get(PTy->getContext(), 1),
lib/Transforms/Scalar/NaryReassociate.cpp 327 return cast<IntegerType>(Index->getType())->getBitWidth() < PointerSizeInBits;
lib/Transforms/Scalar/SROA.cpp 1132 IntegerType *ITy = nullptr;
1150 if (IntegerType *UserITy = dyn_cast_or_null<IntegerType>(UserTy)) {
1150 if (IntegerType *UserITy = dyn_cast_or_null<IntegerType>(UserTy)) {
1716 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) {
1716 if (isa<IntegerType>(OldTy) && isa<IntegerType>(NewTy)) {
2033 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) {
2033 if (IntegerType *ITy = dyn_cast<IntegerType>(LI->getType())) {
2058 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) {
2058 if (IntegerType *ITy = dyn_cast<IntegerType>(ValueTy)) {
2092 if (SizeInBits > IntegerType::MAX_INT_BITS)
2131 IntegerType *Ty, uint64_t Offset,
2134 IntegerType *IntTy = cast<IntegerType>(V->getType());
2134 IntegerType *IntTy = cast<IntegerType>(V->getType());
2155 IntegerType *IntTy = cast<IntegerType>(Old->getType());
2155 IntegerType *IntTy = cast<IntegerType>(Old->getType());
2156 IntegerType *Ty = cast<IntegerType>(V->getType());
2156 IntegerType *Ty = cast<IntegerType>(V->getType());
2281 IntegerType *IntTy;
2478 IntegerType *ExtractTy = Type::getIntNTy(LI.getContext(), SliceSize * 8);
2488 if (cast<IntegerType>(LI.getType())->getBitWidth() > SliceSize * 8)
2544 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy))
2544 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy))
2545 if (auto *TITy = dyn_cast<IntegerType>(TargetTy))
2545 if (auto *TITy = dyn_cast<IntegerType>(TargetTy))
2670 IntegerType *NarrowTy = Type::getIntNTy(SI.getContext(), SliceSize * 8);
2690 if (auto *VITy = dyn_cast<IntegerType>(V->getType()))
2690 if (auto *VITy = dyn_cast<IntegerType>(V->getType()))
2691 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy))
2691 if (auto *AITy = dyn_cast<IntegerType>(NewAllocaTy))
2732 IntegerType *VTy = cast<IntegerType>(V->getType());
2732 IntegerType *VTy = cast<IntegerType>(V->getType());
2790 auto *Int8Ty = IntegerType::getInt8Ty(NewAI.getContext());
2790 auto *Int8Ty = IntegerType::getInt8Ty(NewAI.getContext());
3002 IntegerType *SubIntTy =
3090 ConstantInt::get(cast<IntegerType>(II.getArgOperand(0)->getType()),
3839 IntegerType *Ty = cast<IntegerType>(LI->getType());
3839 IntegerType *Ty = cast<IntegerType>(LI->getType());
3858 auto *PartTy = Type::getIntNTy(Ty->getContext(), PartSize * 8);
3962 IntegerType *Ty = cast<IntegerType>(LI->getType());
3962 IntegerType *Ty = cast<IntegerType>(LI->getType());
3992 auto *PartTy = Type::getIntNTy(Ty->getContext(), PartSize * 8);
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp 575 unsigned BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp 389 if (!isa<IntegerType>(I->getType()))
413 ConstantInt *One = ConstantInt::get(cast<IntegerType>(I->getType()), 1);
447 ConstantInt *Zero = ConstantInt::get(cast<IntegerType>(I->getType()), 0);
457 if (!isa<IntegerType>(I->getType()))
476 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
476 IntegerType *IntPtrTy = cast<IntegerType>(DL->getIntPtrType(I->getType()));
488 Base, ConstantInt::get(cast<IntegerType>(ArrayIdx->getType()), 1),
603 IntegerType *DeltaType =
604 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth());
lib/Transforms/Utils/BuildLibCalls.cpp 1300 IntegerType *PtrType = DL.getIntPtrType((B.GetInsertBlock()->getContext()));
lib/Transforms/Utils/BypassSlowDivision.cpp 80 IntegerType *BypassType = nullptr;
127 IntegerType *SlowType = dyn_cast<IntegerType>(SlowDivOrRem->getType());
127 IntegerType *SlowType = dyn_cast<IntegerType>(SlowDivOrRem->getType());
137 IntegerType *BT = IntegerType::get(I->getContext(), BI->second);
137 IntegerType *BT = IntegerType::get(I->getContext(), BI->second);
lib/Transforms/Utils/Evaluator.cpp 194 IntegerType *IdxTy = IntegerType::get(Ty->getContext(), 32);
194 IntegerType *IdxTy = IntegerType::get(Ty->getContext(), 32);
lib/Transforms/Utils/FunctionComparator.cpp 426 return cmpNumbers(cast<IntegerType>(TyL)->getBitWidth(),
427 cast<IntegerType>(TyR)->getBitWidth());
lib/Transforms/Utils/IntegerDivision.cpp 157 IntegerType *DivTy = cast<IntegerType>(Dividend->getType());
157 IntegerType *DivTy = cast<IntegerType>(Dividend->getType());
lib/Transforms/Utils/Local.cpp 2558 auto *ITy = cast<IntegerType>(NewTy);
2558 auto *ITy = cast<IntegerType>(NewTy);
2684 auto BitWidth = cast<IntegerType>(V->getType())->getBitWidth();
2784 cast<IntegerType>(cast<ZExtInst>(I)->getSrcTy())->getBitWidth();
2824 IntegerType *ITy = dyn_cast<IntegerType>(I->getType());
2824 IntegerType *ITy = dyn_cast<IntegerType>(I->getType());
2830 IntegerType *DemandedTy = ITy;
2833 DemandedTy = cast<IntegerType>(Trunc->getType());
2866 IntegerType *ProviderTy = cast<IntegerType>(Provider->getType());
2866 IntegerType *ProviderTy = cast<IntegerType>(Provider->getType());
lib/Transforms/Utils/LoopUnrollRuntime.cpp 624 unsigned BEWidth = cast<IntegerType>(BECountSC->getType())->getBitWidth();
lib/Transforms/Utils/LoopUtils.cpp 1014 unsigned BitWidth = cast<IntegerType>(S->getType())->getBitWidth();
1025 unsigned BitWidth = cast<IntegerType>(S->getType())->getBitWidth();
lib/Transforms/Utils/LowerMemIntrinsics.cpp 167 IntegerType *ILengthType = dyn_cast<IntegerType>(CopyLenType);
167 IntegerType *ILengthType = dyn_cast<IntegerType>(CopyLenType);
lib/Transforms/Utils/SanitizerStats.cpp 46 IntegerType *IntPtrTy = B.getIntPtrTy(M->getDataLayout());
78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext());
lib/Transforms/Utils/SimplifyCFG.cpp 417 IntegerType *PtrTy = cast<IntegerType>(DL.getIntPtrType(V->getType()));
417 IntegerType *PtrTy = cast<IntegerType>(DL.getIntPtrType(V->getType()));
4963 IntegerType *BitMapElementTy = nullptr;
5024 if (isa<IntegerType>(ValueType)) {
5061 IntegerType *IT = cast<IntegerType>(ValueType);
5061 IntegerType *IT = cast<IntegerType>(ValueType);
5108 IntegerType *MapTy = BitMap->getType();
5128 IntegerType *IT = cast<IntegerType>(Index->getType());
5128 IntegerType *IT = cast<IntegerType>(Index->getType());
5133 Index, IntegerType::get(IT->getContext(), IT->getBitWidth() + 1),
5150 auto *IT = dyn_cast<IntegerType>(ElementType);
5150 auto *IT = dyn_cast<IntegerType>(ElementType);
5459 IntegerType *MapTy = TableMask->getType();
5553 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType());
5553 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType());
5615 auto *Ty = cast<IntegerType>(SI->getCondition()->getType());
5615 auto *Ty = cast<IntegerType>(SI->getCondition()->getType());
lib/Transforms/Utils/SimplifyIndVar.cpp 137 uint32_t BitWidth = cast<IntegerType>(UseInst->getType())->getBitWidth();
428 auto *NarrowTy = cast<IntegerType>(LHS->getType());
428 auto *NarrowTy = cast<IntegerType>(LHS->getType());
429 auto *WideTy =
430 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2);
lib/Transforms/Utils/SimplifyLibCalls.cpp 1008 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8);
1008 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8);
1177 IntegerType *SizeType = DL.getIntPtrType(B.GetInsertBlock()->getContext());
lib/Transforms/Utils/VNCoercion.cpp 111 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize);
125 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadedValSize);
365 SrcVal = Helper.CreateBitCast(SrcVal, IntegerType::get(Ctx, StoreSize * 8));
379 IntegerType::get(Ctx, LoadSize * 8));
427 Type *DestTy = IntegerType::get(LoadTy->getContext(), NewLoadSize * 8);
477 Helper.CreateZExtOrBitCast(Val, IntegerType::get(Ctx, LoadSize * 8));
lib/Transforms/Vectorize/LoopVectorize.cpp 1686 auto *TruncType = cast<IntegerType>(EntryVal->getType());
1686 auto *TruncType = cast<IntegerType>(EntryVal->getType());
1858 auto *TruncType = cast<IntegerType>(Trunc->getType());
1858 auto *TruncType = cast<IntegerType>(Trunc->getType());
2671 IntegerType::getIntNTy(V->getContext(), DL.getTypeSizeInBits(SrcElemTy));
3278 auto *I1 = cast<IntegerType>(T1->getVectorElementType());
3278 auto *I1 = cast<IntegerType>(T1->getVectorElementType());
3279 auto *I2 = cast<IntegerType>(T2->getVectorElementType());
3279 auto *I2 = cast<IntegerType>(T2->getVectorElementType());
3283 auto *I1 = cast<IntegerType>(T1->getVectorElementType());
3283 auto *I1 = cast<IntegerType>(T1->getVectorElementType());
3284 auto *I2 = cast<IntegerType>(T2->getVectorElementType());
3284 auto *I2 = cast<IntegerType>(T2->getVectorElementType());
3306 IntegerType::get(OriginalTy->getContext(), KV.second);
6095 RetTy = IntegerType::get(RetTy->getContext(), MinBWs[I]);
6123 VectorType::get(IntegerType::getInt1Ty(RetTy->getContext()), VF);
6241 ValTy = IntegerType::get(ValTy->getContext(), MinBWs[Op0AsInstruction]);
lib/Transforms/Vectorize/SLPVectorizer.cpp 2921 IntegerType::get(F->getContext(), MinBWs[VL[0]].first), VL.size());
3322 if (!TTI->isTypeLegal(IntegerType::get(Context, LoadBitWidth)))
3478 auto *MinTy = IntegerType::get(F->getContext(), MinBWs[ScalarRoot].first);
3478 auto *MinTy = IntegerType::get(F->getContext(), MinBWs[ScalarRoot].first);
4257 auto *MinTy = IntegerType::get(F->getContext(), MinBWs[ScalarRoot].first);
4257 auto *MinTy = IntegerType::get(F->getContext(), MinBWs[ScalarRoot].first);
5061 auto *TreeRootIT = dyn_cast<IntegerType>(TreeRoot[0]->getType());
5061 auto *TreeRootIT = dyn_cast<IntegerType>(TreeRoot[0]->getType());
tools/clang/include/clang/CodeGen/ConstantInitBuilder.h 197 void addInt(llvm::IntegerType *intTy, uint64_t value,
225 void addRelativeOffset(llvm::IntegerType *type, llvm::Constant *target) {
233 void addTaggedRelativeOffset(llvm::IntegerType *type,
283 llvm::IntegerType *type, uint64_t value,
319 llvm::Constant *getRelativeOffset(llvm::IntegerType *offsetType,
tools/clang/include/clang/CodeGen/SwiftCallingConv.h 135 bool isLegalIntegerType(CodeGenModule &CGM, llvm::IntegerType *type);
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGAtomic.cpp 731 llvm::Type *IPtrTy = llvm::IntegerType::get(CGF.getLLVMContext(),
1333 llvm::IntegerType *ty =
1334 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits);
1581 if (isa<llvm::IntegerType>(Value->getType()))
1584 llvm::IntegerType *InputIntTy = llvm::IntegerType::get(
1584 llvm::IntegerType *InputIntTy = llvm::IntegerType::get(
tools/clang/lib/CodeGen/CGBlocks.cpp 188 llvm::IntegerType *ulong =
189 cast<llvm::IntegerType>(CGM.getTypes().ConvertType(C.UnsignedLongTy));
tools/clang/lib/CodeGen/CGBuiltin.cpp 58 llvm::Type *Int8 = llvm::IntegerType::getInt8Ty(CGF.CGM.getLLVMContext());
94 QualType T, llvm::IntegerType *IntType) {
129 llvm::IntegerType *IntType =
130 llvm::IntegerType::get(CGF.getLLVMContext(),
190 llvm::IntegerType *IntType =
191 llvm::IntegerType::get(CGF.getLLVMContext(),
231 llvm::IntegerType *IntType = llvm::IntegerType::get(
231 llvm::IntegerType *IntType = llvm::IntegerType::get(
327 llvm::IntegerType::get(CGF.getLLVMContext(), LoadSize.getQuantity() * 8);
341 llvm::IntegerType::get(CGF.getLLVMContext(), StoreSize.getQuantity() * 8);
421 llvm::Type *IntTy = llvm::IntegerType::get(C, Width);
438 IntTy = llvm::IntegerType::get(C, Width);
550 getDefaultBuiltinObjectSizeResult(unsigned Type, llvm::IntegerType *ResType) {
556 llvm::IntegerType *ResType,
576 llvm::IntegerType *ResType,
714 llvm::IntegerType *IntType = llvm::IntegerType::get(
714 llvm::IntegerType *IntType = llvm::IntegerType::get(
947 unsigned ArgWidth = cast<llvm::IntegerType>(ArgType)->getBitWidth();
1267 llvm::IntegerType *IntTy = llvm::Type::getIntNTy(getLLVMContext(),
2137 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType()));
2137 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType()));
2592 llvm::IntegerType *Ty
2593 = cast<llvm::IntegerType>(ConvertType(E->getType()));
2611 llvm::IntegerType *IntTy = cast<llvm::IntegerType>(Int->getType());
2611 llvm::IntegerType *IntTy = cast<llvm::IntegerType>(Int->getType());
2843 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(),
3239 llvm::IntegerType::get(CGM.getLLVMContext(), EncompassingInfo.Width);
3397 llvm::IntegerType *IntType =
3398 IntegerType::get(getLLVMContext(),
5572 llvm::IntegerType::get(getLLVMContext(), EltBits / 2);
5582 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2);
6188 llvm::Type *PtrTy = llvm::IntegerType::get(
6201 llvm::Type *IntResTy = llvm::IntegerType::get(
6236 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(),
6243 llvm::Type *IntTy = llvm::IntegerType::get(
7165 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128);
7179 llvm::Type *PtrTy = llvm::IntegerType::get(
7192 llvm::Type *IntResTy = llvm::IntegerType::get(
7225 llvm::Type *StoreTy = llvm::IntegerType::get(getLLVMContext(),
7232 llvm::Type *IntTy = llvm::IntegerType::get(
8456 llvm::IntegerType *EltTy = cast<IntegerType>(VTy->getElementType());
8456 llvm::IntegerType *EltTy = cast<IntegerType>(VTy->getElementType());
8459 llvm::IntegerType::get(getLLVMContext(), BitWidth/2), 2*ArgElts);
9494 cast<IntegerType>(Mask->getType())->getBitWidth());
9702 IntegerType::get(CGF.getLLVMContext(),
12172 llvm::Type *Int64Ty = llvm::IntegerType::get(getLLVMContext(), 64);
12183 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128);
tools/clang/lib/CodeGen/CGCUDANV.cpp 36 llvm::IntegerType *IntTy, *SizeTy;
tools/clang/lib/CodeGen/CGCall.cpp 1236 if ((isa<llvm::IntegerType>(Ty) || isa<llvm::PointerType>(Ty)) &&
1237 (isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy))) {
1310 if ((isa<llvm::IntegerType>(SrcTy) || isa<llvm::PointerType>(SrcTy)) &&
1311 (isa<llvm::IntegerType>(DstTy) || isa<llvm::PointerType>(DstTy))) {
2176 if (isa<llvm::IntegerType>(varType))
tools/clang/lib/CodeGen/CGDecl.cpp 1006 llvm::Type *Int8Ty = llvm::IntegerType::getInt8Ty(CGM.getLLVMContext());
tools/clang/lib/CodeGen/CGExpr.cpp 993 if (isa<llvm::IntegerType>(InVal.first->getType())) {
1605 cast<llvm::IntegerType>(Value->getType())->getBitWidth() == 1)
tools/clang/lib/CodeGen/CGExprCXX.cpp 711 llvm::IntegerType *numElementsType
712 = cast<llvm::IntegerType>(numElements->getType());
tools/clang/lib/CodeGen/CGExprScalar.cpp 864 if (isa<llvm::IntegerType>(Src->getType()))
875 if (!isa<llvm::IntegerType>(DstTy))
1360 if (isa<llvm::IntegerType>(SrcTy)) {
1365 if (isa<llvm::IntegerType>(DstTy))
1371 } else if (isa<llvm::IntegerType>(DstTy)) {
1693 if (isa<llvm::IntegerType>(SrcEltTy)) {
1695 if (isa<llvm::IntegerType>(DstEltTy))
1701 } else if (isa<llvm::IntegerType>(DstEltTy)) {
2976 llvm::IntegerType *Ty = cast<llvm::IntegerType>(Zero->getType());
2976 llvm::IntegerType *Ty = cast<llvm::IntegerType>(Zero->getType());
3139 Builder.getInt8(cast<llvm::IntegerType>(opTy)->getBitWidth())
3177 unsigned width = cast<llvm::IntegerType>(index->getType())->getBitWidth();
3582 llvm::IntegerType *Ty;
3584 Ty = cast<llvm::IntegerType>(VT->getElementType());
3586 Ty = cast<llvm::IntegerType>(LHS->getType());
3607 isa<llvm::IntegerType>(Ops.LHS->getType())) {
3670 isa<llvm::IntegerType>(Ops.LHS->getType())) {
3813 llvm::IntegerType *ResultTy = cast<llvm::IntegerType>(Result->getType());
3813 llvm::IntegerType *ResultTy = cast<llvm::IntegerType>(Result->getType());
tools/clang/lib/CodeGen/CGObjCGNU.cpp 74 Tys *... Types) {
121 llvm::IntegerType *Int8Ty;
147 llvm::IntegerType *IntTy;
155 llvm::IntegerType *LongTy;
157 llvm::IntegerType *SizeTy;
159 llvm::IntegerType *IntPtrTy;
161 llvm::IntegerType *PtrDiffTy;
168 llvm::IntegerType *Int32Ty;
170 llvm::IntegerType *Int64Ty;
2129 IntTy = cast<llvm::IntegerType>(
2131 LongTy = cast<llvm::IntegerType>(
2133 SizeTy = cast<llvm::IntegerType>(
2135 PtrDiffTy = cast<llvm::IntegerType>(
tools/clang/lib/CodeGen/CGObjCMac.cpp 172 llvm::IntegerType *ShortTy, *IntTy, *LongTy;
5617 ShortTy = cast<llvm::IntegerType>(Types.ConvertType(Ctx.ShortTy));
5619 LongTy = cast<llvm::IntegerType>(Types.ConvertType(Ctx.LongTy));
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp 101 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext());
111 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext());
120 return llvm::IntegerType::getInt8PtrTy(
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 600 cast<llvm::IntegerType>(Prior->Data)->getIntegerBitWidth(), 8)));
tools/clang/lib/CodeGen/CGStmt.cpp 1830 Ty = llvm::IntegerType::get(getLLVMContext(), Size);
2048 llvm::Type *ConvTy = llvm::IntegerType::get(getLLVMContext(), Size);
2177 if (isa<llvm::IntegerType>(OutputTy))
2314 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize));
2319 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize));
tools/clang/lib/CodeGen/CodeGenFunction.cpp 556 llvm::IntegerType::get(Context, 32),
tools/clang/lib/CodeGen/CodeGenFunction.h 4200 llvm::IntegerType *ResType,
4208 llvm::IntegerType *ResType,
tools/clang/lib/CodeGen/CodeGenModule.cpp 119 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth());
120 IntPtrTy = llvm::IntegerType::get(LLVMContext,
4766 llvm::IntegerType *LengthTy =
4767 llvm::IntegerType::get(getModule().getContext(),
tools/clang/lib/CodeGen/CodeGenTypeCache.h 37 llvm::IntegerType *Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
42 llvm::IntegerType *IntTy;
46 llvm::IntegerType *IntPtrTy;
47 llvm::IntegerType *SizeTy;
48 llvm::IntegerType *PtrDiffTy;
tools/clang/lib/CodeGen/CodeGenTypes.cpp 94 return llvm::IntegerType::get(getLLVMContext(),
465 ResultType = llvm::IntegerType::get(getLLVMContext(),
498 ResultType = llvm::IntegerType::get(getLLVMContext(), 128);
527 ResultType = llvm::IntegerType::get(getLLVMContext(), 32);
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp 129 ConstantAggregateBuilderBase::getRelativeOffset(llvm::IntegerType *offsetType,
tools/clang/lib/CodeGen/CoverageMappingGen.cpp 1375 auto *Int32Ty = llvm::Type::getInt32Ty(Ctx);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 2192 llvm::IntegerType *guardTy;
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 1922 llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()),
2449 llvm::IntegerType *GuardTy = CGF.Int32Ty;
tools/clang/lib/CodeGen/PatternInit.cpp 36 unsigned BitWidth = cast<llvm::IntegerType>(
51 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 222 if (auto intTy = dyn_cast<llvm::IntegerType>(type)) {
529 llvm::IntegerType::get(CGM.getLLVMContext(),
656 llvm::IntegerType *intTy) {
tools/clang/lib/CodeGen/TargetInfo.cpp 119 } else if (auto intTy = dyn_cast<llvm::IntegerType>(type)) {
1224 llvm::Type *CoerceTy = llvm::IntegerType::get(CGF.getLLVMContext(), RetWidth);
1409 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
1450 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),Size));
1677 llvm::IntegerType *Int32 = llvm::Type::getInt32Ty(LLVMContext);
1689 llvm::IntegerType *PaddingType = NeedsPadding ? Int32 : nullptr;
1715 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
1720 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), 64));
2987 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(),
3202 cast<llvm::IntegerType>(IRType)->getBitWidth();
3239 return llvm::IntegerType::get(getVMContext(),
3326 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) {
3471 if (Hi == NoClass && isa<llvm::IntegerType>(ResType)) {
3997 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Width));
4342 llvm::IntegerType *i8 = CGF.Int8Ty;
4745 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size);
4779 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8));
4785 llvm::Type *RegTy = llvm::IntegerType::get(getVMContext(), RegBits);
4817 llvm::Type *CoerceTy = llvm::IntegerType::get(getVMContext(), Size);
4841 CoerceTy = llvm::IntegerType::get(getVMContext(), GPRBits);
4845 llvm::IntegerType::get(getVMContext(), llvm::alignTo(Bits, 8));
4915 llvm::IntegerType *i8 = CGF.Int8Ty;
5197 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size));
5247 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size));
6115 return ABIArgInfo::getDirect(llvm::IntegerType::get(
6879 PassTy = llvm::IntegerType::get(getVMContext(), Size);
7024 llvm::IntegerType *IntTy =
7025 llvm::IntegerType::get(getVMContext(), MinABIStackAlignInBytes * 8);
7035 ArgList.push_back(llvm::IntegerType::get(getVMContext(), R));
7065 llvm::IntegerType *I64 = llvm::IntegerType::get(getVMContext(), 64);
7065 llvm::IntegerType *I64 = llvm::IntegerType::get(getVMContext(), 64);
7101 return llvm::IntegerType::get(getVMContext(), (Offset - OrigOffset) * 8);
7638 llvm::IntegerType *Int32 = llvm::Type::getInt32Ty(LLVMContext);
8225 Elems.push_back(llvm::IntegerType::get(Context, Aligned - Size));
8237 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size));
8435 llvm::IntegerType *i8 = CGF.Int8Ty;
8563 llvm::IntegerType *Int32 = llvm::Type::getInt32Ty(LLVMContext);
9609 llvm::IntegerType::get(getVMContext(), XLen));
9612 llvm::IntegerType::get(getVMContext(), 2 * XLen));
9615 llvm::IntegerType::get(getVMContext(), XLen), 2));
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp 73 IntegerType *getSizeTTy() {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp 286 IntegerType *GetIntptrTy() {
307 IntegerType *m_intptr_ty;
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 1751 IntegerType *offset_type(Type::getInt32Ty(context));
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.h 462 llvm::IntegerType
tools/llvm-stress/llvm-stress.cpp 710 if (Instr.getType() == IntegerType::getInt1Ty(F->getContext()))
tools/opt/Debugify.cpp 151 auto *IntTy = Type::getInt32Ty(Ctx);
tools/polly/include/polly/CodeGen/IslExprBuilder.h 149 llvm::IntegerType *getType(__isl_keep isl_ast_expr *Expr);
tools/polly/lib/Analysis/ScopBuilder.cpp 1666 ConstantInt::get(IntegerType::getInt64Ty(BasePtr->getContext()), V)));
1764 IntegerType::getInt8Ty(DestPtrVal->getContext()),
1786 IntegerType::getInt8Ty(SrcPtrVal->getContext()),
1803 auto *AF = SE.getConstant(IntegerType::getInt64Ty(CI->getContext()), 0);
2489 auto *Ty = IntegerType::get(SE.getContext(), DivisibleSize * 8);
2489 auto *Ty = IntegerType::get(SE.getContext(), DivisibleSize * 8);
3650 auto *AF = SE.getConstant(IntegerType::getInt64Ty(SE.getContext()), 0);
tools/polly/lib/Analysis/ScopInfo.cpp 291 ElementType = IntegerType::get(ElementType->getContext(), GCD);
1844 auto *DimSizeType = Type::getInt64Ty(getSE()->getContext());
tools/polly/lib/CodeGen/IslExprBuilder.cpp 504 auto *PtrAsIntTy = Builder.getIntNTy(DL.getPointerSizeInBits());
738 IntegerType *IslExprBuilder::getType(__isl_keep isl_ast_expr *Expr) {
743 return IntegerType::get(Builder.getContext(), 64);
752 IntegerType *T;
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1152 Type *endType = dyn_cast<IntegerType>(end->getType());
tools/polly/lib/CodeGen/LoopGenerators.cpp 92 IntegerType *LoopIVType = dyn_cast<IntegerType>(UB->getType());
92 IntegerType *LoopIVType = dyn_cast<IntegerType>(UB->getType());
unittests/Analysis/BranchProbabilityInfoTest.cpp 71 auto *I32 = IntegerType::get(C, 32);
71 auto *I32 = IntegerType::get(C, 32);
unittests/Analysis/DivergenceAnalysisTest.cpp 78 IntegerType *IntTy = IntegerType::getInt32Ty(Context);
78 IntegerType *IntTy = IntegerType::getInt32Ty(Context);
unittests/Analysis/MemoryBuiltinsTest.cpp 26 IntegerType *ArgTy = Type::getInt32Ty(Context);
unittests/Analysis/ScalarEvolutionTest.cpp 128 auto *Ty = Type::getInt32Ty(Context);
148 auto *I8Ty = Type::getInt8Ty(Context);
150 auto *I32Ty = Type::getInt32Ty(Context);
342 auto *Ty = Type::getInt32Ty(Context);
402 IntegerType *IntPtrTy = M.getDataLayout().getIntPtrType(Context);
1490 cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
1532 cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
1567 cast<IntegerType>(NewCanonicalIV->getType())->getBitWidth();
1608 cast<IntegerType>(CanonicalIV.getType())->getBitWidth();
1633 Type *ARType = IntegerType::get(C, ARBitWidth);
1830 cast<IntegerType>(CanonicalIV->getType())->getBitWidth();
1878 cast<IntegerType>(CanonicalIV.getType())->getBitWidth();
1895 Type *ARType = IntegerType::get(C, ARBitWidth);
unittests/Analysis/TBAATest.cpp 38 auto *IntType = Type::getInt32Ty(C);
unittests/Analysis/ValueLatticeTest.cpp 32 auto I32Ty = IntegerType::get(Context, 32);
47 auto I32Ty = IntegerType::get(Context, 32);
91 auto *I32Ty = IntegerType::get(Context, 32);
91 auto *I32Ty = IntegerType::get(Context, 32);
92 auto *I1Ty = IntegerType::get(Context, 1);
92 auto *I1Ty = IntegerType::get(Context, 1);
136 auto *FloatTy = IntegerType::getFloatTy(Context);
137 auto *I1Ty = IntegerType::get(Context, 1);
137 auto *I1Ty = IntegerType::get(Context, 1);
162 auto *I32Ty = IntegerType::get(Context, 32);
162 auto *I32Ty = IntegerType::get(Context, 32);
163 auto *I1Ty = IntegerType::get(Context, 1);
163 auto *I1Ty = IntegerType::get(Context, 1);
175 auto *FloatTy = IntegerType::getFloatTy(Context);
unittests/CodeGen/LowLevelTypeTest.cpp 43 Type *IRTy = IntegerType::get(C, S);
87 Type *IRSTy = IntegerType::get(C, S);
200 Type *IRTy = PointerType::get(IntegerType::get(C, 8), AS);
203 VectorType::get(PointerType::get(IntegerType::get(C, 8), AS), NumElts);
unittests/ExecutionEngine/Orc/LegacyRTDyldObjectLinkingLayerTest.cpp 80 Type *Int32Ty = IntegerType::get(Context, 32);
126 Type *Int32Ty = IntegerType::get(Context, 32);
163 IntegerType *Int32Ty = IntegerType::get(Context, 32);
163 IntegerType *Int32Ty = IntegerType::get(Context, 32);
216 Type *Int32Ty = IntegerType::get(Context, 32);
249 IntegerType *Int32Ty = IntegerType::get(Context, 32);
249 IntegerType *Int32Ty = IntegerType::get(Context, 32);
263 IntegerType *Int32Ty = IntegerType::get(Context, 32);
263 IntegerType *Int32Ty = IntegerType::get(Context, 32);
unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp 76 Type *Int32Ty = IntegerType::get(Context, 32);
unittests/IR/BasicBlockTest.cpp 45 auto *Int32Ty = Type::getInt32Ty(Context);
unittests/IR/CFGBuilder.cpp 41 auto *IntTy = IntegerType::get(From->getContext(), 32);
41 auto *IntTy = IntegerType::get(From->getContext(), 32);
unittests/IR/ConstantsTest.cpp 25 IntegerType *Int1 = IntegerType::get(Context, 1);
25 IntegerType *Int1 = IntegerType::get(Context, 1);
107 IntegerType *Int8Ty = Type::getInt8Ty(Context);
123 IntegerType *Int128Ty = Type::getIntNTy(Context, 128);
466 auto *i32 = Type::getInt32Ty(Context);
489 IntegerType *ConstantIntType(Type::getInt32Ty(Context));
572 IntegerType *IntType(Type::getInt32Ty(Context));
unittests/IR/IRBuilderTest.cpp 366 IntegerType *Ty1 = Builder.getInt1Ty();
370 IntegerType *IntPtrTy = Builder.getIntPtrTy(*DL);
unittests/IR/InstructionsTest.cpp 48 IntegerType* Int1 = IntegerType::get(C, 1);
48 IntegerType* Int1 = IntegerType::get(C, 1);
138 IntegerType* Int1 = IntegerType::get(C, 1);
138 IntegerType* Int1 = IntegerType::get(C, 1);
309 Type *I8Ty = IntegerType::get(C, 8);
310 Type *I32Ty = IntegerType::get(C, 32);
477 IntegerType *Int16SizePtr = DL.getIntPtrType(C, 1);
478 IntegerType *Int64SizePtr = DL.getIntPtrType(C, 2);
705 auto *Int32Ty = Type::getInt32Ty(C);
768 auto *Int32Ty = Type::getInt32Ty(C);
unittests/IR/LegacyPassManagerTest.cpp 476 /*Result=*/IntegerType::get(Context, 32),
481 FuncTy_2_args.push_back(IntegerType::get(Context, 1));
unittests/IR/PatternMatch.cpp 478 Value *One64Z = IRB.CreateZExt(One32, IntegerType::getInt64Ty(Ctx));
479 Value *One64S = IRB.CreateSExt(One32, IntegerType::getInt64Ty(Ctx));
unittests/IR/VerifierTest.cpp 42 Constant *Zero32 = ConstantInt::get(IntegerType::get(C, 32), 0);
unittests/Transforms/Utils/CloningTest.cpp 490 AllocaInst* Alloca = IBuilder.CreateAlloca(IntegerType::getInt32Ty(C));
unittests/Transforms/Utils/ValueMapperTest.cpp 329 auto *Int8 = Type::getInt8Ty(Context);
usr/include/c++/7.4.0/type_traits 1983 { typedef _Up type; };
utils/unittest/googletest/include/gtest/gtest-printers.h 407 T* p, ::std::ostream* os) {
416 if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {