/external/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() 288 !FT->getParamType(1)->isIntegerTy(32)) in CallOptimizer() 325 !FT->getReturnType()->isIntegerTy(32) || in CallOptimizer() 373 !FT->getReturnType()->isIntegerTy(32) || in CallOptimizer() 376 !FT->getParamType(2)->isIntegerTy()) in CallOptimizer() 470 !FT->getParamType(2)->isIntegerTy()) in CallOptimizer() 518 !FT->getReturnType()->isIntegerTy()) in CallOptimizer() 605 !FT->getReturnType()->isIntegerTy()) in CallOptimizer() [all …]
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 136 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 139 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 154 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 167 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 139 if (Tp->isIntegerTy()) { in getRandomConstant() 161 if (Tp->isIntegerTy()) { in getRandomValue() 357 case 0: if (Ty->getScalarType()->isIntegerTy()) in Act() 359 case 1: if (Ty->getScalarType()->isIntegerTy()) in Act() 381 if (Ty->isIntegerTy()) { in Act() 383 case 0: if (Ty->isIntegerTy()) in Act() 386 case 1: if (Ty->isIntegerTy()) in Act() 390 case 6: if (Ty->isIntegerTy()) in Act() 500 if (VTy->getScalarType()->isIntegerTy() && in Act() 501 DestTy->getScalarType()->isIntegerTy()) { in Act() [all …]
|
/external/llvm/lib/VMCore/ |
D | Type.cpp | 51 bool Type::isIntegerTy(unsigned Bitwidth) const { in isIntegerTy() function in Type 52 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth; in isIntegerTy() 59 if (isIntegerTy()) in isIntOrIntVectorTy() 63 return cast<VectorType>(this)->getElementType()->isIntegerTy(); in isIntOrIntVectorTy() 176 if (this->isIntegerTy()) in isSizedDerivedType() 666 if (V->getType()->isIntegerTy(32)) in indexValid() 673 return V->getType()->isIntegerTy(); in indexValid() 739 return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy(); in isValidElementType()
|
D | Instructions.cpp | 699 assert(getCondition()->getType()->isIntegerTy(1) && in AssertOK() 800 assert(Amt->getType()->isIntegerTy() && in getAISize() 1458 if (!Val->getType()->isVectorTy() || !Index->getType()->isIntegerTy(32)) in isValidOperands() 1505 if (!Index->getType()->isIntegerTy(32)) in isValidOperands() 1558 if (MaskTy == 0 || !MaskTy->getElementType()->isIntegerTy(32)) in isValidOperands() 1772 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1773 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1786 assert((getType()->isIntegerTy() || (getType()->isVectorTy() && in init() 1787 cast<VectorType>(getType())->getElementType()->isIntegerTy())) && in init() 1801 assert((getType()->isIntegerTy() || in init() [all …]
|
D | Constants.cpp | 396 assert(Ty->isIntegerTy(1) && "True must be i1 or vector of i1."); in getTrue() 399 assert(VTy->getElementType()->isIntegerTy(1) && in getTrue() 408 assert(Ty->isIntegerTy(1) && "False must be i1 or vector of i1."); in getFalse() 411 assert(VTy->getElementType()->isIntegerTy(1) && in getFalse() 716 if (CI->getType()->isIntegerTy(8)) { in get() 725 } else if (CI->getType()->isIntegerTy(16)) { in get() 734 } else if (CI->getType()->isIntegerTy(32)) { in get() 743 } else if (CI->getType()->isIntegerTy(64)) { in get() 897 if (CI->getType()->isIntegerTy(8)) { in get() 906 } else if (CI->getType()->isIntegerTy(16)) { in get() [all …]
|
D | ConstantFold.cpp | 161 if (DestTy->isIntegerTy()) in FoldBitCast() 195 assert(C->getType()->isIntegerTy() && in ExtractConstantBytes() 366 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedSizeOf() 431 if (!PTy->getElementType()->isIntegerTy(1)) in getFoldedAlignOf() 629 STy->getElementType(0)->isIntegerTy(1)) { in ConstantFoldCastInstruction() 1165 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldBinaryInstruction() 1231 if (!C1->getType()->isIntegerTy(64)) in IdxCompare() 1234 if (!C2->getType()->isIntegerTy(64)) in IdxCompare() 1440 (CE1->getType()->isPointerTy() || CE1->getType()->isIntegerTy())) { in evaluateICmpRelation() 1624 if (C1->getType()->isIntegerTy(1)) { in ConstantFoldCompareInstruction() [all …]
|
D | IRBuilder.cpp | 44 if (PT->getElementType()->isIntegerTy(8)) in getCastedInt8PtrValue()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 173 if (DestPTy->isIntegerTy() || DestPTy->isPointerTy() || in InstCombineLoadCast() 190 (SrcPTy->isIntegerTy() || SrcPTy->isPointerTy() || in InstCombineLoadCast() 335 if (!DestPTy->isIntegerTy() && !DestPTy->isPointerTy()) in InstCombineStoreToCast() 369 if (!SrcPTy->isIntegerTy() && !SrcPTy->isPointerTy()) in InstCombineStoreToCast() 390 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast() 392 } else if (CastDstTy->isIntegerTy()) { in InstCombineStoreToCast()
|
D | InstCombineAddSub.cpp | 38 if (!V->hasOneUse() || !V->getType()->isIntegerTy()) in dyn_castFoldableMul() 111 if (ZI->getSrcTy()->isIntegerTy(1)) in visitAdd() 158 if (I.getType()->isIntegerTy(1)) in visitAdd() 559 if (I.getType()->isIntegerTy(1)) in visitSub() 594 if (ZI->getSrcTy()->isIntegerTy(1)) in visitSub()
|
D | InstCombineMulDivRem.cpp | 219 if (I.getType()->isIntegerTy(1)) in visitMul() 535 if (I.getType()->isIntegerTy()) { in visitSDiv() 678 if (I.getType()->isIntegerTy()) { in visitSRem()
|
D | InstCombinePHI.cpp | 412 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI() 898 if (PN.getType()->isIntegerTy() && TD && in visitPHINode()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 53 (FTy->getParamType(0)->isIntegerTy(32) || in isMallocCall() 54 FTy->getParamType(0)->isIntegerTy(64)); in isMallocCall()
|
D | ScalarEvolution.cpp | 334 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVTruncateExpr() 335 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVTruncateExpr() 342 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVZeroExtendExpr() 343 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVZeroExtendExpr() 350 assert((Op->getType()->isIntegerTy() || Op->getType()->isPointerTy()) && in SCEVSignExtendExpr() 351 (Ty->isIntegerTy() || Ty->isPointerTy()) && in SCEVSignExtendExpr() 411 STy->getElementType(0)->isIntegerTy(1)) { in isAlignOf() 2677 return Ty->isIntegerTy() || Ty->isPointerTy(); in isSCEVable() 2690 if (Ty->isIntegerTy()) in getTypeSizeInBits() 2706 if (Ty->isIntegerTy()) in getEffectiveSCEVType() [all …]
|
D | ScalarEvolutionExpander.cpp | 1568 assert(Ty->isIntegerTy() && "Can only insert integer induction variables!"); in getOrInsertCanonicalInductionVariable() 1588 if (!lhs->getType()->isIntegerTy() || !rhs->getType()->isIntegerTy()) in width_descending() 1589 return rhs->getType()->isIntegerTy() && !lhs->getType()->isIntegerTy(); in width_descending() 1626 if (Phi->getType()->isIntegerTy() && TLI in replaceCongruentIVs()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JIT.cpp | 406 if (RetTy->isIntegerTy(32) || RetTy->isVoidTy()) { in runFunction() 409 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 424 if (FTy->getParamType(0)->isIntegerTy(32) && in runFunction() 437 FTy->getParamType(0)->isIntegerTy(32)) { in runFunction()
|
/external/llvm/include/llvm/ |
D | Type.h | 180 bool isIntegerTy() const { return getTypeID() == IntegerTyID; } in isIntegerTy() function 183 bool isIntegerTy(unsigned Bitwidth) const;
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 167 assert(V->getType()->isIntegerTy() && "Can't bswap a non-integer type!"); in LowerBSWAP() 263 assert(V->getType()->isIntegerTy() && "Can't ctpop a non-integer type!"); in LowerCTPOP() 548 !CI->getType()->isIntegerTy()) in LowerToByteSwap()
|
/external/llvm/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 129 return I->getType()->isPointerTy() || I->getType()->isIntegerTy(); in MightBeFoldableInst() 172 AddrInst->getOperand(0)->getType()->isIntegerTy()) && in MatchOperationAddr()
|
/external/llvm/lib/Target/X86/ |
D | X86FastISel.cpp | 988 if (!I->getOperand(0)->getType()->isIntegerTy(1)) in X86SelectZExt() 1148 if (I->getType()->isIntegerTy(8)) { in X86SelectShift() 1157 } else if (I->getType()->isIntegerTy(16)) { in X86SelectShift() 1166 } else if (I->getType()->isIntegerTy(32)) { in X86SelectShift() 1175 } else if (I->getType()->isIntegerTy(64)) { in X86SelectShift() 1402 if (!MCI.getLength()->getType()->isIntegerTy(SizeWidth)) in X86VisitIntrinsicCall() 1417 if (!MSI.getLength()->getType()->isIntegerTy(SizeWidth)) in X86VisitIntrinsicCall() 1634 if (ArgVal->getType()->isIntegerTy(1) && isa<TruncInst>(ArgVal) && in DoSelectCall()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 86 if (!AI->getType()->isIntegerTy(32)) { in InsertProfilingInitCall()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FunctionLoweringInfo.cpp | 97 cast<ArrayType>(Ty)->getElementType()->isIntegerTy(8))); in set() 267 if (!Ty->isIntegerTy() || Ty->isVectorTy()) in ComputePHILiveOutRegInfo()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 398 cast<llvm::VectorType>(IRType)->getElementType()->isIntegerTy() && in UseX86_MMXType() 1529 EltTy->isIntegerTy(8) || EltTy->isIntegerTy(16) || in GetByteVectorType() 1530 EltTy->isIntegerTy(32) || EltTy->isIntegerTy(64) || in GetByteVectorType() 1531 EltTy->isIntegerTy(128))) in GetByteVectorType() 1697 if (isa<llvm::PointerType>(IRType) || IRType->isIntegerTy(64)) in GetINTEGERTypeAtOffset() 1706 if (IRType->isIntegerTy(8) || IRType->isIntegerTy(16) || in GetINTEGERTypeAtOffset() 1707 IRType->isIntegerTy(32)) { in GetINTEGERTypeAtOffset() 1778 assert(Lo->isIntegerTy() && "Invalid/unknown lo type"); in GetX86_64ByValArgumentPair()
|
D | CodeGenTypes.cpp | 90 if (!R->isIntegerTy(1)) in ConvertTypeForMem() 247 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) in UpdateCompletedType()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 372 if (NumArgs >= 1 && !FTy->getParamType(0)->isIntegerTy(32)) in runFunctionAsMain() 374 if (!FTy->getReturnType()->isIntegerTy() && in runFunctionAsMain() 672 assert(DestTy->isIntegerTy(32) && "Invalid bitcast"); in getConstantValue() 676 assert(DestTy->isIntegerTy(64) && "Invalid bitcast"); in getConstantValue()
|