| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 87 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible() 957 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc() 1047 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc() 1091 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc() 1097 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc() 1105 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc() 1158 FTy.getParamType(1)->isIntegerTy() && in isValidProtoForLibFunc() 1532 FTy.getParamType(3)->isIntegerTy()); in isValidProtoForLibFunc() 1540 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc() 1732 FTy.getParamType(0)->isIntegerTy()); in isValidProtoForLibFunc() [all …]
|
| H A D | IVDescriptors.cpp | 275 } else if (RecurrenceType->isIntegerTy()) { in AddReductionVar() 1250 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor() 1259 assert((IK == IK_FpInduction || Step->getType()->isIntegerTy()) && in InductionDescriptor() 1455 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI() 1496 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI() 1530 if (PhiTy->isIntegerTy()) { in isInductionPHI()
|
| /llvm-project-15.0.7/llvm/unittests/AsmParser/ |
| H A D | AsmParserTest.cpp | 180 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 186 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 209 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 223 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 237 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 298 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 305 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 332 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 347 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 362 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 116 bool isIntegerTy() const { return getKind() == TK_Integer; } in isIntegerTy() function 118 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy() 121 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy() 124 CHECK(isIntegerTy()); in getIntegerBitWidth() 155 CHECK(getType().isIntegerTy()); in isInlineInt()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVCodeGenPrepare.cpp | 66 if (!ZExt->getType()->isIntegerTy(64) || !Src->getType()->isIntegerTy(32)) in optimizeZExt() 113 if (!BO->getType()->isIntegerTy(64)) in optimizeAndExt() 122 if (!LHSSrc->getType()->isIntegerTy(32)) in optimizeAndExt()
|
| H A D | RISCVTargetTransformInfo.cpp | 28 assert(Ty->isIntegerTy() && in getIntImmCost() 45 assert(Ty->isIntegerTy() && in getIntImmCostInst() 201 if (Tp->getElementType()->isIntegerTy(1)) in getShuffleCost() 332 if (Ty->getElementType()->isIntegerTy(1)) in getMinMaxReductionCost() 362 if (Ty->getElementType()->isIntegerTy(1)) in getArithmeticReductionCost()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Type.h | 196 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function 199 bool isIntegerTy(unsigned Bitwidth) const; 202 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() 207 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy() 211 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy() 255 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 108 if (Ty->isIntegerTy()) in isPrintable() 128 } else if (Ty->isIntegerTy()) { in prepareValuesForPrinting() 148 else if (Ty->isIntegerTy()) in prepareValuesForPrinting() 201 } else if (Ty->isIntegerTy()) { in createGPUPrinterT() 228 else if (Ty->isIntegerTy()) in createGPUPrinterT()
|
| H A D | IslExprBuilder.cpp | 179 assert(MaxType->isIntegerTy() && in createOpUnary() 291 assert(NextIndex->getType()->isIntegerTy() && in createAccessAddress() 467 if (!Cond->getType()->isIntegerTy(1)) in createOpSelect() 574 if (!LHS->getType()->isIntegerTy(1)) in createOpBoolean() 576 if (!RHS->getType()->isIntegerTy(1)) in createOpBoolean() 627 if (!LHS->getType()->isIntegerTy(1)) in createOpBooleanConditional() 638 if (!RHS->getType()->isIntegerTy(1)) in createOpBooleanConditional()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 239 if (Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isElementTypeLegalForScalableVector() 240 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isElementTypeLegalForScalableVector()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCBoolRetToInt.cpp | 136 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes() 206 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction() 212 if (U->getType()->isIntegerTy(1)) in runOnFunction()
|
| H A D | PPCLoopInstrFormPrep.cpp | 1322 if (PointerElementType->isIntegerTy(64)) { in runOnLoop() 1343 return (PointerElementType->isIntegerTy(64)) || in runOnLoop() 1346 (PointerElementType->isIntegerTy(32) && in runOnLoop() 1397 } else if (!Op->getType()->isIntegerTy()) in runOnLoop() 1420 if (isa<SCEVUnknown>(Diff) && Diff->getType()->isIntegerTy()) in runOnLoop() 1428 if (!Op->getType()->isIntegerTy()) in runOnLoop()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AbstractCallSite.cpp | 128 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite() 144 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PoisonChecking.cpp | 78 assert(V->getType()->isIntegerTy(1)); in isConstantFalse() 237 assert(Cond->getType()->isIntegerTy(1)); in CreateAssert() 251 assert(Cond->getType()->isIntegerTy(1)); in CreateAssertNot()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 129 if (!StoredValTy->isIntegerTy()) { in coerceAvailableValueToLoadType() 344 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad() 418 if (!SrcVal->getType()->isIntegerTy()) in getStoreValueForLoadHelper() 469 assert(SrcVal->getType()->isIntegerTy() && "Can't widen non-integer load"); in getLoadValueForLoad()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMParallelDSP.cpp | 162 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit() 526 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD() 637 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs() 641 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 442 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain() 444 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain() 607 if (ElemTy->isIntegerTy()) in getConstantValue() 627 if (ElemTy->isIntegerTy()) in getConstantValue() 759 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue() 763 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue() 978 if (ElemTy->isIntegerTy()) { in getConstantValue() 1052 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory() 1113 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kCallingConv.h | 58 No -= (*I)->isIntegerTy(64) ? 2 : 1; in CC_M68k_Any_AssignToReg()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 530 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 533 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 548 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 561 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86PartialReduction.cpp | 114 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in tryMAddReplacement() 222 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in trySADReplacement() 251 ->isIntegerTy(8)) in trySADReplacement()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | VPIntrinsicTest.cpp | 240 cast<VectorType>(MaskParamType)->getElementType()->isIntegerTy(1)); in TEST_F() 247 ASSERT_TRUE(VecLenParamType->isIntegerTy(32)); in TEST_F()
|
| H A D | VectorBuilderTest.cpp | 94 return MaskVecTy->getElementType()->isIntegerTy(1); in isAllTrueMask() 140 return ConstEVL->getType()->isIntegerTy(32); in isLegalConstEVL()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | VETargetTransformInfo.h | 37 if (ElemTy.isIntegerTy()) { in isVectorLaneType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 65 if (VTy->isHalfTy() || VTy->isIntegerTy(16)) { in canSafelyConvertTo16Bit() 93 if (CastSrcTy->isHalfTy() || CastSrcTy->isIntegerTy(16)) in canSafelyConvertTo16Bit() 105 if (VTy->isIntegerTy()) in convertTo16Bit() 778 ExtSrc->getType()->isIntegerTy(1)) { in instCombineIntrinsic() 863 if (II.getType()->isIntegerTy(32)) in instCombineIntrinsic() 865 else if (!II.getType()->isIntegerTy(64)) in instCombineIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | Coroutines.cpp | 553 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc() 601 !StructTy->getElementType(0)->isIntegerTy(32) || in checkAsyncFuncPointer() 602 !StructTy->getElementType(1)->isIntegerTy(32)) in checkAsyncFuncPointer()
|