Searched refs:isIntegerTy (Results 1 - 25 of 95) sorted by relevance

1234

/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h124 bool isIntegerTy() const { return getKind() == TK_Integer; } function in class:__ubsan::TypeDescriptor
126 return isIntegerTy() && (TypeInfo & 1);
129 return isIntegerTy() && !(TypeInfo & 1);
132 CHECK(isIntegerTy());
160 CHECK(getType().isIntegerTy());
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp100 if (ETy->isIntegerTy(8))
121 if (Pte->getElementType()->isIntegerTy(8))
134 if (Pte->getElementType()->isIntegerTy(8))
138 if (ETy1->isIntegerTy(8))
146 if (Pte1->getElementType()->isIntegerTy(8))
/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp235 !FT->getParamType(1)->isIntegerTy() ||
359 !FT->getParamType(2)->isIntegerTy() ||
437 !FT->getParamType(2)->isIntegerTy())
481 !FT->getParamType(1)->isIntegerTy(32))
494 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32.
531 !FT->getParamType(1)->isIntegerTy(32))
566 !FT->getReturnType()->isIntegerTy(32) ||
612 !FT->getReturnType()->isIntegerTy(32) ||
615 !FT->getParamType(2)->isIntegerTy())
731 !FT->getParamType(2)->isIntegerTy())
[all...]
H A DBypassSlowDivision.cpp243 if (!J->getType()->isIntegerTy())
/external/llvm/include/llvm/IR/
H A DType.h191 /// isIntegerTy - True if this is an instance of IntegerType.
193 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } function in class:llvm::Type
195 /// isIntegerTy - Return true if this is an IntegerType of the given width.
196 bool isIntegerTy(unsigned Bitwidth) const;
201 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
251 return isFloatingPointTy() || isX86_MMXTy() || isIntegerTy() ||
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp151 if (Tp->isIntegerTy()) {
173 if (Tp->isIntegerTy()) {
369 case 0: if (Ty->getScalarType()->isIntegerTy())
371 case 1: if (Ty->getScalarType()->isIntegerTy())
391 if (Ty->isIntegerTy()) {
393 case 0: if (Ty->isIntegerTy())
396 case 1: if (Ty->isIntegerTy())
400 case 6: if (Ty->isIntegerTy())
510 if (VTy->getScalarType()->isIntegerTy() &&
511 DestTy->getScalarType()->isIntegerTy()) {
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp142 assert(Ty->isIntegerTy());
172 assert(Ty->isIntegerTy());
196 assert(Ty->isIntegerTy());
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp159 assert(Ty->isIntegerTy());
184 assert(Ty->isIntegerTy());
249 assert(Ty->isIntegerTy());
478 Src->getVectorElementType()->isIntegerTy(64)) {
489 if (Src->isVectorTy() && Src->getVectorElementType()->isIntegerTy(8) &&
/external/llvm/lib/IR/
H A DInstructions.cpp727 assert(getCondition()->getType()->isIntegerTy(1) &&
828 assert(Amt->getType()->isIntegerTy() &&
1484 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy())
1531 if (!Index->getType()->isIntegerTy())
1584 if (!MaskTy || !MaskTy->getElementType()->isIntegerTy(32))
1797 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1798 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1811 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1812 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1826 assert((getType()->isIntegerTy() ||
[all...]
H A DConstants.cpp491 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1.");
494 assert(VTy->getElementType()->isIntegerTy(1) &&
503 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1.");
506 assert(VTy->getElementType()->isIntegerTy(1) &&
811 if (CI->getType()->isIntegerTy(8)) {
820 } else if (CI->getType()->isIntegerTy(16)) {
829 } else if (CI->getType()->isIntegerTy(32)) {
838 } else if (CI->getType()->isIntegerTy(64)) {
992 if (CI->getType()->isIntegerTy(8)) {
1001 } else if (CI->getType()->isIntegerTy(1
[all...]
H A DConstantFold.cpp165 if (DestTy->isIntegerTy())
199 assert(C->getType()->isIntegerTy() &&
370 if (!PTy->getElementType()->isIntegerTy(1))
435 if (!PTy->getElementType()->isIntegerTy(1))
636 STy->getElementType(0)->isIntegerTy(1)) {
1186 if (C1->getType()->isIntegerTy(1)) {
1252 if (!C1->getType()->isIntegerTy(64))
1255 if (!C2->getType()->isIntegerTy(64))
1463 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1651 if (C1->getType()->isIntegerTy(
[all...]
H A DIRBuilder.cpp44 if (PT->getElementType()->isIntegerTy(8))
H A DType.cpp57 /// isIntegerTy - Return true if this is an IntegerType of the specified width.
58 bool Type::isIntegerTy(unsigned Bitwidth) const { function in class:Type
59 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
646 if (!V->getType()->getScalarType()->isIntegerTy(32))
719 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() ||
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp254 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
257 if (FTy->getParamType(0)->isIntegerTy(32) &&
272 if (FTy->getParamType(0)->isIntegerTy(32) &&
284 if (FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp449 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
452 if (FTy->getParamType(0)->isIntegerTy(32) &&
467 if (FTy->getParamType(0)->isIntegerTy(32) &&
480 FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp310 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() ||
329 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() ||
482 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy())
516 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy())
548 if (CastSrcTy->isIntegerTy())
550 } else if (CastDstTy->isIntegerTy()) {
H A DInstCombineMulDivRem.cpp259 if (I.getType()->getScalarType()->isIntegerTy(1))
607 C->getType()->getScalarType()->isIntegerTy(1)) {
622 C->getType()->getScalarType()->isIntegerTy(1)) {
750 if (One->isOne() && !I.getType()->isIntegerTy(1)) {
1009 if (I.getType()->isIntegerTy()) {
1286 if (I.getType()->isIntegerTy()) {
H A DInstCombineSelect.cpp402 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy())
756 if (!IC || !IC->isEquality() || !SI.getType()->isIntegerTy())
831 if (SI.getType()->isIntegerTy(1)) {
1027 if (SI.getType()->isIntegerTy()) {
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp381 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
383 if (!FTy->getReturnType()->isIntegerTy() &&
597 if (ElemTy->isIntegerTy())
614 if (ElemTy->isIntegerTy())
746 assert(DestTy->isIntegerTy(32) && "Invalid bitcast");
750 assert(DestTy->isIntegerTy(64) && "Invalid bitcast");
963 if (ElemTy->isIntegerTy()) {
1063 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) {
1148 if (ElemT->isIntegerTy()) {
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!");
263 assert(V->getType()->isIntegerTy() && "Can't ctpop a non-integer type!");
555 !CI->getType()->isIntegerTy())
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp133 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
134 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
136 FTy->getParamType(SndParam)->isIntegerTy(32) ||
137 FTy->getParamType(SndParam)->isIntegerTy(64)))
/external/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp129 assert(ReflectFunction->getReturnType()->isIntegerTy() &&
/external/llvm/lib/Transforms/Scalar/
H A DLoadCombine.cpp245 if (!LI->isSimple() || !LI->getType()->isIntegerTy())
H A DSROA.cpp452 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize;
1410 if (Ty == IRB.getInt8PtrTy(Ty->getAddressSpace()) && TargetTy->isIntegerTy(8))
1492 if (Ptr->getType()->isIntegerTy(8)) {
1556 if (NewTy->isIntegerTy() || OldTy->isIntegerTy())
1585 if (OldTy->getScalarType()->isIntegerTy() &&
1603 NewTy->getScalarType()->isIntegerTy()) {
1666 assert(LTy->isIntegerTy());
1677 assert(STy->isIntegerTy());
2211 } else if (IntTy && LI.getType()->isIntegerTy()) {
[all...]
/external/clang/lib/CodeGen/
H A DCodeGenTypes.cpp88 if (!R->isIntegerTy(1))
242 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32))

Completed in 492 milliseconds

1234