Home
last modified time | relevance | path

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

1234567

/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp87 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
753 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
759 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
849 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
893 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc()
899 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc()
907 FTy.getReturnType()->isIntegerTy(32); in isValidProtoForLibFunc()
1331 FTy.getParamType(3)->isIntegerTy()); in isValidProtoForLibFunc()
1337 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc()
1529 FTy.getParamType(0)->isIntegerTy()); in isValidProtoForLibFunc()
[all …]
H A DIVDescriptors.cpp272 } else if (RecurrenceType->isIntegerTy()) { in AddReductionVar()
975 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
984 assert((IK == IK_FpInduction || Step->getType()->isIntegerTy()) && in InductionDescriptor()
1175 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1216 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1252 if (PhiTy->isIntegerTy()) { in isInductionPHI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h232 if (Ty->isIntegerTy(1) || Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isElementTypeLegalForScalableVector()
233 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isElementTypeLegalForScalableVector()
247 return !DataType->getScalarType()->isIntegerTy(1) && in isLegalMaskedLoadStore()
269 return !DataType->getScalarType()->isIntegerTy(1) && in isLegalMaskedGatherScatter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.h85 if (ScalarTy->isIntegerTy(8) || ScalarTy->isIntegerTy(16) || in isLegalElementTypeForRVV()
86 ScalarTy->isIntegerTy(32) || ScalarTy->isIntegerTy(64)) in isLegalElementTypeForRVV()
H A DRISCVTargetTransformInfo.cpp20 assert(Ty->isIntegerTy() && in getIntImmCost()
37 assert(Ty->isIntegerTy() && in getIntImmCostInst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h201 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
204 bool isIntegerTy(unsigned Bitwidth) const;
207 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
212 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
216 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
260 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp136 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes()
206 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction()
212 if (U->getType()->isIntegerTy(1)) in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAbstractCallSite.cpp129 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite()
145 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp84 assert(V->getType()->isIntegerTy(1)); in isConstantFalse()
243 assert(Cond->getType()->isIntegerTy(1)); in CreateAssert()
257 assert(Cond->getType()->isIntegerTy(1)); in CreateAssertNot()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp635 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
680 !StructTy->getElementType(0)->isIntegerTy(32) || in checkAsyncFuncPointer()
681 !StructTy->getElementType(1)->isIntegerTy(32)) in checkAsyncFuncPointer()
702 !FunTy->getReturnType()->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
708 !FunTy->getParamType(0)->getPointerElementType()->isIntegerTy(8)) in checkAsyncContextProjectFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1745 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMaxExpr()
1751 if (Ty->isIntegerTy()) in visitSMaxExpr()
1774 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMaxExpr()
1780 if (Ty->isIntegerTy()) in visitUMaxExpr()
1803 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMinExpr()
1809 if (Ty->isIntegerTy()) in visitSMinExpr()
1832 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMinExpr()
1838 if (Ty->isIntegerTy()) in visitUMinExpr()
1875 if (Inst->getType()->isIntegerTy()) in expandCodeForImpl()
2073 if (!LHS->getType()->isIntegerTy() || !RHS->getType()->isIntegerTy()) in replaceCongruentIVs()
[all …]
H A DVNCoercion.cpp123 if (!StoredValTy->isIntegerTy()) { in coerceAvailableValueToLoadTypeHelper()
362 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
445 if (!SrcVal->getType()->isIntegerTy()) in getStoreValueForLoadHelper()
497 assert(SrcVal->getType()->isIntegerTy() && "Can't widen non-integer load"); in getLoadValueForLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp162 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit()
522 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD()
632 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
636 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
/freebsd-13.1/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()
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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp75 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in tryMAddReplacement()
176 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in trySADReplacement()
200 ->isIntegerTy(8)) in trySADReplacement()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kCallingConv.h58 No -= I->getType()->isIntegerTy(64) ? 2 : 1; in CC_M68k_Any_AssignToReg()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp64 if (VTy->isHalfTy() || VTy->isIntegerTy(16)) { in canSafelyConvertTo16Bit()
81 if (CastSrcTy->isHalfTy() || CastSrcTy->isIntegerTy(16)) in canSafelyConvertTo16Bit()
93 if (VTy->isIntegerTy()) in convertTo16Bit()
619 ExtSrc->getType()->isIntegerTy(1)) { in instCombineIntrinsic()
704 if (II.getType()->isIntegerTy(32)) in instCombineIntrinsic()
706 else if (!II.getType()->isIntegerTy(64)) in instCombineIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h54 assert(Ty->isIntegerTy()); in getIntImmCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp35 assert(Ty->isIntegerTy()); in getIntImmCost()
70 assert(Ty->isIntegerTy()); in getIntImmCostInst()
190 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
745 Src->isIntegerTy(1)) { in getCastInstrCost()
894 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp83 assert(F.getReturnType()->isIntegerTy() && in runNVVMReflect()
H A DNVPTXAsmPrinter.cpp346 if (Ty->isFloatingPointTy() || (Ty->isIntegerTy() && !Ty->isIntegerTy(128))) { in printReturnValStr()
364 } else if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) { in printReturnValStr()
1134 (ETy->isIntegerTy() && ETy->getScalarSizeInBits() <= 64)) { in printModuleLevelGV()
1137 if (ETy->isIntegerTy(1)) in printModuleLevelGV()
1326 if (ETy->isIntegerTy(128)) { in emitPTXGlobalVariable()
1461 if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) { in emitFunctionParamList()
1509 if (Ty->isIntegerTy(1)) in emitFunctionParamList()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1649 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr()
1743 if (OldTy->isIntegerTy()) in canConvertValue()
1749 return NewTy->isIntegerTy(); in canConvertValue()
1862 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1872 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
1937 return !VTy->getElementType()->isIntegerTy(); in isVectorPromotionViable()
2532 TargetTy->isIntegerTy()))) { in visitLoadInst()
2589 assert(LI.getType()->isIntegerTy() && in visitLoadInst()
2691 assert(V->getType()->isIntegerTy() && in visitStoreInst()
2702 if (IntTy && V->getType()->isIntegerTy()) in visitStoreInst()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp140 if (RMWI.getType()->isIntegerTy() && in visitAtomicRMWInst()

1234567