Searched refs:isIntegerTy (Results 1 - 25 of 89) 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.cpp211 !FT->getParamType(1)->isIntegerTy() ||
332 !FT->getParamType(2)->isIntegerTy() ||
408 !FT->getParamType(2)->isIntegerTy())
451 !FT->getParamType(1)->isIntegerTy(32))
464 if (Len == 0 || !FT->getParamType(1)->isIntegerTy(32))// memchr needs i32.
497 !FT->getParamType(1)->isIntegerTy(32))
531 !FT->getReturnType()->isIntegerTy(32) ||
576 !FT->getReturnType()->isIntegerTy(32) ||
579 !FT->getParamType(2)->isIntegerTy())
692 !FT->getParamType(2)->isIntegerTy())
[all...]
H A DBypassSlowDivision.cpp242 if (!J->getType()->isIntegerTy())
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp242 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
245 if (FTy->getParamType(0)->isIntegerTy(32) &&
260 if (FTy->getParamType(0)->isIntegerTy(32) &&
273 FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp149 if (Tp->isIntegerTy()) {
171 if (Tp->isIntegerTy()) {
367 case 0: if (Ty->getScalarType()->isIntegerTy())
369 case 1: if (Ty->getScalarType()->isIntegerTy())
389 if (Ty->isIntegerTy()) {
391 case 0: if (Ty->isIntegerTy())
394 case 1: if (Ty->isIntegerTy())
398 case 6: if (Ty->isIntegerTy())
508 if (VTy->getScalarType()->isIntegerTy() &&
509 DestTy->getScalarType()->isIntegerTy()) {
[all...]
/external/llvm/include/llvm/IR/
H A DType.h194 /// isIntegerTy - True if this is an instance of IntegerType.
196 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } function in class:llvm::Type
198 /// isIntegerTy - Return true if this is an IntegerType of the given width.
199 bool isIntegerTy(unsigned Bitwidth) const;
204 bool isIntOrIntVectorTy() const { return getScalarType()->isIntegerTy(); }
/external/llvm/lib/IR/
H A DInstructions.cpp727 assert(getCondition()->getType()->isIntegerTy(1) &&
828 assert(Amt->getType()->isIntegerTy() &&
1471 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy(32))
1518 if (!Index->getType()->isIntegerTy(32))
1571 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32))
1785 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1786 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1799 assert((getType()->isIntegerTy() || (getType()->isVectorTy() &&
1800 cast<VectorType>(getType())->getElementType()->isIntegerTy())) &&
1814 assert((getType()->isIntegerTy() ||
[all...]
H A DConstants.cpp455 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1.");
458 assert(VTy->getElementType()->isIntegerTy(1) &&
467 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1.");
470 assert(VTy->getElementType()->isIntegerTy(1) &&
773 if (CI->getType()->isIntegerTy(8)) {
782 } else if (CI->getType()->isIntegerTy(16)) {
791 } else if (CI->getType()->isIntegerTy(32)) {
800 } else if (CI->getType()->isIntegerTy(64)) {
954 if (CI->getType()->isIntegerTy(8)) {
963 } else if (CI->getType()->isIntegerTy(1
[all...]
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;
159 if (this->isIntegerTy())
653 if (!V->getType()->getScalarType()->isIntegerTy(32))
726 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() ||
H A DConstantFold.cpp165 if (DestTy->isIntegerTy())
199 assert(C->getType()->isIntegerTy() &&
370 if (!PTy->getElementType()->isIntegerTy(1))
435 if (!PTy->getElementType()->isIntegerTy(1))
633 STy->getElementType(0)->isIntegerTy(1)) {
1172 if (C1->getType()->isIntegerTy(1)) {
1238 if (!C1->getType()->isIntegerTy(64))
1241 if (!C2->getType()->isIntegerTy(64))
1443 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) {
1622 if (C1->getType()->isIntegerTy(
[all...]
H A DIRBuilder.cpp44 if (PT->getElementType()->isIntegerTy(8))
H A DVerifier.cpp467 STy->getTypeAtIndex(0u)->isIntegerTy(32) &&
1128 Assert2(BI.getCondition()->getType()->isIntegerTy(1),
1396 Assert1(DestTy->getScalarType()->isIntegerTy(),
1416 Assert1(SrcTy->getScalarType()->isIntegerTy(),
1740 Assert2(ElTy->isIntegerTy(),
1815 Assert2(ElTy->isIntegerTy(),
1837 Assert1(AI.getArraySize()->getType()->isIntegerTy(),
1850 Assert2(ElTy->isIntegerTy(),
1874 Assert2(ElTy->isIntegerTy(),
2129 case IITDescriptor::Integer: return !Ty->isIntegerTy(
[all...]
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.cpp406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) {
409 if (FTy->getParamType(0)->isIntegerTy(32) &&
424 if (FTy->getParamType(0)->isIntegerTy(32) &&
436 if (FTy->getParamType(0)->isIntegerTy(32)) {
/external/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp135 assert(ReflectFunction->getReturnType()->isIntegerTy() &&
H A DNVPTXAsmPrinter.cpp428 if (Ty->isPrimitiveType() || Ty->isIntegerTy()) {
1185 if (ETy->isPrimitiveType() || ETy->isIntegerTy() || isa<PointerType>(ETy)) {
1188 if (ETy->isIntegerTy(1))
1356 if (ETy->isPrimitiveType() || ETy->isIntegerTy() || isa<PointerType>(ETy)) {
1388 if (Ty->isPrimitiveType() || Ty->isIntegerTy() || isa<PointerType>(Ty))
1549 if (Ty->isIntegerTy(1))
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp297 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() ||
314 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() ||
459 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy())
493 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy())
514 if (CastSrcTy->isIntegerTy())
516 } else if (CastDstTy->isIntegerTy()) {
H A DInstCombineAddSub.cpp865 if (!V->hasOneUse() || !V->getType()->isIntegerTy())
938 if (ZI->getSrcTy()->isIntegerTy(1))
990 if (I.getType()->isIntegerTy(1))
1371 if (I.getType()->isIntegerTy(1))
1414 if (X->getType()->isIntegerTy(1))
1419 if (X->getType()->isIntegerTy(1))
/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!");
554 !CI->getType()->isIntegerTy())
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp344 (CI->getSrcTy()->getScalarType()->isIntegerTy(64) ||
345 CI->getDestTy()->getScalarType()->isIntegerTy(64))
349 J->getType()->getScalarType()->isIntegerTy(64) &&
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp373 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32))
375 if (!FTy->getReturnType()->isIntegerTy() &&
565 if (ElemTy->isIntegerTy())
697 assert(DestTy->isIntegerTy(32) && "Invalid bitcast");
701 assert(DestTy->isIntegerTy(64) && "Invalid bitcast");
914 if (ElemTy->isIntegerTy()) {
1014 if (cast<VectorType>(Ty)->getElementType()->isIntegerTy()) {
1099 if (ElemT->isIntegerTy()) {
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp131 (FTy->getParamType(FstParam)->isIntegerTy(32) ||
132 FTy->getParamType(FstParam)->isIntegerTy(64))) &&
134 FTy->getParamType(SndParam)->isIntegerTy(32) ||
135 FTy->getParamType(SndParam)->isIntegerTy(64)))
H A DScalarEvolution.cpp342 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
343 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
350 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
351 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
358 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) &&
359 (Ty->isIntegerTy() || Ty->isPointerTy()) &&
419 STy->getElementType(0)->isIntegerTy(1)) {
2677 return Ty->isIntegerTy() || Ty->isPointerTy();
2690 if (Ty->isIntegerTy())
2706 if (Ty->isIntegerTy())
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp86 if (!AI->getType()->isIntegerTy(32)) {
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp397 Ty->isIntegerTy() && !IsVolatile && Offset == 0 && Size >= AllocSize;
1297 if (Ty == IRB.getInt8PtrTy() && TargetTy->isIntegerTy(8))
1378 if (Ptr->getType()->isIntegerTy(8)) {
1437 if (NewTy->isIntegerTy() || OldTy->isIntegerTy())
1461 if (V->getType()->isIntegerTy() && Ty->isPointerTy())
1463 if (V->getType()->isPointerTy() && Ty->isIntegerTy())
1515 assert(LTy->isIntegerTy());
1526 assert(STy->isIntegerTy());
2044 } else if (IntTy && LI.getType()->isIntegerTy()) {
[all...]

Completed in 337 milliseconds

1234