reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Type.h
  200   bool isIntegerTy(unsigned Bitwidth) const;

References

include/llvm/IR/Type.h
  208     return getScalarType()->isIntegerTy(BitWidth);
lib/Analysis/ConstantFolding.cpp
  849         if (Ops.size() == 2 && ResElemTy->isIntegerTy(8)) {
lib/Analysis/MemoryBuiltins.cpp
  163        (FTy->getParamType(FstParam)->isIntegerTy(32) ||
  164         FTy->getParamType(FstParam)->isIntegerTy(64))) &&
  166        FTy->getParamType(SndParam)->isIntegerTy(32) ||
  167        FTy->getParamType(SndParam)->isIntegerTy(64)))
lib/Analysis/ScalarEvolution.cpp
  519                     STy->getElementType(0)->isIntegerTy(1)) {
 7696   assert(Result->getType()->isIntegerTy(1) &&
lib/Analysis/TargetLibraryInfo.cpp
  650             FTy.getReturnType()->isIntegerTy(32));
  655             FTy.getReturnType()->isIntegerTy(32));
  662             FTy.getReturnType()->isIntegerTy(32));
  747     return (NumParams == 2 && FTy.getReturnType()->isIntegerTy(32) &&
  752     return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) &&
  798             FTy.getReturnType()->isIntegerTy(32));
  802            FTy.getParamType(1)->isIntegerTy(32) &&
  805            FTy.getReturnType()->isIntegerTy(32);
  810             FTy.getReturnType()->isIntegerTy(32));
  815            FTy.getParamType(2)->isIntegerTy(32) &&
  818            FTy.getReturnType()->isIntegerTy(32);
  828     return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) &&
  836             FTy.getParamType(1)->isIntegerTy(32) &&
  961     return (NumParams == 0 && FTy.getReturnType()->isIntegerTy(32));
 1043            FTy.getParamType(1)->isIntegerTy(32) &&
 1050            FTy.getParamType(2)->isIntegerTy(32) &&
 1061     return (NumParams == 1 && FTy.getReturnType()->isIntegerTy(32) &&
 1065     return (NumParams == 1 && FTy.getReturnType()->isIntegerTy(16) &&
 1396             FTy.getParamType(1)->isIntegerTy(32));
 1404     return (NumParams == 1 && FTy.getReturnType()->isIntegerTy(32) &&
 1412     return (NumParams == 1 && FTy.getReturnType()->isIntegerTy(32) &&
 1443     return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) &&
lib/Analysis/ValueTracking.cpp
 3189   if (V->getType()->isIntegerTy(8))
 3462   if (!AT || !AT->getElementType()->isIntegerTy(CharSize))
 3535   if (!ArrayTy->getElementType()->isIntegerTy(ElementSize))
 5367   assert(OpTy->isIntegerTy(1) && "implied by above");
lib/Bitcode/Reader/BitcodeReader.cpp
 2471       if (EltTy->isIntegerTy(8)) {
 2477       } else if (EltTy->isIntegerTy(16)) {
 2483       } else if (EltTy->isIntegerTy(32)) {
 2489       } else if (EltTy->isIntegerTy(64)) {
lib/CodeGen/CodeGenPrepare.cpp
 5956   bool VectorCond = !SI->getCondition()->getType()->isIntegerTy(1);
lib/CodeGen/MachineVerifier.cpp
 1413     if (!MaskVT || !MaskVT->getElementType()->isIntegerTy(32)) {
lib/CodeGen/StackProtector.cpp
  118     if (!AT->getElementType()->isIntegerTy(8)) {
lib/ExecutionEngine/ExecutionEngine.cpp
  445   if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
  765           assert(DestTy->isIntegerTy(32) && "Invalid bitcast");
  769           assert(DestTy->isIntegerTy(64) && "Invalid bitcast");
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  524   if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
  527       if (FTy->getParamType(0)->isIntegerTy(32) &&
  542       if (FTy->getParamType(0)->isIntegerTy(32) &&
  555           FTy->getParamType(0)->isIntegerTy(32)) {
lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp
   43   if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
   46       if (FTy->getParamType(0)->isIntegerTy(32) &&
   61       if (FTy->getParamType(0)->isIntegerTy(32) &&
   73       if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) {
lib/FuzzMutate/Operations.cpp
  164                         return V->getType()->isIntegerTy(1);
lib/IR/AbstractCallSite.cpp
  109     assert(OpAsCM->getType()->isIntegerTy(64) &&
  125   assert(VarArgFlagAsCM->getType()->isIntegerTy(1) &&
lib/IR/AsmWriter.cpp
 1294     if (CI->getType()->isIntegerTy(1)) {
 3985         !AI->getArraySize()->getType()->isIntegerTy(32)) {
lib/IR/AutoUpgrade.cpp
   58   if (!LastArgType->isIntegerTy(32))
 1784       if (CI->getOperand(0)->getType()->isIntegerTy(8))
lib/IR/ConstantFold.cpp
  385     if (!PTy->getElementType()->isIntegerTy(1))
  448     if (!PTy->getElementType()->isIntegerTy(1))
  667                   STy->getElementType(0)->isIntegerTy(1)) {
 1346   if (C1->getType()->isIntegerTy(1)) {
 1848   if (C1->getType()->isIntegerTy(1)) {
lib/IR/Constants.cpp
  973     if (CI->getType()->isIntegerTy(8))
  975     else if (CI->getType()->isIntegerTy(16))
  977     else if (CI->getType()->isIntegerTy(32))
  979     else if (CI->getType()->isIntegerTy(64))
 1300   if (Ty->isIntegerTy(1))
 1307   if (Ty->isIntegerTy(1))
 2654     if (CI->getType()->isIntegerTy(8)) {
 2658     if (CI->getType()->isIntegerTy(16)) {
 2662     if (CI->getType()->isIntegerTy(32)) {
 2666     assert(CI->getType()->isIntegerTy(64) && "Unsupported ConstantData type");
 2782   return isa<ArrayType>(getType()) && getElementType()->isIntegerTy(CharSize);
lib/IR/DataLayout.cpp
  816       assert(Idx->getType()->isIntegerTy(32) && "Illegal struct idx");
lib/IR/Function.cpp
 1145     case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width);
lib/IR/IRBuilder.cpp
   63   if (PT->getElementType()->isIntegerTy(8))
lib/IR/Instructions.cpp
 1127     assert(getCondition()->getType()->isIntegerTy(1) &&
 1851   if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32))
lib/IR/Verifier.cpp
  650                  STy->getTypeAtIndex(0u)->isIntegerTy(32) &&
  658                  cast<PointerType>(ETy)->getElementType()->isIntegerTy(8),
 2442     Assert(BI.getCondition()->getType()->isIntegerTy(1),
 4015   Assert(CI && CI->getType()->isIntegerTy(64), "dereferenceable, "
 4206     Assert(CI && CI->getType()->isIntegerTy(64),
lib/Target/AArch64/AArch64CallLowering.cpp
  933     if (OrigArg.Ty->isIntegerTy(1))
lib/Target/AArch64/AArch64FastISel.cpp
  743               ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  749               SE->getOperand(0)->getType()->isIntegerTy(32)) {
  827               ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  833               SE->getOperand(0)->getType()->isIntegerTy(32)) {
  886       if (!isIntExtFree(ZE) && ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  891       if (!isIntExtFree(SE) && SE->getOperand(0)->getType()->isIntegerTy(32)) {
 2655   if (!SI->getType()->isIntegerTy(1))
 3541     if (!MTI->getLength()->getType()->isIntegerTy(64))
 3558     if (!MSI->getLength()->getType()->isIntegerTy(64))
 5088   assert(RetPairTy->getTypeAtIndex(1U)->isIntegerTy(1) &&
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  651   if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) {
lib/Target/AArch64/AArch64TargetTransformInfo.h
  158     if (Ty->isIntegerTy(8) || Ty->isIntegerTy(16) ||
  158     if (Ty->isIntegerTy(8) || Ty->isIntegerTy(16) ||
  159         Ty->isIntegerTy(32) || Ty->isIntegerTy(64))
  159         Ty->isIntegerTy(32) || Ty->isIntegerTy(64))
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  639   assert(Num->getType()->isIntegerTy(32));
lib/Target/AMDGPU/SIISelLowering.cpp
  879   assert((Ty->getContainedType(1) && Ty->getContainedType(1)->isIntegerTy(32)) && "Expected int32 type");
lib/Target/ARM/ARMFastISel.cpp
 2545     if (!MTI.getLength()->getType()->isIntegerTy(32))
 2560     if (!MSI.getLength()->getType()->isIntegerTy(32))
lib/Target/ARM/ARMParallelDSP.cpp
  160     bool is64Bit() const { return Root->getType()->isIntegerTy(64); }
  529       if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64))
  529       if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64))
  635       SMLAD = Acc->getType()->isIntegerTy(32) ?
  639       SMLAD = Acc->getType()->isIntegerTy(32) ?
lib/Target/Hexagon/HexagonISelLowering.cpp
  925         CValTy->getVectorElementType()->isIntegerTy(1)) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1006   if (!In->getType()->isIntegerTy(1))
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  272     if (ElemTy->isIntegerTy(32))
lib/Target/MSP430/MSP430ISelLowering.cpp
 1393   return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
 1393   return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
lib/Target/Mips/MipsCCState.cpp
   50   return (Func && Ty->isIntegerTy(128) && isF128SoftLibCall(Func));
lib/Target/Mips/MipsFastISel.cpp
 1663     if (!MTI->getLength()->getType()->isIntegerTy(32))
 1673     if (!MSI->getLength()->getType()->isIntegerTy(32))
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  346     if (Ty->isFloatingPointTy() || (Ty->isIntegerTy() && !Ty->isIntegerTy(128))) {
  364     } else if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1146     if (ETy->isIntegerTy(1))
 1337   if (ETy->isIntegerTy(128)) {
 1472       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1520         if (Ty->isIntegerTy(1))
lib/Target/NVPTX/NVPTXISelLowering.cpp
  170   if (Ty->isIntegerTy(128)) {
 1276     if (retTy->isFloatingPointTy() || (retTy->isIntegerTy() && !retTy->isIntegerTy(128))) {
 1295                retTy->isIntegerTy(128)) {
 1316       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1472       if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) {
 1647         (RetTy->isIntegerTy() && !RetTy->isIntegerTy(128))) {
 2518       if (Ty->isAggregateType() || Ty->isIntegerTy(128)) {
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  134           if (P->getType()->isIntegerTy(1))
  204           if (F.getReturnType()->isIntegerTy(1))
  210             if (U->getType()->isIntegerTy(1))
lib/Target/PowerPC/PPCISelLowering.cpp
14261   if (StringRef(constraint) == "wc" && type->isIntegerTy(1))
14268   else if (StringRef(constraint) == "wi" && type->isIntegerTy(64))
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  580     if (PtrValue->getType()->getPointerElementType()->isIntegerTy(64)) {
lib/Target/SystemZ/SystemZISelLowering.cpp
  831   bool MVC = Ty->isIntegerTy(8);
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  774         Src->isIntegerTy(1)) {
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  422       if (ICmp->isEquality() && C->isZero() && C->getType()->isIntegerTy(32)) {
  428   if (match(V, m_Not(m_Value(NotV))) && V->getType()->isIntegerTy(32)) {
  953   if (Trunc->getOperand(0)->getType()->isIntegerTy(64)) {
lib/Target/X86/X86FastISel.cpp
 1782   if (I->getType()->isIntegerTy(8)) {
 1791   } else if (I->getType()->isIntegerTy(16)) {
 1800   } else if (I->getType()->isIntegerTy(32)) {
 1809   } else if (I->getType()->isIntegerTy(64)) {
 2646       assert(Op->getType()->isIntegerTy(16) && "Expected a 16-bit integer!");
 2744     if (!MCI->getLength()->getType()->isIntegerTy(SizeWidth))
 2759     if (!MSI->getLength()->getType()->isIntegerTy(SizeWidth))
 3271     if (TI && TI->getType()->isIntegerTy(1) && CLI.CS &&
lib/Target/X86/X86ISelLowering.cpp
29057   return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget.is64Bit();
29057   return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget.is64Bit();
45275     if (CI->getType()->isIntegerTy(16) &&
45288     if (CI->getType()->isIntegerTy(32) &&
45301     if (CI->getType()->isIntegerTy(64)) {
lib/Target/X86/X86TargetTransformInfo.cpp
 2668   if (!IsPairwise && ValTy->getVectorElementType()->isIntegerTy(1)) {
 3731     if (EltTy->isFloatTy() || EltTy->isDoubleTy() || EltTy->isIntegerTy(64) ||
 3732         EltTy->isIntegerTy(32) || EltTy->isPointerTy())
 3734     if (EltTy->isIntegerTy(16) || EltTy->isIntegerTy(8))
 3734     if (EltTy->isIntegerTy(16) || EltTy->isIntegerTy(8))
lib/Transforms/InstCombine/InstCombineCalls.cpp
  247   if (!LenC || !FillC || !FillC->getType()->isIntegerTy(8))
  647   assert(RetTy->getStructElementType(0)->isIntegerTy(8) &&
 1411   if (!VecTy->getElementType()->isIntegerTy(8) || NumElts != 8)
 3723         ExtSrc->getType()->isIntegerTy(1)) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  186     if (AI.getArraySize()->getType()->isIntegerTy(32))
lib/Transforms/Instrumentation/PoisonChecking.cpp
   85   assert(V->getType()->isIntegerTy(1));
  238   assert(Cond->getType()->isIntegerTy(1));
  252   assert(Cond->getType()->isIntegerTy(1));
lib/Transforms/Scalar/GVN.cpp
 1850     if (!RHS->getType()->isIntegerTy(1))
lib/Transforms/Scalar/JumpThreading.cpp
  251     if (!CI || !CI->getType()->isIntegerTy(1))
 2580       return (Cond && Cond == V && Cond->getType()->isIntegerTy(1));
lib/Transforms/Scalar/LoopUnswitch.cpp
 1462       Val->getType()->isIntegerTy(1))) {
lib/Transforms/Scalar/Reassociate.cpp
 2109   if (I->getType()->isIntegerTy(1))
lib/Transforms/Scalar/SROA.cpp
 1546   if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8))
 1638     if (Ptr->getType()->isIntegerTy(8)) {
lib/Transforms/Utils/SimplifyCFG.cpp
 2204     if (!CB || !CB->getType()->isIntegerTy(1))
 2363   if (PN->getType()->isIntegerTy(1) &&
 2817         assert(PBI_C->getType()->isIntegerTy(1));
lib/Transforms/Utils/SimplifyLibCalls.cpp
  354     if (!FT->getParamType(1)->isIntegerTy(32)) // memchr needs i32.
tools/clang/include/clang/CodeGen/CGFunctionInfo.h
  248       assert(eltType->getArrayElementType()->isIntegerTy(8));
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5917   assert((RegisterType->isIntegerTy(32) || RegisterType->isIntegerTy(64))
 5917   assert((RegisterType->isIntegerTy(32) || RegisterType->isIntegerTy(64))
 5935   bool MixedTypes = RegisterType->isIntegerTy(64) && ValueType->isIntegerTy(32);
 5935   bool MixedTypes = RegisterType->isIntegerTy(64) && ValueType->isIntegerTy(32);
 5936   assert(!(RegisterType->isIntegerTy(32) && ValueType->isIntegerTy(64))
 5936   assert(!(RegisterType->isIntegerTy(32) && ValueType->isIntegerTy(64))
 6674     if (VTy->getElementType()->isIntegerTy(64)) {
 6745     if (VTy->getElementType()->isIntegerTy(64)) {
tools/clang/lib/CodeGen/CGCoroutine.cpp
  202   if (SuspendRet != nullptr && SuspendRet->getType()->isIntegerTy(1)) {
tools/clang/lib/CodeGen/CGExpr.cpp
 1696     if (Value->getType()->isIntegerTy(1))
 1698     assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
 1708     assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1690   if (C->getType()->isIntegerTy(1)) {
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1388       assert(ResTy->isIntegerTy(16) && "Only half FP requires extra conversion");
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   90   if (!R->isIntegerTy(1))
  252       if (!ConvertType(ED->getIntegerType())->isIntegerTy(32))
tools/clang/lib/CodeGen/TargetInfo.cpp
 3007         IRType->getVectorElementType()->isIntegerTy(128)) {
 3189         IRType->isIntegerTy(64))
 3198     if (IRType->isIntegerTy(8) || IRType->isIntegerTy(16) ||
 3198     if (IRType->isIntegerTy(8) || IRType->isIntegerTy(16) ||
 3199         IRType->isIntegerTy(32) ||
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  462   if (!Cond->getType()->isIntegerTy(1))
  569   if (!LHS->getType()->isIntegerTy(1))
  571   if (!RHS->getType()->isIntegerTy(1))
  622   if (!LHS->getType()->isIntegerTy(1))
  633   if (!RHS->getType()->isIntegerTy(1))
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
 1272   if (!Cond->getType()->isIntegerTy(1))
 1592   if (!RTC->getType()->isIntegerTy(1))
tools/polly/lib/Support/SCEVAffinator.cpp
  225   if (!Factor->getType()->isIntegerTy(1)) {