Home
last modified time | relevance | path

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

123456

/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_value.h117 bool isIntegerTy() const { return getKind() == TK_Integer; } in isIntegerTy() function
119 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy()
122 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy()
125 CHECK(isIntegerTy()); in getIntegerBitWidth()
153 CHECK(getType().isIntegerTy()); in isInlineInt()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp641 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
646 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
656 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
662 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
729 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
815 FTy.getParamType(1)->isIntegerTy() && in isValidProtoForLibFunc()
929 FTy.getParamType(1)->isIntegerTy() && in isValidProtoForLibFunc()
930 FTy.getParamType(2)->isIntegerTy() && in isValidProtoForLibFunc()
1154 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc()
1340 FTy.getParamType(0)->isIntegerTy()); in isValidProtoForLibFunc()
[all …]
H A DIVDescriptors.cpp782 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
791 assert((IK == IK_FpInduction || Step->getType()->isIntegerTy()) && in InductionDescriptor()
989 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1030 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1059 if (PhiTy->isIntegerTy()) { in isInductionPHI()
H A DMemoryBuiltins.cpp164 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationDataForFunction()
165 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationDataForFunction()
167 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationDataForFunction()
168 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationDataForFunction()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DOrcMCJITReplacement.cpp44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
47 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
62 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
74 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h197 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
200 bool isIntegerTy(unsigned Bitwidth) const;
203 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
208 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp135 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 DPPCTargetTransformInfo.cpp54 assert(Ty->isIntegerTy()); in getIntImmCost()
84 assert(Ty->isIntegerTy()); in getIntImmCost()
118 assert(Ty->isIntegerTy()); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp50 if (!cast<VectorType>(VecTy)->getElementType()->isIntegerTy()) in isTypeForHVX()
64 assert((Ty->isIntegerTy() || Ty->isFloatingPointTy()) && in getTypeNumElements()
261 if (ElemTy->isIntegerTy(32)) in getVectorInstrCost()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp100 if (!StoredValTy->isIntegerTy()) { in coerceAvailableValueToLoadTypeHelper()
252 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
326 if (!SrcVal->getType()->isIntegerTy()) in getStoreValueForLoadHelper()
377 assert(SrcVal->getType()->isIntegerTy() && "Can't widen non-integer load"); in getLoadValueForLoad()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp446 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
448 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain()
617 if (ElemTy->isIntegerTy()) in getConstantValue()
634 if (ElemTy->isIntegerTy()) in getConstantValue()
766 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue()
770 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
982 if (ElemTy->isIntegerTy()) { in getConstantValue()
1082 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1167 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp525 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
528 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
543 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
556 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp35 assert(Ty->isIntegerTy()); in getIntImmCost()
68 assert(Ty->isIntegerTy()); in getIntImmCost()
186 assert(Ty->isIntegerTy()); in getIntImmCost()
753 Src->isIntegerTy(1)) { in getCastInstrCost()
853 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp474 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchReductions()
719 SMLAD = Acc->getType()->isIntegerTy(32) ? in CreateSMLADCall()
723 SMLAD = Acc->getType()->isIntegerTy(32) ? in CreateSMLADCall()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstructions.cpp982 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK()
1059 assert(Amt->getType()->isIntegerTy() && in getAISize()
1625 if (!Index->getType()->isIntegerTy()) in isValidOperands()
1677 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands()
2285 return getOperand(0)->getType()->isIntegerTy() && in isIntegerCast()
2286 getType()->isIntegerTy(); in isIntegerCast()
2443 if (!SrcTy->isVectorTy() && DstTy->isIntegerTy()) in isEliminableCastPair()
2455 if (SrcTy->isIntegerTy()) in isEliminableCastPair()
2729 if (S->getType()->isPointerTy() && Ty->isIntegerTy()) in CreateBitOrPointerCast()
2731 if (S->getType()->isIntegerTy() && Ty->isPointerTy()) in CreateBitOrPointerCast()
[all …]
H A DType.cpp57 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type
58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
622 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
H A DConstants.cpp942 if (CI->getType()->isIntegerTy(8)) in getSequenceIfElementsMatch()
944 else if (CI->getType()->isIntegerTy(16)) in getSequenceIfElementsMatch()
946 else if (CI->getType()->isIntegerTy(32)) in getSequenceIfElementsMatch()
948 else if (CI->getType()->isIntegerTy(64)) in getSequenceIfElementsMatch()
1269 if (Ty->isIntegerTy(1)) in isValueValidForType()
1276 if (Ty->isIntegerTy(1)) in isValueValidForType()
2107 assert(Idx->getType()->isIntegerTy() && in getExtractElement()
2131 assert(Idx->getType()->isIntegerTy() && in getInsertElement()
2642 if (CI->getType()->isIntegerTy(8)) { in getSplat()
2646 if (CI->getType()->isIntegerTy(16)) { in getSplat()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1606 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr()
1705 if (OldTy->isIntegerTy()) in canConvertValue()
1711 return NewTy->isIntegerTy(); in canConvertValue()
1819 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1829 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
1901 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
2471 TargetTy->isIntegerTy()))) { in visitLoadInst()
2523 assert(LI.getType()->isIntegerTy() && in visitLoadInst()
2620 assert(V->getType()->isIntegerTy() && in visitStoreInst()
2632 if (IntTy && V->getType()->isIntegerTy()) in visitStoreInst()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h54 assert(Ty->isIntegerTy()); in getIntImmCost()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp82 assert(F.getReturnType()->isIntegerTy() && in runOnFunction()
H A DNVPTXISelLowering.h466 if (!SrcTy->isIntegerTy() || !DstTy->isIntegerTy()) in isTruncateFree()
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()
1168 (ETy->isIntegerTy() && ETy->getScalarSizeInBits() <= 64)) { in printModuleLevelGV()
1171 if (ETy->isIntegerTy(1)) in printModuleLevelGV()
1362 if (ETy->isIntegerTy(128)) { in emitPTXGlobalVariable()
1497 if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) { in emitFunctionParamList()
1546 if (Ty->isIntegerTy(1)) in emitFunctionParamList()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp59 assert(Ty->isIntegerTy()); in getIntImmCost()
84 assert(Ty->isIntegerTy()); in getIntImmCost()
150 assert(Ty->isIntegerTy()); in getIntImmCost()
637 if (Ty->isVectorTy() && Ty->getVectorElementType()->isIntegerTy(8)) { in getMemoryOpCost()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/
H A DMipsCCState.cpp51 return (Func && Ty->isIntegerTy(128) && isF128SoftLibCall(Func)); in originalTypeIsF128()
/freebsd-12.1/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp211 if (Tp->isIntegerTy()) { in getRandomConstant()
233 if (Tp->isIntegerTy()) { in getRandomValue()
448 if (Ty->isIntegerTy()) { in Act()

123456