Home
last modified time | relevance | path

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

12345678

/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp85 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/
Dubsan_value.h117 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/
DOrcMCJITReplacement.cpp44 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/
DSimplifyLibCalls.cpp192 !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/
Dllvm-stress.cpp171 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/
DTargetLibraryInfo.cpp497 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 …]
DObjCARCInstKind.cpp104 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()
DDemandedBits.cpp311 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/
DMCJIT.cpp139 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/
DX86ShuffleDecodeConstantPool.cpp48 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/
DType.cpp50 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()
DInstructions.cpp729 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/
DSystemZTargetTransformInfo.cpp35 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/
DType.h195 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/
DType.h193 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/
DInstCombineLoadStoreAlloca.cpp104 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/
DPPCBoolRetToInt.cpp118 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes()
180 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction()
186 if (U->getType()->isIntegerTy(1)) in runOnFunction()
DPPCTargetTransformInfo.cpp49 assert(Ty->isIntegerTy()); in getIntImmCost()
79 assert(Ty->isIntegerTy()); in getIntImmCost()
113 assert(Ty->isIntegerTy()); in getIntImmCost()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DMemoryBuiltins.cpp53 return FTy->getParamType(0)->isIntegerTy(32) || in isMallocCall()
54 FTy->getParamType(0)->isIntegerTy(64); in isMallocCall()
/external/llvm/lib/IR/
DInstructions.cpp1146 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 …]
DConstants.cpp525 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/
DAArch64TargetTransformInfo.cpp41 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/
DJIT.cpp404 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/
DMCJIT.cpp510 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/
DLoopUtils.cpp666 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()

12345678