Home
last modified time | relevance | path

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

1234567

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp87 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
92 if (!Param->isPointerTy() && !Param->isIntegerTy()) in isCallingConvCCompatible()
710 return SizeTTy ? Ty == SizeTTy : Ty->isIntegerTy(); in isValidProtoForLibFunc()
720 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
725 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
732 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
740 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
746 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
822 return (NumParams == 2 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc()
827 return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc()
[all …]
H A DIVDescriptors.cpp272 } else if (RecurrenceType->isIntegerTy()) { in AddReductionVar()
949 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor()
958 assert((IK == IK_FpInduction || Step->getType()->isIntegerTy()) && in InductionDescriptor()
1149 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy() && !PhiTy->isFloatTy() && in isInductionPHI()
1190 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI()
1226 if (PhiTy->isIntegerTy()) { in isInductionPHI()
/netbsd-src/sys/external/bsd/compiler_rt/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
H A Dubsan_value.h115 bool isIntegerTy() const { return getKind() == TK_Integer; } in isIntegerTy() function
117 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy()
120 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy()
123 CHECK(isIntegerTy()); in getIntegerBitWidth()
151 CHECK(getType().isIntegerTy()); in isInlineInt()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DType.h202 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
205 bool isIntegerTy(unsigned Bitwidth) const;
208 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
213 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
217 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
258 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h219 if (Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isLegalElementTypeForSVE()
220 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isLegalElementTypeForSVE()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAbstractCallSite.cpp129 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite()
145 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1528 if (Result->getType()->isIntegerTy()) { in expandAddRecExprLiterally()
1731 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMaxExpr()
1737 if (Ty->isIntegerTy()) in visitSMaxExpr()
1760 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMaxExpr()
1766 if (Ty->isIntegerTy()) in visitUMaxExpr()
1789 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitSMinExpr()
1795 if (Ty->isIntegerTy()) in visitSMinExpr()
1818 if (OpTy->isIntegerTy() != Ty->isIntegerTy()) { in visitUMinExpr()
1824 if (Ty->isIntegerTy()) in visitUMinExpr()
1861 if (Inst->getType()->isIntegerTy()) in expandCodeForImpl()
[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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp162 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit()
530 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD()
640 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
644 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/M68k/
H A DM68kCallingConv.h58 No -= I->getType()->isIntegerTy(64) ? 2 : 1; in CC_M68k_Any_AssignToReg()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSROA.cpp771 bool IsSplittable = Ty->isIntegerTy() && !IsVolatile; in handleLoadOrStore()
1552 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8)) in getNaturalGEPWithOffset()
1648 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr()
1742 if (OldTy->isIntegerTy()) in canConvertValue()
1748 return NewTy->isIntegerTy(); in canConvertValue()
1861 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1871 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
1936 return !VTy->getElementType()->isIntegerTy(); in isVectorPromotionViable()
1950 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
1952 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h54 assert(Ty->isIntegerTy()); in getIntImmCost()

1234567