/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.h | 124 bool isIntegerTy() const { return getKind() == TK_Integer; } in isIntegerTy() function 126 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy() 129 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy() 132 CHECK(isIntegerTy()); in getIntegerBitWidth() 160 CHECK(getType().isIntegerTy()); in isInlineInt()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCUtil.cpp | 100 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()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 235 !FT->getParamType(1)->isIntegerTy() || in callOptimizer() 359 !FT->getParamType(2)->isIntegerTy() || in callOptimizer() 437 !FT->getParamType(2)->isIntegerTy()) in callOptimizer() 481 !FT->getParamType(1)->isIntegerTy(32)) in callOptimizer() 494 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32. in callOptimizer() 531 !FT->getParamType(1)->isIntegerTy(32)) in callOptimizer() 566 !FT->getReturnType()->isIntegerTy(32) || in callOptimizer() 612 !FT->getReturnType()->isIntegerTy(32) || in callOptimizer() 615 !FT->getParamType(2)->isIntegerTy()) in callOptimizer() 731 !FT->getParamType(2)->isIntegerTy()) in callOptimizer() [all …]
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 151 if (Tp->isIntegerTy()) { in getRandomConstant() 173 if (Tp->isIntegerTy()) { in getRandomValue() 369 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act() 371 case 1: 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() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 193 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()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 159 assert(Ty->isIntegerTy()); in getIntImmCost() 184 assert(Ty->isIntegerTy()); in getIntImmCost() 249 assert(Ty->isIntegerTy()); in getIntImmCost() 478 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost() 489 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 310 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast() 329 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast() 482 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast() 516 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast() 548 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast() 550 } else if (CastDstTy->isIntegerTy()) { in InstCombineStoreToCast()
|
D | InstCombineMulDivRem.cpp | 259 if (I.getType()->getScalarType()->isIntegerTy(1)) in visitMul() 607 C->getType()->getScalarType()->isIntegerTy(1)) { in visitFMul() 622 C->getType()->getScalarType()->isIntegerTy(1)) { in visitFMul() 750 if (One->isOne() && !I.getType()->isIntegerTy(1)) { in commonIDivTransforms() 1009 if (I.getType()->isIntegerTy()) { in visitSDiv() 1286 if (I.getType()->isIntegerTy()) { in visitSRem()
|
D | InstCombineAndOrXor.cpp | 578 if (!L1->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper() 588 if (!L2->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper() 614 } else if (R1->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper() 634 if (!ok && R2->getType()->isIntegerTy()) { in foldLogOpOfMaskedICmpsHelper() 1358 X->getType()->getScalarType()->isIntegerTy(1)) { in visitAnd() 1365 X->getType()->getScalarType()->isIntegerTy(1)) { in visitAnd() 1539 !Cond->getType()->isIntegerTy(1)) in MatchSelectFromAndOr() 2187 if (match(Op0, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr() 2189 if (match(Op1, m_SExt(m_Value(A))) && A->getType()->isIntegerTy(1)) in visitOr() 2472 if (SrcTy == Op1C->getOperand(0)->getType() && SrcTy->isIntegerTy() && in visitXor()
|
D | InstCombineSelect.cpp | 402 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAndOr() 756 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy()) in foldSelectICmpAnd() 831 if (SI.getType()->isIntegerTy(1)) { in visitSelectInst() 1027 if (SI.getType()->isIntegerTy()) { in visitSelectInst()
|
D | InstCombinePHI.cpp | 412 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI() 894 if (PN.getType()->isIntegerTy() && DL && in visitPHINode()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 142 assert(Ty->isIntegerTy()); in getIntImmCost() 172 assert(Ty->isIntegerTy()); in getIntImmCost() 196 assert(Ty->isIntegerTy()); in getIntImmCost()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 727 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK() 828 assert(Amt->getType()->isIntegerTy() && in getAISize() 1484 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands() 1531 if (!Index->getType()->isIntegerTy()) in isValidOperands() 1584 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1797 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1798 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1811 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1812 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1826 assert((getType()->isIntegerTy() || in init() [all …]
|
D | Constants.cpp | 491 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1."); in getTrue() 494 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue() 503 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1."); in getFalse() 506 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse() 811 if (CI->getType()->isIntegerTy(8)) { in get() 820 } else if (CI->getType()->isIntegerTy(16)) { in get() 829 } else if (CI->getType()->isIntegerTy(32)) { in get() 838 } else if (CI->getType()->isIntegerTy(64)) { in get() 992 if (CI->getType()->isIntegerTy(8)) { in get() 1001 } else if (CI->getType()->isIntegerTy(16)) { in get() [all …]
|
D | ConstantFold.cpp | 165 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() 636 STy->getElementType(0)->isIntegerTy(1)) { in ConstantFoldCastInstruction() 1186 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldBinaryInstruction() 1252 if (!C1->getType()->isIntegerTy(64)) in IdxCompare() 1255 if (!C2->getType()->isIntegerTy(64)) in IdxCompare() 1463 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) { in evaluateICmpRelation() 1651 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldCompareInstruction() [all …]
|
D | Type.cpp | 58 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type 59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 646 if (!V->getType()->getScalarType()->isIntegerTy(32)) in indexValid() 719 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
|
D | Verifier.cpp | 426 STy->getTypeAtIndex(0u)->isIntegerTy(32) && in visitGlobalVariable() 432 cast<PointerType>(ETy)->getElementType()->isIntegerTy(8), in visitGlobalVariable() 1189 Assert2(BI.getCondition()->getType()->isIntegerTy(1), in visitBranchInst() 1442 Assert1(DestTy->getScalarType()->isIntegerTy(), in visitPtrToIntInst() 1462 Assert1(SrcTy->getScalarType()->isIntegerTy(), in visitIntToPtrInst() 1901 Assert2(ElTy->isIntegerTy(), in visitLoadInst() 1976 Assert2(ElTy->isIntegerTy(), in visitStoreInst() 1999 Assert1(AI.getArraySize()->getType()->isIntegerTy(), in visitAllocaInst() 2026 Assert2(ElTy->isIntegerTy(), in visitAtomicCmpXchgInst() 2050 Assert2(ElTy->isIntegerTy(), in visitAtomicRMWInst() [all …]
|
D | IRBuilder.cpp | 44 if (PT->getElementType()->isIntegerTy(8)) in getCastedInt8PtrValue()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 449 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 452 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 467 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 480 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 381 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain() 383 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain() 597 if (ElemTy->isIntegerTy()) in getConstantValue() 614 if (ElemTy->isIntegerTy()) in getConstantValue() 746 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue() 750 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue() 963 if (ElemTy->isIntegerTy()) { in getConstantValue() 1063 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory() 1148 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 254 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 257 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 272 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 284 if (FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 133 (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()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 167 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()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 452 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize; in handleLoadOrStore() 1410 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8)) in getNaturalGEPWithOffset() 1492 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr() 1556 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue() 1585 if (OldTy->getScalarType()->isIntegerTy() && in convertValue() 1603 NewTy->getScalarType()->isIntegerTy()) { in convertValue() 1666 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice() 1677 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice() 2211 } else if (IntTy && LI.getType()->isIntegerTy()) { in visitLoadInst() 2228 assert(LI.getType()->isIntegerTy() && in visitLoadInst() [all …]
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 129 assert(ReflectFunction->getReturnType()->isIntegerTy() && in handleFunction()
|