Home
last modified time | relevance | path

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

1234567

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVCodeGenPrepare.cpp68 if (!ZExt.getType()->isIntegerTy(64) || !Src->getType()->isIntegerTy(32)) in visitZExtInst()
112 if (!BO.getType()->isIntegerTy(64)) in visitAnd()
121 if (!LHSSrc->getType()->isIntegerTy(32)) in visitAnd()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DType.h222 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
225 bool isIntegerTy(unsigned Bitwidth) const;
228 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
233 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
237 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
281 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp123 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible()
128 if (!Param->isPointerTy() && !Param->isIntegerTy()) in isCallingConvCCompatible()
955 return Ty->isIntegerTy(8); in matchType()
957 return Ty->isIntegerTy(16); in matchType()
959 return Ty->isIntegerTy(32); in matchType()
961 return Ty->isIntegerTy(IntBits); in matchType()
963 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
965 return Ty->isIntegerTy(); in matchType()
968 return Ty->isIntegerTy() && Ty->getPrimitiveSizeInBits() >= IntBits; in matchType()
970 return Ty->isIntegerTy(64); in matchType()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h238 if (Ty->isIntegerTy(8) || Ty->isIntegerTy(16) || in isElementTypeLegalForScalableVector()
239 Ty->isIntegerTy(32) || Ty->isIntegerTy(64)) in isElementTypeLegalForScalableVector()
/openbsd-src/gnu/llvm/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()
H A DPPCLoopInstrFormPrep.cpp1322 if (PointerElementType->isIntegerTy(64)) { in runOnLoop()
1343 return (PointerElementType->isIntegerTy(64)) || in runOnLoop()
1346 (PointerElementType->isIntegerTy(32) && in runOnLoop()
1397 } else if (!Op->getType()->isIntegerTy()) in runOnLoop()
1420 if (isa<SCEVUnknown>(Diff) && Diff->getType()->isIntegerTy()) in runOnLoop()
1428 if (!Op->getType()->isIntegerTy()) in runOnLoop()
H A DPPCTargetTransformInfo.cpp172 assert(Ty->isIntegerTy()); in getIntImmCost()
203 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
239 assert(Ty->isIntegerTy()); in getIntImmCostInst()
702 } else if (Val->getScalarType()->isIntegerTy() && Index != -1U) { in getVectorInstrCost()
1020 if (!ScalarTy->isIntegerTy()) in hasActiveVectorLength()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DAbstractCallSite.cpp128 assert(OpAsCM->getType()->isIntegerTy(64) && in AbstractCallSite()
144 assert(VarArgFlagAsCM->getType()->isIntegerTy(1) && in AbstractCallSite()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp78 assert(V->getType()->isIntegerTy(1)); in isConstantFalse()
237 assert(Cond->getType()->isIntegerTy(1)); in CreateAssert()
251 assert(Cond->getType()->isIntegerTy(1)); in CreateAssertNot()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp162 bool is64Bit() const { return Root->getType()->isIntegerTy(64); } in is64Bit()
525 if (!Ty->isIntegerTy(32) && !Ty->isIntegerTy(64)) in MatchSMLAD()
636 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
640 SMLAD = Acc->getType()->isIntegerTy(32) ? in InsertParallelMACs()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp132 if (!StoredValTy->isIntegerTy()) { in coerceAvailableValueToLoadType()
347 assert(DepLI->getType()->isIntegerTy() && "Can't widen non-integer load"); in analyzeLoadFromClobberingLoad()
421 if (!SrcVal->getType()->isIntegerTy()) in getStoreValueForLoadHelper()
472 assert(SrcVal->getType()->isIntegerTy() && "Can't widen non-integer load"); in getLoadValueForLoad()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/
H A DM68kCallingConv.h58 No -= (*I)->isIntegerTy(64) ? 2 : 1; in CC_M68k_Any_AssignToReg()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/
H A DVETargetTransformInfo.h37 if (ElemTy.isIntegerTy()) { in isVectorLaneType()
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h54 assert(Ty->isIntegerTy()); in getIntImmCost()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp67 if (VTy->isHalfTy() || VTy->isIntegerTy(16)) { in canSafelyConvertTo16Bit()
95 if (CastSrcTy->isHalfTy() || CastSrcTy->isIntegerTy(16)) in canSafelyConvertTo16Bit()
107 if (VTy->isIntegerTy()) in convertTo16Bit()
763 ExtSrc->getType()->isIntegerTy(1)) { in instCombineIntrinsic()
848 if (II.getType()->isIntegerTy(32)) in instCombineIntrinsic()
850 else if (!II.getType()->isIntegerTy(64)) in instCombineIntrinsic()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp142 if (!Alloca || !Alloca->getAllocatedType()->isIntegerTy()) in getConstantStackValue()
673 (ArgTy->isIntegerTy() || ArgTy->isFloatingPointTy())) in isArgumentInteresting()
723 assert(V->getType()->isIntegerTy() && "Non-integral constant range"); in getCandidateConstant()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroutines.cpp559 !FT->getParamType(0)->isIntegerTy()) in checkWFAlloc()
607 !StructTy->getElementType(0)->isIntegerTy(32) || in checkAsyncFuncPointer()
608 !StructTy->getElementType(1)->isIntegerTy(32)) in checkAsyncFuncPointer()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp85 assert(F.getReturnType()->isIntegerTy() && in runNVVMReflect()
H A DNVPTXAsmPrinter.cpp347 if (Ty->isFloatingPointTy() || (Ty->isIntegerTy() && !Ty->isIntegerTy(128))) { in printReturnValStr()
364 } else if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) { in printReturnValStr()
1118 (ETy->isIntegerTy() && ETy->getScalarSizeInBits() <= 64)) { in printModuleLevelGV()
1121 if (ETy->isIntegerTy(1)) in printModuleLevelGV()
1406 if (ETy->isIntegerTy(128)) { in emitPTXGlobalVariable()
1520 if (Ty->isAggregateType() || Ty->isVectorTy() || Ty->isIntegerTy(128)) { in emitFunctionParamList()
1574 if (Ty->isIntegerTy(1)) in emitFunctionParamList()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp144 if (RMWI.getType()->isIntegerTy() && in visitAtomicRMWInst()
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp71 assert(Ty->isIntegerTy()); in getIntImmCost()
106 assert(Ty->isIntegerTy()); in getIntImmCostInst()
226 assert(Ty->isIntegerTy()); in getIntImmCostIntrin()
784 Src->isIntegerTy(1)) { in getCastInstrCost()
941 if (ValTy->isIntegerTy() && ValTy->getScalarSizeInBits() <= 16) in getCmpSelInstrCost()

1234567