/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.h | 117 bool isIntegerTy() const { return getKind() == TK_Integer; } in isIntegerTy() function 119 return isIntegerTy() && (TypeInfo & 1); in isSignedIntegerTy() 122 return isIntegerTy() && !(TypeInfo & 1); in isUnsignedIntegerTy() 125 CHECK(isIntegerTy()); in getIntegerBitWidth() 153 CHECK(getType().isIntegerTy()); in isInlineInt()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 44 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 47 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 62 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 74 if (FTy->getNumParams() == 1 && FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 144 FT->getParamType(0) != PCharTy || !FT->getParamType(2)->isIntegerTy()) in checkStringCopyLibFuncSignature() 172 !FT->getParamType(1)->isIntegerTy() || FT->getParamType(2) != SizeTTy) in checkStringCopyLibFuncSignature() 242 !FT->getParamType(2)->isIntegerTy()) in optimizeStrNCat() 283 !FT->getParamType(1)->isIntegerTy(32)) in optimizeStrChr() 293 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32)) // memchr needs i32. in optimizeStrChr() 328 !FT->getParamType(1)->isIntegerTy(32)) in optimizeStrRChr() 361 if (FT->getNumParams() != 2 || !FT->getReturnType()->isIntegerTy(32) || in optimizeStrCmp() 402 if (FT->getNumParams() != 3 || !FT->getReturnType()->isIntegerTy(32) || in optimizeStrNCmp() 405 !FT->getParamType(2)->isIntegerTy()) in optimizeStrNCmp() 545 !FT->getReturnType()->isIntegerTy()) in optimizeStrLen() [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/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 35 assert(Ty->isIntegerTy()); in getIntImmCost() 68 assert(Ty->isIntegerTy()); in getIntImmCost() 186 assert(Ty->isIntegerTy()); in getIntImmCost()
|
/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/Transforms/Scalar/ |
D | BDCE.cpp | 313 if (UserI->getType()->isIntegerTy()) { in runOnFunction() 319 if (!UserI->getType()->isIntegerTy()) in runOnFunction() 331 if (UserI->getType()->isIntegerTy() && !AOut && in runOnFunction() 372 if (I.getType()->isIntegerTy()) { in runOnFunction()
|
D | SROA.cpp | 742 bool IsSplittable = Ty->isIntegerTy() && !IsVolatile; in handleLoadOrStore() 1693 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8)) in getNaturalGEPWithOffset() 1778 if (Ptr->getType()->isIntegerTy(8)) { in getAdjustedPtr() 1865 if (NewTy->isIntegerTy() || OldTy->isIntegerTy()) in canConvertValue() 1894 if (OldTy->getScalarType()->isIntegerTy() && in convertValue() 1912 NewTy->getScalarType()->isIntegerTy()) { in convertValue() 1978 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice() 1988 assert(STy->isIntegerTy()); in isVectorPromotionViableForSlice() 2046 return !VTy->getElementType()->isIntegerTy(); in isVectorPromotionViable() 2059 assert(RHSTy->getElementType()->isIntegerTy() && in isVectorPromotionViable() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 41 assert(Ty->isIntegerTy()); in getIntImmCost() 66 assert(Ty->isIntegerTy()); in getIntImmCost() 132 assert(Ty->isIntegerTy()); in getIntImmCost() 386 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost() 397 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 752 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK() 850 assert(Amt->getType()->isIntegerTy() && in getAISize() 1379 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands() 1426 if (!Index->getType()->isIntegerTy()) in isValidOperands() 1479 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1692 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1693 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1706 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1707 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1721 assert((getType()->isIntegerTy() || in init() [all …]
|
D | Constants.cpp | 536 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1."); in getTrue() 539 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue() 548 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1."); in getFalse() 551 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse() 873 if (CI->getType()->isIntegerTy(8)) { in getImpl() 882 } else if (CI->getType()->isIntegerTy(16)) { in getImpl() 891 } else if (CI->getType()->isIntegerTy(32)) { in getImpl() 900 } else if (CI->getType()->isIntegerTy(64)) { in getImpl() 1061 if (CI->getType()->isIntegerTy(8)) { in getImpl() 1070 } else if (CI->getType()->isIntegerTy(16)) { in getImpl() [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() 651 if (!V->getType()->getScalarType()->isIntegerTy(32)) in indexValid() 725 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || in isValidElementType()
|
D | ConstantFold.cpp | 168 if (DestTy->isIntegerTy()) in FoldBitCast() 213 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes() 384 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedSizeOf() 449 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedAlignOf() 655 STy->getElementType(0)->isIntegerTy(1)) { in ConstantFoldCastInstruction() 1224 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldBinaryInstruction() 1517 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) { in evaluateICmpRelation() 1712 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldCompareInstruction() 2193 if (!PrevIdx->getType()->isIntegerTy(CommonExtendedWidth)) in ConstantFoldGetElementPtrImpl() 2197 if (!Div->getType()->isIntegerTy(CommonExtendedWidth)) in ConstantFoldGetElementPtrImpl()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCInstKind.cpp | 100 if (ETy->isIntegerTy(8)) in GetFunctionClass() 123 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass() 136 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass() 140 if (ETy1->isIntegerTy(8)) in GetFunctionClass() 148 if (Pte1->getElementType()->isIntegerTy(8)) in GetFunctionClass()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 42 assert(Ty->isIntegerTy()); in getIntImmCost() 72 assert(Ty->isIntegerTy()); in getIntImmCost() 106 assert(Ty->isIntegerTy()); in getIntImmCost()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 461 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 464 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 479 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 492 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 423 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain() 425 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain() 596 if (ElemTy->isIntegerTy()) in getConstantValue() 613 if (ElemTy->isIntegerTy()) in getConstantValue() 745 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue() 749 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue() 959 if (ElemTy->isIntegerTy()) { in getConstantValue() 1059 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) { in StoreValueToMemory() 1144 if (ElemT->isIntegerTy()) { in LoadValueFromMemory()
|
/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/Target/Mips/ |
D | MipsCCState.cpp | 60 return (ES && Ty->isIntegerTy(128) && isF128SoftLibCall(ES->getSymbol())); in originalTypeIsF128()
|
/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() 584 !CI->getType()->isIntegerTy()) in LowerToByteSwap()
|
/external/llvm/lib/Target/X86/Utils/ |
D | X86ShuffleDecode.cpp | 288 if (MaskTy->isVectorTy() && MaskTy->getVectorElementType()->isIntegerTy(8)) { in DecodePSHUFBMask() 365 assert(MaskTy->getVectorElementType()->isIntegerTy() && in DecodeVPERMILPMask()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 143 } else if (Ty->isIntegerTy()) { in scalarConstantToHexString()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMReflect.cpp | 130 assert(ReflectFunction->getReturnType()->isIntegerTy() && in handleFunction()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 412 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI() 894 if (PN.getType()->isIntegerTy() && in visitPHINode()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 234 assert(AT->getElementType()->isIntegerTy(CharWidth) && in AppendBitField() 246 Elements.back()->getType()->isIntegerTy(CharWidth) && in AppendBitField() 1040 if (C && C->getType()->isIntegerTy(1)) { in EmitConstantInit() 1065 if (C && C->getType()->isIntegerTy(1)) { in EmitConstantExpr() 1278 if (C->getType()->isIntegerTy(1)) { in EmitConstantValueForMemory()
|