/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 85 EXPECT_TRUE(V->getType()->isIntegerTy()); in TEST() 181 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 187 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 210 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 224 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 238 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 257 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 271 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 306 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() 313 ASSERT_TRUE(Ty->isIntegerTy()); in TEST() [all …]
|
/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/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyLibCalls.cpp | 192 !FT->getParamType(2)->isIntegerTy()) in CallOptimizer() 239 !FT->getParamType(1)->isIntegerTy(32)) in CallOptimizer() 252 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32. in CallOptimizer() 289 !FT->getParamType(1)->isIntegerTy(32)) in CallOptimizer() 328 !FT->getReturnType()->isIntegerTy(32) || in CallOptimizer() 377 !FT->getReturnType()->isIntegerTy(32) || in CallOptimizer() 380 !FT->getParamType(2)->isIntegerTy()) in CallOptimizer() 474 !FT->getParamType(2)->isIntegerTy()) in CallOptimizer() 522 !FT->getReturnType()->isIntegerTy()) in CallOptimizer() 609 !FT->getReturnType()->isIntegerTy()) in CallOptimizer() [all …]
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 171 if (Tp->isIntegerTy()) { in getRandomConstant() 193 if (Tp->isIntegerTy()) { in getRandomValue() 376 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act() 378 case 1: if (Ty->getScalarType()->isIntegerTy()) in Act() 398 if (Ty->isIntegerTy()) { in Act() 400 case 0: if (Ty->isIntegerTy()) in Act() 403 case 1: if (Ty->isIntegerTy()) in Act() 407 case 6: if (Ty->isIntegerTy()) in Act() 517 if (VTy->getScalarType()->isIntegerTy() && in Act() 518 DestTy->getScalarType()->isIntegerTy()) { in Act() [all …]
|
/external/llvm/lib/Analysis/ |
D | TargetLibraryInfo.cpp | 497 return SizeTTy ? Ty == SizeTTy : Ty->isIntegerTy(); in isValidProtoForLibFunc() 504 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc() 510 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc() 531 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc() 556 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc() 563 return (NumParams == 2 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc() 568 return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc() 571 FTy.getParamType(2)->isIntegerTy()); in isValidProtoForLibFunc() 577 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc() 625 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc() [all …]
|
D | ObjCARCInstKind.cpp | 104 if (ETy->isIntegerTy(8)) in GetFunctionClass() 129 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass() 142 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass() 146 if (ETy1->isIntegerTy(8)) in GetFunctionClass() 154 if (Pte1->getElementType()->isIntegerTy(8)) in GetFunctionClass()
|
D | DemandedBits.cpp | 311 if (UserI->getType()->isIntegerTy()) { in performAnalysis() 317 if (!UserI->getType()->isIntegerTy()) in performAnalysis() 329 if (UserI->getType()->isIntegerTy() && !AOut && in performAnalysis()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 139 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 142 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 157 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 170 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/Target/X86/ |
D | X86ShuffleDecodeConstantPool.cpp | 48 if (!EltTy->isIntegerTy()) in DecodePSHUFBMask() 120 if (!VecEltTy->isIntegerTy()) in DecodeVPERMILPMask() 173 if (!VecEltTy->isIntegerTy()) in DecodeVPERMIL2PMask() 242 if (!VecEltTy->isIntegerTy()) in DecodeVPPERMMask()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Type.cpp | 50 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type 51 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 58 if (isIntegerTy()) in isIntOrIntVectorTy() 62 return cast<VectorType>(this)->getElementType()->isIntegerTy(); in isIntOrIntVectorTy() 172 if (this->isIntegerTy()) in isSizedDerivedType() 596 if (V->getType()->isIntegerTy(32)) in indexValid() 603 return V->getType()->isIntegerTy(); in indexValid() 667 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
|
D | Instructions.cpp | 729 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK() 830 assert(Amt->getType()->isIntegerTy() && in getAISize() 1467 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy(32)) in isValidOperands() 1514 if (!Index->getType()->isIntegerTy(32)) in isValidOperands() 1565 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1743 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1744 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1757 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1758 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1772 assert((getType()->isIntegerTy() || in init() [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/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Type.h | 195 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function 198 bool isIntegerTy(unsigned Bitwidth) const; 201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() 240 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 193 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function 196 bool isIntegerTy(unsigned Bitwidth) const; 199 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy() 238 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 104 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast() 121 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast() 266 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast() 300 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast() 321 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast() 323 } else if (CastDstTy->isIntegerTy()) { in InstCombineStoreToCast()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBoolRetToInt.cpp | 118 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes() 180 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction() 186 if (U->getType()->isIntegerTy(1)) in runOnFunction()
|
D | PPCTargetTransformInfo.cpp | 49 assert(Ty->isIntegerTy()); in getIntImmCost() 79 assert(Ty->isIntegerTy()); in getIntImmCost() 113 assert(Ty->isIntegerTy()); in getIntImmCost()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | MemoryBuiltins.cpp | 53 return FTy->getParamType(0)->isIntegerTy(32) || in isMallocCall() 54 FTy->getParamType(0)->isIntegerTy(64); in isMallocCall()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1146 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK() 1244 assert(Amt->getType()->isIntegerTy() && in getAISize() 1779 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy()) in isValidOperands() 1826 if (!Index->getType()->isIntegerTy()) in isValidOperands() 1879 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 2092 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 2093 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 2106 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 2107 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 2121 assert((getType()->isIntegerTy() || in init() [all …]
|
D | Constants.cpp | 525 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1."); in getTrue() 528 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue() 537 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1."); in getFalse() 540 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse() 851 if (CI->getType()->isIntegerTy(8)) in getSequenceIfElementsMatch() 853 else if (CI->getType()->isIntegerTy(16)) in getSequenceIfElementsMatch() 855 else if (CI->getType()->isIntegerTy(32)) in getSequenceIfElementsMatch() 857 else if (CI->getType()->isIntegerTy(64)) in getSequenceIfElementsMatch() 1191 if (Ty->isIntegerTy(1)) in isValueValidForType() 1201 if (Ty->isIntegerTy(1)) in isValueValidForType() [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() 471 Src->getVectorElementType()->isIntegerTy(64)) { in getMemoryOpCost() 482 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) && in getMemoryOpCost()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 404 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 407 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 422 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 435 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 510 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 513 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 528 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 541 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 666 assert((IK != IK_IntInduction || StartValue->getType()->isIntegerTy()) && in InductionDescriptor() 675 assert(Step->getType()->isIntegerTy() && "StepValue is not an integer"); in InductionDescriptor() 740 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI() 764 if (!PhiTy->isIntegerTy() && !PhiTy->isPointerTy()) in isInductionPHI() 787 if (PhiTy->isIntegerTy()) { in isInductionPHI()
|