Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_value.h123 bool isIntegerTy() const { in isIntegerTy() function
129 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy()
133 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy()
136 CHECK(isIntegerTy()); in getIntegerBitWidth()
152 DCHECK(isIntegerTy()); in getIntegerBitCount()
189 CHECK(getType().isIntegerTy()); in isInlineInt()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILLegalizePass.cpp48 ReplacedValues[Op]->getType()->isIntegerTy()) in fixI8UseChain()
67 assert(!Op->getType()->isIntegerTy(8)); in fixI8UseChain()
74 if (Trunc->getDestTy()->isIntegerTy(8)) { in fixI8UseChain()
82 if (!Store->getValueOperand()->getType()->isIntegerTy(8)) in fixI8UseChain()
93 Load && I.getType()->isIntegerTy(8)) { in fixI8UseChain()
116 if (!GEP->getSourceElementType()->isIntegerTy(8)) in fixI8UseChain()
150 if (!I.getType()->isIntegerTy(8)) in fixI8UseChain()
169 if (!I.getType()->isIntegerTy(8)) in fixI8UseChain()
181 if (!Cmp->getOperand(0)->getType()->isIntegerTy(8)) in fixI8UseChain()
194 if (!Cast->getSrcTy()->isIntegerTy(8)) in fixI8UseChain()
[all …]
H A DDXILShaderFlags.cpp134 I.getType()->isIntegerTy(16) || I.getType()->isHalfTy(); in updateFunctionFlags()
138 if (Op->getType()->isIntegerTy(16) || Op->getType()->isHalfTy()) { in updateFunctionFlags()
153 CSF.Int64Ops = I.getType()->isIntegerTy(64); in updateFunctionFlags()
157 if (Op->getType()->isIntegerTy(64)) { in updateFunctionFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h237 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
240 LLVM_ABI bool isIntegerTy(unsigned Bitwidth) const;
243 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
248 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
252 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
294 return isFloatingPointTy() || isIntegerTy() || isPointerTy() || in isSingleValueType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp138 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
143 if (!Param->isPointerTy() && !Param->isIntegerTy()) in isCallingConvCCompatible()
1030 return Ty->isIntegerTy(8); in matchType()
1032 return Ty->isIntegerTy(16); in matchType()
1034 return Ty->isIntegerTy(32); in matchType()
1036 return Ty->isIntegerTy(IntBits); in matchType()
1038 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1040 return Ty->isIntegerTy(); in matchType()
1043 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
1045 return Ty->isIntegerTy(64); in matchType()
[all …]
H A DFunctionPropertiesAnalysis.cpp138 else if (I.getType()->isIntegerTy()) in updateForBB()
150 if (Call->getType()->isIntegerTy()) in updateForBB()
157 if (Call->getType()->getScalarType()->isIntegerTy()) in updateForBB()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DOperator.cpp128 if (SourceType->isIntegerTy(8) && !Index.empty() && !ExternalAnalysis) { in accumulateConstantOffset()
130 if (CI && CI->getType()->isIntegerTy()) { in accumulateConstantOffset()
170 if (ConstOffset && ConstOffset->getType()->isIntegerTy()) { in accumulateConstantOffset()
232 if (ConstOffset && ConstOffset->getType()->isIntegerTy()) { in collectOffset()
H A DAbstractCallSite.cpp128 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite()
144 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
H A DVFABIDemangler.cpp309 if (Ty->isIntegerTy(64) || Ty->isDoubleTy() || Ty->isPointerTy()) in getElementCountForTy()
311 if (Ty->isIntegerTy(32) || Ty->isFloatTy()) in getElementCountForTy()
313 if (Ty->isIntegerTy(16) || Ty->is16bitFPTy()) in getElementCountForTy()
315 if (Ty->isIntegerTy(8)) in getElementCountForTy()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h288 if (Ty->isIntegerTy(1) || Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isElementTypeLegalForScalableVector()
289 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isElementTypeLegalForScalableVector()
482 if (ScalarMemTy->isIntegerTy(8) && isPowerOf2_32(VF) && VF >= 4) in getStoreMinimumVF()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp74 if (!BO.getType()->isIntegerTy(64)) in visitAnd()
84 if (!LHSSrc->getType()->isIntegerTy(32)) in visitAnd()
138 if (!II.getType()->getScalarType()->isIntegerTy(1)) in widenVPMerge()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBoolRetToInt.cpp131 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes()
199 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction()
205 if (U->getType()->isIntegerTy(1)) in runOnFunction()
H A DPPCLoopInstrFormPrep.cpp1320 if (PointerElementType->isIntegerTy(64)) { in runOnLoop()
1341 return (PointerElementType->isIntegerTy(64)) || in runOnLoop()
1344 (PointerElementType->isIntegerTy(32) && in runOnLoop()
1395 } else if (!Op->getType()->isIntegerTy()) in runOnLoop()
1418 if (isa<SCEVUnknown>(Diff) && Diff->getType()->isIntegerTy()) in runOnLoop()
1426 if (!Op->getType()->isIntegerTy()) in runOnLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVCallLowering.cpp331 if (EltTy->isIntegerTy(1) || EltTy->isIntegerTy(8) || in isLegalElementTypeForRVV()
332 EltTy->isIntegerTy(16) || EltTy->isIntegerTy(32)) in isLegalElementTypeForRVV()
334 if (EltTy->isIntegerTy(64)) in isLegalElementTypeForRVV()
351 if (T->isIntegerTy()) in isSupportedArgumentType()
373 if (T->isIntegerTy() || T->isFloatingPointTy() || T->isPointerTy()) in isSupportedReturnType()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DType.h166 bool isIntegerTy() const { return LLVMTy->isIntegerTy(); } in isIntegerTy() function
169 bool isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function
170 return LLVMTy->isIntegerTy(Bitwidth); in isIntegerTy()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp441 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
443 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain()
606 if (ElemTy->isIntegerTy()) in getConstantValue()
625 if (ElemTy->isIntegerTy()) in getConstantValue()
637 if (ElemTy->isIntegerTy()) in getConstantValue()
770 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue()
774 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
993 if (ElemTy->isIntegerTy()) { in getConstantValue()
1071 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1135 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp158 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit()
522 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD()
634 Acc->getType()->isIntegerTy(32) in InsertParallelMACs()
638 SMLAD = Acc->getType()->isIntegerTy(32) in InsertParallelMACs()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DHLSLBufferLayoutBuilder.cpp41 assert(Ty->isVectorTy() || Ty->isIntegerTy() || Ty->isFloatingPointTy()); in getScalarOrVectorSizeInBytes()
244 assert(ElemLayoutTy->isIntegerTy() || ElemLayoutTy->isFloatingPointTy()); in layoutField()
H A DCGPointerAuthInfo.h43 assert(!Discriminator || Discriminator->getType()->isIntegerTy() || in CGPointerAuthInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp154 assert(Ty->isIntegerTy()); in getIntImmCost()
190 assert(Ty->isIntegerTy()); in getIntImmCostInst()
310 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
910 if (Src->isIntegerTy(128)) in getCastInstrCost()
919 Dst->isIntegerTy(128)) in getCastInstrCost()
923 if (Src->isIntegerTy(1)) { in getCastInstrCost()
1111 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()
1123 if (CI->getOperand(0)->getType()->isIntegerTy(128)) in getCmpSelInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp527 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
530 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
545 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
558 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/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/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp112 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in tryMAddReplacement()
219 if (!cast<VectorType>(Op->getType())->getElementType()->isIntegerTy(32)) in trySADReplacement()
248 ->isIntegerTy(8)) in trySADReplacement()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp875 if (!Phi->getType()->isIntegerTy() && in FindLoopCounter()
911 assert(ExitCount->getType()->isIntegerTy() && "exit count must be integer"); in genLoopLimit()
920 if (IndVar->getType()->isIntegerTy() && in genLoopLimit()
963 IndVar->getType()->isIntegerTy() || in linearFunctionTestReplace()
1669 assert(ExactExitCount->getType()->isIntegerTy() && in optimizeLoopExits()
1670 MaxBECount->getType()->isIntegerTy() && in optimizeLoopExits()
1732 assert(ExactBTC->getType()->isIntegerTy() && "BTC must be integer"); in predicateLoopExits()
1765 assert(ExitCount->getType()->isIntegerTy() && "Exit count must be integer"); in predicateLoopExits()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.h148 if (!SrcTy->isIntegerTy() || !DstTy->isIntegerTy()) in isTruncateFree()

123456789