Home
last modified time | relevance | path

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

1234

/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp232 !FT->getParamType(1)->isIntegerTy() || in callOptimizer()
353 !FT->getParamType(2)->isIntegerTy() || in callOptimizer()
429 !FT->getParamType(2)->isIntegerTy()) in callOptimizer()
472 !FT->getParamType(1)->isIntegerTy(32)) in callOptimizer()
485 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32. in callOptimizer()
518 !FT->getParamType(1)->isIntegerTy(32)) in callOptimizer()
552 !FT->getReturnType()->isIntegerTy(32) || in callOptimizer()
597 !FT->getReturnType()->isIntegerTy(32) || in callOptimizer()
600 !FT->getParamType(2)->isIntegerTy()) in callOptimizer()
713 !FT->getParamType(2)->isIntegerTy()) in callOptimizer()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/ObjCARC/
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()
/freebsd-10-stable/contrib/llvm/tools/llvm-stress/
Dllvm-stress.cpp150 if (Tp->isIntegerTy()) { in getRandomConstant()
172 if (Tp->isIntegerTy()) { in getRandomValue()
368 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act()
370 case 1: if (Ty->getScalarType()->isIntegerTy()) in Act()
390 if (Ty->isIntegerTy()) { in Act()
392 case 0: if (Ty->isIntegerTy()) in Act()
395 case 1: if (Ty->isIntegerTy()) in Act()
399 case 6: if (Ty->isIntegerTy()) in Act()
509 if (VTy->getScalarType()->isIntegerTy() && in Act()
510 DestTy->getScalarType()->isIntegerTy()) { in Act()
[all …]
/freebsd-10-stable/contrib/llvm/lib/IR/
DConstants.cpp455 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1."); in getTrue()
458 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue()
467 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1."); in getFalse()
470 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse()
773 if (CI->getType()->isIntegerTy(8)) { in get()
782 } else if (CI->getType()->isIntegerTy(16)) { in get()
791 } else if (CI->getType()->isIntegerTy(32)) { in get()
800 } else if (CI->getType()->isIntegerTy(64)) { in get()
954 if (CI->getType()->isIntegerTy(8)) { in get()
963 } else if (CI->getType()->isIntegerTy(16)) { in get()
[all …]
DInstructions.cpp727 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK()
828 assert(Amt->getType()->isIntegerTy() && in getAISize()
1471 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy(32)) in isValidOperands()
1518 if (!Index->getType()->isIntegerTy(32)) in isValidOperands()
1571 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands()
1785 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1786 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init()
1799 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init()
1800 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init()
1814 assert((getType()->isIntegerTy() || in init()
[all …]
DType.cpp58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy()
159 if (this->isIntegerTy()) in isSizedDerivedType()
649 if (!V->getType()->getScalarType()->isIntegerTy(32)) in indexValid()
722 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
DConstantFold.cpp165 if (DestTy->isIntegerTy()) in FoldBitCast()
199 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes()
370 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedSizeOf()
435 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedAlignOf()
633 STy->getElementType(0)->isIntegerTy(1)) { in ConstantFoldCastInstruction()
1174 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldBinaryInstruction()
1240 if (!C1->getType()->isIntegerTy(64)) in IdxCompare()
1243 if (!C2->getType()->isIntegerTy(64)) in IdxCompare()
1445 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) { in evaluateICmpRelation()
1624 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldCompareInstruction()
[all …]
DVerifier.cpp476 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable()
1168 Assert2(BI.getCondition()->getType()->isIntegerTy(1), in visitBranchInst()
1421 Assert1(DestTy->getScalarType()->isIntegerTy(), in visitPtrToIntInst()
1441 Assert1(SrcTy->getScalarType()->isIntegerTy(), in visitIntToPtrInst()
1773 Assert2(ElTy->isIntegerTy(), in visitLoadInst()
1848 Assert2(ElTy->isIntegerTy(), in visitStoreInst()
1870 Assert1(AI.getArraySize()->getType()->isIntegerTy(), in visitAllocaInst()
1883 Assert2(ElTy->isIntegerTy(), in visitAtomicCmpXchgInst()
1907 Assert2(ElTy->isIntegerTy(), in visitAtomicRMWInst()
2163 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in VerifyIntrinsicType()
DIRBuilder.cpp44 if (PT->getElementType()->isIntegerTy(8)) in getCastedInt8PtrValue()
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp298 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast()
317 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast()
463 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast()
497 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast()
518 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast()
520 } else if (CastDstTy->isIntegerTy()) { in InstCombineStoreToCast()
DInstCombineAddSub.cpp865 if (!V->hasOneUse() || !V->getType()->isIntegerTy()) in dyn_castFoldableMul()
938 if (ZI->getSrcTy()->isIntegerTy(1)) in visitAdd()
990 if (I.getType()->isIntegerTy(1)) in visitAdd()
1371 if (I.getType()->isIntegerTy(1)) in visitSub()
1414 if (X->getType()->isIntegerTy(1)) in visitSub()
1419 if (X->getType()->isIntegerTy(1)) in visitSub()
DInstCombineAndOrXor.cpp571 if (!L1->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper()
581 if (!L2->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper()
607 } else if (R1->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper()
627 if (!ok && R2->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper()
1348 X->getType()->getScalarType()->isIntegerTy(1)) { in visitAnd()
1355 X->getType()->getScalarType()->isIntegerTy(1)) { in visitAnd()
1529 !Cond->getType()->isIntegerTy(1)) in MatchSelectFromAndOr()
2214 if (match(Op0, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr()
2216 if (match(Op1, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr()
2496 if (SrcTy == Op1C->getOperand(0)->getType() && SrcTy->isIntegerTy() && in visitXor()
DInstCombineSelect.cpp370 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAndOr()
665 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAnd()
740 if (SI.getType()->isIntegerTy(1)) { in visitSelectInst()
925 if (SI.getType()->isIntegerTy()) { in visitSelectInst()
DInstCombineMulDivRem.cpp250 if (I.getType()->isIntegerTy(1)) in visitMul()
567 if (match(RHS, m_UIToFP(m_Value(C))) && C->getType()->isIntegerTy(1)) { in visitFMul()
582 C->getType()->isIntegerTy(1)) { in visitFMul()
939 if (I.getType()->isIntegerTy()) { in visitSDiv()
1199 if (I.getType()->isIntegerTy()) { in visitSRem()
DInstCombinePHI.cpp412 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()
896 if (PN.getType()->isIntegerTy() && TD && in visitPHINode()
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DType.h196 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
199 bool isIntegerTy(unsigned Bitwidth) const;
204 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp398 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
401 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
416 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
429 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp367 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain()
369 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain()
560 if (ElemTy->isIntegerTy()) in getConstantValue()
577 if (ElemTy->isIntegerTy()) in getConstantValue()
709 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue()
713 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
926 if (ElemTy->isIntegerTy()) { in getConstantValue()
1026 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory()
1111 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/JIT/
DJIT.cpp250 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction()
253 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
268 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction()
280 if (FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DMemoryBuiltins.cpp132 (FTy->getParamType(FstParam)->isIntegerTy(32) || in getAllocationData()
133 FTy->getParamType(FstParam)->isIntegerTy(64))) && in getAllocationData()
135 FTy->getParamType(SndParam)->isIntegerTy(32) || in getAllocationData()
136 FTy->getParamType(SndParam)->isIntegerTy(64))) in getAllocationData()
DScalarEvolution.cpp342 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVTruncateExpr()
343 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVTruncateExpr()
350 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVZeroExtendExpr()
351 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVZeroExtendExpr()
358 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVSignExtendExpr()
359 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVSignExtendExpr()
419 STy->getElementType(0)->isIntegerTy(1)) { in isAlignOf()
2661 return Ty->isIntegerTy() || Ty->isPointerTy(); in isSCEVable()
2674 if (Ty->isIntegerTy()) in getTypeSizeInBits()
2690 if (Ty->isIntegerTy()) { in getEffectiveSCEVType()
[all …]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DSROA.cpp397 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize; in handleLoadOrStore()
1327 if (Ty == IRB.getInt8PtrTy() && TargetTy->isIntegerTy(8)) in getNaturalGEPWithOffset()
1408 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr()
1471 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue()
1500 if (OldTy->getScalarType()->isIntegerTy() && in convertValue()
1518 NewTy->getScalarType()->isIntegerTy()) { in convertValue()
1581 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1592 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice()
2110 } else if (IntTy && LI.getType()->isIntegerTy()) { in visitLoadInst()
2128 assert(LI.getType()->isIntegerTy() && in visitLoadInst()
[all …]
/freebsd-10-stable/contrib/llvm/lib/CodeGen/
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()
555 !CI->getType()->isIntegerTy()) in LowerToByteSwap()
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp135 assert(ReflectFunction->getReturnType()->isIntegerTy() && in runOnModule()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExprConstant.cpp225 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField()
237 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField()
1007 if (C && C->getType()->isIntegerTy(1)) { in EmitConstantInit()
1032 if (C && C->getType()->isIntegerTy(1)) { in EmitConstantExpr()
1215 if (C->getType()->isIntegerTy(1)) { in EmitConstantValueForMemory()

1234