|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/IR/DerivedTypes.h 63 static IntegerType *get(LLVMContext &C, unsigned NumBits);
References
include/llvm/IR/DerivedTypes.h 471 Type *EltTy = IntegerType::get(VTy->getContext(), EltBits);
503 EltTy = IntegerType::get(VTy->getContext(), EltBits / 2);
lib/Analysis/ConstantFolding.cpp 117 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElts);
174 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumDstElt);
187 VectorType::get(IntegerType::get(C->getContext(), FPWidth), NumSrcElt);
lib/Analysis/IVDescriptors.cpp 101 RT = IntegerType::get(Phi->getContext(), Bits);
lib/Analysis/ScalarEvolution.cpp 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());
3211 IntegerType::get(getContext(), getTypeSizeInBits(Ty) + MaxShiftAmt);
6291 IntegerType::get(getContext(), BitWidth - LZ - TZ)),
6410 Type *TruncTy = IntegerType::get(getContext(), BitWidth - AShrAmt);
lib/Analysis/ScalarEvolutionExpander.cpp 1132 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
1146 Type *WideTy = IntegerType::get(AR->getType()->getContext(), BitWidth * 2);
2261 IntegerType *CountTy = IntegerType::get(Loc->getContext(), SrcBits);
2266 IntegerType::get(Loc->getContext(), SE.getTypeSizeInBits(ARTy));
2362 auto *BoolType = IntegerType::get(IP->getContext(), 1);
lib/Analysis/TypeBasedAliasAnalysis.cpp 548 Type *Int64 = IntegerType::get(AccessType->getContext(), 64);
lib/AsmParser/LLLexer.cpp 484 TyVal = IntegerType::get(Context, NumBits);
lib/Bitcode/Reader/BitcodeReader.cpp 1763 ResultTy = IntegerType::get(Context, NumBits);
lib/CodeGen/AtomicExpandPass.cpp 366 return IntegerType::get(T->getContext(), BitWidth);
1041 StoreSuccess, ConstantInt::get(IntegerType::get(Ctx, 32), 0), "tryagain");
lib/CodeGen/ExpandMemCmp.cpp 336 : IntegerType::get(CI->getContext(), MaxLoadSize * 8);
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/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/MachineFunction.cpp 1036 Type *IntTy = IntegerType::get(A->getContext(), StoreSize*8);
lib/CodeGen/SelectionDAG/FastISel.cpp 2001 IntegerType::get(FuncInfo.Fn->getContext(), VT.getSizeInBits());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 7790 OpTy = IntegerType::get(Context, BitSize);
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);
275 case MVT::i128: return IntegerType::get(Context, 128);
lib/IR/ConstantFold.cpp 60 Type *Ty = IntegerType::get(CV->getContext(), 32);
280 IntegerType::get(CE->getContext(), ByteSize * 8));
303 IntegerType::get(CE->getContext(), ByteSize * 8));
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);
742 Type *Ty = IntegerType::get(CondV->getContext(), 32);
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 646 IntegerType *ITy = IntegerType::get(Context, V.getBitWidth());
649 assert(Slot->getType() == IntegerType::get(Context, V.getBitWidth()));
lib/IR/Core.cpp 565 return wrap(IntegerType::get(*unwrap(C), NumBits));
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 771 return IntegerType::get(C, getIndexSizeInBits(AddressSpace));
778 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
800 IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits);
lib/IR/Function.cpp 965 return IntegerType::get(Context, D.Integer_Width);
984 return IntegerType::get(Context, 2 * cast<IntegerType>(Ty)->getBitWidth());
993 return IntegerType::get(Context, ITy->getBitWidth() / 2);
1204 NewTy = IntegerType::get(ITy->getContext(), 2 * ITy->getBitWidth());
1219 NewTy = IntegerType::get(ITy->getContext(), ITy->getBitWidth() / 2);
lib/IR/MDBuilder.cpp 87 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
lib/IR/Type.cpp 185 return IntegerType::get(C, N);
lib/Target/AArch64/AArch64StackTagging.cpp 258 Type *NewTy = VectorType::get(IntegerType::get(Ctx, EltSize),
lib/Target/ARM/ARMParallelDSP.cpp 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);
lib/Target/ARM/MVETailPredication.cpp 451 Type *Ty = IntegerType::get(M->getContext(), 32);
lib/Target/Hexagon/HexagonISelLowering.cpp 2098 IntegerType *IntTy = IntegerType::get(*DAG.getContext(), ElemWidth);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 570 return IntegerType::get(Ctx, 32);
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 1226 IntegerType::get(MF->getFunction().getContext(), 32);
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/InstCombine/InstCombineCalls.cpp 163 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3);
263 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8.
lib/Transforms/InstCombine/InstCombineCasts.cpp 1940 C = ConstantExpr::getBitCast(C, IntegerType::get(V->getContext(),
1943 Type *ElementIntTy = IntegerType::get(C->getContext(), ElementSize);
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);
lib/Transforms/InstCombine/InstructionCombining.cpp 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 552 ShadowTy = IntegerType::get(*Ctx, ShadowWidth);
1342 IntegerType *ShadowTy = IntegerType::get(*DFS.Ctx, Size * DFS.ShadowWidth);
lib/Transforms/Instrumentation/MemorySanitizer.cpp 1348 return VectorType::get(IntegerType::get(*MS.C, EltSize),
1364 return IntegerType::get(*MS.C, TypeSize);
1370 return IntegerType::get(*MS.C, vt->getBitWidth());
2735 return VectorType::get(IntegerType::get(*MS.C, EltSizeInBits),
2817 Type *ResTy = isX86_MMX ? IntegerType::get(*MS.C, 64) : I.getType();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp 820 IntegerType::get(Ty->getContext(), Ty->getBitWidth() * 2);
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/StraightLineStrengthReduce.cpp 604 IntegerType::get(Basis.Ins->getContext(), IndexOffset.getBitWidth());
lib/Transforms/Utils/BypassSlowDivision.cpp 137 IntegerType *BT = IntegerType::get(I->getContext(), BI->second);
lib/Transforms/Utils/Evaluator.cpp 194 IntegerType *IdxTy = IntegerType::get(Ty->getContext(), 32);
lib/Transforms/Utils/SimplifyCFG.cpp 5133 Index, IntegerType::get(IT->getContext(), IT->getBitWidth() + 1),
lib/Transforms/Utils/SimplifyIndVar.cpp 430 IntegerType::get(NarrowTy->getContext(), NarrowTy->getBitWidth() * 2);
lib/Transforms/Utils/SimplifyLibCalls.cpp 1008 IntegerType *IntType = IntegerType::get(CI->getContext(), Len * 8);
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 3306 IntegerType::get(OriginalTy->getContext(), KV.second);
6095 RetTy = IntegerType::get(RetTy->getContext(), MinBWs[I]);
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);
4257 auto *MinTy = IntegerType::get(F->getContext(), MinBWs[ScalarRoot].first);
tools/clang/lib/CodeGen/CGAtomic.cpp 731 llvm::Type *IPtrTy = llvm::IntegerType::get(CGF.getLLVMContext(),
1334 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits);
1584 llvm::IntegerType *InputIntTy = llvm::IntegerType::get(
tools/clang/lib/CodeGen/CGBuiltin.cpp 130 llvm::IntegerType::get(CGF.getLLVMContext(),
191 llvm::IntegerType::get(CGF.getLLVMContext(),
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);
714 llvm::IntegerType *IntType = llvm::IntegerType::get(
2843 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(),
3239 llvm::IntegerType::get(CGM.getLLVMContext(), EncompassingInfo.Width);
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(
8459 llvm::IntegerType::get(getLLVMContext(), BitWidth/2), 2*ArgElts);
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/CGStmt.cpp 1830 Ty = llvm::IntegerType::get(getLLVMContext(), Size);
2048 llvm::Type *ConvTy = llvm::IntegerType::get(getLLVMContext(), Size);
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/CodeGenModule.cpp 119 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth());
120 IntPtrTy = llvm::IntegerType::get(LLVMContext,
4767 llvm::IntegerType::get(getModule().getContext(),
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/PatternInit.cpp 51 llvm::Type *IntTy = llvm::IntegerType::get(CGM.getLLVMContext(), PtrWidth);
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 529 llvm::IntegerType::get(CGM.getLLVMContext(),
tools/clang/lib/CodeGen/TargetInfo.cpp 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));
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(),
3239 return llvm::IntegerType::get(getVMContext(),
3997 return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Width));
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));
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);
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);
7101 return llvm::IntegerType::get(getVMContext(), (Offset - OrigOffset) * 8);
8225 Elems.push_back(llvm::IntegerType::get(Context, Aligned - Size));
8237 Elems.push_back(llvm::IntegerType::get(Context, ToSize - Size));
9609 llvm::IntegerType::get(getVMContext(), XLen));
9612 llvm::IntegerType::get(getVMContext(), 2 * XLen));
9615 llvm::IntegerType::get(getVMContext(), XLen), 2));
tools/polly/lib/Analysis/ScopBuilder.cpp 2489 auto *Ty = IntegerType::get(SE.getContext(), DivisibleSize * 8);
tools/polly/lib/Analysis/ScopInfo.cpp 291 ElementType = IntegerType::get(ElementType->getContext(), GCD);
tools/polly/lib/CodeGen/IslExprBuilder.cpp 743 return IntegerType::get(Builder.getContext(), 64);
unittests/Analysis/BranchProbabilityInfoTest.cpp 71 auto *I32 = IntegerType::get(C, 32);
unittests/Analysis/ScalarEvolutionTest.cpp 1633 Type *ARType = IntegerType::get(C, ARBitWidth);
1895 Type *ARType = IntegerType::get(C, ARBitWidth);
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);
92 auto *I1Ty = IntegerType::get(Context, 1);
137 auto *I1Ty = IntegerType::get(Context, 1);
162 auto *I32Ty = IntegerType::get(Context, 32);
163 auto *I1Ty = IntegerType::get(Context, 1);
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);
216 Type *Int32Ty = IntegerType::get(Context, 32);
249 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/CFGBuilder.cpp 41 auto *IntTy = IntegerType::get(From->getContext(), 32);
unittests/IR/ConstantsTest.cpp 25 IntegerType *Int1 = IntegerType::get(Context, 1);
unittests/IR/IRBuilderTest.cpp 367 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1));
372 EXPECT_EQ(IntPtrTy, IntegerType::get(Ctx, IntPtrBitSize));
unittests/IR/InstructionsTest.cpp 48 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);
unittests/IR/LegacyPassManagerTest.cpp 476 /*Result=*/IntegerType::get(Context, 32),
481 FuncTy_2_args.push_back(IntegerType::get(Context, 1));
unittests/IR/VerifierTest.cpp 42 Constant *Zero32 = ConstantInt::get(IntegerType::get(C, 32), 0);