Home
last modified time | relevance | path

Searched refs:isIntegerTy (Results 1 – 25 of 193) sorted by relevance

12345678

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h116 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h228 bool isIntegerTy() const { return getTypeID() == IntegerTyID; }
231 bool isIntegerTy(unsigned Bitwidth) const;
234 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
239 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
243 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); }
288 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
229 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } isIntegerTy() function
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h251 if (Ty->isIntegerTy(1) || Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isElementTypeLegalForScalableVector()
252 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isElementTypeLegalForScalableVector()
427 if (ScalarMemTy->isIntegerTy(8) && isPowerOf2_32(VF) && VF >= 4) in getStoreMinimumVF()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp134 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes()
205 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction()
211 if (U->getType()->isIntegerTy(1)) in runOnFunction()
H A DPPCLoopInstrFormPrep.cpp1329 if (PointerElementType->isIntegerTy(64)) { in runOnLoop()
1350 return (PointerElementType->isIntegerTy(64)) || in runOnLoop()
1353 (PointerElementType->isIntegerTy(32) && in runOnLoop()
1404 } else if (!Op->getType()->isIntegerTy()) in runOnLoop()
1427 if (isa<SCEVUnknown>(Diff) && Diff->getType()->isIntegerTy()) in runOnLoop()
1435 if (!Op->getType()->isIntegerTy()) in runOnLoop()
H A DPPCTargetTransformInfo.cpp170 assert(Ty->isIntegerTy()); in getIntImmCost()
201 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
237 assert(Ty->isIntegerTy()); in getIntImmCostInst()
701 } else if (Val->getScalarType()->isIntegerTy()) { in getVectorInstrCost()
1036 if (!ScalarTy->isIntegerTy()) in hasActiveVectorLength()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp138 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
143 if (!Param->isPointerTy() && !Param->isIntegerTy()) in isCallingConvCCompatible()
1007 return Ty->isIntegerTy(8); in matchType()
1009 return Ty->isIntegerTy(16); in matchType()
1011 return Ty->isIntegerTy(32); in matchType()
1013 return Ty->isIntegerTy(IntBits); in matchType()
1015 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1017 return Ty->isIntegerTy(); in matchType()
1020 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1022 return Ty->isIntegerTy(64); in matchType()
[all …]
H A DFunctionPropertiesAnalysis.cpp137 else if (I.getType()->isIntegerTy()) in updateForBB()
149 if (Call->getType()->isIntegerTy()) in updateForBB()
156 if (Call->getType()->getScalarType()->isIntegerTy()) in updateForBB()
H A DIVDescriptors.cpp272 } else if (RecurrenceType->isIntegerTy()) { in AddReductionVar()
1244 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
1251 assert((IK == IK_FpInduction || Step->getType()->isIntegerTy()) && in InductionDescriptor()
1442 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1483 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1523 if (PhiTy->isIntegerTy()) { in isInductionPHI()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp128 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite()
144 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp324 if (EltTy->isIntegerTy(1) || EltTy->isIntegerTy(8) || in isLegalElementTypeForRVV()
325 EltTy->isIntegerTy(16) || EltTy->isIntegerTy(32)) in isLegalElementTypeForRVV()
327 if (EltTy->isIntegerTy(64)) in isLegalElementTypeForRVV()
344 if (T->isIntegerTy()) in isSupportedArgumentType()
365 if (T->isIntegerTy()) in isSupportedReturnType()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp73 if (!BO.getType()->isIntegerTy(64)) in visitAnd()
83 if (!LHSSrc->getType()->isIntegerTy(32)) in visitAnd()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp79 assert(V->getType()->isIntegerTy(1)); in isConstantFalse()
238 assert(Cond->getType()->isIntegerTy(1)); in CreateAssert()
252 assert(Cond->getType()->isIntegerTy(1)); in CreateAssertNot()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp442 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
444 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain()
607 if (ElemTy->isIntegerTy()) in getConstantValue()
626 if (ElemTy->isIntegerTy()) in getConstantValue()
638 if (ElemTy->isIntegerTy()) in getConstantValue()
771 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue()
775 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
996 if (ElemTy->isIntegerTy()) { in getConstantValue()
1075 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1139 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp159 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit()
522 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD()
633 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
637 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp75 assert(Ty->isIntegerTy()); in getIntImmCost()
111 assert(Ty->isIntegerTy()); in getIntImmCostInst()
231 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
786 if (Src->isIntegerTy(128)) in getCastInstrCost()
795 Dst->isIntegerTy(128)) in getCastInstrCost()
799 if (Src->isIntegerTy(1)) { in getCastInstrCost()
984 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp530 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp114 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h58 No -= (*I)->isIntegerTy(64) ? 2 : 1; in CC_M68k_Any_AssignToReg()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuthInfo.h43 assert(!Discriminator || Discriminator->getType()->isIntegerTy() || in CGPointerAuthInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp884 if (!Phi->getType()->isIntegerTy() && in FindLoopCounter()
920 assert(ExitCount->getType()->isIntegerTy() && "exit count must be integer"); in genLoopLimit()
929 if (IndVar->getType()->isIntegerTy() && in genLoopLimit()
972 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace()
1691 assert(ExactExitCount->getType()->isIntegerTy() && in optimizeLoopExits()
1692 MaxBECount->getType()->isIntegerTy() && in optimizeLoopExits()
1754 assert(ExactBTC->getType()->isIntegerTy() && "BTC must be integer"); in predicateLoopExits()
1787 assert(ExitCount->getType()->isIntegerTy() && "Exit count must be integer"); in predicateLoopExits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopIdiomVectorize.cpp256 if (!Index || !Index->getType()->isIntegerTy(32) || in recognizeByteCompare()
312 !GEPA->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
313 !GEPB->getResultElementType()->isIntegerTy(8) || in recognizeByteCompare()
314 !LoadAI->getType()->isIntegerTy(8) || in recognizeByteCompare()
315 !LoadBI->getType()->isIntegerTy(8) || PtrA == PtrB) in recognizeByteCompare()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp130 if (RMWI.getType()->isIntegerTy() && in visitAtomicRMWInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h54 assert(Ty->isIntegerTy()); in getIntImmCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h37 if (ElemTy.isIntegerTy()) { in isVectorLaneType()

12345678