Home
last modified time | relevance | path

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

12345678910>>...13

/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTargetLibraryInfo.cpp611 return SizeTTy ? Ty == SizeTTy : Ty->isIntegerTy(); in isValidProtoForLibFunc()
618 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
624 FTy.getParamType(1)->isIntegerTy()); in isValidProtoForLibFunc()
677 return (NumParams == 2 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc()
682 return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc()
691 FTy.getReturnType()->isIntegerTy()); in isValidProtoForLibFunc()
727 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
731 FTy.getReturnType()->isIntegerTy(32)); in isValidProtoForLibFunc()
740 return (NumParams == 3 && FTy.getReturnType()->isIntegerTy(32) && in isValidProtoForLibFunc()
748 FTy.getParamType(1)->isIntegerTy(32) && in isValidProtoForLibFunc()
[all …]
DObjCARCInstKind.cpp107 if (ETy->isIntegerTy(8)) in GetFunctionClass()
130 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
146 if (Pte->getElementType()->isIntegerTy(8)) in GetFunctionClass()
150 if (ETy1->isIntegerTy(8)) in GetFunctionClass()
158 if (Pte1->getElementType()->isIntegerTy(8)) in GetFunctionClass()
/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-7.0/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()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DType.h197 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function
200 bool isIntegerTy(unsigned Bitwidth) const;
203 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); } in isIntOrIntVectorTy()
208 return getScalarType()->isIntegerTy(BitWidth); in isIntOrIntVectorTy()
212 bool isIntOrPtrTy() const { return isIntegerTy() || isPointerTy(); } in isIntOrPtrTy()
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() || in isSingleValueType()
/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/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-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/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBoolRetToInt.cpp135 if (P->getType()->isIntegerTy(1)) in getPromotablePHINodes()
205 if (F.getReturnType()->isIntegerTy(1)) in runOnFunction()
211 if (U->getType()->isIntegerTy(1)) in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DBDCE.cpp41 assert(I->getType()->isIntegerTy() && "Trivializing a non-integer value?"); in clearAssumptionsOfUsers()
98 if (I.getType()->isIntegerTy() && in bitTrackingDCE()
/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 …]

12345678910>>...13