Home
last modified time | relevance | path

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

12345

/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp100 if (ETy->isIntegerTy(8)) in GetFunctionClass()
121 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
134 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
138 if (ETy1->isIntegerTy(8)) in GetFunctionClass()
146 if (Pte1->getElementType()->isIntegerTy(8)) in GetFunctionClass()
/minix/external/bsd/llvm/dist/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp151 if (Tp->isIntegerTy()) { in getRandomConstant()
173 if (Tp->isIntegerTy()) { in getRandomValue()
369 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act()
391 if (Ty->isIntegerTy()) { in Act()
393 case 0: if (Ty->isIntegerTy()) in Act()
396 case 1: if (Ty->isIntegerTy()) in Act()
400 case 6: if (Ty->isIntegerTy()) in Act()
510 if (VTy->getScalarType()->isIntegerTy() && in Act()
511 DestTy->getScalarType()->isIntegerTy()) { in Act()
526 DestTy->getScalarType()->isIntegerTy()) { in Act()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp246 !FT->getParamType(2)->isIntegerTy()) in optimizeStrNCat()
291 !FT->getParamType(1)->isIntegerTy(32)) in optimizeStrChr()
340 !FT->getParamType(1)->isIntegerTy(32)) in optimizeStrRChr()
421 !FT->getParamType(2)->isIntegerTy()) in optimizeStrNCmp()
573 !FT->getReturnType()->isIntegerTy()) in optimizeStrLen()
661 !FT->getReturnType()->isIntegerTy()) in optimizeStrSpn()
689 !FT->getReturnType()->isIntegerTy()) in optimizeStrCSpn()
1373 !FT->getParamType(0)->isIntegerTy()) in optimizeFFS()
1664 !FT->getReturnType()->isIntegerTy()) in optimizeSPrintF()
1744 !FT->getReturnType()->isIntegerTy()) in optimizeFPrintF()
[all …]
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DType.h193 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
196 bool isIntegerTy(unsigned Bitwidth) const;
201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/minix/minix/llvm/passes/magic/support/
H A DTypeUtil.cpp16 bool paddedTy = lastContainedType->isIntegerTy() || (lastContainedType->isArrayTy() && in isPaddedType()
17 lastContainedType->getContainedType(0)->isIntegerTy()); in isPaddedType()
387 if (type->isIntegerTy()) { in typeToBits()
390 else if (type->isArrayTy() && type->getContainedType(0)->isIntegerTy()) { in typeToBits()
H A DBitFieldAggregation.cpp94 if(typeBits > 0 && containedEDIType.isIntegerTy()) { in getBitFieldAggregations()
150 …dAggregation_assert_or_return(returnOnError, NULL, type, aEDIType, containedEDIType.isIntegerTy()); in getBitFieldAggregation()
H A DSmartType.cpp89 …rtType(subType, &subEDIType, useExceptions, hasBitFields && subEDIType.isIntegerTy() && subType->i… in getContainedType()
557 … return type->isVoidTy() || (type->isIntegerTy() && ((IntegerType*)type)->getBitWidth() == 8); in isRawTypeConsistent()
562 if(type->isIntegerTy()) { in isRawTypeConsistent()
566 return aEDIType->isIntegerTy() || aEDIType->isEnumTy(); in isRawTypeConsistent()
/minix/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp167 assert(Ty->isIntegerTy()); in getIntImmCost()
192 assert(Ty->isIntegerTy()); in getIntImmCost()
257 assert(Ty->isIntegerTy()); in getIntImmCost()
510 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost()
521 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp141 assert(Ty->isIntegerTy()); in getIntImmCost()
171 assert(Ty->isIntegerTy()); in getIntImmCost()
204 assert(Ty->isIntegerTy()); in getIntImmCost()
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp728 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK()
826 assert(Amt->getType()->isIntegerTy() && in getAISize()
1529 if (!Index->getType()->isIntegerTy()) in isValidOperands()
1824 assert((getType()->isIntegerTy() || in init()
1833 assert((getType()->isIntegerTy() || in init()
2096 return getOperand(0)->getType()->isIntegerTy() && in isIntegerCast()
2097 getType()->isIntegerTy(); in isIntegerCast()
2284 if (SrcTy->isIntegerTy()) in isEliminableCastPair()
2827 } else if (SrcTy->isIntegerTy()) { in getCastOpcode()
2908 DstTy->getScalarType()->isIntegerTy(); in castIsValid()
[all …]
H A DConstants.cpp539 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue()
551 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse()
873 if (CI->getType()->isIntegerTy(8)) { in getImpl()
1059 if (CI->getType()->isIntegerTy(8)) { in getImpl()
1273 if (Ty->isIntegerTy(1)) in isValueValidForType()
1283 if (Ty->isIntegerTy(1)) in isValueValidForType()
2094 assert(Idx->getType()->isIntegerTy() && in getExtractElement()
2118 assert(Idx->getType()->isIntegerTy() && in getInsertElement()
2607 if (CI->getType()->isIntegerTy(8)) { in getSplat()
2611 if (CI->getType()->isIntegerTy(16)) { in getSplat()
[all …]
H A DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
651 if (!V->getType()->getScalarType()->isIntegerTy(32)) in indexValid()
725 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
H A DConstantFold.cpp167 if (DestTy->isIntegerTy()) in FoldBitCast()
201 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes()
372 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedSizeOf()
437 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedAlignOf()
643 STy->getElementType(0)->isIntegerTy(1)) { in ConstantFoldCastInstruction()
1212 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldBinaryInstruction()
1278 if (!C1->getType()->isIntegerTy(64)) in IdxCompare()
1281 if (!C2->getType()->isIntegerTy(64)) in IdxCompare()
1692 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldCompareInstruction()
2159 if (!PrevIdx->getType()->isIntegerTy(64)) in ConstantFoldGetElementPtrImpl()
[all …]
H A DIRBuilder.cpp44 if (PT->getElementType()->isIntegerTy(8)) in getCastedInt8PtrValue()
267 if (ResultType->isIntegerTy()) { in CreateGCResult()
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp448 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
451 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
466 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
479 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/minix/minix/llvm/passes/include/magic/support/
H A DEDIType.h67 bool isIntegerTy() const;
233 inline bool EDIType::isIntegerTy() const { in isIntegerTy() function
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp368 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
370 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain()
528 if (ElemTy->isIntegerTy()) in getConstantValue()
545 if (ElemTy->isIntegerTy()) in getConstantValue()
677 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue()
681 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
891 if (ElemTy->isIntegerTy()) { in getConstantValue()
991 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1076 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
/minix/external/bsd/llvm/dist/llvm/lib/Target/Mips/
H A DMipsCCState.cpp60 return (ES && Ty->isIntegerTy(128) && isF128SoftLibCall(ES->getSymbol())); in originalTypeIsF128()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp133 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationData()
134 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationData()
136 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationData()
137 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationData()
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/
H A DX86ShuffleDecode.cpp274 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask()
351 assert(MaskTy->getVectorElementType()->isIntegerTy() && in DecodeVPERMILPMask()
/minix/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetObjectFile.cpp131 } else if (Ty->isIntegerTy()) { in scalarConstantToHexString()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!"); in LowerBSWAP()
263 assert(V->getType()->isIntegerTy() && "Can't ctpop a non-integer type!"); in LowerCTPOP()
584 !CI->getType()->isIntegerTy()) in LowerToByteSwap()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp325 if ((!Ty->isIntegerTy() && !Ty->isFloatingPointTy()) || in getRank()
354 if (S1->getType()->isIntegerTy()) in CreateAdd()
366 if (S1->getType()->isIntegerTy()) in CreateMul()
378 if (S1->getType()->isIntegerTy()) in CreateNeg()
391 Constant *NegOne = Ty->isIntegerTy() ? ConstantInt::getAllOnesValue(Ty) in LowerNegateToMultiply()
1520 Constant *C = Ty->isIntegerTy() ? ConstantInt::get(Ty, NumFound) in OptimizeAdd()
1661 I->getType()->isIntegerTy() in OptimizeAdd()
1792 if (LHS->getType()->isIntegerTy()) in buildMultiplyTree()
2104 if (I->getType()->isIntegerTy(1)) in OptimizeInst()
H A DSROA.cpp1773 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr()
1859 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue()
1888 if (OldTy->getScalarType()->isIntegerTy() && in convertValue()
1906 NewTy->getScalarType()->isIntegerTy()) { in convertValue()
1972 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1982 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
2053 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
2055 assert(LHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable()
2602 assert(LI.getType()->isIntegerTy() && in visitLoadInst()
2691 assert(V->getType()->isIntegerTy() && in visitStoreInst()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp129 assert(ReflectFunction->getReturnType()->isIntegerTy() && in handleFunction()

12345